1 2009-08-11 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_area_button_press_cb),
5 (hildon_pannable_area_motion_notify_cb),
6 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
7 the spurious ref added in the copy, fixes leak of window.
9 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
10 if it's realized without showing and then deleted)
12 2009-08-10 Alberto Garcia <agarcia@igalia.com>
16 * configure.ac: bump version
18 * debian/changelog: updates
20 2009-08-06 Alberto Garcia <agarcia@igalia.com>
22 * examples/hildon-hvolumebar-timer-example.c
24 * hildon/hildon-banner.c
25 (hildon_banner_timeout, hildon_banner_ensure_timeout)
26 * hildon/hildon-calendar.c
27 (calendar_timer, start_spinning)
28 * hildon/hildon-color-chooser.c
29 (inline_limited_expose)
30 * hildon/hildon-date-editor.c
31 (hildon_date_editor_entry_focus_in)
32 (hildon_date_editor_entry_validate)
33 (hildon_date_editor_entry_select_all)
34 * hildon/hildon-note.c
36 * hildon/hildon-number-editor.c
37 (hildon_number_editor_button_pressed)
38 (hildon_number_editor_start_timer, do_mouse_timeout),
39 (add_select_all_idle, hildon_number_editor_select_all)
40 * hildon/hildon-time-editor.c
41 (hildon_time_editor_entry_focus_in)
42 (highlight_callback, hildon_time_editor_validate)
43 (hildon_time_editor_entry_select_all)
44 * hildon/hildon-time-picker.c
45 (hildon_time_picker_arrow_press)
46 (hildon_time_picker_key_repeat_timeout)
47 * hildon/hildon-window.c
48 (hildon_window_key_press_event)
49 (hildon_window_escape_timeout):
50 Replace all calls to g_idle_add/g_timeout_add with their
51 gdk_threads counterparts.
53 Fixes: NB#126198 (gdk-threads API should be used to install idle
56 2009-08-06 Alejandro G. Castro <alex@igalia.com>
58 * hildon/hildon-pannable-area.c,
59 (hildon_pannable_area_class_init): Increased the overshooting max
60 speed to get a faster effect.
61 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
62 deceleration of the overshooting
63 (hildon_pannable_area_button_release_cb): Calculate initial
64 overshooting speed when finger on the screen using the distance to
65 launch the effect faster.
67 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
68 lists with slow row renderers)
70 2009-08-05 Alberto Garcia <agarcia@igalia.com>
72 * doc/hildon-sections.txt: Add new functions
74 2009-08-05 Alberto Garcia <agarcia@igalia.com>
76 * hildon/hildon-text-view.[ch]
77 * hildon/hildon-entry.[ch]:
78 Add deprecation guards around deprecated functions.
80 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
82 * hildon/hildon-app-menu.c: Remove leftover function declaration.
84 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
86 Remove the grab from HildonAppMenu
88 * hildon/hildon-app-menu.c:
89 Now hildon-desktop places a blocker window behind the menu to handle
90 its closing, so the grab is no longer needed. This simplifies its
91 implementation and allows the system blanking to succeed.
93 Fixes: NB#130910 (Screen gets unlocked when menu is open)
95 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: bump version
101 * debian/changelog: updates
102 * debian/control: raise debian dependency on GTK+
104 2009-08-04 Alberto Garcia <agarcia@igalia.com>
106 * hildon/hildon-text-view.c
107 * hildon/hildon-entry.c:
108 Remove all placeholder code from HildonEntry and HildonTextView
109 and use the API in GtkEntry and GtkTextView instead.
111 * examples/hildon-entry-example.c
112 * examples/hildon-text-view-example.c
113 * examples/hildon-wizard-dialog-example.c
114 * hildon/hildon-get-password-dialog.c
115 * hildon/hildon-login-dialog.c
116 * hildon/hildon-picker-dialog.c
117 * hildon/hildon-set-password-dialog.c
118 * hildon/hildon-touch-selector-entry.c:
119 Replace all deprecated calls to HildonEntry and HildonTextView
120 with their Gtk counterparts.
122 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
125 2009-08-03 Alejandro G. Castro <alex@igalia.com>
127 * hildon/hildon-pannable-area.c,
128 (hildon_pannable_area_check_move),
129 (hildon_pannable_area_button_release_cb),
130 (hildon_pannable_area_scroll_to): Reverted the priority change of
131 the timeout, in some situations, slow renderers, the click do not
132 make it to the mainloop on time.
134 Fixes NB#131013 (unable to stop panning file manager by tapping on
137 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
139 * configure.ac: bump version
141 * debian/changelog: updates
143 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
145 * hildon/hildon-touch-selector.[ch]
146 (hildon_touch_selector_center_on_index): New method that allows to center
147 on a item not selected
149 Fixes NB#130291 (New HildonTouchSelector API is required to center on
152 2009-07-29 Alberto Garcia <agarcia@igalia.com>
154 * hildon/hildon-text-view.c
155 (+set_logical_color, +hildon_text_view_style_set)
156 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
157 (hildon_text_view_init)
158 * hildon/hildon-entry.c
159 (+set_logical_color, +hildon_entry_style_set)
160 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
161 (hildon_entry_class_init, hildon_entry_init)
162 * hildon/hildon-button.c
163 (+set_logical_font, +set_logical_color)
164 (hildon_button_style_set, hildon_button_init)
165 (hildon_button_set_arrangement, hildon_button_set_style):
166 Remove all calls to hildon_helper_set_logical_font() and
167 hildon_helper_set_logical_color(), which are recursive, from
170 Fixes: NB#123409 (Showing dialog consumes significant amount of
173 2009-07-29 Alejandro G. Castro <alex@igalia.com>
175 * hildon/hildon-pannable-area.c,
176 (hildon_pannable_area_timeout): Added the process updates of the
177 scrollbars window in the pannable.
179 Fixes: NB#130043 (scrollindicator not smooth while panning)
181 2009-07-23 Alejandro G. Castro <alex@igalia.com>
183 * hildon/hildon-pannable-area.c,
184 (hildon_pannable_area_check_move),
185 (hildon_pannable_area_button_release_cb),
186 (hildon_pannable_area_scroll_to): Increased the priority of the
187 timeout this way it is going to be handled before the events.
189 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
193 * configure.ac: bump version
194 * debian/changelog: updates
196 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
198 * hildon/hildon-entry.c: (set_property): Do not allow to set
199 automatic height and use finger height instead, to prevent an to
200 have a smaller size than than its theme pixbuf.
202 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
204 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: postrelease version bump.
207 * debian/changelog: post release version bump
209 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
214 * configure.ac: Bump version.
215 * debian/changelog: Updates.
217 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
219 * hildon/hildon-note.c: (label_size_request): Take the note
220 padding into account when setting the size request.
222 Fixes: NB#127896 (Information notes text truncated)
224 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
226 * configure.ac: postrelease version bump.
227 * debian/changelog: post release version bump
229 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
234 * configure.ac: Bump version.
235 * debian/changelog: Updates.
237 2009-07-16 Alejandro G. Castro <alex@igalia.com>
240 * hildon/hildon-text-view.c,
241 (hildon_text_view_button_press_event): Grabbed the focus in button
242 press, this way we are sure the widget has the focus in the
243 release event, required for HIM.
245 Fixes: NB#121445 (Virtual keyboard opening is not working in same
246 way for each text entry field)
248 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
250 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
251 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
252 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
253 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
254 (hildon_pannable_area_[gs]et_center_on_child_focus)
255 Redefined GtkContainer set-focus-child signal, in order to center
256 properly on a child when it receives the focus. Defined a new property
257 "center-on-child-focus" in order to activate this feature (deactivated
258 by default). Public get/set methods defined to manage the property.
260 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
262 2009-07-14 László Pere <lpere@blumsoft.eu>
264 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
265 the new size is applied.
267 Fixes: NB#124510 (The Application Menu is distorted when switched
268 between portrait and landscape mode)
269 Fixes: NB#115388 (Power key menu does not resize itself)
271 2009-07-01 Alberto Garcia <agarcia@igalia.com>
273 * hildon/hildon-banner.c (hildon_banner_map):
274 Set banner position after mapping.
276 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
278 * configure.ac: postrelease version bump.
279 * debian/changelog: post release version bump
281 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
286 * configure.ac: Bump version.
287 * debian/changelog: Updates.
289 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
291 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
294 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
296 * tests/check-hildon-banner.c
298 * tests/test_suites.h
299 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
300 were testing deprecated functions.
301 * examples/hildon-banner-example.c: typo on button3 type, that causes
302 a fail compiling with --with-examples but without --disable-deprecated
304 Missed commit in order to fix compilation using '--enable-fatal' and
305 '--disable-deprecated' (see previous commit)
307 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
309 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
310 functions with #ifndef HILDON_DISABLE_DEPRECATED
311 * examples/hildon-find-toolbar.c: Protect deprecated
312 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
313 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
314 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
315 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
317 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
318 to allow proper compilation of deprecated functions defined on the header
320 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
322 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
324 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
325 Cache the panning indicator color.,
326 (hildon_pannable_area_style_set): Query the color on style changes.
327 (hildon_pannable_draw_vscroll),
328 (hildon_pannable_draw_hscroll),
329 (hildon_pannable_area_expose_event): Use the cached panning indicator
330 color instead of looking it up on every expose and more.
332 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
334 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
335 (hildon_pannable_draw_hscroll),
336 (hildon_pannable_area_expose_event): Fix the panning indicator color,
337 so that it's "SecondaryTextColor", as desired.
339 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
341 * hildon/hildon-picker-dialog.c:
342 (selection_completed): take into account HILDON_UI_MODE_NORMAL
343 * hildon/hildon-touch-selector.c
344 (hildon_touch_selector_init): Initialize hildon-ui-mode
345 (hildon_touch_selector_row_activated): new callback for the
346 "row-activated" signal, in order to save the last activated
347 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
348 if the current hildon-ui-mode is coherent with the touch selector
349 (hildon_touch_selector_class_init)
350 (hildon_touch_selector_get_property)
351 (hildon_touch_selector_set_property)
352 Added "hildon-ui-mode" property
353 (disconnect_model_handlers): renamed to clean_column
354 (hildon_touch_selector_remove): use clean_column function
355 (_create_new_column): use the hildon-ui-mode to create the treeview, and
356 only select the first element on HILDON_UI_MODE_EDIT
357 (hildon_touch_selector_column_init): Initialize last_activate
358 (hildon_touch_selector_append_column): check that the touch selector
359 is coherent with the current hildon-ui-mode
360 (hildon_touch_selector_get_hildon_ui_mode)
361 (hildon_touch_selector_set_hildon_ui_mode)
362 Added a getter/setter for the hildon-ui-mode property
363 (hildon_touch_selector_get_last_activated_row): Added this method in
364 order to get the last activated row.
365 * examples/hildon-touch-selector-normal-mode-example.c
366 New example, that shows how to use the HildonTouchSelector in
367 HILDON_UI_MODE_NORMAL
369 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
370 Kristian Rietveld <kris@lanedo.com> advices
372 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
374 * hildon/hildon-time-selector.c: (update_format_policy): Do
375 not call update_format_dependant_columns() if not necessary.
376 (update_format_dependant_columns): Remove unnecessary check for
377 the number of columns.
379 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
381 * hildon/hildon-note.c (+hildon_note_constructor),
382 (hildon_note_class_init), (+hildon_note_set_padding),
383 (hildon_note_rebuild): Install a constructor where to set the
384 padding properties in the note, so that it actually works fine.
385 Use hildon_note_set_padding() for this, and also to set it during
388 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
390 * configure.ac: Bump GTK+ requirement to 2.14.3.
391 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
392 when using maemo-gtk to define proper margins for the notes.
394 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
395 with the dialog edge)
397 2009-06-24 Alberto Garcia <agarcia@igalia.com>
399 * hildon/hildon-banner.c
400 (hildon_banner_class_init):
402 (+hildon_banner_size_request):
403 Request always the full width of the screen.
404 (hildon_banner_realize)
405 (-hildon_banner_check_position, hildon_banner_map):
406 hildon_banner_check_position() is not needed in Hildon 2.2.
407 (-hildon_banner_reset_wrap_state)
408 (hildon_banner_constructor, hildon_banner_init):
409 Remove unnecessary calls to hildon_banner_reset_wrap_state()
410 (+banner_do_set_text)
411 (force_to_wrap_truncated):
412 Remove has_been_wrapped and has_been_truncated attributes.
413 (+reshow_banner, hildon_banner_real_show_information)
414 (hildon_banner_show_information_with_markup)
415 (hildon_banner_show_animation, hildon_banner_show_progress)
416 (hildon_banner_set_text, hildon_banner_set_markup):
417 Refactor code. Shrink banner vertically to use the minimum space
418 necessary everytime the text of the label is updated.
419 (screen_size_changed):
420 Call force_to_wrap_truncated() when the size of the screen
423 Fixes: NB#120500 (only device memory connect mmc in use info
424 banner is left aligned)
426 Fixes: NB#120613 (Size of HildonBanner varies depending on
427 previously opened banners)
429 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-color-chooser.c
432 (hildon_color_chooser_pointer_motion): Take the widget allocation
435 Fixes: NB#124385 (Unable to select exact point in color mixing box
436 in color palette dialog)
438 2009-06-23 Alejandro G. Castro <alex@igalia.com>
440 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
441 (hildon_pannable_area_dispose)
442 (hildon_pannable_area_button_press_cb)
443 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
444 (hildon_pannable_area_button_release_cb)
445 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
446 New 'panning-started' and 'panning-finished' signals.
448 Fixes: NB#121732 (New feature request: Signal to pannable area
449 that informs when panning is stopped.)
451 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
453 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
454 instead of hardcoded colon.
456 Fixes: NB#124090 (New calendar wizard title is not using
457 ecdg_ti_caption_separator)
459 2009-06-22 David King <davidk@openismus.com>
461 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
462 constants and functions, as well as correct many typos throughout the
465 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
468 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
470 * configure.ac: postrelease version bump.
471 * debian/changelog: post release version bump
473 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
478 * configure.ac: Bump version.
479 * debian/changelog: Updates.
481 2009-06-18 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-window-stack.c
484 (hildon_window_stack_pop_and_push_list):
485 Prevent windows from having the same stack index
487 2009-06-18 Alberto Garcia <agarcia@igalia.com>
489 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
490 Use the index of the previous window rather than the stack length
491 to calculate the new index.
495 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
497 * hildon/hildon-date-selector.c
498 (hildon_date_selector_select_current_date)
499 (hildon_date_selector_get_date)
500 (hildon_date_selector_select_day):
501 Update the documentation: uses always the range (1-31), as it is obvious
502 that the final one will depend on the month and the year, but globally
503 the range is this, in a similar GtkCalendar approach
504 (hildon_date_selector_get_date):
505 Update the documentation: add NULL as a valid value for the day, month
508 Fix some details, after talk with David King on bug MB#4698
510 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
512 * hildon/hildon-touch-selector-entry.c
513 * hildon/hildon-touch-selector.c
514 Update the documentation of the "text-column" property
516 2009-06-18 David King <davidk@openismus.com>
518 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
519 several typos and errors throughout the documentation.
521 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
524 2009-06-18 Alberto Garcia <agarcia@igalia.com>
526 * hildon/hildon-note.c (hildon_note_realize):
527 Make HildonNote support portrait mode.
529 Fixes: NB#123448 (HildonNote is not portrait-friendly)
531 2009-06-17 Alberto Garcia <agarcia@igalia.com>
533 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
534 Document this function
536 2009-06-17 David King <davidk@openismus.com>
538 * hildon/hildon-date-selector.c
539 (hildon_date_selector_select_current_date)
540 (hildon_date_selector_get_date): Update documentation regarding days,
541 as the day of the month is dependent on both the month and the year.
542 (hildon_date_selector_get_date): Fix documentation of output arguments.
544 Fixes: MB#4698 (DateSelector documentation has bad output argument
545 description, and the day depends on both the month and the year)
547 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
549 * hildon/hildon-caption.c: Other documentation fixes to
552 2009-06-17 David King <davidk@openismus.com>
554 * hildon/hildon-caption.c: Minor documentation updates for
555 HildonCaption. Fixes MB#4697.
557 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
559 * doc/hildon-docs.sgml: Add hildon-version section.
560 * doc/hildon-sections.txt:
561 * hildon/hildon-version.h.in: Document versioning macros and
564 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
566 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
567 from HildonPickerDialog section.
569 2009-06-16 Alberto Garcia <agarcia@igalia.com>
571 * hildon/hildon-banner.c (hildon_banner_bind_style)
572 (screen_size_changed, hildon_banner_init)
573 (hildon_banner_real_show_information)
574 (hildon_banner_show_information_with_markup)
575 (hildon_banner_show_animation, hildon_banner_show_progress):
576 Set a different widget name to banners in portrait mode, for them
577 to be themed correctly.
579 2009-06-16 Alberto Garcia <agarcia@igalia.com>
581 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
582 Set a different widget name to notes in portrait mode, for them to
585 Partially fixes: NB#118401 (HildonNote causes unnecessary
588 2009-06-16 Alberto Garcia <agarcia@igalia.com>
590 * hildon/hildon-note.c (hildon_note_class_init)
591 (+hildon_note_size_request, screen_size_changed):
592 Always request the full width of the screen.
594 Fixes: NB#118375 (unnecessary rescaling of images)
596 2009-06-16 Alejandro G. Castro <alex@igalia.com>
598 * hildon/hildon-pannable-area.c,
599 (hildon_pannable_area_init),
600 (hildon_pannable_area_realize): Replaced old code adding flags in
601 the object init, now we add it with the other flags in the realize
604 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
606 * hildon/hildon-note.c: (hildon_note_class_init): Several
607 documentation improvements to the HildonNote widget.
609 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
611 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
613 Fixes: MB#4556 (HildonNoteType is undocumented)
615 2009-06-15 Alberto Garcia <agarcia@igalia.com>
617 * hildon/hildon-picker-button.c:
618 Explain how HildonPickerButton sets the title of its dialog
620 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
621 the title of its dialog)
623 2009-06-15 Alberto Garcia <agarcia@igalia.com>
625 * hildon/hildon-check-button.c:
626 Documentation updates
628 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
631 2009-06-15 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-edit-toolbar-private.h
635 * hildon/hildon-edit-toolbar.c
636 (+hildon_edit_toolbar_set_progress_indicator)
637 (hildon_edit_toolbar_init): Add progress indicator to the
640 * hildon/hildon-gtk.c
641 (hildon_gtk_window_set_progress_indicator):
642 If the window contains a HildonEditToolbar, enable the progress
645 * hildon/hildon-private.h
646 * hildon/hildon-private.c
647 (+hildon_private_create_animation)
648 * hildon/hildon-banner.c
649 (-hildon_banner_create_animation):
650 Moved to hildon-private.c
652 Fixes: NB#102373 (Progress indicator also for the Edit mode
655 2009-06-15 Alberto Garcia <agarcia@igalia.com>
657 * hildon/hildon-app-menu-private.h
658 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
659 (hildon_app_menu_add_filter, +menu_item_button_event)
660 (hildon_app_menu_button_release, hildon_app_menu_init):
661 Make sure that buttons receive 'button-release-event' in spite of
662 the grab held by HildonAppMenu
664 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
666 2009-06-15 Alberto Garcia <agarcia@igalia.com>
668 * hildon/hildon-app-menu.c
669 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
670 New style property to set the size of the group of filter buttons.
672 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
674 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
679 * configure.ac: Bump version.
680 * debian/changelog: Updates.
682 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
684 * hildon/hildon-main.c: Minor documentation fixes.
686 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
688 * doc/hildon-sections.txt:
689 * hildon/hildon-defines.h: Document the defines, organize them,
690 and mark deprecations as such.
692 Fixes: MB#4463 (Hildon size #defines are undocumented)
694 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
696 * hildon/hildon-animation-actor.c:
697 * hildon/hildon-app-menu.c:
698 * hildon/hildon-button.c:
699 * hildon/hildon-date-editor.c:
700 * hildon/hildon-dialog.c:
701 * hildon/hildon-edit-toolbar.c:
702 * hildon/hildon-entry.c:
703 * hildon/hildon-program.c:
704 * hildon/hildon-remote-texture.c:
705 * hildon/hildon-stackable-window.c:
706 * hildon/hildon-text-view.c:
707 * hildon/hildon-touch-selector.c:
708 * hildon/hildon-window-stack.c:
709 * hildon/hildon-window.c:
711 Remove redundant "represents" wording from most of the documentation.
713 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
715 2009-06-12 Alberto Garcia <agarcia@igalia.com>
720 * hildon/hildon-banner-private.h
721 * hildon/hildon-banner.c:
722 Move HildonBannerPrivate to hildon-banner.c and remove
723 hildon-banner-private.h
724 Use a bit field to store private booleans.
726 2009-06-12 Alberto Garcia <agarcia@igalia.com>
728 * hildon/hildon-app-menu.c (hildon_app_menu_map):
729 Don't install a new idle function if there's already one
734 2009-06-11 Alberto Garcia <agarcia@igalia.com>
736 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
737 (+legacy_menu_realized, +legacy_menu_unmapped)
738 (+set_legacy_menu_type):
739 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
740 they can be identified by the window manager.
742 Fixes: NB#101437 (Invoking CSM on the left side of page area is
743 displayed in wrong location)
745 Fixes: MB#4563 (Popup menu won't locate at the left side of the
748 2009-06-11 Alberto Garcia <agarcia@igalia.com>
750 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
752 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
755 2009-06-11 Alberto Garcia <agarcia@igalia.com>
757 * hildon/hildon-code-dialog.c
758 * hildon/hildon-date-editor.c
759 * hildon/hildon-number-editor.c
760 * hildon/hildon-seekbar.c
761 * hildon/hildon-stackable-window.c
762 * hildon/hildon-window.c:
763 Misc documentation updates
765 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
767 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
768 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
770 Fixes: NB#117931 (Theming issues in accounts dialogs)
772 2009-06-09 Alejandro G. Castro <alex@igalia.com>
774 * hildon/hildon-pannable-area.c,
775 (hildon_pannable_area_button_release_cb): Changed the coordinates
776 of the original release in case we want to discard the release,
777 some widgets in Fremantle do not handle the leave-notify.
779 2009-06-09 Alejandro G. Castro <alex@igalia.com>
781 * hildon/hildon-pannable-area.c,
782 (hildon_pannable_area_button_release_cb): Reviewed the logic of
783 the release using the last refactored functions and avoiding the
784 movement if an element was selected.
786 2009-06-09 Alejandro G. Castro <alex@igalia.com>
788 * hildon/hildon-pannable-area.c,
789 (hildon_pannable_area_check_move),
790 (hildon_pannable_area_handle_move),
791 (hildon_pannable_area_motion_notify_cb): Refactored the
792 motion_notify method using a couple of new functions.
794 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
796 * hildon/hildon-date-selector.c:
797 (hildon_date_selector_construct_ui):
798 * hildon/hildon-time-selector.c:
799 (hildon_time_selector_constructor):
800 * hildon/hildon-touch-selector-entry.c:
801 (hildon_touch_selector_entry_set_text_column),
802 (hildon_touch_selector_entry_get_text_column):
803 * hildon/hildon-touch-selector.c: (_default_print_func),
804 (hildon_touch_selector_new_text): Use
805 hildon_touch_selector_set/get_text_column() instead of
806 setting/getting the "text-column" property.
808 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
810 * doc/hildon-sections.txt: Add the new public methods below.
812 * examples/hildon-picker-button-multicolumn-example.c:
813 (create_touch_selector):
814 * examples/hildon-touch-selector-example.c: (create_selector):
815 * examples/hildon-touch-selector-multi-cells-example.c:
817 Use hildon_touch_selector_column_set_text_column()
819 * hildon/hildon-touch-selector-column.h:
820 * hildon/hildon-touch-selector.c:
821 (hildon_touch_selector_column_set_text_column),
822 (hildon_touch_selector_column_get_text_column):
823 Make hildon_touch_selector_column_set/get_column() public, use
824 them in the inline example, document them, and reference to them
827 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
829 * hildon/hildon-time-selector.c: Fix the docs for
830 hildon_time_selector_new_step().
832 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
834 * hildon/hildon-touch-selector.c: Improve the documentation for
835 hildon_touch_selector_append_column().
837 Fixes MB#4641 (Documentation:
838 hildon_touch_selector_append_column() ref-counting)
840 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
842 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
843 Comment out test 5, since the hildon_controlbar_set_range() range
844 check is broken and fixing it would have side effects. Also,
845 this finally fixes make distcheck.
847 Fixes: NB#101420 (Update unit tests and fix make distcheck)
849 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
851 * tests/TEST-CASES.txt: Remove other bogus test.
852 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
853 Remove bogus test that was setting/retrieving a valid value.
855 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
857 * tests/TEST-CASES.txt: Remove bogus tests.
858 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
859 Remove three bogus tests that were actually setting valid colors.
861 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
863 * configure.ac: post release version bump
864 * debian/changelog: post release version bump
866 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: Bump version.
872 * debian/changelog: Updates.
874 2009-06-08 Christian Dywan <christian@lanedo.com>
878 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
879 Correct errors in hildon_format_file-size_for_display and use
880 translations from the hildon-fm package instead of osso-filemanager.
882 2009-06-08 Alejandro G. Castro <alex@igalia.com>
884 * hildon/hildon-pannable-area.c,
885 (hildon_pannable_area_init): Initialized new values to handle the
887 (hildon_pannable_area_adjust_value_changed): Check if the values
888 changed before even call the redraw function.
889 (hildon_pannable_area_size_allocate),
890 (hildon_pannable_axis_scroll),
891 (hildon_pannable_area_scroll),
892 (hildon_pannable_area_jump_to): Improved the diagonal movement
895 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
898 2009-06-08 Alberto Garcia <agarcia@igalia.com>
900 * examples/hildon-banner-example.c:
901 Several style updates
902 (on_animation_clicked, on_animation_idle)
903 (on_progress_clicked, on_progress_idle):
904 Add additional reference for the cases when the parent window is
907 2009-06-08 Alberto Garcia <agarcia@igalia.com>
909 * doc/hildon-sections.txt
910 * hildon/hildon-pannable-area.c
911 * hildon/hildon-banner.h
912 * hildon/hildon-banner.c: Documentation updates.
914 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
917 2009-06-05 Alejandro G. Castro <alex@igalia.com>
919 * hildon/hildon-calendar-popup.h:
920 * hildon/hildon-caption.h:
921 * hildon/hildon-code-dialog.h:
922 * hildon/hildon-controlbar.h:
923 * hildon/hildon-date-editor.h:
924 * hildon/hildon-dialog.h:
925 * hildon/hildon-get-password-dialog.h:
926 * hildon/hildon-hvolumebar.h:
927 * hildon/hildon-login-dialog.h:
928 * hildon/hildon-note.h:
929 * hildon/hildon-number-editor.h:
930 * hildon/hildon-range-editor.h:
931 * hildon/hildon-seekbar.h:
932 * hildon/hildon-set-password-dialog.h:
933 * hildon/hildon-sort-dialog.h:
934 * hildon/hildon-time-editor.h:
935 * hildon/hildon-time-picker.h:
936 * hildon/hildon-volumebar-range.h:
937 * hildon/hildon-volumebar.h:
938 * hildon/hildon-vvolumebar.h:
939 * hildon/hildon-weekday-picker.h:
940 * hildon/hildon-window.h:
941 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
942 macros with the current replacements
944 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
946 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
948 * hildon/hildon-color-button.c (hildon_color_button_init): Use
949 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
950 itself, to make it fit better with Fremantle style.
952 Fixes: NB#109878 (height and width of focus on color icon is not
953 consistent with other item in the application tool bar)
955 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
957 * hildon/hildon-touch-selector.c:
958 (hildon_touch_selector_optimal_size_request): use the current requisition
959 as the base, in order to include any possible extra widget, like the
960 hildon entry on HildonTouchSelectorEntry
962 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
964 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
966 * configure.ac: post release version bump
967 * debian/changelog: post release version bump
969 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
974 * configure.ac: Bump version.
975 * debian/changelog: Updates.
977 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
979 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
981 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
982 to ensure the banner contents are centered, instead of relying on
983 the expand and fill properties in GtkHBox.
984 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
986 Fixes: NB#108265 (Animation banner not properly centered)
988 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
990 * hildon/hildon-pannable-area.c
991 (hildon_pannable_area_initial_effect): Remove the initial_effect
992 management, check initial_hint
993 (hildon_pannable_are_expose_event): Remove the initial_hint management,
994 set initial_effect to FALSE
995 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
996 by launching the fade_timeout if the scrollbars state has changed and are
998 * examples/hildon-pannable-area-initial-hint-example.c
999 Modified to allow to remove rows too. Add and remove rows one by one.
1001 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1003 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1004 Don't close the menu if there's an animation actor below it.
1006 Fixes: NB#117927 (Application menu not usable with animation
1009 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1011 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1012 "focus-on-click" from the dialog button, to avoid stealing the
1013 focus from the entry.
1015 Fixes: NB#118903 (Account setup wizard: Text in Search field
1016 should be focused when "Region" touch list picker is reopened
1019 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1021 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1022 (prepare_action_area): Completely hide the dialog separator.
1024 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1026 * hildon/hildon-touch-selector-entry.c
1027 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1028 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1029 now that the entry is exposed.
1031 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1033 * hildon/hildon-touch-selector-entry.c
1034 (hildon_touch_selector_entry_init): Change the entry's size
1035 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1037 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1039 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1040 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1041 avoid unnecessary scaling.
1043 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1046 Create grab transfer window before calling parent's map function.
1048 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1049 "crushed" button(s) in the top left corner)
1051 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1053 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1054 Check if the window is already realized when pushing it.
1056 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1058 * configure.ac: post release version bump
1059 * debian/changelog: post release version bump
1061 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1066 * configure.ac: Bump version.
1067 * debian/changelog: Updates.
1069 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-app-menu.c: Doc updates.
1073 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1075 * hildon/hildon-banner.c: Remove leftover macro.
1077 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1079 * hildon/hildon-pannable-area.c,
1080 (hildon_pannable_area_scroll_indicator_fade),
1081 (hildon_pannable_area_button_release_cb): Reviewed vmin
1082 conditions, it could cause problems in the fadeout procedure.
1084 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1086 * hildon/hildon-pannable-area.c
1087 (hildon_pannable_area_button_release_cb): Added a threshold to
1088 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1090 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1092 * hildon/hildon-pannable-area.c,
1093 (hildon_pannable_area_set_property): Added code to sync the gtk
1094 dnd threshold with the panning threshold.
1096 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1098 * hildon/hildon-pannable-area.c,
1099 (hildon_pannable_area_class_init): Changed some of the default
1100 values, now it should be less responsive and more accurate.
1102 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1104 * hildon/hildon-pannable-area.c,
1105 (hildon_pannable_area_init),
1106 (hildon_pannable_area_scroll_indicator_fade),
1107 (hildon_pannable_area_button_press_cb),
1108 (hildon_pannable_axis_scroll),
1109 (hildon_pannable_area_timeout),
1110 (hildon_pannable_area_motion_notify_cb),
1111 (hildon_pannable_area_button_release_cb): Changed the name of the
1112 clicked attribute to button_pressed, it is more clear about its use.
1114 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1116 * src/hildon-pannable-area.c
1117 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1119 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1120 vertical scrollbar visibility, and use the data on private section instead,
1121 remove the initial_hint check
1122 (hildon_pannable_area_expose_event): add the initial_hint check here
1124 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1126 * src/hildon-pannable-area.c
1127 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1128 if the fadeout effect was used
1129 (hildon_pannable_area_expose_event): check if it is required to
1130 manage the initial effect on the begining of the function. Previously
1131 it was made at the end, but this doesn't ensure that the scrollbars
1132 will be painted on the first show. Do not set to FALSE initial_effect,
1133 to ensure that the initial hint is showed the first time the pannable
1135 * examples/Makefile.am
1136 * examples/hildon-pannable-area-initial-hint-example.c:
1137 New example, to show that the initial-hint is showed when the widget
1140 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1141 initially if the application can be scrolled)
1143 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1145 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1146 Resize table before adding new items to make sure that
1147 gtk_table_resize() is called just once.
1149 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1151 * hildon/hildon-app-menu-private.h
1152 * hildon/hildon-app-menu.c (item_visibility_changed)
1153 (filter_visibility_changed, hildon_app_menu_show_all)
1154 (hildon_app_menu_hide_all, hildon_app_menu_init):
1155 Rearrange items just once when gtk_widget_show_all()/hide_all()
1158 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1160 * hildon/hildon-app-menu.c
1161 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1162 Don't call gtk_widget_show() on added items.
1164 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1165 automatically when they're added)
1167 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1169 * hildon/hildon-banner.c
1170 (hildon_banner_realize, +hildon_banner_unrealize)
1171 (+screen_size_changed, hildon_banner_class_init):
1172 Redisplay the banner if the screen is rotated.
1174 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1175 on transition from landscape to portrait)
1177 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1179 * hildon/hildon-banner.[ch]:
1180 (hildon_banner_show_information_override_dnd): remove icon_name from the
1181 method definition as it is ignored.
1182 * examples/hildon-banner-dnd-example.c: updated with the change on
1185 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1187 * hildon/hildon-banner-private.h: new require_override_dnd and
1188 overrides_dnd variables
1189 * hildon/hildon-banner.h:
1190 (hildon_banner_show_information_override_dnd): new method, that shows
1191 the information but sets the override flag, in order to show important
1193 * hildon/hildon-banner.c
1194 (hildon_banner_show_information_override_dnd): new method
1195 (hildon_banner_set_override_flag): new utility function
1196 (hildon_banner_real_show_information): new utility function, in order to
1197 generalize the current hildon_banner_show_information_override_dnd and
1198 hildon_banner_show_information_override_dnd
1199 * examples/Makefile.am
1200 * examples/hildon-banner-dnd-example.c: New example that show how to
1201 use the new hildon_banner_show_information_override_dnd
1203 Fixes: NB#114874 (There is no possibility to show hildon banners with
1206 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1208 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1209 behind hildon_pannable_calculate_vel_factor().
1211 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1213 * hildon/hildon-pannable-area.c
1214 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1215 deceleration factors.
1217 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1219 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1220 Reduce the default value for 'scroll_time' to 1 second, since the
1221 current initial scrolling takes too much time.
1223 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1225 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1226 calculate velocity factor during initialization, since the properties
1229 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1231 * hildon/hildon-pannable-area.c
1232 (hildon_pannable_area_set_property): Calculate the velocity factor
1233 after setting the deceleration property and not after.
1235 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1237 * hildon/hildon-entry.c
1238 (hildon_entry_class_init, +set_property, hildon_entry_new)
1239 * hildon/hildon-check-button.c
1240 (hildon_check_button_class_init)
1241 (+set_property, hildon_check_button_new):
1242 Make the theme size a property.
1244 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1245 others) do too much in the _new function)
1247 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1249 * configure.ac: post release version bump
1250 * debian/changelog: post release version bump
1252 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: Bump version.
1258 * debian/changelog: Updates.
1260 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1262 * hildon/hildon-gtk.h
1263 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1264 New API function to take a screenshot of a window
1266 Fixes: NB#106374 (Need API to take a loading screenshot)
1268 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1270 * hildon/hildon-time-selector.c
1271 (update_format_policy): prevent to use hours and minutes unitialized
1273 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1275 * hildon/hildon-window.c (hildon_window_size_request):
1276 Always request the full size of the screen (minus the title bar if
1277 not in fullscreen mode).
1279 Fixes: NB#107486 (HildonWindow should size itself properly)
1281 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1283 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1284 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1285 (on_show_cb), (sound_handling): Disconnect the idle handler for
1286 the sound when the note is finalized to avoid possible crashes.
1288 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1291 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1293 * src/hildon-animation-actor.c,
1294 * src/hildon-remote-texture.c:
1295 Added proper object cleanup to remove signal handler and object
1296 references as HildonAnimationActor and HildonRemoteTexture
1297 objects get destroyed.
1299 Fixes: NB#116682 (Destroying parented animation actors when
1300 parent in unmapped leads to crash)
1302 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1304 Based on a patch by Christian Dywan (christian@imendio.com)
1306 * doc/hildon-sections.txt:
1307 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1308 * hildon/hildon-helper.h: New file size formatting method.
1310 * debian/control: Depend on osso-filemanager l10n package for
1311 proper localization strings.
1313 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1315 * tests/Makefile.am: Include top_srcdir to make possible to build
1316 tests in a different builddir.
1317 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1318 on a different builddir.
1320 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1322 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1323 (hildon_touch_selector_remove): Disconnect model's signal handler
1326 Fixes: NB#116289 (Hildon home crashes while adding task
1329 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1331 * hildon/hildon-button.c
1332 (hildon_button_set_title, hildon_button_set_value):
1333 Hide labels containing an empty string.
1335 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1337 * configure.ac: post release version bump
1338 * debian/changelog: post release version bump
1340 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1345 * configure.ac: Bump version.
1346 * debian/changelog: Updates.
1348 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1350 * hildon/hildon-note-private.h: Removed sound_signal_handler
1351 * hildon/hildon-note.c
1352 (on_show_cb): new callback on note "show" event, this simply adds
1353 a idle, with the function sound_handling
1354 (sound_handling): removed the sound_signal_handler management
1355 (hildon_note_init): connect note "show" event to on_show_cb
1356 (hildon_note_realize): remove the connection to "expose-event"
1358 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1359 device?' confirmation note)
1361 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1363 * hildon/hildon-note.c
1364 (hildon_note_new_information_with_icon_name)
1365 (hildon_note_new_confirmation_with_icon_name):
1366 Terminate the list of parameters in g_object_set() calls
1368 Fixes: NB#115166 (Formatting memory card is not taking place)
1370 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1372 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1373 "dialog-information" role for the sound being played.
1375 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1377 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1378 Don't make the menu a modal window, it causes strange interactions
1379 with the pointer grab and it's not really needed.
1381 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1383 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1385 * hildon/hildon-touch-selector.[ch]
1386 (hildon_touch_selector_optimal_size_request): function added to get a
1387 optimal size request from the touch selector, when you want a dialog to
1388 show as much of the selector
1389 * hildon/hildon-picker-dialog.c:
1390 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1391 (hildon_app_menu_class_init):
1392 New "max-height-landscape" and "max-height-portrait" style properties
1393 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1394 (hildon_picker_dialog_get_max_height): returns the maximum height using
1395 the style properties defined and checking the current portrait/landscape
1397 (_hildon_picker_dialog_set_selector): removed the set_size_request
1399 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1401 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1403 * hildon/hildon-bread-crumb-trail.c:
1404 * hildon/hildon-bread-crumb.c:
1405 * hildon/hildon-seekbar.c:
1406 Add reference to replacements for these deprecated widgets.
1408 Fixes: MB#4461 (Documentation: All deprecations should mention
1411 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1413 * examples/hildon-remote-texture-example.c
1415 Change the include to the hildon-remote-texture in order to compile
1416 properly the examples on the installed libhildon1-examples package
1418 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1420 * tests/Makefile.am: Add check for HildonPickerButton.
1421 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1422 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1423 checks for the HildonPickerButton.
1424 * tests/check_test.c (configure_tests): Add the test suite.
1425 * tests/test_suites.h: likewise.
1427 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1429 * hildon/hildon-touch-selector.c
1430 (+on_row_changed): Emit HildonTouchSelector:changed when the
1431 contents of a selected row change.
1432 (_create_new_column), (_hildon_touch_selector_set_model): connect
1433 to GtkTreeModel:row-changed on a newly set model.
1435 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1437 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1439 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1441 * hildon/hildon-banner.c (hildon_banner_destroy)
1442 (hildon_banner_show_progress, hildon_banner_set_fraction):
1443 Remove the progress bar from HildonBanner and use a progress
1446 Fixes: NB#113761 (Update progress banner to use progress
1449 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1451 * hildon/hildon-banner.c:
1452 Calculate size of the banner label using the actual screen width
1453 rather than using a fixed value.
1455 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1458 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1460 * hildon/hildon-pannable-area.c,
1461 (hildon_pannable_area_class_init): Fixed signals documentation
1464 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1466 * configure.ac: post release version bump
1467 * debian/changelog: post release version bump
1469 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: Bump version.
1475 * debian/changelog: Updates.
1477 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1479 * hildon/hildon-edit-toolbar.c
1480 (hildon_edit_toolbar_init):
1481 Don't let buttons in HildonEditToolbar receive focus.
1483 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1484 typing on an HW arrows key)
1486 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1488 * doc/Makefile.am: Fix build.
1490 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1492 * doc/Makefile.am: Do not redefine content_files.
1494 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1502 Renamed src/ to hildon/
1507 Include <hildon/hildon.h> directly in all examples.
1509 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1511 * src/hildon-sort-dialog.c
1512 (hildon_sort_dialog_add_sort_key_with_sorting)
1516 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1518 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1519 make distcheck passes.
1521 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1523 * Makefile.am: Enable gtk-doc during distcheck.
1525 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1527 * Makefile.am: Do not distribute the debian/ directory.
1529 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1531 * doc/Makefile.am: Add the extra SGML files to content_files,
1532 so that they are distributed properly.
1534 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1536 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1539 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1542 (hildon_note_new_information_with_icon_name): Set the "icon" property
1543 to preserve soundness.
1545 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-font-selection-dialog.c
1548 (hildon_font_selection_dialog_set_property): Fail when the "family"
1549 property is set to NULL.
1551 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1553 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1556 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1558 * src/hildon-time-selector.h:
1559 Added HildonTimeSelectorFormatPolicy
1560 * src/hildon-time-selector.c:
1561 Added PROP_TIME_FORMAT_POLICY
1562 (_check_ampm_format): renamed to check_automatic_ampm_format
1563 (update_format_policy), (update_format_dependant_columns): new functions
1564 (hildon_time_selector_class_init)
1565 (hildon_time_selector_contructor)
1566 (hildon_time_selector_init)
1567 (hildon_time_selector_get_property)
1568 (hildon_time_selector_set_property)
1569 (hildon_time_selector_get_time)
1570 (hildon_time_selector_set_time)
1571 * src/hildon-touch-selector.h: new file
1572 * src/hildon-touch-selector.c
1573 (hildon_touch_selector_emit_changed)
1574 (hildon_touch_selector_block_changed)
1575 (hildon_touch_selector_unblock_changed)
1576 Added functions to allow to block the emission of the "changed" signal
1577 * src/hildon-picker-dialog.c
1578 (hildon_picker_dialog_show): call the parent show before the custom code
1579 * examples/hildon-time-button-example.c
1580 Modified, so now you can configure the time format using the new property
1582 Added a new property "time-format-policy" that allow to choose the time
1583 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1584 case it uses gconf in order to check if the time selector must use
1587 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1590 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-note.c (hildon_note_init):
1593 Label in HildonNote must be left aligned, not centered. This
1594 reverts the last commit in HildonNote.
1596 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1597 is connectivity dialog)
1599 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1604 * doc/hildon-sections.txt:
1605 Added hildon_gtk_window_set_do_not_disturb()
1607 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1609 * src/hildon-note.c (hildon_note_init): Center label.
1611 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1614 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1619 * configure.ac: Bump version.
1620 * debian/changelog: Updates.
1622 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1624 * src/hildon-note-private.h: Add button-width to the private data.
1625 * src/hildon-note.c (+resize_button),
1626 (+hildon_note_orientation_update): methods to repack widgets on orientation
1628 (screen_size_changed): Call above method for confirmation notes.
1629 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1630 (hildon_note_rebuild): Store the original width request from buttons.
1632 Fixes: NB#109635 (Confirmation notes do not support portrait)
1634 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1637 when it is a progress note.
1639 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1642 in the note, since there are no horizontally arranged contents.
1644 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1646 * src/hildon-gtk.c (+set_flag): new generic method to
1647 set/delay a flag setting in a window.
1648 (hildon_gtk_window_set_progress_indicator):
1649 (hildon_gtk_window_set_do_not_disturb),
1650 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1651 avoid code redundance.
1653 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1655 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1657 * src/hildon-gtk.c (set_clear_window_flag),
1658 (do_set_progress_indicator), (do_set_do_not_disturb),
1659 (do_set_portrait_flags),
1660 (hildon_gtk_window_set_progress_indicator),
1661 (hildon_gtk_window_set_do_not_disturb),
1662 (hildon_gtk_window_set_portrait_flags):
1663 Allow setting dnd-flag, progress indicator, and portrait flags
1664 when the window is not realized.
1666 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pannable-area.c,
1669 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1670 the size request policy function and defines.
1672 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1674 * doc/hildon-sections.txt: Add the new API.
1675 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1676 method to set the portrait flags.
1677 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1679 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1681 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1684 to allow using this method with other flags.
1685 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1686 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1688 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-touch-selector.c
1691 (hildon_touch_selector_append_text_column):
1692 Make the cell renderer use the smallest width possible.
1694 Fixes: NB#108470 (Selected items in multiple selection are either
1695 having a tick that is cut or not visible at all.)
1697 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-touch-selector.c
1700 (hildon_touch_selector_append_text_column):
1703 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1706 Use g_strdup_printf() instead of a fixed size buffer.
1708 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1711 Close banners when a HildonAppMenu is popped up.
1713 Fixes: NB#111027 (Title menu closed immediately if activated when
1714 "Invalid e-mail address" banner is shown)
1716 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1721 * configure.ac: Bump version.
1722 * debian/changelog: Updates.
1724 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1726 * src/hildon-banner.c (hildon_banner_realize):
1727 Mark HildonBanner as supporting portrait mode.
1728 Use GDK to set window properties insetad of direct Xlib calls.
1730 Fixes: NB#111830 (HildonBanner should be marked as supporting
1733 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-note.c (hildon_note_rebuild):
1736 Hide action area in information notes. Prevents text from being
1737 slightly aligned to the left.
1739 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1742 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1744 Patch by Mox Soini (ext-mox.soini@nokia.com)
1746 * src/hildon-banner.c (hildon_banner_create_animation):
1747 Use stylus-sized icons in animation banner.
1749 Fixes: NB#111206 (stylus sized icon for animation banner)
1751 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1755 (+hildon_gtk_window_set_do_not_disturb):
1756 New API to set the do-not-disturb flag.
1758 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1760 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1762 * examples/hildon-progress-indicator-example.c: Fix example
1764 * src/hildon-gtk.c (set_clear_window_flag)
1765 (hildon_gtk_window_set_progress_indicator):
1766 Create a generic function for setting flags to a window.
1767 Use GDK instead of direct Xlib calls.
1769 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-button.c (hildon_button_set_arrangement):
1772 Due to NB#88126, if one of the labels is too long it will be
1773 painted outside the button. The 'value' label is more likely to be
1774 the longest one, so we change its packing options in order to
1775 truncate it if necessary. As a side effect, the 'title' label will
1776 no longer be truncated.
1778 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1780 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1785 * configure.ac: Bump version.
1786 * debian/changelog: Updates.
1788 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1790 Deprecation of the hildon_pannable_area_set_size_request_policy
1791 API, the only policy properly supported in gtk+ nowadays is the
1794 * src/hildon-pannable-area.c,
1795 (hildon_pannable_area_size_request): Added a workaround for the
1796 size_request to avoid the problems of huge pixmaps in case someone
1797 is still using the function.
1798 * src/hildon-pannable-area.h: Deprecated the enum with the
1801 Fixes: NB#110244 (Problems with the
1802 hildon_pannable_area_set_size_request_policy API)
1804 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_init),
1808 (hildon_pannable_area_size_request),
1809 (hildon_pannable_area_style_set),
1810 (hildon_pannable_draw_vscroll),
1811 (hildon_pannable_draw_hscroll),
1812 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1813 indicator_width to clarify the use of the attribute.
1815 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1820 * configure.ac: Bump version.
1821 * debian/changelog: Updates.
1823 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1825 * src/hildon-picker-dialog.c
1826 * src/hildon-touch-selector.c
1827 Reverting the change that tried to avoid the hardcoded height on
1828 the picker dialog, as causes problems on the hildon-touch-selector
1831 Fixes: NB#110029 (selectors not scrolling to selected value)
1833 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1835 * src/hildon-touch-selector.c: Fix typos
1837 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1840 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1841 request more motions after using it.
1843 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1845 * src/hildon-calendar.c (hildon_calendar_expose),
1846 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1847 Remove unused variables.
1849 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1851 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1852 variable assignment.
1854 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1856 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1857 Check the return value of gtk_tree_selection_get_selected()
1860 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1862 * src/hildon-animation-actor.c
1863 * src/hildon-button.c
1865 * src/hildon-pannable-area.c
1866 * src/hildon-picker-button.c
1867 * src/hildon-program.c
1868 * src/hildon-remote-texture.c
1869 * src/hildon-text-view.c
1870 * src/hildon-touch-selector.c
1871 * src/hildon-window-stack.c
1872 * src/hildon-window.c:
1873 Add missing 'Since: 2.2' tags.
1875 * doc/hildon-sections.txt:
1876 Add some missing symbols.
1878 * doc/hildon-docs.sgml:
1879 New 'Other' section for HildonAnimationActor and
1882 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1884 Patch by Iván Gómez (igomez@igalia.com)
1887 * doc/compiling.sgml
1888 * doc/hildon-docs.sgml
1889 * doc/hildon-sections.txt
1890 * doc/migration.sgml
1891 * doc/resources.sgml
1893 New chapters on using the Hildon library.
1894 Updated the general structure of the reference manual.
1895 Other minor documentation fixes.
1897 * src/hildon-calendar-popup.c
1898 * src/hildon-calendar.c
1899 * src/hildon-controlbar.c
1900 * src/hildon-date-editor.c
1901 * src/hildon-dialog.c
1902 * src/hildon-hvolumebar.c
1903 * src/hildon-number-editor.c
1904 * src/hildon-range-editor.c
1905 * src/hildon-sort-dialog.c
1906 * src/hildon-time-editor.c
1907 * src/hildon-time-picker.c
1908 * src/hildon-volumebar-range.c
1909 * src/hildon-volumebar.c
1910 * src/hildon-vvolumebar.c
1911 * src/hildon-weekday-picker.c:
1912 Add deprecation notes
1914 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1915 Document 'horizontal-movement' and 'vertical-movement' signals.
1917 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1922 * configure.ac: Bump version.
1923 * debian/changelog: Updates.
1925 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_class_init): increased the minimum velocity.
1929 (hildon_pannable_area_button_release_cb): Updated the
1930 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1931 setup. Review the code to control that last event.
1933 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1936 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1938 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1940 * src/hildon-get-password-dialog.c
1941 (hildon_get_password_set_property),
1942 (hildon_get_password_get_property), (create_contents):
1943 * src/hildon-login-dialog-private.h:
1944 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1945 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1946 (hildon_login_dialog_get_password):
1947 * src/hildon-set-password-dialog-private.h:
1948 * src/hildon-set-password-dialog.c
1949 (hildon_set_password_set_property),
1950 (hildon_set_password_get_property), (create_contents),
1951 (hildon_set_password_response_change),
1952 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1954 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1955 instead and look more Fremantle style.
1957 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1959 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1961 * doc/hildon-sections.txt
1962 * src/hildon-window-stack.h
1963 * src/hildon-window-stack.c
1964 (+hildon_window_stack_get_windows):
1965 New API to obtain the list of windows on a stack.
1967 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-app-menu.c (hildon_app_menu_popup)
1970 (hildon_app_menu_class_init, -hildon_app_menu_show):
1971 Remove hildon_app_menu_show() and move all its checks to
1972 hildon_app_menu_popup()
1974 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1976 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1977 (_hildon_picker_dialog_set_selector): removed call to
1978 gtk_widget_set_size_request
1979 * src/hildon-touch-selector.c
1980 (_create_new_column): change the pannable size request policy
1982 Avoid to use a hardcoded height for the hildon picker dialog. In order
1983 to get that, we needed to change the hildon pannable size request
1985 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1987 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1990 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1993 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1995 * debian/control: Depend on osso-system-lock localization package.
1996 * src/hildon-code-dialog.c: Obtain the secu_application_title
1997 translation from osso-system-lock.
1998 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1999 for translation the atk related strings, that's not necessary.
2000 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2001 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2002 cancel button, it is not required.
2004 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2006 * src/hildon-pannable-area.c,
2007 (hildon_pannable_area_class_init): Modified the default value of
2008 the overshooting max speed, we have reduced it.
2010 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2012 * doc/hildon-sections.txt
2013 * src/hildon-window-private.h
2014 * src/hildon-window.h
2015 * src/hildon-window.c (hildon_window_class_init)
2016 (hildon_window_init, hildon_window_finalize)
2017 (hildon_window_realize, hildon_window_get_property)
2018 (hildon_window_set_property, hildon_window_update_markup)
2019 (hildon_window_get_markup, hildon_window_set_markup):
2020 New "markup" property and hildon_window_{get,set}_markup() methods.
2022 * examples/hildon-stackable-window-example.c (new_window):
2023 Update example to use hildon_window_set_markup()
2025 Fixes: NB#106375 (Need API to retitle a window with a title
2028 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2030 * src/hildon-pannable-area.c,
2031 (hildon_pannable_area_class_init): Changed the default value of
2032 the initial_hint to TRUE.
2033 (hildon_pannable_area_initial_effect): Changed the initial effect,
2034 not the effect is just the fade-out of the scrollbars.
2036 Fixes: NB#107775 (No scrollbars can be seen when several items are
2037 available in a dialog)
2039 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-program.c (hildon_program_update_top_most):
2044 Fixes: NB#109179 (Memory leak in Hildon program)
2046 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-banner.c (-get_current_app_window):
2049 Remove unused function.
2051 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-pannable-area.c: Modified the documentation of the
2054 get adjustments functions to explain the problem of using the
2055 adjustment directly.
2056 (hildon_pannable_area_class_init): Improved the explanation about
2059 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-app-menu-private.h
2062 * src/hildon-app-menu.c
2063 (hildon_app_menu_class_init):
2064 Bring back the 'external-border' style property
2065 (hildon_app_menu_class_init, hildon_app_menu_init)
2066 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2067 Set a fixed width-request for the menu, independent of the number
2070 Fixes: NB#94957 (Smoothly opened application menu)
2072 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2076 * src/hildon-banner.c
2077 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2079 Make sure that the banner is correctly placed the first time it's
2081 (hildon_banner_check_position, -check_fullscreen_state):
2082 Show the banner in the same place no matter if the window is in
2083 fullscreen mode or not.
2085 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2087 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-touch-selector.c (_default_print_func): reorder
2090 concatenation for clarity.
2092 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2095 for multicolumn selectors.
2097 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2099 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2104 * configure.ac: Bump version.
2105 * debian/changelog: Updates.
2107 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2112 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2114 * configure.ac: removed libcangerra-gtk dependency
2115 * debian/control: removed libcanberra-gtk dependency
2116 * src/Makefile.am: removed libcanberra gtk related flags
2117 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2118 context, and manage a global canberra context instead
2120 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2122 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2124 Patch by Daniel Borgmann (danielb@openismus.com)
2126 * src/hildon-edit-toolbar.c:
2127 Adjust the left padding.
2128 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2129 Paint background of the edit toolbar.
2131 Fixes: NB#107897 (Patch to make editmodetoolbar background
2132 themeable and adjust margin)
2134 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2136 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2138 * src/hildon-program.c (hildon_program_update_top_most):
2139 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2141 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2142 change when the user tasks in/out of an application)
2144 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2146 * configure.ac: added libcangerra-gtk dependency
2147 * debian/control: added libcanberra-gtk dependency
2148 * src/Makefile.am: added libcanberra gtk related flags
2149 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2152 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2154 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-program.c (hildon_program_remove_window)
2157 (hildon_program_add_window): Add checks for the window
2158 parameter. Don't decrease the window counter if the window is not
2161 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2163 * src/hildon-pannable-area.c,
2164 (hildon_pannable_area_realize): Fixed position of the event_window
2165 in the realize method.
2167 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-app-menu-private.h
2170 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2171 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2172 (hildon_app_menu_key_press, hildon_app_menu_init)
2173 (hildon_app_menu_finalize):
2174 Make sure that all idle functions are removed when the widget is
2177 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2179 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2184 * configure.ac: Bump version.
2185 * debian/changelog: Updates.
2187 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2189 * src/hildon-entry.c
2190 (+hildon_entry_show_placeholder),
2191 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2192 that replace hildon_entry_update_contents().
2193 (hildon_entry_set_text),
2194 (hildon_entry_set_placeholder),
2195 (hildon_entry_focus_in_event),
2196 (hildon_entry_focus_out_event): Determine when it is needed
2197 either to show or hide the placeholder and call the above methods.
2199 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2200 when the placeholder text is already set)
2202 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2205 simple GdkPixbufAnim using the new icons for the banner.
2206 (hildon_banner_show_animation): Use the above mentioned method to
2207 create the animation widget.
2209 Fixes: NB#103564 (Make hildon animation banner use individual
2210 image files as the animation)
2212 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2214 * src/hildon-pannable-area.c,
2215 (hildon_pannable_leave_notify_event): Check if the child is NULL
2216 to avoid sending the leave.
2218 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_class_init),
2222 (hildon_pannable_leave_notify_event): Added a handler of the
2223 leave-notify-signal to consider when no motion notify before
2226 Fixes: NB#107494 (Items stay selected when clicking and moving
2227 away when inside pannable area)
2229 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2234 * configure.ac: Bump version.
2235 * debian/changelog: Updates.
2237 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2239 Patch by Alberto Garcia (agarcia@igalia.com)
2241 * src/hildon-date-button.c,
2242 (hildon_date_button_class_init),
2243 (hildon_date_button_init): Removed the construct property handling
2244 and created a default selector in the init method.
2245 * src/hildon-picker-button.c,
2246 (hildon_picker_button_class_init): Removed the construct flag of the
2249 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-main.c (hildon_init):
2252 Don't allow hildon_init() to be called more than once.
2254 Fixes: NB#106607 (hildon_init should issue error message upon
2257 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2259 * examples/hildon-pannable-area-touch-list-example.c
2260 * examples/hildon-pannagle-area-touch-grid-example.c
2261 * examples/hildon-edit-toolbar-example.c
2262 * examples/hildon-touch-selector-multi-cells-example.c
2263 Removed the call to gtk_rc_parse_string, as it is not required since
2266 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2268 * src/hildon-pannable-area.c,
2269 (hildon_pannable_area_class_init): Modified the default panning
2270 threshold of the widget to 6px.
2272 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2273 than the threshold value ) within the button is not sending the
2276 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2279 for the treeview in the new column. This way, the touch list will never
2282 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2283 be selected manually for the HW keys to work)
2285 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2287 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2288 comparison instead of using strcmp(). Fixes a compiler warning as well.
2290 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2292 * doc/hildon-docs.sgml: Do not set the library version in the
2293 document title, use the releaseinfo tag for that purpose instead.
2295 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2298 Do not jump to the first item if the text in the entry is removed.
2300 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2305 * configure.ac: Bump version.
2306 * debian/changelog: Updates.
2308 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-entry.c (hildon_entry_refresh_contents):
2311 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2312 Use "ReversedSecondaryTextColor" for the placeholder text.
2314 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-text-view.c: Fix compilation warning.
2318 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-button.c (hildon_button_class_init): Don't make
2321 "title" and "value" construction properties, to prevent them from
2322 overwriting labels set from derived classes.
2324 * src/hildon-picker-button.c
2325 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2326 (hildon_picker_button_class_init): Make touch-selector a
2327 construction property.
2329 * src/hildon-date-button.c (hildon_date_button_class_init)
2330 (+hildon_date_button_constructed): Add a default date selector if
2333 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2335 * src/hildon-touch-selector.c: Small documentation fixes.
2337 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2339 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2341 * src/hildon-entry.c (hildon_entry_refresh_contents),
2342 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2343 widget name, set the logical color directly instead and a boolean
2344 showing_placeholder instead.
2345 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2346 use the widget name here either.
2348 Fixes: NB#105678 (HildonTextView should use logical colours
2349 instead of setting widget name)
2351 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2353 Patch by Daniel Elster (danielk@openismus.com)
2355 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2356 Add user_data parameter.
2357 (hildon_touch_selector_set_print_func_full): New function akin
2358 hildon_touch_selector_set_print_func() but with support for user
2359 data and a destroy callback.
2360 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2361 to clean up the print function user data.
2362 (hildon_touch_selector_class_init): Install dispose function.
2363 (HildonTouchSelectorPrivate::print_user_data),
2364 (HildonTouchSelectorPrivate::print_destroy_func): New private
2366 (hildon_touch_selector_init): Initialize new private members.
2367 (hildon_touch_selector_get_current_text): Pass along user data
2368 to the print function.
2369 (_default_print_func): Add dummy user_data to parameter list.
2370 * hildon-date-selector.c (_custom_print_func): ditto,
2371 * hildon-time-selector.c (_custom_print_func): ditto,
2372 * hildon-touch-selector-entry.c
2373 (hildon_touch_selector_entry_print_func): ditto.
2375 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2377 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2379 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2381 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_init),
2385 (hildon_pannable_area_button_press_cb),
2386 (hildon_pannable_area_motion_notify_cb): We have added code to
2387 handle the leave and enter events when using the motion events.
2389 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2391 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-date-button.c (hildon_date_button_get_date)
2394 (hildon_date_button_set_date): Make sure that the button has a
2397 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2399 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_class_init),
2403 (hildon_pannable_area_calculate_velocity): Modify the use of the
2404 force and adapt the value.
2406 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2409 (hildon_app_menu_class_init): Hide the menu if it receives a
2410 delete-event, but don't destroy it
2412 Fixes: NB#104485 (Not able to address the call when application
2413 menu is opened at background)
2415 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-app-menu.c
2418 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2419 Remove the "external-border" style property, let the menu take its
2420 natural size (or the one set by the window manager)
2421 (hildon_app_menu_repack_items):
2422 Don't reshow the menu, avoid flickers.
2424 Partially fixes NB#94957 (Smoothly opened application menu)
2426 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2431 * configure.ac: Bump version.
2432 * debian/changelog: Updates.
2434 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2436 * src/hildon-pannable-area.c,
2437 (hildon_pannable_area_motion_notify_cb): We control that the
2438 direction error margin is used just in case the movement is
2439 allowed in the other direction.
2441 Fixes: NB#105012 (buttons inside a pannable area not getting
2442 release event when dragging/releasing)
2444 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2446 * src/hildon-pannable-area.c,
2447 (hildon_pannable_area_class_init),
2448 (hildon_pannable_area_get_property),
2449 (hildon_pannable_area_set_property),
2450 (hildon_pannable_area_initial_effect),
2451 (hildon_pannable_axis_scroll),
2452 (hildon_pannable_area_button_release_cb): Reviewed the
2453 overshooting effect, now it has its own max
2454 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2455 speed when bouncing.
2457 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2462 * configure.ac: Bump version.
2463 * debian/changelog: Updates.
2465 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2467 * src/hildon-pannable-area.c,
2468 (hildon_pannable_area_class_init): Changed the max speed, now
2469 users can launch the widget very fast. Reduced the default force,
2470 that way it is easier to control the launch speed.
2472 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2474 * src/hildon-pannable-area.c,
2475 (hildon_pannable_area_button_release_cb): Removed this check
2476 because it causes problems when the device is overloaded.
2478 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2480 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2481 add a current_text field to store the text entered in the
2482 touch selector entry.
2483 (_clean_current_selection): clean up the current text as well.
2484 (_save_current_selection), (_restore_current_selection):
2485 Save/restore the text in the entry if the selector is a
2486 HildonTouchSelectorEntry.
2488 Fixes: NB#102541 (value entered in the touch selector entry is not
2489 shown when opened for second time)
2491 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2493 * doc/hildon-sections.txt:
2494 * src/hildon-touch-selector-entry.c
2495 (+hildon_touch_selector_entry_get_entry):
2496 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2498 Fixes: NB#104815 (I need accessor to the entry inside
2499 HildonTouchSelectorEntry)
2501 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2504 (hildon_app_menu_class_init):
2505 New "filter-vertical-spacing" style property.
2507 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-find-toolbar.c
2510 (hildon_find_toolbar_emit_close)
2511 (hildon_find_toolbar_emit_invalid_input)
2512 (hildon_find_toolbar_entry_activate):
2513 Use g_signal_emit() instead of g_signal_emit_by_name()
2515 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2517 Patch by Mox Soini (ext-mox.soini@nokia.com)
2519 * tests/TEST-CASES.txt
2520 * tests/check-hildon-banner.c
2521 * tests/check-hildon-note.c
2522 * src/hildon-banner.c
2523 * src/hildon-code-dialog.c
2524 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2525 * src/hildon-time-editor.c
2526 * examples/hildon-lookup-example.c (main):
2527 Replace obsolete icon names with new ones.
2529 * src/hildon-find-toolbar-private.h:
2530 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2531 (-hildon_find_toolbar_emit_search):
2532 Remove find button and change icon of close button.
2534 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2536 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-time-button.c (hildon_time_button_new_step):
2539 Use the "touch-selector" property to set the selector directly
2540 when creating the object.
2542 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2544 Added a new example application that allows tuning the pannable
2545 area and replaced defines with properties in order to simplify the
2546 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2547 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2548 PROP_DIRECTION_ERROR_MARGIN.
2550 * examples/hildon-pannable-area-tuning-example.c: New example
2552 * src/hildon-pannable-area.c,
2553 (hildon_pannable_area_class_init),
2554 (hildon_pannable_area_init),
2555 (hildon_pannable_area_get_property),
2556 (hildon_pannable_area_set_property),
2557 (hildon_pannable_area_launch_fade_timeout),
2558 (hildon_pannable_area_adjust_value_changed),
2559 (hildon_pannable_axis_scroll),
2560 (hildon_pannable_area_motion_notify_cb),
2561 (hildon_pannable_area_scroll_cb),
2562 (hildon_pannable_area_button_release_cb): We have converted some
2563 of the defines that control the widget to properties to simplify
2566 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-app-menu.c (hildon_app_menu_map)
2569 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2570 so it's closed if a new window appears.
2572 Fixes: NB#104485 (Not able to address the call when application
2573 menu is opened at background)
2575 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2578 missing 'break' statement in in 'case' construct to avoid
2581 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-touch-selector-entry.c
2584 (hildon_touch_selector_entry_get_property),
2585 (hildon_touch_selector_entry_set_property): Add missing 'break'
2586 statements in in 'case' constructs to avoid incorrect warnings.
2588 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-time-editor.c
2591 (hildon_time_editor_get_time_separators): Do not crash if
2592 the first label is NULL.
2594 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2596 * src/hildon-date-selector.c (_month_days): Check for month to be
2597 strictly less than 12, since otherwise we may overrun the array.
2599 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-date-button.c (+hildon_date_button_new_full)
2602 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2603 (hildon_date_button_init): Set the date selector using a
2604 construction property, to make it happen after HildonButton's
2605 "value" property is set.
2607 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2608 current date by default)
2610 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2612 * doc/hildon-sections.txt
2613 * src/hildon-program.c
2614 * src/hildon-stackable-window.c
2615 * src/hildon-window.c:
2616 Documentation updates
2618 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2620 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2621 (hildon_window_stack_new, +hildon_window_stack_set_property)
2622 (+hildon_window_stack_get_property)
2623 (hildon_window_stack_class_init)
2624 (+hildon_window_stack_set_window_group)
2625 (+hildon_window_stack_get_window_group):
2626 Make the window group a construction property.
2628 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2630 * doc/hildon-sections.txt
2631 * src/hildon-stackable-window-private.h
2632 * src/hildon-stackable-window.h
2633 * src/hildon-stackable-window.c
2634 (-hildon_stackable_window_set_app_menu)
2635 (-hildon_stackable_window_get_app_menu)
2636 (-hildon_stackable_window_toggle_menu)
2637 (-hildon_stackable_window_finalize)
2638 (hildon_stackable_window_class_init)
2639 (hildon_stackable_window_init)
2640 * src/hildon-window-private.h
2641 * src/hildon-window.h
2642 * src/hildon-window.c (hildon_window_init)
2643 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2644 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2645 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2646 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2647 Moved all HildonAppMenu code to HildonWindow. The menu does not
2648 require a HildonStackableWindow anymore.
2650 * src/hildon-app-menu.c
2651 * src/hildon-program.c
2652 * examples/hildon-app-menu-example.c (main):
2653 Update examples and documentation to reflect HildonAppMenu
2656 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2658 * src/hildon-remote-texture.c
2659 * src/hildon-animation-actor.c:
2660 Don't include unused private headers.
2662 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-program-private.h
2665 * src/hildon-program.c
2666 (hildon_program_set_common_menu)
2667 (hildon_program_get_common_menu)
2668 (hildon_program_set_common_app_menu)
2669 (hildon_program_get_common_app_menu):
2670 Change common menu pointers from GtkWidget* to GtkMenu* and
2671 HildonAppMenu* to avoid unnecessary casts.
2673 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2675 * src/hildon-window.c (hildon_window_set_main_menu):
2676 Removed incorrect 'Since:' tag
2678 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2680 * src/hildon-pannable-area.c,
2681 (hildon_pannable_area_calculate_velocity): We use now the
2682 RATIO_TOLERANCE here to check the distance, fixed typo in the
2684 (hildon_pannable_area_motion_notify_cb): We have to set the type
2685 and time even if we are not sending the motion.
2687 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2689 * doc/hildon-sections.txt
2690 * src/hildon-app-menu.h
2691 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2692 (+hildon_app_menu_get_filters): New methods to get the contents of
2695 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2698 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-app-menu.c (hildon_app_menu_popup):
2703 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-window.h
2706 * src/hildon-window.c (+hildon_window_get_main_menu)
2707 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2708 and deprecated hildon_window_get_menu().
2710 * src/hildon-stackable-window.h
2711 * src/hildon-stackable-window.c
2712 (+hildon_stackable_window_set_app_menu)
2713 (+hildon_stackable_window_get_app_menu)
2714 (hildon_stackable_window_set_main_menu): Created
2715 hildon_stackable_window_{get,set}_app_menu() and deprecated
2716 hildon_stackable_window_set_main_menu().
2718 * doc/hildon-sections.txt
2719 * examples/hildon-app-menu-example.c (main)
2720 * src/hildon-app-menu.c
2721 * src/hildon-program.c:
2722 Updated examples and documentation.
2724 Fixes: NB#103758 (No way to obtain a menu from a
2725 HildonStackableWindow)
2727 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2732 * configure.ac: Bump version.
2733 * debian/changelog: Updates.
2735 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2737 * examples/hildon-remote-texture-example.c: Include
2738 hildon-remote-texture.h explicitely.
2739 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2740 applications not defining _XOPEN_SOURCE which don't require this header.
2742 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2744 * doc/hildon-sections.txt
2745 * src/hildon-app-menu.h
2746 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2747 New function to pop up a HildonAppMenu
2749 * src/hildon-stackable-window.c
2750 (hildon_stackable_window_toggle_menu):
2751 Use hildon_app_menu_popup() to show the menu.
2753 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-app-menu.c (hildon_app_menu_show)
2756 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2757 menu if there's another window between it and its parent window.
2759 Fixes: NB#100468 (Application menu window is launched even when a
2760 new secondary-window/dialog is pending to be shown/realized)
2762 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-window-stack.c (hildon_window_stack_push)
2765 (hildon_window_stack_pop_and_push):
2766 Don't forget to push/pop the first window.
2767 Reverse the window list before calling _push_list()
2769 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-picker-button.h
2772 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2773 Remove "value_changed" slot to avoid ABI breakage
2775 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2777 * src/hildon-pannable-area.c,
2778 (hildon_pannable_area_realize),
2779 (hildon_pannable_area_unrealize),
2780 (hildon_pannable_draw_vscroll),
2781 (hildon_pannable_draw_hscroll): Changed the method to handle the
2782 GC used to draw the transparent scrollbar, this way we avoid
2783 creating the GC all the time when drawing the scrollbars.
2785 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2787 * src/hildon-pannable-area.c,
2788 (hildon_pannable_area_init),
2789 (hildon_pannable_area_remove): Removed some unnecessary casts.
2790 (hildon_pannable_area_dispose): Disconnected some signals before
2791 releasing the adjustments.
2793 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2796 Make sure that all widgets contained in the toolbar are shown.
2798 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2800 * doc/hildon-sections.txt
2801 * src/hildon-picker-button.h
2802 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2803 (_selection_changed, hildon_picker_button_on_dialog_response)
2804 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2805 New hildon_picker_button_value_changed() method.
2808 * src/hildon-picker-button-private.h
2809 * src/hildon-picker-button.c (hildon_picker_button_init)
2810 (+hildon_picker_button_disable_value_changed): Add protected
2811 function for disabling the "value-changed" signal.
2813 * src/hildon-date-button.c (hildon_date_button_set_date):
2814 Don't emit "value-changed" for each one of the three columns.
2816 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2817 before actual change of values)
2819 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2821 * src/hildon-pannable-area.c,
2822 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2823 for the treeview overshooting.
2825 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-banner.c (+hildon_banner_bind_style):
2828 Renamed from hildon_banner_bind_label_style(), now naming the
2829 banner itself as well.
2830 (hildon_banner_show_information),
2831 (hildon_banner_show_information_with_markup),
2832 (hildon_banner_show_animation), (hildon_banner_show_progress):
2833 Name the widgets and labels, based on their type.
2835 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2838 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2840 * src/hildon-note.c (hildon_note_set_property): call
2841 hildon_note_rename() on HildonNote:note-type set.
2842 (hildon_note_rename): Name the note and its label, based on the
2843 HildonNote:note-type property.
2845 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2848 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2850 * src/hildon-pannable-area.c,
2851 (hildon_pannable_area_class_init),
2852 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2853 panning parameters, increased SPS and deceleration factor. Added
2854 also a margin to control fake directions.
2856 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2858 Patch by Sven Herzberg (sven@imendio.com)
2860 * configure.ac: Add missing AM_PROG_CC_C_0
2861 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2863 See NB#101420 (Update unit tests and fix make check)
2865 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2867 This patch was applied before but reverted because it caused
2868 problems, we have changed the main condition and tested the
2869 regressions we detected before and they work ok. We have done a
2870 complete review of the topmost algorithm in order to get a more
2873 * src/hildon-pannable-area.c,
2874 (hildon_pannable_area_get_topmost): Added a new parameter to
2875 filter the the windows that do not include those events.
2876 (hildon_pannable_area_button_press_cb),
2877 (hildon_pannable_area_button_release_cb),
2878 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2879 topmost function, we have added the new parameter.
2881 Fixes: NB#97458 (Pannable area prevents propagation of button
2884 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2887 if all columns in the selector have an item selected.
2888 (_on_dialog_response): Stop "response" signal emission if there is
2889 any selector column without selected items.
2891 Fixes: NB#101889 (Picker dialog should not close when nothing is
2892 selected in multiple selection list)
2894 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-font-selection-dialog.c
2897 (hildon_font_selection_dialog_class_init),
2898 (hildon_font_selection_dialog_init): Remove the preview
2899 button and dialog, since previewing with default theming is likely
2900 to be overcomplicated. The :preview property has now no effect.
2901 Update documentation blurbs to inform about this.
2903 Fixes: NB#92297 (Preview content is not clearly visible for
2904 default colour text)
2906 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2908 Reviewed the geometry that handles the children size and
2909 scrollbar, now it tries a size and reviews the results depending
2910 on the scrollbars visibility.
2912 * src/hildon-pannable-area.c,
2913 (hildon_pannable_area_realize): Fixed a typo.
2914 (hildon_pannable_area_child_allocate_calculate): Added this
2915 function to calculate the child allocation.
2916 (hildon_pannable_area_size_allocate): Reviewed the allocation
2918 (hildon_pannable_area_check_scrollbars),
2919 (hildon_pannable_area_refresh): Refactored refresh function, this
2920 way we can call the code handling the scrollbars without causing a
2921 size_request, it is interesting in the allocate.
2922 (hildon_pannable_area_init): Replace the callbacks of the
2923 value_changed and changed signals to propertly deal with the
2925 (hildon_pannable_area_grab_notify),
2926 (hildon_pannable_area_initial_effect),
2927 (hildon_pannable_area_launch_fade_timeout),
2928 (hildon_pannable_area_adjust_changed),
2929 (hildon_pannable_area_adjust_value_changed),
2930 (hildon_pannable_area_redraw),
2931 (hildon_pannable_area_button_press_cb),
2932 (hildon_pannable_area_button_release_cb),
2933 (hildon_pannable_area_scroll_cb),
2934 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2935 code and use the new functions adjust_changed and
2936 adjust_value_changed.
2938 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2939 Contact editor dialog)
2941 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2946 * configure.ac: Bump version.
2947 * debian/changelog: Updates.
2949 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2951 * src/hildon-pannable-area.c,
2952 (hildon_pannable_area_get_topmost),
2953 (hildon_pannable_area_button_press_cb),
2954 (hildon_pannable_area_button_release_cb),
2955 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2956 topmost function adding the event mask. We have to try a
2957 differente approach because it is still causing problems (NB#9745,
2960 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-banner.c:
2963 Update the maximum width of timed banners.
2964 (force_to_wrap_truncated): Enforce the maximum text width if the
2967 Fixes: NB#102413 (The text margins (wrapping) in information
2968 banner should be HILDON_MARGIN_TRIPLE)
2970 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2972 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2974 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2975 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2976 bound when calculating the scroll indicator position.
2978 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2979 treat ->lower correctly)
2981 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2984 expose event handling, since it is not necessary to draw the focus
2987 Fixes: NB#102467 (Do not show highlight on the text in
2990 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2993 full height of the toolbar for the button and the label.
2995 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2998 padding before the label and after the button.
3000 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3004 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3005 Add a GtkVSeparator between the button and the back arrow.
3006 Let the button have automatic size.
3007 Set a name to the widget for theming handling.
3009 Fixes: NB#101793 (Make edit toolbar the same height as window
3010 title bar (use title area theming))
3012 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3014 * src/hildon-helper.c (attach_new_color_element): Fix memory
3017 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3019 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3021 * examples/hildon-button-example.c (common_buttons_window): Don't
3024 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3027 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3029 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3031 * src/hildon-gtk.c: Check that the window is realized.
3033 Fixes: NB#102225 (Crash setting the progress indicator to a non
3036 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3039 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3040 instead of modifying the one in the widget style.
3042 Fixes: NB#101043 (Second row of all the command button are
3043 displayed in transparent mode.)
3045 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3047 * src/hildon-date-button.c
3048 * src/hildon-time-button.c: Add gettext macros
3050 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-date-button.c (hildon_date_button_new):
3053 * src/hildon-time-button.c (hildon_time_button_new_step):
3054 Use new logical strings to set the button default title.
3056 Fixes: NB#99915 (Date and Time options are not localised in Date
3059 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3061 * src/hildon-pannable-area.c
3062 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3063 the PANNING_THRESHOLD.
3065 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3067 * src/hildon-pannable-area.c,
3068 (hildon_pannable_area_class_init): Increased the maximum speed.
3069 (hildon_pannable_area_get_property),
3070 (hildon_pannable_area_set_property),
3071 (hildon_pannable_area_timeout): Added a new low friction mode, it
3072 allows the user avoid friction when launching the widget fast
3073 enough. It is interesting to traverse long lists.
3075 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3078 (+hildon_stackable_window_delete_event): Ignore delete events if
3079 the window is not the topmost one.
3081 Fixes: NB#101698 (Back button long press and delete-event handling)
3083 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3085 * src/hildon-pannable-area.c,
3086 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3087 gtk-dnd-drag-threshold, it was too big. We have defined our own
3088 dnd define and set a smaller value: PANNIG_THRESHOLD.
3090 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3093 user-defined icons, use always the default one.
3095 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3097 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3099 This patch was applied before but reverted because it caused
3100 problems, we have changed the main condition and tested the
3101 regressions we detected before and they work ok.
3103 * src/hildon-pannable-area.c,
3104 (hildon_pannable_area_get_topmost): Added a new parameter to
3105 filter the the windows that do not include those events. Added
3106 also a condition when finding the window to filter windows that do
3107 not ask for those events.
3108 (hildon_pannable_area_button_press_cb),
3109 (hildon_pannable_area_button_release_cb),
3110 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3111 topmost function, we have added the new parameter.
3113 Fixes: NB#97458 (Pannable area prevents propagation of button
3116 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3118 * tests/check-hildon-color-button.c (START_TEST): do not leak
3121 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3123 * src/hildon-font-selection-dialog.c
3124 (hildon_font_selection_dialog_get_preview_text): Return NULL
3125 instead of FALSE on the g_return_val_if_fail().
3127 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3130 * src/hildon-date-selector.c
3131 (hildon_date_selector_select_current_date):
3132 Do not compare unsigned integers to be greater than or equal 0,
3133 because it's always TRUE.
3135 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3138 (hildon_date_selector_constructor): Do not select the current
3139 date until we are handle the "changed" signal, to avoid having bogus
3140 elements in the days model.
3142 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3145 for num_days, since _month_days() can return a negative value.
3147 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-caption.c (hildon_caption_size_allocate):
3150 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3151 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3153 Initialize allocation variables to 0, to avoid eventually using
3154 unitialized variables.
3156 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3158 * src/hildon-bread-crumb-trail.c
3159 (hildon_bread_crumb_trail_size_allocate):
3160 * src/hildon-calendar.c (hildon_calendar_set_background):
3161 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3162 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3163 * src/hildon-seekbar.c (hildon_seekbar_init):
3164 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3165 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3166 * src/hildon-touch-selector-entry.c
3167 (hildon_touch_selector_get_text_from_model):
3168 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3169 * src/hildon-window.c (hildon_window_finalize):
3171 Remove many unused variables.
3173 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3175 * src/hildon-seekbar.c: (hildon_seekbar_init),
3176 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3178 Remove unnecessary g_assert() calls.
3180 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-caption.c: (hildon_caption_expose),
3183 (hildon_caption_set_property), (hildon_caption_init),
3184 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3185 (hildon_caption_size_request), (hildon_caption_size_allocate),
3186 (hildon_caption_forall), (hildon_caption_set_separator),
3187 (hildon_caption_activate), (hildon_caption_set_child_expand),
3188 (hildon_caption_set_label_text),
3189 (hildon_caption_get_label_alignment):
3191 Remove unnecessary g_assert() calls.
3193 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-banner.c
3196 (hildon_banner_map, hildon_banner_init): Make banner temporary
3197 before mapping it to avoid closing other temporary windows, but
3198 make it non-temporary afterwards to avoid being closed by other
3199 non-temporary windows.
3200 (-hildon_banner_client_event, hildon_banner_init):
3201 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3203 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3206 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3211 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3213 * src/hildon-remote-texture.c
3214 * src/hildon-remote-texture.h
3215 * src/hildon-remote-texture-private.h
3216 * examples/hildon-remote-texture-example.c:
3217 Updates/fixes to remote-texture and its example.
3219 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3221 Patch by Mox Soini (ext-mox.soini@nokia.com)
3223 * src/hildon-code-dialog.c: Update logical id.
3224 * src/hildon-set-password-dialog.c: Update logical id.
3226 Fixes: NB#100646 (Logical strings is shown for ok in set
3227 password,Password needed dialogs)
3229 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3232 * src/hildon-remote-texture.c
3233 * src/hildon-remote-texture.h
3234 * src/hildon-remote-texture-private.h
3236 Added remote texture widget (for Clutter shared memory textures)
3238 * examples/hildon-remote-texture-example.c
3239 * examples/Makefile.am
3240 Added example file for remote texture usage
3242 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3244 * configure.ac: post release version bump.
3245 * debian/changelog: version bump.
3247 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3252 * configure.ac: Bump version.
3253 * debian/changelog: Updates.
3255 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-date-selector.c (hildon_date_selector_init)
3258 (hildon_date_selector_constructor): Don't connect to the "changed"
3259 signal until the selector is completely constructed.
3261 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-touch-selector.c: (_create_new_column),
3264 (hildon_touch_selector_append_column),
3265 (hildon_touch_selector_set_column_selection_mode),
3266 (hildon_touch_selector_set_active),
3267 (hildon_touch_selector_select_iter):
3268 Emit the HildonTouchSelector::changed signal every time selection
3269 is changed in any of the methods above. This behavior was already
3270 documented but not fully functional.
3272 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3273 selection is programmatically changed)
3275 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3277 * doc/hildon-sections.txt: Remove obsolete icon
3278 sizes from here as well.
3280 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3282 * examples/hildon-stackable-window-example.c (add_window): Remove
3285 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-app-menu.c
3288 (hildon_app_menu_show): Check whether the parent window of a menu
3289 is topmost before popping it up.
3291 Fixes: NB#100468 (Application menu window is launched even when a
3292 new secondary-window/dialog is pending to be shown/realized.)
3294 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3296 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3299 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3301 Patch by Mox Soini (ext-mox.soini@nokia.com)
3303 * src/hildon-banner.c: (hildon_banner_show_animation):
3304 use stylus size instead of obsolete note size.
3305 * src/hildon-defines.h: Update icon sizes.
3307 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3309 * src/hildon-touch-selector-entry.c:
3310 (hildon_touch_selector_entry_init): Disable unsupported
3312 (hildon_touch_selector_entry_get_text_column): Emit a warning
3313 if an unsupported input modes is used and explicitile state
3314 these modes in the documentation.
3316 Fixes: NB#99802 (Hildon touch selector entry not working properly
3317 for some of the input modes)
3319 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3321 * src/hildon-pannable-area.c,
3322 (hildon_pannable_area_init): Added the changed signal handlers of
3325 Fixes: NB#100320 (HildonPannableArea does not listen to
3326 GtkAdjustment "change" signals)
3328 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3330 * doc/hildon-sections.txt
3331 * src/hildon-window-private.h
3332 * src/hildon-window.h
3333 * src/hildon-window.c (hildon_window_init)
3334 (hildon_window_realize, hildon_window_unrealize)
3335 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3336 (hildon_window_size_request, hildon_window_size_allocate)
3337 (hildon_window_forall, hildon_window_show_all)
3338 (hildon_window_destroy, +paint_edit_toolbar)
3339 (+hildon_window_set_edit_toolbar):
3340 New hildon_window_set_edit_toolbar() method, to add a
3341 HildonEditToolbar to a window without having to pack it manually.
3343 Reorganize hildon_window_size_allocate()
3345 * src/hildon-edit-toolbar.c: Update documentation.
3347 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3348 example to use the new API.
3350 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3352 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3355 Remove from stack before calling parent's hide.
3357 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3360 window is removed from the middle of the stack, update the
3361 transiency of the previous one.
3363 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3366 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3369 block/unblock the signal handler if it's not actually being used.
3370 Fixes some critical warnings.
3372 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3374 Based on a patch by Iván Gómez (igomez@igalia.com)
3376 * src/hildon-banner.c
3380 * src/hildon-pannable-area.c
3381 * src/hildon-picker-dialog.c
3382 * src/hildon-wizard-dialog.h
3383 * src/hildon-wizard-dialog.c: Documentation updates.
3385 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3386 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3388 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3390 * configure.ac: post release version bump.
3391 * debian/changelog: version bump.
3393 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3398 * configure.ac: Bump version.
3399 * debian/changelog: Updates.
3401 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3404 a stock icon nor change the relief of the back arrow.
3406 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3407 graphics from theme)
3409 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-button.c (hildon_button_set_alignment): Use
3412 priv->alignment if the button has no child yet.
3414 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3416 * src/hildon-button.c: (hildon_button_init): Set the
3417 button style during initialization to give it the proper
3420 Fixes: NB#99713 (HildonButton value label color is wrong)
3422 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-touch-selector.c: Document
3425 hildon_touch_selector_center_on_selected()
3427 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3430 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3431 all menu items, but not the menu itself.
3432 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3433 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3434 items after adding them to the menu so keyboard accelerators work.
3435 (hildon_app_menu_show): Don't show the menu if it contains items
3436 but none of them are visible.
3438 * examples/hildon-app-menu-example.c (create_menu): Use
3439 gtk_widget_show_all() to show all menu items.
3441 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3443 * src/hildon-picker-dialog.c:
3444 (-_update_title_on_selector_changed_cb),
3445 (-_dialog_update_title): Removed.
3446 (_select_on_selector_changed_cb), (_on_dialog_response),
3447 (on_selector_columns_changed): Do not update the dialog title.
3448 (setup_interaction_mode): Do not connect to
3449 HildonTouchSelector::changed signal if there's a "done" button, as
3450 the dialog title doesn't need to be updated.
3452 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3455 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3457 Patch by Kristian Rietveld (kris@imendio.com)
3459 * src/hildon-touch-selector.c: (_create_new_column): Use new
3460 GtkTreeView::hildon-row-tapped signal to react to user interactions
3461 instead of ::changed.
3463 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3464 with some dynamic tree model)
3466 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3469 (+screen_size_changed, +label_size_request)
3470 (hildon_note_class_init): Make the Hildon information note have a
3471 minimum height, and make its text hvae a maximum width.
3473 Fixes: NB#98614 (Hildon information note (background) should have
3474 minimum height and maximum text width)
3476 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-banner.h
3479 * src/hildon-banner.c (hildon_banner_show_information)
3480 (hildon_banner_show_informationf)
3481 (hildon_banner_show_information_with_markup): Update documentation
3482 to reflect that the icon_name parameter is not used anymore.
3483 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3484 Remove all code from these functions and mark them as deprecated.
3485 (hildon_banner_show_progress): Mark as deprecated.
3487 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3489 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3491 * src/hildon-pannable-area.c,
3492 (hildon_pannable_area_class_init),
3493 (tranparency_color),
3494 (hildon_pannable_draw_vscroll),
3495 (hildon_pannable_draw_hscroll),
3496 (hildon_pannable_area_expose_event): Added a new way to render the
3497 scrollbars of the pannable area avoiding using cairo at all. This
3498 way we improve the performance of the pannable area rendering. The
3499 cairo rendering procedure is still in the code, we can control
3500 which one to use changing the value of the define
3501 USE_CAIRO_SCROLLBARS.
3503 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3505 * configure.ac: post release version bump.
3506 * debian/changelog: version bump.
3508 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3513 * configure.ac: Bump version.
3514 * debian/changelog: Updates.
3516 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3519 banners instead of destroying them when they receive a button
3522 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3524 Reverted commit 34028, it was causing regressions, probably the
3525 topmost condition is not correct, we have to check it in more
3526 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3527 propagation of button press events)
3529 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3532 that the selection is not empty before attempting to retrieve the
3533 current ampm selection.
3535 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-picker-button.c:
3538 (hildon_picker_button_on_dialog_response): Directly update the
3539 button contents when required instead of calling _selection_changed.
3541 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3543 * src/hildon-program.c (hildon_program_update_top_most): Update
3544 'is-topmost' property also when wm_hints is not set.
3546 Fixes: NB#98383 (is-topmost signal is not emitted when task
3547 switcher is clicked.)
3549 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3551 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3555 * src/hildon-animation-actor.c,
3556 * src/hildon-animation-actor.h: Added the animation actor class,
3557 this widget represents an animation actor for WM-assisted
3558 animation effects in the Hildon framework.
3560 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3562 * src/hildon-window-stack-private.h
3563 * src/hildon-window-stack.c
3564 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3565 Avoid calling gtk_widget_show() again indirectly from
3566 hildon_stackable_window_show()
3568 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3573 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3575 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3576 (hildon_time_selector_init): Move the construction of the hours and
3577 ampm columns to the constructor to preserve the order the columns
3580 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-picker-dialog.c:
3583 (hildon_picker_dialog_class_init): Connect a realize method.
3584 (+hildon_picker_dialog_realize): Setup the interaction mode here
3586 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3587 yet, do it during the realize instead.
3588 (_on_dialog_response):
3589 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3590 if the widget is not realized, to avoid the dialog response before it
3593 Avoid premature responses in the HildonPickerDialog that can cause it
3594 to be hidden before it's even shown.
3596 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3599 (on_selector_columns_changed), (requires_done_button),
3600 (+prepare_action_area), (setup_interaction_mode),
3601 (_hildon_picker_dialog_set_selector):
3603 Split the interaction mode setup into preparation of the
3604 action area (prepare_action_area()) and the connection of
3605 the signals in setup_interaction_mode() and update the code to
3608 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3610 * src/hildon-pannable-area.c,
3611 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3612 per second to 15, we will check if this is ok regarding
3615 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3617 * src/hildon-pannable-area.c,
3618 (hildon_pannable_axis_scroll): Avoid resize if we already have
3619 reached overshoot_max.
3621 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3623 * src/hildon-pannable-area.c,
3624 (hildon_pannable_area_init),
3625 (hildon_pannable_area_realize),
3626 (hildon_pannable_area_size_allocate),
3627 (hildon_pannable_area_map),
3628 (hildon_pannable_area_unmap),
3629 (hildon_pannable_draw_vscroll),
3630 (hildon_pannable_draw_hscroll),
3631 (hildon_pannable_area_expose_event),
3632 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3633 pannable are to avoid the expose events go to the window and
3634 redraw the window. We save this way that part of the stack and the
3635 paint_boxes. We had to change the positions of the elements when
3638 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3641 * src/hildon-color-chooser-dialog.c:
3642 (hildon_color_chooser_dialog_init):
3643 * src/hildon-font-selection-dialog.c:
3644 (hildon_font_selection_dialog_init),
3645 (hildon_font_selection_dialog_show_preview):
3646 * src/hildon-get-password-dialog.c:
3647 * src/hildon-login-dialog.c:
3648 * src/hildon-set-password-dialog.c:
3649 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3650 * src/hildon-time-picker.c: (hildon_time_picker_init):
3652 Remove obsolete logical string IDs and update to the appropriate ones.
3654 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3656 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3658 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3659 that happens if the window hasn't been realized yet.
3661 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3662 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3664 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3667 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3670 Fixes: NB#98537 (Device hangs in account settings dialog)
3672 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3674 * configure.ac: post release version bump.
3675 * debian/changelog: version bump
3677 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3682 * configure.ac: Bump version.
3683 * debian/changelog: Updates.
3685 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3687 Added a new function to the HildonTimeButton widget that allows to
3688 change the step of the minutes in the selector associated with the
3689 button: hildon_time_button_new_step
3691 * src/hildon-time-button.c,
3692 (hildon_time_button_init),
3693 (hildon_time_button_new),
3694 (hildon_time_button_new_step):
3695 * src/hildon-time-button.h: Added the new function and refactored
3697 * examples/hildon-time-button-example.c,
3698 (main): We have replaced the function without parameters with the
3699 function with the steps set to 5
3701 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3703 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3705 * src/hildon-time-selector.c,
3706 (hildon_time_selector_class_init),
3707 (hildon_time_selector_constructor),
3708 (hildon_time_selector_get_property),
3709 (hildon_time_selector_set_property),
3710 (_create_minutes_model),
3711 (hildon_time_selector_new_step),
3712 (hildon_time_selector_set_time),
3713 * src/hildon-time-selector.h: Added a new property to the
3714 HildonTimeSelector (minutes-step), we use that property to control
3715 the steps between the minutes in the list of the selector. We have
3716 added a new function to the API to create a widget changing the
3717 step: hildon_time_selector_new_step.
3719 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3721 * src/hildon-time-selector.c,
3722 (hildon_time_selector_class_init),
3723 (hildon_time_selector_constructor),
3724 (hildon_time_selector_init): Overrided the construct function when
3725 creating the time selector object. We have moved the minutes model
3726 handling code from the init to the new construction function:
3727 hildon_time_selector_constructor.
3729 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3731 * examples/hildon-date-button-example.c: (main): Use the new
3732 hildon_date_button_new_with_year_range() method in the example.
3733 * src/hildon-date-button.c:
3734 (+hildon_date_button_new_with_year_range): New public method
3735 to conveniently create a HildonDateButton with a custom year range
3736 in its HildonDateSelector.
3737 * src/hildon-date-button.h: Add the new public method definition.
3739 Fixes: NB#97908 (Not possible to change the year range in
3740 HildonDateSelector/HildonDateButton)
3742 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3744 * src/hildon-date-selector.c:
3745 (+hildon_date_selector_set_property),
3746 (+hildon_date_selector_get_property),
3747 (hildon_date_selector_class_init): Install new properties "min-year"
3748 and "max-year" to define boundaries for the year column.
3749 (_create_year_model): Use the boundary properties to populate the model.
3750 (+hildon_date_selector_new_with_year_range): New public method to
3751 create a HildonDateSelector with a user defined year range.
3752 (hildon_date_selector_select_current_date): Use the new boundaries to
3753 calculate the iterator of current year.
3754 * src/hildon-date-selector.h: Add the new public method definition.
3756 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3759 Install a constructor method.
3760 (+hildon_date_selector_construct_ui): construct the widget.
3761 (+hildon_date_selector_constructor): new constructor.
3762 (+hildon_date_selector_init): move out widget construction code to
3763 the new constructor.
3765 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3767 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3768 that there's actually a month or year selected before obtaining them.
3769 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3770 of the HildonTouchSelector::changed signal, as it was emitted on every
3771 single item selection.
3773 Fix some warnings and possible crashers due to the selection restoring.
3775 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3778 the signal handlers only after creating the dialog instead of on every
3781 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-button.c (hildon_button_init)
3784 * src/hildon-check-button.c (hildon_check_button_init)
3785 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3786 focus when clicked by default.
3788 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3793 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3795 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3796 Alejandro G. Castro (alex@igalia.com)
3798 * src/hildon-picker-dialog.c:
3799 (hildon_picker_dialog_class_init): install new "center-on-show"
3801 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3802 (hildon_picker_dialog_set_property): add setter code for the new
3804 (hildon_picker_dialog_get_property): add getter code for the new
3806 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3807 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3810 Fixes: NB#92849 (Selected item is not always visible when
3811 HildonTouchSelector is shown)
3813 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3815 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3816 Alejandro G. Castro (alex@igalia.com)
3818 * src/hildon-touch-selector.c:
3819 (_create_new_column): Do not connect to the "realize" signal of the
3821 (hildon_touch_selector_append_column): center on the selected items
3822 when a new column is appended.
3823 (hildon_touch_selector_select_iter): Factor out the code to select a
3824 column to hildon_touch_selector_scroll_to().
3825 (+search_nearest_element): Method to retrieve the nearest selected
3826 element to the visible area of the pannable area in a column.
3827 (+on_realize_cb): scroll to the initially selected item.
3828 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3829 the pannable area is realized, otherwise delay this until it is.
3830 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3831 selected items of a given column.
3832 (+hildon_touch_selector_center_on_selected): Public method to center
3833 all columns on the nearest selected item.
3834 * src/hildon-touch-selector.h: Add definition for
3835 hildon_touch_selector_center_on_selected().
3837 Implement public API to ensure visibility of all selected items in
3838 a HildonTouchSelector.
3840 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3842 Fixed a problem in the fading when calling the scroll_to API, and
3843 improve scrollbar fading handling.
3845 * src/hildon-pannable-area.c,
3846 (hildon_pannable_area_grab_notify): avoid the timeout when the
3848 (hildon_pannable_area_button_press_cb),
3849 (hildon_pannable_area_motion_notify_cb): Code style changes.
3850 (hildon_pannable_area_button_release_cb): Review the conditions
3851 when releasing the mouse button to avoid unrequired fading
3853 (hildon_pannable_area_scroll_to): Do not calculate and set the
3854 velocity if the scroll is not required.
3856 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3859 Don't check whether the new selector is NULL: it cannot be.
3860 Hold a reference to the selector while doing the replacement.
3862 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3865 unnecessary size_request in a removed widget.
3867 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3870 an unnecessary reference tracking that was leaking.
3872 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3874 Added delayed motion notify event handling, this way we can
3875 discard redrawing if more than 25 events arrive per second.
3877 * src/hildon-pannable-area.c,
3878 (hildon_pannable_area_init): Initialized the new private atributes
3879 controlling this timeout
3880 (hildon_pannable_area_dispose): Remove the timeout that controls
3881 the motion notify events.
3882 (hildon_pannable_area_scroll): Added a condition to control the
3883 use of the acceleration.
3884 (hildon_pannable_area_motion_event_scroll_timeout),
3885 (hildon_pannable_area_motion_event_scroll): Added this two
3886 functions, they handle the motion notify events inside the
3888 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3889 to the scroll method with the new function.
3890 (hildon_pannable_area_button_release_cb): We have to remove the
3891 timeout handler and move to the last position if the last motion
3892 events were not handled.
3894 Fixes: NB#97028 (Pannable area updates on every motion event)
3896 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3898 * src/hildon-pannable-area.c,
3899 (hildon_pannable_area_get_topmost): Added a new parameter to
3900 filter the the windows that do not include those events. Added
3901 also a condition when finding the window to filter windows that do
3902 not ask for those events.
3903 (hildon_pannable_area_button_press_cb),
3904 (hildon_pannable_area_button_release_cb),
3905 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3906 topmost function, we have added the new parameter.
3908 Fixes: NB#97458 (Pannable area prevents propagation of button
3911 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3913 * src/hildon-pannable-area.c,
3914 (hildon_pannable_area_initial_effect): Added controls before
3915 launching the timeout and the idle functions.
3916 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3917 of the method, in some situations it can return with TRUE and 0 in
3919 (hildon_pannable_area_button_press_cb): We do not need to set
3920 DELAY for fading out here.
3922 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3924 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3927 post-cleaning if the selection is not NULL.
3929 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3931 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3932 all items before restoring the selection.
3934 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-touch-selector.c:
3937 (+hildon_touch_selector_unselect_all):
3938 * src/hildon-touch-selector.h: New API to unselect all items in a
3939 column of the touch selector.
3941 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3943 * src/hildon-pannable-area.c,
3944 (hildon_pannable_area_redraw): Added a call to the refresh
3945 function inside the redraw because apparently in some cases the
3946 change in the adjustment does not imply a size allocate.
3948 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3949 despite the view not being scrollable)
3951 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3953 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3954 leak. Check for NULL before attempting to set the window title.
3956 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3958 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3959 whether to show or not the 'Done' button each time the dialog is
3960 shown, as it depends on the HildonTouchSelector selection mode.
3962 Fixes: NB#96226 (In multiple selection mode Done button is shown
3963 sometimes in listpicker)
3965 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3968 for the number of columns in the HildonTouchSelector more than once.
3970 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-touch-selector.c: Minor documentation fixes.
3974 * src/hildon-picker-dialog.c (+_dialog_update_title)
3975 (_select_on_selector_changed_cb)
3976 (_update_title_on_selector_changed_cb)
3977 (on_selector_columns_changed): Update dialog title when there's no
3978 'Done' button and also when the number of columns in the selector
3982 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3983 (+_selection_changed, hildon_picker_button_on_dialog_response)
3984 (hildon_picker_button_selector_selection_changed)
3985 (+hildon_picker_button_selector_columns_changed)
3986 (hildon_picker_button_set_selector): Update button value and emit
3987 'value-changed' when the number of columns in the selector
3991 Fixes: NB#96225 (Dialog titles are not shown according to the
3992 values selected in the list picker)
3994 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3997 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3998 New "arrow-width" and "arrow-height" style properties to set the
3999 size of the arrow button.
4000 Set name of arrow button ("hildon-edit-toolbar-arrow").
4002 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4003 graphics from theme)
4005 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4007 * src/hildon-picker-button.c:
4008 (hildon_picker_button_selector_selection_changed): Use
4009 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4010 the dialog is present.
4012 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4013 the selection is accepted in the dialog)
4015 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4017 * src/hildon-color-chooser.h
4018 * src/hildon-color-chooser-dialog.h:
4019 Added G_BEGIN_DECLS and G_END_DECLS
4021 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4023 (_clean_current_selection): plug a leak in the list.
4025 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-picker-dialog.c:
4028 (+free_path_list): Method to free a GList of GtkTreePaths.
4029 (_clean_current_selection), (_save_current_selection),
4030 (_restore_current_selection): Save the current selection in
4031 as a list of lists, to support multiple selection properly.
4033 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4035 patch by Claudio Saavedra (csaavedra@igalia.com)
4037 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4038 Store the press position.
4039 (+hildon_text_view_button_release_event): If the release position is
4040 close enough to the press position, move the cursor here. Otherwise,
4042 (hildon_text_view_class_init): Override GtkTextView press, release, and
4043 motion event handlers, disabling this way text selection through
4044 pointer interaction, and allowing the container widget to handle the
4047 Fixes: NB#95828 (HildonTextView functionality)
4049 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4051 Based on a patch by Iván Gómez (igomez@igalia.com)
4053 * src/hildon-button.[ch]
4054 * src/hildon-calendar.c
4055 * src/hildon-check-button.c
4056 * src/hildon-date-editor.c
4057 * src/hildon-date-selector.c
4058 * src/hildon-picker-button.c
4059 * src/hildon-time-editor.c
4060 * src/hildon-time-selector.c
4061 * src/hildon-touch-selector.[ch]:
4062 Documentation updates
4064 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4066 * src/hildon-pannable-area.c,
4067 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4068 threshold, it was required due to X events handling.
4070 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4072 * src/hildon-pannable-area.c,
4073 (hildon_pannable_area_grab_notify),
4074 (hildon_pannable_area_initial_effect),
4075 (hildon_pannable_area_button_press_cb),
4076 (hildon_pannable_area_button_release_cb),
4077 (hildon_pannable_area_scroll_cb),
4078 (hildon_pannable_area_scroll_to): Review the timeout management of
4079 the scrollbar, the frecuency was incorrectly set.
4081 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-picker-button.c:
4084 (+hildon_picker_button_on_dialog_response),
4085 (hildon_picker_button_clicked): Present the dialog instead of
4086 running it with gtk_dialog_run().
4088 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4091 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4093 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4094 (hildon_app_menu_finalize): When a window is hidden it doesn't
4095 emit notify::is-topmost, so make sure than the menu also
4096 disappears in that case.
4097 (parent_window_topmost_notify): Renamed from parent_window_hidden
4099 Fixes: NB#94460 (stackable window's menu is not closed when its
4102 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-touch-selector-entry.c:
4105 (+hildon_touch_selector_entry_set_input_mode),
4106 (+hildon_touch_selector_entry_get_input_mode):
4107 * src/hildon-touch-selector-entry.h: New methods to access the input
4108 mode in the selector's entry.
4110 Fixes: NB#93410 (API required for setting IM mode in
4111 HildonTouchSelectorEntry)
4113 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4115 * configure.ac: post release version bump.
4116 * debian/changelog: version bump
4118 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4123 * configure.ac: Bump version.
4124 * debian/changelog: Updates.
4126 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-touch-selector.c:
4129 (_hildon_touch_selector_has_multiple_selection): No need
4130 to initialize the variables here.
4132 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4134 * src/hildon-note-private.h
4135 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4136 (hildon_note_finalize, hildon_note_rebuild): Close information
4137 notes when they receive a button press.
4139 Fixes: NB#89890 (Information notes does not get disappeared after
4142 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4145 mark from the wizard title, as it's not really necessary. Also,
4146 do not display the page title if not set.
4148 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4151 (parent_window_hidden): Use the window's "is-topmost" property to
4152 detect when to hide the menu.
4154 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4156 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4157 (hildon_app_menu_finalize): If the parent window of the menu is
4158 hidden, hide the menu too.
4160 Fixes: NB#94460 (stackable window's menu is not closed when its
4163 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4166 * debian/libhildon1-examples.install
4168 * examples/Makefile.am:
4169 Use dh_install to install all examples.
4170 Use DEB_SRCDIR instead of defining SOURCE_DIR
4172 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4174 * configure.ac: post release version bump.
4175 * debian/changelog: version bump
4177 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4182 * configure.ac: bump version
4183 * debian/changelog: updates
4184 * debian/control: bump gtk+ dependency
4186 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4188 patch by Christian Dywan (christian@imendio.com)
4190 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4191 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4193 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4195 * src/hildon-check-button.c (hildon_check_button_init)
4196 (hildon_check_button_class_init, hildon_check_button_style_set)
4197 (hildon_check_button_apply_style):
4198 New "checkbox-size" style property.
4200 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4201 larger / configurable size)
4203 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4205 * configure.ac: post release version bump.
4206 * debian/changelog: version bump
4208 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4213 * configure.ac: bump version
4214 * debian/changelog: updates
4216 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4218 * doc/hildon-sections.txt
4219 * src/hildon-pannable-area.c
4220 * src/hildon-program.c
4221 * src/hildon-time-editor.c
4222 * src/hildon-touch-selector-entry.c:
4224 More documentation updates.
4226 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4228 * doc/hildon-sections.txt
4229 * src/hildon-caption.c
4230 * src/hildon-code-dialog.c
4231 * src/hildon-color-button.c
4232 * src/hildon-controlbar.c
4233 * src/hildon-date-editor.c
4234 * src/hildon-date-selector.c
4235 * src/hildon-edit-toolbar.c
4236 * src/hildon-find-toolbar.c
4237 * src/hildon-font-selection-dialog.c
4239 * src/hildon-program.c
4240 * src/hildon-range-editor.c
4241 * src/hildon-seekbar.c
4242 * src/hildon-time-editor.c
4243 * src/hildon-time-selector.c
4244 * src/hildon-volumebar-range.c
4245 * src/hildon-volumebar.c
4246 * src/hildon-vvolumebar.c
4247 * src/hildon-weekday-picker.c
4248 * src/hildon-window.c
4249 * src/hildon-wizard-dialog.c:
4251 Lots of documentation fixes.
4253 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4255 Patch contributed by Iván Gómez (igomez@igalia.com)
4257 * src/hildon-check-button.c:
4258 * src/hildon-date-button.c:
4259 * src/hildon-date-selector.c:
4260 * src/hildon-dialog.c:
4261 * src/hildon-edit-toolbar.c:
4262 * src/hildon-entry.c:
4263 * src/hildon-picker-button.c:
4264 * src/hildon-program.c:
4265 * src/hildon-text-view.c:
4266 * src/hildon-time-button.c:
4267 * src/hildon-touch-selector-entry.c:
4268 * src/hildon-window-stack.c:
4270 Add more "since" tags to the new API.
4272 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4274 * doc/hildon-sections.txt: Add below method.
4275 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4276 version for the hildonized scale.
4277 * src/hildon-gtk.h: Add the definition.
4279 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4281 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4283 * doc/hildon-sections.txt: Add missing entries for new methods.
4285 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4287 Added API to pannable are in order to get its adjustments. We
4288 added two properties to manage the values we had in the private
4291 * src/hildon-pannable-area.c:
4292 (hildon_pannable_area_class_init): Added hadjustment and
4293 vadjustment properties in order to expose horizontal and vertical
4295 (hildon_pannable_area_get_property),
4296 (hildon_pannable_area_set_property): Added code to handle the new
4298 (hildon_pannable_area_get_hadjustment),
4299 (hildon_pannable_area_get_vadjustment): API functions to get the
4301 * src/hildon-pannable-area.h:
4302 (hildon_pannable_area_get_hadjustment),
4303 (hildon_pannable_area_get_vadjustment): API functions to get the
4306 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4308 Fixed some leaks, after valgrinding.
4310 * src/hildon-touch-selector.c:
4311 (_default_print_func): Fixed a leak.
4312 (hildon_touch_selector_append_column): Fixed a leak.
4313 * src/hildon-date-button.c:
4314 (hildon_date_button_init): Fixed a leak.
4315 * src/hildon-date-selector.c
4316 (hildon_date_selector_finalize): Fixed a leak.
4318 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4320 Based on a patch by Christian Dywan (christian@imendio.com)
4322 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4324 * src/hildon-gtk.h: Add definition.
4326 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4328 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4330 * src/hildon-picker-button.c: (hildon_picker_button_init),
4331 (hildon_picker_button_new): Set the HildonButton::style property
4332 in the init method, to propagate the value to the derived classes.
4334 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4336 * src/hildon-button.c: (hildon_button_class_init): Do not make
4337 the "style" property a construct property.
4339 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4341 * src/hildon-wizard-dialog.h
4342 * src/hildon-wizard-dialog.c
4343 (hildon_wizard_dialog_set_forward_page_func)
4344 * src/hildon-pannable-area.h
4345 * src/hildon-pannable-area.c
4346 (hildon_pannable_area_set_size_request_policy):
4347 Documentation fixes.
4349 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4351 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4353 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4355 * doc/hildon-sections.txt: Added sections file.
4357 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/*.[ch]: Updates.
4362 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4364 * examples/hildon-progress-indicator-example.c: new file
4365 * examples/Makefile.am: include the new example program
4367 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4371 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4373 * configure.ac: post release version bump
4374 * debian/changelog: version bump
4376 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4381 * configure.ac: bump version
4382 * debian/changelog: updates
4383 * debian/control: bump gtk+ dependency
4385 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4387 * src/hildon-dialog.c: Mark as deprecated.
4388 * src/hildon-dialog.h: Mark as deprecated.
4389 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4390 from HildonDialog and still work, even if
4391 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4392 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4394 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4395 maemo changes) instead)
4397 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4399 * src/hildon-pannable_area.h:
4400 * src/hildon-pannable_area.c:
4401 (hildon_pannable_area_class_init),
4402 (hildon_pannable_area_set_property),
4403 (hildon_pannable_area_get_property),
4404 (hildon_pannable_area_size_request),
4405 (hildon_pannable_area_get_size_request_policy),
4406 (hildon_pannable_area_set_size_request_policy): Added new API
4407 allowing applications to control the request policy. Now they can
4408 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4409 children allocation (HILDON_MOVEMENT_CHILDREN).
4411 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4415 (hildon_gtk_tree_view_set_ui_mode)
4416 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4417 mode of treeviews and iconviews.
4419 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-touch-selector-entry.c:
4422 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4423 of a GtkEntry to get proper theming.
4425 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4426 widget, not GtkEntry)
4428 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4431 no HildonWizardDialogPageFunc.
4433 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4435 Patch contributed by Iván Gómez (igomez@igalia.com)
4437 * src/hildon-app-menu.c:
4438 * src/hildon-button.c:
4439 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4440 * src/hildon-stackable-window.c:
4441 * src/hildon-time-selector.c:
4442 * src/hildon-touch-selector.c:
4443 * src/hildon-window.c:
4445 Add more "since" tags to the new API in hildon 2.2.
4447 2008-12-05 Tim Janik <timj@imendio.com>
4449 Patch contributed by Christian Dywan (christian@imendio.com)
4451 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4452 HildonSizeType, which are supplied by Gtk+ now.
4454 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4456 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4457 (with maemo changes) instead)
4459 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4461 Patch contributed by Iván Gómez (igomez@igalia.com)
4463 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4466 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4468 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4469 (some_page_func), (main): Update the example to use a
4470 HildonWizardDialogPageFunc function.
4472 * src/hildon-wizard-dialog-private.h: Add private data for
4473 the HildonWizardDialogPageFunc function usage.
4475 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4476 (destroy), (hildon_wizard_dialog_init), (response),
4477 (hildon_wizard_dialog_set_forward_page_func):
4478 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4479 that applications can use to stop a HildonWizardDialog to jump to
4482 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4485 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4487 * src/hildon-program.h
4488 * src/hildon-program-private.h
4489 * src/hildon-program.c (hildon_program_init)
4490 (hildon_program_set_common_app_menu)
4491 (hildon_program_get_common_app_menu):
4492 New API for setting a common HildonAppMenu for all
4493 HildonStackableWindows registered with the HildonProgram.
4495 * src/hildon-stackable-window.c
4496 (hildon_stackable_window_toggle_menu):
4497 Use the common HildonAppMenu if a window doesn't have a specific
4500 * src/hildon-app-menu-private.h
4501 * src/hildon-app-menu.c
4502 (hildon_app_menu_get_parent_window):
4503 Function to obtain the window a HildonAppMenu is attached to.
4504 (hildon_app_menu_set_parent_window):
4505 Hide the menu if the parent window is set to NULL.
4507 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4510 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4511 search widget to popup.
4513 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4515 * configure.ac: post release version bump
4516 * debian/changelog: version bump
4518 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4523 * configure.ac: bump version
4524 * debian/changelog: updates
4526 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4528 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4530 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4531 (hildon_window_stack_window_realized)
4532 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4533 Set the leader GdkWindow when a window is stacked and realized,
4534 unset it when it's unstacked.
4535 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4537 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4539 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-stackable-window.h
4542 * src/hildon-window-stack.h:
4543 Protect definition of HildonWindowStack using the preprocessor.
4545 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4548 Fix warning if all menu items are hidden.
4550 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4552 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4554 * src/hildon-controlbar.c:
4555 * src/hildon-hvolumebar.c:
4556 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4557 Multiple scale size defines updates.
4559 Fixes: NB#94322 (Scale Updates)
4561 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4563 * examples/hildon-app-menu-example.c (create_menu)
4564 Show items after adding them to the menu, as in the future the
4565 menu will no longer call gtk_widget_show() on the added items.
4567 * src/hildon-app-menu.c:
4568 Update example as explained above.
4570 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-app-menu.c
4573 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4574 Make sure that all menu items have finger height.
4576 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4578 * src/hildon-picker-dialog.c:
4579 (_on_dialog_response), (_save_current_selection),
4580 (_restore_current_selection), (_clean_current_selection),
4581 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4582 Defined new functions in order to save the current internal selector
4583 selection previous open the dialog, in case that the use cancel the
4584 interaction, so the widget restores the previous selection.
4586 Fixes: NB#92032 (In calendar application, date values in 'new event'
4589 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4591 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4593 * src/hildon-button.c: Add a reference to the button examples in
4594 hildon-button-example.c
4596 * examples/hildon-button-example.c: Added examples of the most
4597 common button layouts.
4599 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4601 * src/hildon-app-menu.c (hildon_app_menu_show)
4602 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4604 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4606 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-picker-dialog.c:
4609 (hildon_picker_dialog_init): Initialize the signal id for
4610 HildonTouchSelector::columns-changed.
4611 (+on_selector_columns_changed): Set up the interaction mode everytime a
4612 column is added or removed from the HildonTouchSelector.
4613 (_hildon_picker_dialog_set_selector): Connect to
4614 HildonTouchSelector::columns-changed and keep track of it.
4616 Make sure to update the interaction mode of the dialog everytime a
4617 column is added or removed in the HildonTouchSelector.
4619 Fixes: NB#93228 (Done button is not shown always in listpicker)
4621 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4624 a new ::columns-changed signal.
4625 (hildon_touch_selector_append_column): Emit ::columns-changed.
4626 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4628 Add a ::columns-changed signal, emitted when the number of columns in a
4629 HildonTouchSelector changes.
4631 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4633 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4634 (_hildon_picker_dialog_set_selector): Factor out the code
4635 to set up the dialog interaction mode.
4637 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4639 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4640 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4641 to signal_changed_id.
4643 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4645 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4648 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4650 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4651 Updated the logical ids related to ampm format, as now it is required to
4652 show it correctly localized even on languages with no default
4653 abbreviations for am or pm
4654 (_check_am_pm_format): check correctly the 24h format gconf property
4656 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4658 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4660 * src/hildon-button.c: Documentation updates.
4662 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4665 * src/hildon-caption.c: (hildon_caption_class_init):
4666 * src/hildon-color-button.c: (hildon_color_button_class_init):
4667 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4668 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4669 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4670 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4672 Remove deprecated GTK+ marshalers and replace them with the ones
4673 provided by GLib, for those available, add a marshaler for
4674 BOOLEAN:VOID, which is not available in GLib, and use it.
4676 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4679 the text from the previous column if there is no
4680 HildonTouchSelectorColumn::text-property set.
4682 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4684 * src/hildon-button.h
4685 * src/hildon-button.c (hildon_button_set_property)
4686 (hildon_button_get_property, hildon_button_class_init)
4687 (hildon_button_set_style, hildon_button_get_style):
4688 New "style" property to change the visual appearance of the
4691 * src/hildon-picker-button.c (hildon_picker_button_new):
4692 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4694 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4695 HildonButton look like PickerButton)
4697 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4699 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4700 column while building the default string.
4702 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4705 scroll indicator by default.
4707 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4709 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4711 * src/hildon-main.c: Fix the documentation for hildon_init()
4713 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4715 * doc/hildon-docs.sgml
4719 * src/hildon-window-stack-private.h
4720 * src/hildon-window-stack.h
4721 * src/hildon-window-stack.c:
4722 New HildonWindowStack object, that adds support for multiple
4723 stacks of windows per process.
4725 * src/hildon-stackable-window-private.h
4726 * src/hildon-stackable-window.h
4727 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4728 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4729 (hildon_stackable_window_show, hildon_stackable_window_hide)
4730 (hildon_stackable_window_class_init)
4731 (hildon_stackable_window_init):
4732 Use HildonWindowStack for stack management.
4734 * src/hildon-program.c (hildon_program_pop_window_stack)
4735 (hildon_program_peek_window_stack)
4736 (hildon_program_go_to_root_window):
4737 Add a fallback implementation to the deprecated functions using
4740 * examples/hildon-stackable-window-example.c:
4741 Use the new HildonWindowStack API.
4743 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-stackable-window-private.h
4746 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4747 (hildon_stackable_window_hide, hildon_stackable_window_init):
4748 Remove all window stack management.
4750 * src/hildon-program-private.h
4751 * src/hildon-program.h
4752 * src/hildon-program.c (hildon_program_init)
4753 (hildon_program_pop_window_stack)
4754 (hildon_program_peek_window_stack)
4755 (hildon_program_go_to_root_window):
4756 Remove all window stack management and mark functions as
4759 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-app-menu.c (hildon_app_menu_realize):
4762 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4764 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4766 * configure.ac: post release version bump
4767 * debian/changelog: version bump
4769 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4774 * configure.ac: bump version
4775 * debian/changelog: updates
4777 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4779 Based on initial code by Christian Dywan (christian@imendio.com)
4781 * doc/hildon-docs.sgml: Add section for hildon-main.
4782 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4783 * src/Makefile.am: Add new hildon-main.[ch]
4784 * src/hildon-defines.h: Update the icon sizes.
4785 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4786 new library initialization files and register icon sizes.
4787 * src/hildon-main.h: New declarations.
4788 * src/hildon.h: Include hildon-main.h
4790 Add new initialization functions to the library. These methods
4791 will register the hildon specific icon sizes and can be used in the
4792 future for other hildon specific bits.
4794 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4796 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-window.c: (hildon_window_realize),
4799 (hildon_window_notify), (-hildon_window_update_title): Do not set
4800 the application name in the window title.
4802 Fixes: NB#89754 (Applications shouldn't display their names in the
4805 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4807 * src/hildon-note-private.h:
4808 * src/hildon-note.c: (hildon_note_set_property),
4809 (hildon_note_get_property), (hildon_note_class_init),
4810 (hildon_note_init), (hildon_note_finalize),
4811 (hildon_note_new_confirmation_with_icon_name),
4812 (hildon_note_new_information_with_icon_name):
4814 No need to mark as deprecated the actual code. Revert
4815 to avoid missing symbols in widgets using deprecated API.
4817 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4819 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4821 * src/hildon-volumebar.h
4822 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4823 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4825 * src/hildon-helper.h
4826 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4827 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4829 * examples/Makefile.am:
4830 Deprecate hildon-insensitive-example
4832 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4834 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4836 * examples/hildon-pannable-area-buttons-scroll-example.c:
4837 Make all buttons finger height
4839 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4841 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4843 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4844 update the day model only if it is really required, and to avoid the
4845 full-reconstruction aproach. Now it only add or remove the required days.
4847 The purpose of this is avoid superfluous HildonTouchSelector::changed
4850 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4851 with strange parameters)
4853 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4855 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4857 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4858 the WINDOW_TYPE property.
4860 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4862 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4865 Fix dependency to allow parallel compilation with make -jX
4867 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4869 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4870 color frame and some minor tweaks to make it more consistent with
4873 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4874 highlighted but not visible)
4876 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4878 * examples/Makefile.am: Fixed typo in the Makefile.am.
4880 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4882 Reviewed the use of MAEMO_GTK define, now we add the define in the
4883 compilation line, and we also add it to the pc file.
4885 * configure.ac: Added MAEMO_GTK define to the compilation command
4886 and removed it from the config.h.
4888 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4889 do not have to take care about this define if the library was
4893 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4895 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4897 * examples/Makefile.am,
4898 * examples/hildon-pannable-area-buttons-scroll-example.c,
4899 * examples/hildon-pannable-area-gesture-signals-example.c,
4900 * examples/hildon-pannable-area-scroll-jump-example.c,
4901 * examples/hildon-pannable-area-tree-view-example.c:
4902 Renamed the pannable area examples, now they have more meaningful
4905 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4907 * src/hildon-touch-selector.c:
4908 (hildon_touch_selector_set_column_selection_mode): Used of
4909 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4910 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4911 to avoid re-seting the same selection mode.
4913 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4914 breaks HildonPickerDialog)
4916 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4918 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4919 conditional in the Makefile.am
4921 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4923 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4924 Remove unused methods.
4926 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4928 * src/hildon-button.c (hildon_button_init):
4929 Make button images center-aligned by default
4931 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4934 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4935 activated, we have to think about how to deal with both defines
4936 MAEMO_GTK and MAEMO_CHANGES.
4938 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4940 * examples/hildon-app-menu-example.c (create_menu): Make all
4941 buttons finger size.
4943 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4945 Fixed the compilation without maemo gtk adding ifdefs with
4946 MAEMO_GTK define to the code, we have to check this version more
4949 * examples/Makefile.am: Added control to avoid some examples that
4950 just make sense with maemo gtk.
4953 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4954 hildon modes with the define.
4956 * examples/hildon-edit-toolbar-example.c,
4957 (create_icon_view): Create the icon view without hildon-gtk
4958 helpers if we are not using maemo gtk.
4960 * src/hildon-touch-selector.c,
4961 (_create_new_column): Create the treeview without hildon-gtk
4962 helpers if we are not using maemo gtk.
4964 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4966 * src/hildon-pnnable-area.c,
4967 (hildon_pannable_area_dispose),
4968 (hildon_pannable_area_button_press_cb),
4969 (hildon_pannable_area_child_mapped),
4970 (hildon_pannable_area_add),
4971 (hildon_pannable_area_remove): Added code to control the position
4972 of the event_window when adding and removing children from the
4973 pannable. We have to raise the event window when the child is
4976 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4977 selection mode using custom widget inside pannable)
4979 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4981 * configure.ac: post release version bump
4982 * debian/changelog: version bump
4984 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4989 * configure.ac: bump version
4990 * debian/changelog: updates
4992 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4994 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4995 search mode, in order to avoid lose the focus on the treeview when
4996 a hw key (like enter) is pressed.
4998 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4999 in HildonDateSelector dialog)
5001 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5003 * debian/rules: Added --enable-maintainer-mode
5004 * Makefile.am: Added ACLOCAL_AMFLAGS
5006 This allows to properly regenerate the Makefiles if you modify the
5007 configure.ac or any Makefile.am.
5009 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5011 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5012 properties, not needed at all.
5014 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5016 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5018 * src/hildon-note.c: (hildon_note_set_property),
5019 (hildon_note_get_property), (hildon_note_class_init),
5020 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5021 (hildon_note_new_confirmation_add_buttons): Remove icons.
5022 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5023 (hildon_note_new_information_with_icon_name): Deprecate.
5024 (hildon_note_new_confirmation): Act directly, without calling
5025 the deprecated constructor.
5026 (hildon_note_new_information): Act directly, without calling
5027 the deprecated constructor.
5028 * src/hildon-note.h: Mark deprecate methods as such.
5029 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5030 not run tests on the deprecated methods if built with deprecation
5033 Fixes: NB#91688 (Never show icons in information notes/confirmation
5036 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5038 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5039 (hildon_app_menu_key_press): Remove leftover usage of the
5040 private structure in HildonAppMenu struct.
5041 * src/hildon-app-menu.h: Remove leftover private structure
5042 from the HildonAppMenu struct.
5044 Fixes a crasher when using the HildonAppMenu.
5046 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/hildon-picker-dialog.c: Use appropriate logical id
5049 for the default "Done" text.
5051 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5053 * configure.ac: post release version bump
5054 * debian/changelog: version bump
5056 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5058 Modified the way to scroll to the current selection just when the touch
5059 selector is shown on the screen, avoiding a g_idle. Added too a property
5060 to configure this behaviour. See hildon_pannable_area_jump_to_child
5061 documentation for more information.
5063 * src/hildon-touch-selector.c
5064 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5065 Added 'initial-scroll' property
5066 (hildon_touch_selector_set_property): Added
5067 (hildon_touch_selector_map): Removed as not required anymore
5068 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5069 only a concrete column, instead of iterate along all the columns
5071 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5076 * configure.ac: bump version
5077 * debian/changelog: updates
5079 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5082 compilation time warnings.
5084 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5087 the default value for HildonPannableArea::mov-mode to
5088 HILDON_PANNABLE_AREA_MODE_VERT.
5090 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5092 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5094 Reverting following commit:
5096 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5098 * src/hildon-app-menu-private.h
5099 * src/hildon-app-menu.[ch]
5100 * src/hildon-button.[ch]
5101 * src/hildon-check-button.[ch]
5102 * src/hildon-entry.[ch]
5103 * src/hildon-pannable-area.[ch]
5104 * src/hildon-text-view.[ch]:
5105 Added private field to the object's structure.
5107 because it causes an ABI breakage. We will need to introduce these
5108 changes later at some point. See NB#91636 for an extensive
5109 explanation and status.
5111 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5113 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5115 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5116 remove special cases that are no longer necessary.
5118 Fixes: NB#91016 (Change toolbar sizes, simplification)
5120 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5122 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5123 is shown in the cancel note.
5125 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5127 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5128 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5129 (hildon_seekbar_init): Remove steppers, remove expose event.
5130 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5132 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5134 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5136 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5137 label font to "SmallSystemFont" for vertically arranged buttons.
5139 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5142 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5144 * src/hildon-check-button.c
5145 (hildon_check_button_set_active, hildon_check_button_clicked):
5146 Don't access private parts directly, use getters instead.
5148 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5150 * src/hildon-check-button.c (hildon_check_button_new):
5151 Align the contents of the check button to the left.
5153 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5155 * src/hildon-pannable-area.c,
5156 (hildon_pannable_area_scroll_to),
5157 (hildon_pannable_area_jump_to),
5158 (hildon_pannable_area_scroll_to_child),
5159 (hildon_pannable_area_jump_to_child): Replace the mapped
5160 precondition of these functions with the realized, it is the
5161 correct state of the widget in this case. Changed the
5162 documentation according to this modification.
5164 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5166 Added a new EXTRA_CFLAGS option to add the deprecated define to
5167 the compilation command. This way we can avoid using the define in
5168 the documentation compilation.
5170 * configure.ac: Defined EXTRA_CFLAGS.
5172 * examples/Makefile.am:
5174 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5176 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5178 * src/hildon-picker-dialog.c:
5179 Defined a utility macro with the desired touch selector height
5180 Removed currently unused separator, and title_label variables from
5182 (hildon_picker_dialog_init): Removed code related to the creation
5183 of unused private variables title_label and separator.
5184 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5185 to ensure correct visualization of the touch selector inside the dialog.
5186 * src/hildon-touch-selector.c
5187 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5188 ensure a concrete height of the widget.
5190 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5193 * tests/Makefile.am:
5195 Remove spurious whitespaces.
5197 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5199 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5200 compilation warning after the cancel button removal.
5202 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5204 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5206 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5207 Makefile.am, that way we can choose not to compile some examples
5208 and tests of the deprecated widgets.
5210 * examples/Makefile.am: Divided the sources in deprecated and
5213 * src/Makefile.am: Added undef statement of the deprecated
5214 symbol to the enums file generation process.
5216 * src/hildon-color-chooser-dialog.c
5217 * src/hildon-color-chooser-dialog.h
5218 * src/hildon-color-button.c
5219 * src/hildon-color-button.h
5220 * src/hildon-color-chooser.c
5221 * src/hildon-color-chooser.h
5222 * src/hildon-controlbar.c
5223 * src/hildon-controlbar.h
5224 * src/hildon-date-editor.c
5225 * src/hildon-date-editor.h
5226 * src/hildon-hvolumebar.c
5227 * src/hildon-hvolumebar.h
5228 * src/hildon-private.c
5229 * src/hildon-private.h
5230 * src/hildon-range-editor.c
5231 * src/hildon-range-editor.h
5232 * src/hildon-seekbar.c
5233 * src/hildon-seekbar.h
5234 * src/hildon-time-editor.c
5235 * src/hildon-time-editor.h
5236 * src/hildon-time-picker.c
5237 * src/hildon-time-picker.h
5238 * src/hildon-volumebar.c
5239 * src/hildon-volumebar.h
5240 * src/hildon-vvolumebar.c
5241 * src/hildon-vvolumebar.h
5242 * src/hildon-bread-crumb-trail.h
5243 * src/hildon-bread-crumb-trail.c
5244 * src/hildon-calendar-popup.c
5245 * src/hildon-calendar-popup.h
5246 * src/hildon-weekday-picker.c:
5247 * src/hildon-weekday-picker.h:
5248 * src/hildon-bread-crumb-widget.c:
5249 * src/hildon-bread-crumb-widget.h:
5250 * src/hildon-bread-crumb.c:
5251 * src/hildon-bread-crumb.h:
5252 * src/hildon-calendar.c:
5253 * src/hildon-calendar.h:
5254 * src/hildon-caption.c:
5255 * src/hildon-code-dialog.c:
5256 * src/hildon-code-dialog.h:
5257 * src/hildon-font-selection-dialog.c:
5258 * src/hildon-font-selection-dialog.h:
5259 * src/hildon-get-password-dialog.c:
5260 * src/hildon-get-password-dialog.h:
5261 * src/hildon-login-dialog.c:
5262 * src/hildon-login-dialog.h:
5263 * src/hildon-number-editor.c:
5264 * src/hildon-number-editor.h:
5265 * src/hildon-set-password-dialog.c:
5266 * src/hildon-set-password-dialog.h:
5267 * src/hildon-sort-dialog.c:
5268 * src/hildon-sort-dialog.h: This is the list of deprecated
5271 * src/hildon-touch-selector.c:
5272 * src/hildon-window.c: Added undef statement to avoid compilation
5275 * tests/Makefile.am: Divided the sources in deprecated and
5278 * tests/check_test.c,
5279 (configure_tests): Marked the deprecated code that was adding
5280 suites with deprecated tests.
5282 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5284 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5286 * src/hildon-touch-selector.c: (_default_print_func): Do not
5287 duplicate a string returned by gtk_tree_model_get(), it is already
5290 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5293 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5295 * src/hildon-pannable-area.c
5296 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5297 method, it had problems when adding a widget with viewport the
5298 second time. Now checks if it already has a viewport and uses it.
5300 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5303 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5305 * src/hildon-pannable-area.c,
5306 (hildon_pannable_area_scroll_to),
5307 (hildon_pannable_area_jump_to),
5308 (hildon_pannable_area_scroll_to_child),
5309 (hildon_pannable_area_jump_to_child): Added a precondition to the
5310 scroll and jump to functions: the widget must be mapped before we
5311 can safely call these functions. We have also added documentation
5312 to the functions to explain how to use them in this situation.
5315 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5317 Reviewed the threading handling of the pannable widget, we have
5318 used the gdk_threads_add_timeout function instead of the usual
5319 glib handlers. This avoids some problems with the threads.
5321 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5322 (hildon_pannable_area_initial_effect),
5323 (hildon_pannable_area_scroll_indicator_fade),
5324 (hildon_pannable_area_button_press_cb),
5325 (hildon_pannable_area_timeout),
5326 (hildon_pannable_area_motion_notify_cb),
5327 (hildon_pannable_area_button_release_cb),
5328 (hildon_pannable_area_scroll_cb),
5329 (hildon_pannable_area_scroll_to): Removed the
5330 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5331 gdk_threads_add_timeout.
5333 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5335 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5340 * configure.ac: bump version
5341 * debian/changelog: updates
5343 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5345 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5346 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5347 * src/hildon-color-chooser-dialog.c:
5348 (hildon_color_chooser_dialog_init):
5349 * src/hildon-font-selection-dialog.c:
5350 (hildon_font_selection_dialog_init):
5351 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5353 Remove all cancel/close-like dialogs, as these are not going to be
5356 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5358 * src/hildon-note.c: (hildon_note_rebuild),
5359 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5362 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5364 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5366 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5367 sure all buttons are shown, even the Cancel/Close-like ones.
5369 Fixes: NB#90861 (Custom Confirmation dialogs should be
5370 protected from cancel button removal)
5372 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5374 * debian/control: Change libhildon1-examples dependency from libhildon1
5376 * debian/libhildon1-examples.install
5378 * Makefile.am: Modified the final install directory for the examples on
5379 package libhildon1-examples
5380 * Makefile.static: Update clean target in order to remove all the binary
5383 Changes suggested by Claudio after review new libhildon1-examples package
5385 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5388 * src/hildon-touch-selector.c: Ditto.
5390 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5392 * debian/control: Added new package libhildon1-examples, in order to pack
5393 the current hildon examples as documentation
5394 * debian/rules: Not to compress .c files, modify some includes on the
5395 examples (as normally are compiled locally, but when installed it will
5396 require to include the installed libhildon1 library), and rename
5398 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5399 install all the example files on the new example package
5400 * examples/Makefile.static: Added static makefile that can be used to
5401 compile the examples, once installed the new example package
5402 * examples: Most of the examples were modified in order to grant that
5403 all use only '#include "hildon.h"', in order to be easy to prepare
5404 it on the example package
5406 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5409 * debian/libhildon1-dev.install
5410 * debian/libhildon1-doc.install:
5411 Move all gtk-doc files to a separate libhildon1-doc package.
5413 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5415 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5419 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5421 * debian/rules: Fixed a error in order to avoid unnecessary calls
5422 to autogen.sh on package building
5424 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5426 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5428 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5430 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5433 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-picker-button.c
5436 (hildon_picker_button_finalize):
5437 Free priv->done_button_text
5439 * src/hildon-time-button.c
5440 (hildon_time_button_set_time)
5441 * src/hildon-picker-button.c
5442 (hildon_picker_button_clicked)
5443 (hildon_picker_button_selector_selection_changed)
5444 (hildon_picker_button_set_selector)
5445 * src/hildon-date-button.c
5446 (hildon_date_button_set_date):
5447 Free strings returned by hildon_touch_selector_get_current_text()
5449 * src/hildon-button.c (hildon_button_construct_child):
5450 Fix leaks in priv->image and priv->label_box
5452 Fixes: NB#90535 (Memory leak in picker button)
5454 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-button.c: (hildon_button_get_property): Do not access
5457 private elements directly, use getters instead.
5459 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-app-menu-private.h
5462 * src/hildon-app-menu.c
5463 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5464 Store the menu's parent window.
5466 * src/hildon-stackable-window.c
5467 (hildon_stackable_window_toggle_menu)
5468 (hildon_stackable_window_finalize):
5469 Set the menu's parent window when the menu is shown, unset it when
5472 * src/hildon-app-menu.c
5473 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5474 (hildon_app_menu_class_init):
5475 Send unhandled keyboard accelerators to the parent window.
5477 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5479 * src/hildon-stackable-window.c
5480 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5482 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5484 * configure.ac: post release version bump
5486 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5489 * configure.ac: Bump version
5490 * debian/changelog: Updates
5491 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5494 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5496 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5499 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5500 GtkMenu with Hildon style.
5502 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-picker-button.c:
5505 (hildon_picker_button_set_done_button_text): Set the dialog's
5506 done button text here as well.
5508 Fixes: NB#90232 (Picker button does not set the label on done button
5509 for the second time)
5511 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5513 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5516 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5518 * src/hildon-app-menu.c (hildon_app_menu_insert)
5519 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5520 the HildonAppMenu to be activatable using keyboard accelerators
5521 when the menu is not being shown.
5523 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5525 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-stackable-window.c
5528 (hildon_stackable_window_show):
5529 Don't hide old windows automatically when new windows are shown:
5530 this is now a task for the window manager.
5531 (hildon_stackable_window_class_init)
5532 (hildon_stackable_window_hide):
5533 Remove windows from the stack everytime they're hidden.
5534 (hildon_stackable_window_realize):
5535 Don't change the _NET_WM_WINDOW_TYPE property. Use
5536 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5537 it as a stackable window.
5539 * src/hildon-program.c
5540 (hildon_program_pop_window_stack):
5541 Just hide the window to remove it from the stack.
5542 (hildon_program_go_to_root_window):
5543 Don't call gtk_widget_show(), this is now a task for the window
5546 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5548 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5550 * src/hildon-button.c
5551 (hildon_button_construct_child):
5552 Don't pack anything in the button until text or image are
5553 set. This allows adding a custom child after creating the button
5554 with hildon_button_new().
5555 (hildon_button_finalize, hildon_button_class_init)
5556 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5557 alignment and the label box even when they're not packed in the
5560 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5562 * src/hildon-touch-selector.h:
5563 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5564 currently the type definition was using GTK_TYPE_VBOX
5565 * src/hildon-touch-selector.c:
5566 Added some implementation notes in order to clarify that any other widget
5567 added without the column related API will not be included on the
5568 selection logic, and how the widget is freed, as some people ask about
5570 (hildon_touch_selector_remove): Reimplemented in order to free properly
5571 the column related data when you remove the private hbox.
5572 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5573 to get a proper HildonTouchSelectorColumn documentation
5575 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5577 * src/hildon-touch-selector-entry.c:
5578 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5579 text in the GtkEntry and there is no item selected. Fixes a
5582 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-app-menu-private.h
5585 * src/hildon-app-menu.[ch]
5586 * src/hildon-button.[ch]
5587 * src/hildon-check-button.[ch]
5588 * src/hildon-entry.[ch]
5589 * src/hildon-pannable-area.[ch]
5590 * src/hildon-text-view.[ch]:
5591 Added private field to the object's structure.
5593 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5595 * configure.ac: post-release version bump
5597 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5601 * configure.ac: pre-release version bump
5603 * debian/changelog: updates.
5605 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5607 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5608 Disconnect the handler for HildonTouchSelector::changed.
5610 (hildon_picker_button_selector_selection_changed): Update the button
5611 value if the selection change was not triggered by the
5614 (hildon_picker_button_set_selector): connect to
5615 HildonTouchSelector::changed.
5617 Fixes: NB#89650 (Picker button is not updated, when selection in
5618 selector has changed)
5620 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5622 * src/hildon-picker-dialog.c
5623 (hildon_picker_dialog_realize): Removed as not required
5624 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5625 * src/hildon-picker-button.c
5626 (_current_selector_empty): New function, checks if the selector is empty
5627 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5628 if the current selector is empty, in order to avoid to show the dialog
5629 close the dialog in this case (and shows a g_warning).
5631 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5633 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5635 * src/hildon-pannable-area.c,
5636 (hildon_pannable_area_scroll): Added clause to stop movement when
5637 the child of pannable is smaller than one page.
5638 (hildon_pannable_area_scroll_to): Added conditions to avoid
5639 starting the scrolling movement if the child is smaller than one
5640 page, the complete child is in the screen, we do not have to move.
5642 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5644 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5646 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5647 this is managed automatically by the widget when the size of the
5650 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-picker-button.c
5653 (hildon_picker_button_set_done_button_text): Make a copy of the
5654 text, and free the previous value.
5656 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5658 * src/hildon-touch-selector-entry.c:
5659 (hildon_touch_selector_entry_print_func): Return the selected row's
5660 text if the entry is empty.
5662 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5665 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5667 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5669 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-check-button.h
5673 * src/hildon-check-button.c
5674 * examples/hildon-check-button-example.c:
5675 HildonCheckButton is now a new widget. 'toggled' signal added.
5677 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5679 * src/hildon-program-private.h
5680 * src/hildon-program.c (hildon_program_init)
5681 (hildon_program_finalize): Removed unused variables group_leader
5682 and name from HildonProgramPrivate.
5684 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-check-button.c (hildon_check_button_set_active)
5687 (hildon_check_button_get_active, hildon_check_button_new): Use
5688 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5690 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5692 * src/hildon-touch-selector.h
5693 (hildon_touch_selector_set_column_attributes): added deprecation
5694 guard HILDON_DISABLE_DEPRECATED
5695 * src/hildon-time-selector.c
5696 (hildon_time_selector_set_time)
5697 (hildon_time_selector_get_time): Fixed a typo on documentation
5698 * src/hildon-touch-selector.c: update HildonTouchSelector and
5699 HildonTouchSelectorColumn documentation
5700 * src/hildon-touch-selector-entry.c: update "text-column" property
5702 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5703 to be added to the general documentation.
5705 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5707 * examples/hildon-pannable-area-example-4.c,
5709 * examples/hildon-pannable-area-example.c,
5710 (main): Modified the code in order to use the container add, with
5711 viewport treeviews could have problems if they are really big.
5713 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5715 * src/hildon-weekday-picker.c,
5716 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5717 the agreement regarding deprecation in the library.
5719 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5721 * examples/hildon-picker-button-multicolumn-example.c:
5722 (main): Use custom "done" button text.
5724 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5725 (hildon_picker_button_set_property),
5726 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5727 (hildon_picker_button_init),
5728 (+hildon_picker_button_get_done_button_text),
5729 (+hildon_picker_button_set_done_button_text): New methods to customize
5730 the "done" button label in the launched HildonPickerDialog. Also,
5733 * src/hildon-picker-button.h: add the public API.
5735 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5737 * src/hildon-date-selector.h:
5738 * src/hildon-picker-dialog.h:
5739 * src/hildon-time-selector.h:
5740 * src/hildon-touch-selector-column.h:
5741 * src/hildon-touch-selector.h:
5743 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5744 declarations. Fixes gtk-doc warnings.
5746 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5748 * src/hildon-picker-dialog.h
5749 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5750 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5752 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5753 long text is set as label for done button)
5755 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-dialog.c (hildon_dialog_add_button):
5758 Set fixed width to all buttons in the HildonDialog.
5760 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5762 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5764 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5765 Set widget name using class name plus "-finger" or "-thumb".
5767 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5770 'clicked' when the state of the button is manually changed.
5772 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-app-menu.c (hildon_app_menu_realize)
5775 (hildon_app_menu_unrealize, hildon_app_menu_init)
5776 (hildon_app_menu_class_init, item_visibility_changed):
5777 Change the menu layout when the size of the screen changes.
5778 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5779 Show warning only when changing the number of colums using the
5782 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5784 * debian/compat: Set to 5
5785 * debian/control: Update dependencies.
5786 * debian/libhildon1-dbg.install: Remove.
5787 * debian/libhildon1-dev.install: Update according to cdbs paths.
5788 * debian/libhildon1.install: Update according to cdbs paths.
5789 * debian/rules: Switch to cdbs.
5791 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5793 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5794 'item' variable renamed to 'filter'
5796 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-app-menu.c (hildon_app_menu_insert)
5799 (hildon_app_menu_add_filter, remove_item_from_list)
5800 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5801 Don't leak hidden items when the menu is destroyed.
5803 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-app-menu.c (hildon_app_menu_insert)
5806 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5807 (hildon_app_menu_set_columns, item_visibility_changed)
5808 (filter_visibility_changed, hildon_app_menu_repack_filters)
5809 (hildon_app_menu_repack_items):
5810 Repack items and filters separately.
5812 Don't repack all items, change only the ones that are needed to
5815 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5817 * src/Makefile.am: added hildon-touch-selector-column.h
5819 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5821 * src/hildon-touch-selector.c: added the property "text-column" to the
5822 class HildonTouchSelectorColumn, and related get/set functions
5823 (_default_printf_func): updated to use "text-column" property
5824 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5825 "text-column" in his documentation, as this is now included on
5826 HildonTouchSelectorColumn. The get/set_property can still be used,
5827 working as a wrapper to the concrete column "text-column" property
5828 (_text_column_modified): callback added in order to handle the signal
5829 "notify::text-column" of the concrete HildonTouchSelectorColumn
5830 (hildon_touch_selector_entry_get_text_column)
5831 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5832 modified in order to use the HildonTouchSelectorColumn "text-column"
5834 * src/hildon-time-selector.c:
5835 * src/hildon-date-selector.c:
5836 * examples/hildon-touch-selector-example.c
5837 * examples/hildon-touch-selector-multi-cells-example.c
5838 * examples/hildon-picker-button-multicolumn-example.c
5839 Set the right value to "text-column" property on the creation of a new
5840 column using hildon_touch_selector_append_column()
5842 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5844 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-app-menu.c
5847 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5848 updating the layout of the menu, don't create all widgets again,
5849 just repack the items in their new places.
5851 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5853 * src/hildon-time-selector.c
5854 (hildon_time_selector_get_time)
5855 (hildon_time_selector_set_time)
5856 Added documentation of these public methods
5858 * src/hildon-date-button.h
5859 * src/hildon-touch-selector-column.h
5860 * src/hildon-time-button.h
5861 * src/hildon-picker-dialog.h
5862 * src/hildon-time-selector.h
5863 * src/hildon-picker-button.h
5864 * src/hildon-touch-selector.h
5865 * src/hildon-time-picker.h
5866 * src/hildon-date-selector.h
5867 * src/hildon-touch-selector-entry.h
5868 Modified in order to use hildon-widgets code style
5870 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5872 Added deprecated support to the compilation process using
5873 HILDON_DISABLE_DEPRECATED
5875 * configure.ac: Added the --disable-deprecated to the configure
5878 * src/hildon-weekday-picker.c:
5879 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5880 to use the deprecated support. We will update the other deprecated
5881 widgets status in a new patch.
5883 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5885 * configure.ac: Fixed typo with fatal warnings support, the
5886 variable name was not correct
5888 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-app-menu.c
5891 * src/hildon-program.c: Update documentation.
5893 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5895 * configure.ac: Post-release version bump.
5897 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5902 * configure.ac: Pre-release version bump.
5903 * debian/changelog: Updates.
5905 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5907 * NEWS: Update news for previous releases.
5909 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5911 * examples/hildon-touch-selector-multi-cells-example.c:
5912 (create_selector): Update the example to use
5913 hildon_touch_selector_append_column() with a NULL renderer and set
5914 the renderers later.
5915 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5916 passed a NULL renderer. This is documented behavior now.
5918 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5919 This must be used if the developer wants full control on the layout of
5920 the renderers to be added to the column.
5922 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5924 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5926 * src/hildon-touch-selector.c: Documentation fixes.
5928 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5930 * src/hildon-wizard-dialog-private.h: Remove image and box.
5931 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5932 (hildon_wizard_dialog_set_property), (response): Completely remove
5933 image/icon support, and the containers required for the layout.
5935 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5937 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5939 * src/hildon-app-menu.c: Updated documentation.
5941 * src/hildon-stackable-window.c
5942 (hildon_stackable_window_set_main_menu): Unref the old menu after
5943 ref'ing the new one.
5945 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-stackable-window.c
5948 (hildon_stackable_window_set_main_menu): Unref the previous menu
5949 instead of destroying it.
5951 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5952 floating reference and set has_user_ref_count to FALSE to make
5953 HildonAppMenu act like a normal ref-counted widget and not a
5956 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5959 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5961 * src/hildon-touch-selector-column.h: new file
5962 * src/hildon-touch-selector.h
5963 * src/hildon-touch-selector.c
5964 Implemented GtkCellLayout interface, in order to allow to configure
5965 the cell layout on each individual selector column
5966 (hildon_touch_selector_set_column_attributes): marked as deprecated
5967 * examples/hildon-touch-selector-multi-cells-example.c
5968 Example of how to use the GtkCellLayout interface on the selector
5970 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5972 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-app-menu.h
5975 * src/hildon-app-menu.c
5976 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5977 (hildon_app_menu_append, hildon_app_menu_prepend):
5978 New methods to prepend, insert and move items in the menu.
5980 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5982 * src/hildon-wizard-dialog.c:
5984 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5986 (create_title): Update logical IDs and related code.
5987 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5989 * src/hildon-wizard-dialog.h: Note that
5990 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5991 point, as it is not used anymore.
5993 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5995 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5997 * src/hildon-note.c:
5998 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5999 shown. Do not display an icon in confirmation notes nor information
6001 (hildon_note_set_button_text): Update logical ID for cancel button.
6003 Fixes: NB#88850 (Update HildonNote button strings + signals)
6005 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-stackable-window.c
6008 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6010 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6012 * src/hildon-app-menu-private.h
6013 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6014 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6015 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6016 temporary property 'columns' to change the number of columns.
6018 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6020 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6022 * examples/hildon-note-example.c: (on_information_clicked),
6023 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6024 debugging information.
6025 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6027 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6028 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6029 in order to close: this will be handled by the WM from now on.
6031 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6033 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6035 * src/hildon-app-menu-private.h
6036 * src/hildon-app-menu.c
6037 (hildon_app_menu_append, hildon_app_menu_add_filter)
6038 (button_visibility_changed, hildon_app_menu_apply_style)
6039 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6040 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6041 layout everytime a button (item or filter) is shown or hidden.
6043 * src/hildon-stackable-window.c
6044 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6047 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6049 * src/hildon-touch-selector.c:
6050 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6051 that the treeview inside the touch selector is in fremantle hildon mode
6052 * examples/hildon-date-button-example.c
6053 * examples/hildon-picker-button-multicolumn-example.c
6054 * examples/hildon-touch-selector-entry-example.c
6055 * examples/hildon-touch-selector-example.c
6056 * examples/hildon-time-button-example.c
6057 * examples/hildon-picker-button-example.c:
6058 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6060 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6062 * examples/hildon-text-view-example.c: (main): Remove the
6063 gtkrc bits, now handled by the theme.
6065 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6070 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6072 * po/Makefile.am: Install properly the mo files.
6073 * po/en_GB.po: Update translation, to ease testing purposes.
6075 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6077 * examples/hildon-picker-button-example.c: (main): Select an item
6078 in the selector before setting it to the button.
6080 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6082 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6083 Update button's value if the selector has an item active.
6085 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6086 'value' with the selector)
6088 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6090 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6091 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6092 (hildon_picker_button_class_init): Plug the finalize method.
6093 (hildon_picker_button_set_selector): If there's a previously set
6094 selector, unref'it before setting a new one.
6096 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6097 HildonTouchSelector)
6099 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6101 * src/hildon-touch-selector-entry.c:
6102 (hildon_touch_selector_entry_changed): Check if there is no text
6103 selected before setting the entry text.
6106 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-touch-selector.h
6109 * src/hildon-touch-selector.c
6110 (hildon_touch_selector_get_active)
6111 (hildon_touch_selector_set_active): New methods to set/get the
6112 index of the selected item.
6114 * src/hildon-picker-button.h
6115 * src/hildon-picker-button.c
6116 (hildon_picker_button_get_active)
6117 (hildon_picker_button_set_active): New methods to set/get the
6118 index of the selected item.
6120 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6122 * configure.ac: post-release version bump.
6124 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6128 * configure.ac: Pre-release version bump.
6129 * debian/changelog: Updates.
6130 * debian/control: Add myself as maintainer and depend on l10n
6133 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-window.c
6136 (hildon_window_set_main_menu)
6137 * src/hildon-stackable-window.c
6138 (hildon_stackable_window_set_main_menu):
6139 Updated documentation.
6141 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6144 Don't free selector->priv manually.
6147 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6150 (hildon_gtk_window_set_progress_indicator):
6151 * src/hildon-gtk.h: Added the new API
6152 hildon_gtk_window_set_progress_indicator, it changes the state of
6153 the window progress hint.
6155 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-button.c
6158 * src/hildon-stackable-window.c: Minor documentation updates.
6160 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6162 * src/hildon-stackable-window.c: Updated documentation.
6164 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6166 * src/hildon-defines.h: Update margins definitions
6167 to the Fremantle sizes.
6170 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6172 * src/hildon-touch-selector.c,
6173 (_hildon_touch_selector_set_model): Cleaning the code after
6174 review, removed g_print and #if 0 from the code.
6176 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-edit-toolbar.c: Update documentation.
6180 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-check-button.h
6183 * src/hildon-check-button.c
6184 (hildon_check_button_set_label, hildon_check_button_get_label)
6185 * examples/hildon-check-button-example.c
6186 (button_clicked_cb):
6187 Removed deprecated methods.
6189 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-text-view.c:
6192 Add sample code to the documentation.
6194 * src/hildon-entry.h
6195 * src/hildon-text-view.h:
6196 Minor cosmetic changes.
6198 * src/hildon-entry.c:
6199 Add sample code to the documentation.
6200 (hildon_entry_init, hildon_entry_refresh_contents):
6201 Don't allow NULL values in the placeholder.
6203 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6205 * doc/hildon-docs.sgml
6207 * examples/Makefile.am
6208 * examples/hildon-text-view-example.c
6210 * src/hildon-text-view.c
6211 * src/hildon-text-view.h
6213 New HildonTextView widget, with example.
6215 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6217 * po/POTFILES.in: Add missing files with translatable strings.
6218 Partially fixes NB#88287.
6220 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6222 * examples/hildon-pannable-area-example-2.c: (main): No need to
6223 set the cellrenderer height inside hildon touch lists, the theme does
6226 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6228 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6229 they are integrated in the theme.
6231 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6233 * examples/hildon-entry-example.c: Update the example adding
6234 widgets to modify the text and the placeholder of the HildonEntry.
6236 * src/hildon-entry.c: Show the placeholder everytime the widget
6237 is empty and loses the focus.
6239 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6241 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6243 * src/hildon-pannable-area.c,
6244 (hildon_pannable_area_size_request): Fixed bug in height
6245 requisition, avoid increasing size and add border twice.
6247 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6249 * configure.ac: postrelease version bump.
6251 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6255 * configure.ac: Prerelease version bump.
6256 * debian/changelog: update.
6257 * debian/rules: make -dbg package contain useful debugging symbols.
6259 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6261 * src/hildon-dialog.h
6262 * src/hildon-dialog.c
6263 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6264 New methods to add buttons with finger size.
6265 (hildon_dialog_new_with_buttons):
6266 Create buttons with finger size.
6268 * examples/hildon-dialog-example.c (main): Use HildonDialog
6269 methods to add buttons.
6271 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-entry.c: Updated HildonButton documentation.
6275 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6277 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6278 button value label with (FALSE, FALSE) to prevent NB#88126 from
6281 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6283 * examples/hildon-pannable-area-example.c,
6284 (main): Removed examples panning a vbox inside a pannable
6285 area. Check bug NB#87965
6287 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6289 Patch contributed by Kris Rietveld (kris@imendio.com)
6291 * src/hildon-pannable-area.c,
6292 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6293 get_size and get_position, this saves an X server roundtrip.
6295 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6297 * doc/hildon-docs.sgml
6299 * examples/Makefile.am
6300 * examples/hildon-entry-example.c
6302 * src/hildon-entry.c
6303 * src/hildon-entry.h
6305 New HildonEntry widget, with example.
6307 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-button.c (hildon_button_construct_child): Pack the
6310 image with expand == fill == FALSE. This is a workaround for a bug
6313 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6315 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6316 labels for the text column, to make it more look more dynamic.
6318 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6320 * src/hildon-time-selector.c
6321 Define gettext auxiliar macro N_
6322 (_create_minutes_model)
6323 (_create_hours_model)
6324 (_create_ampm_model): use of strftime in order to fill the model
6325 * src/hildon-date-selector.c
6326 (hildon_date_selector_finalize):
6327 (_locales_init): remove the logic related to get the name of the months
6328 using nl_langinfo, as it is not required anymore
6330 (_create_year_model)
6331 (_create_month_model)
6332 (_update_day_model): use of strftime in order to fill the model properly
6335 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6337 * src/hildon-button.h
6338 * src/hildon-button.c (hildon_button_get_image): New method to
6341 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6343 * src/hildon-touch-selector.c:
6344 (hildon_touch_selector_remove_column): Remove from the correct parent
6345 and also remove the list element and free it.
6348 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6350 * src/hildon-time-selector.c
6351 (_create_hours_model): change the range on 12h ampm format in order to use
6352 a 12-11 range instead of previous 01-12 range
6353 (hildon_time_selector_set_time): change the way to select the current time
6354 on 12h ampm format, due the change on the range
6355 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6358 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6360 * src/hildon-touch-selector.c
6361 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6362 in order to allow use this function on multiple row selection mode if
6363 the column is different that the first one
6366 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6368 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6369 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6371 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6373 * src/hildon-date-selector.h: clean some comments, now on the .c
6374 * src/hildon-date-selector.c
6375 (hildon_date_selector_select_month): first implementation
6376 (hildon_date_selector_select_day): added documentation, reimplemented
6377 using hildon_date_selector_select_current_date to avoid repeat code
6380 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6382 Reviewed interaction logic based on device experiences, refactored
6385 * src/hildon-pannable-area.c,
6386 (hildon_pannable_area_class_init): Updated default vmax speed.
6387 (hildon_pannable_area_calculate_velocity): Added this function, it
6388 avoids duplicate valocity calculation. Adjusted calculation to
6389 avoid problems with zero dist events.
6391 (hildon_pannable_area_motion_notify_cb): Now we use the
6392 calculate_velocity function.
6394 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6396 * src/hildon-date-selector.c
6397 (hildon_date_selector_select_current_date): fix the day range check
6398 as it failed using the last day of the current month
6401 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6403 * src/hildon-touch-selector.c
6404 (hildon_touch_selector_get_num_columns): added a parameter validation
6407 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6409 * examples/Makefile.am
6410 * examples/hildon-edit-toolbar-example.c: Example of the
6411 HildonEditToolbar widget.
6413 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6415 * configure.ac: postrelease version bump.
6417 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6421 * configure.ac: prerelease version bump.
6422 * debian/changelog: update.
6424 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6426 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6427 renderer to display stock icons in the touch list. Also, set the sizes
6428 to the recommended in the style guide.
6430 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6431 * src/hildon-touch-selector.h
6432 (hildon_touch_selector_set_active_iter): renamed, now is
6433 hildon_touch_selector_select_iter
6434 (hildon_touch_selector_get_active_iter): renamed, now is
6435 hildon_touch_selector_get_selected
6436 (hildon_touch_selector_unselect_iter): added
6437 * src/hildon-touch-selector.c
6438 Update after API modification (methods renamed)
6439 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6440 order to avoid problems selecting multiple elements on the column
6441 (hildon_touch_selector_unselect_iter): added the implementation
6442 * src/hildon-time-selector.c
6443 * src/hildon-date-selector.c
6444 * src/hildon-touch-selector-entry.c
6445 Update methods calls after hildon-touch-selector.h API modification (methods
6448 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6450 * src/hildon-stackable-window.c
6451 (hildon_stackable_window_finalize): Call the parent class's finalize.
6453 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6455 * examples/hildon-touch-selector-example.c: (create_selector): Use
6456 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6459 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6461 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6462 set a cell background color, to respect theming.
6464 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6466 * doc/hildon-docs.sgml
6469 * src/hildon-edit-toolbar.c
6470 * src/hildon-edit-toolbar.h
6471 * src/hildon.h: New HildonEditToolbar widget.
6473 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6475 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6478 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6479 * src/hildon-touch-selector.c
6480 (_create_new_column): use g_object_set instead of two g_object_set_property
6482 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6483 * src/hildon-touch-selector.c
6484 (_create_new_column): use of hildon_gtk_tree_view_new to create
6485 the treeview, instead of use directly g_object_new
6486 (_create_new_column): update the property name "vindicator-mode" for the
6487 new one "vscrollbar-policy"
6488 * examples/hildon-date-button-example.c
6489 * examples/hildon-picker-button-multicolumn-example.c
6490 * examples/hildon-touch-selector-entry-example.c
6491 * examples/hildon-touch-selector-example.c
6492 * examples/hildon-time-button-example.c
6493 * examples/hildon-picker-button-example.c
6494 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6495 to all the treeviews inside a pannable area.
6497 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6499 * src/hildon-button.h
6500 * src/hildon-button.c (hildon_button_init)
6501 (hildon_button_set_arrangement, hildon_button_set_alignment)
6502 (hildon_button_set_title_alignment)
6503 (hildon_button_set_value_alignment)
6504 (hildon_button_set_image_alignment)
6505 (hildon_button_construct_child): New methods to set the alignment
6506 of the individual components of the button (title, value,
6507 image). Also, new method to alter the xscale and yscale properties
6508 of the GtkAlignment inside the button, so more complex layouts can
6511 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-button.c (hildon_button_style_set)
6514 (hildon_button_class_init, hildon_button_set_arrangement)
6515 (hildon_button_construct_child): Apply style properties
6516 correctly. Use the 'image-spacing' style property too.
6518 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6520 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6521 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6524 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6526 * src/hildon-pannable-area.c,
6527 (hildon_pannable_area_size_request): Fixed problem with
6528 pannable-area size_request.
6530 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6532 Added management for the grab-focus to a child widget, like a
6533 range, we need to fade out the scrollbar when releasing.
6535 * src/hildon-pannable-area.c,
6536 (hildon_pannable_area_init): Connected the grab-focus signal to
6538 (hildon_pannable_area_grab_notify): Added this function in order
6539 to manage the situation when the grab-focus ends. We have to
6540 fade-out the scrollbar.
6542 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6544 * src/hildon-app-menu.c: Minor documentation update.
6546 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-app-menu.c
6549 * examples/hildon-app-menu-example.c (create_menu): Update
6550 examples and documentation to explain how to connect callbacks.
6552 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6554 * examples/hildon-button-example.c
6555 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6556 hildon_stackable_window_new instead of gtk_window_new
6558 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6560 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6561 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6562 (hildon_pannable_area_set_property),
6563 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6564 (hildon_pannable_area_unrealize),
6565 (hildon_pannable_area_size_request),
6566 (hildon_pannable_area_size_allocate),
6567 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6568 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6569 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6570 (hildon_pannable_area_initial_effect),
6571 (hildon_pannable_area_redraw),
6572 (hildon_pannable_area_scroll_indicator_fade),
6573 (hildon_pannable_area_expose_event),
6574 (hildon_pannable_area_get_topmost), (synth_crossing),
6575 (hildon_pannable_area_button_press_cb),
6576 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6577 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6578 (hildon_pannable_area_motion_notify_cb),
6579 (hildon_pannable_area_button_release_cb),
6580 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6581 (hildon_pannable_area_remove),
6582 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6583 chage the code layout to a more GtkWidget like. Review the use of
6586 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6588 * examples/hildon-pannable-area-example-4.c,
6589 (main): Modified the name of the hindicator_mode to
6592 * src/hildon-pannable-area.c,
6593 (hildon_pannable_area_class_init),
6594 (hildon_pannable_area_motion_notify_cb),
6595 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6596 we have reduced the amount of signals and managed reviewed its
6597 rationale. Changed the default decelerate value.
6599 (hildon_pannable_area_add),
6600 (hildon_pannable_area_redraw): Refactored functions.
6602 (hildon_pannable_area_init),
6603 (hildon_pannable_area_get_property),
6604 (hildon_pannable_area_set_property):
6605 (hildon_pannable_draw_vscroll),
6606 (hildon_pannable_draw_hscroll),
6607 (hildon_pannable_area_initial_effect),
6608 (hildon_pannable_area_expose_event),
6609 (hildon_pannable_area_scroll),
6610 (hildon_pannable_area_button_press_cb),
6611 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6612 and vindicator_mode with hscrollbar_policy and
6613 vscrollbar_policy. Replaced hscroll and vscroll with
6614 hscroll_visible and vscroll_visible.
6616 (hildon_pannable_area_refresh): Refactor the function, remove
6617 variables and check the calls to this function, added resize
6618 conditions in case the children change their layout.
6620 (hildon_pannable_area_size_request): Added more detailed
6621 size_request calculation.
6624 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6626 * src/hildon-color-chooser.c
6627 (init_borders): use the correct gtk_border_free instead of g_free, to
6628 avoid a crash when this widget is used (ie: the three color selection
6631 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6633 * src/hildon-check-button.c,
6634 (hildon_check_button_set_active): Fixed problem when setting the
6635 active value, the widget was not redrawn.
6637 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6639 * src/hildon-pannable-area.c,
6640 (hildon_pannable_area_refresh),
6641 (hildon_pannable_area_scroll),
6642 (hildon_pannable_area_motion_notify_cb): Small code style change.
6644 (hildon_pannable_area_class_init): Default initial_hint set to
6645 FALSE, it is not in the specs.
6647 (hildon_pannable_area_initial_effect),
6648 (hildon_pannable_area_expose_event),
6649 (hildon_pannable_area_map),
6650 (hildon_pannable_area_init): Moved the launching point of the
6651 initial effect, it was in map but the sizes where not correct in
6652 that method so we do not know if we have the reproduce it. Now it
6653 is placed in the expose_event method and uses a variable to
6654 reproduce it just once.
6656 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6658 * src/hildon-pannable-area.c,
6659 (hildon_pannable_draw_vscroll),
6660 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6661 position allowed for the scrollbars.
6663 (hildon_pannable_area_size_allocate): Small style change.
6665 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6667 * src/hildon-pannable-area.c,
6668 (hildon_pannable_area_scroll_indicator_fade),
6669 (hildon_pannable_area_button_press_cb),
6670 (hildon_pannable_area_button_release_cb),
6671 (hildon_pannable_area_scroll_cb),
6672 (hildon_pannable_area_expose_event),
6673 (hildon_pannable_area_init): Added the define parameter
6674 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6675 and refactor the fade variable.
6677 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6679 * src/hildon-pannable-area.c,
6680 (hildon_pannable_area_redraw),
6681 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6682 lines, we were reimplemeting the redraw code.
6684 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6686 * src/hildon-pannable-area.c,
6687 (hildon_pannable_area_scroll_cb),
6688 (hildon_pannable_area_realize),
6689 (hildon_pannable_area_class_init): Added scroll_event management
6690 for pannable area, now we can scroll the usual desktop method.
6692 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6693 initialization of the parameters should depend on idle_id.
6695 (hildon_pannable_area_init),
6696 (hildon_pannable_area_map): Small code style modifications
6698 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6700 * src/hildon-pannable-area.c
6701 (hildon_pannable_area_button_press_cb),
6702 (hildon_pannable_area_motion_notify_cb),
6703 (hildon_pannable_area_button_release_cb),
6704 (hildon_pannable_area_size_allocate),
6705 (hildon_pannable_area_scroll_to): Improved the timeouts
6706 management, we avoid creating them each time.
6708 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6710 * src/hildon-pannable-area.c:
6711 (hildon_pannable_area_refresh),
6712 (hildon_pannable_area_motion_notify_cb),
6713 (hildon_pannable_area_class_init):
6714 * src/hildon-pannable-area.h:
6715 * src/hildon-touch-selector.c
6716 (_create_new_column):
6717 * examples/hildon-pannable-area-example-4.c:
6718 (horizontal_movement),
6719 (vertical_movement),
6721 Replaced the names of enums in the HildonPannableArea:
6722 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6723 HILDON_MOVEMENT_MODE_*
6724 - HILDON_PANNABLE_AREA_MOV_* ->
6726 - Removed HildonPannableAreaIndicatorMode, now we
6729 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6731 * examples/hildon-pannable-area-touch-grid-example.c
6732 * examples/hildon-pannable-area-touch-list-example.c: Fix
6733 compilation warnings.
6735 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6737 * src/hildon-gtk.c (hildon_gtk_button_new)
6738 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6739 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6740 images overriding the value of the "gtk-button-images" setting.
6742 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-check-button.c (hildon_check_button_new):
6745 Instead of using a custom container, display the label and the
6746 checkbox using the standard GtkButton API.
6748 * examples/hildon-check-button-example.c (main): Don't use
6749 hildon_check_button_set_label() anymore
6751 * src/hildon-check-button.h
6752 * src/hildon-check-button.c
6753 (hildon_check_button_set_label, hildon_check_button_get_label):
6754 Set as deprecated, now we're using gtk_button_{get,set}_label()
6756 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6758 * src/hildon-pannable-area.c,
6759 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6760 GtkTreeview first line we detected it after the inclusion of the
6761 GtkWindowImpl in gtk+. We now check if the window is visible, not
6762 just if the pointer is over the window.
6763 (hildon_pannable_axis_scroll),
6764 (hildon_pannable_area_expose_event): Small style changes.
6766 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-button.c: Update documentation.
6770 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6772 * examples/hildon-button-example.c: Add a switch to show images in
6775 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6777 * doc/hildon-docs.sgml: Some docs reorganization.
6779 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6781 * examples/hildon-pannable-area-touch-list-example.c
6783 * examples/hildon-pannable-area-touch-grid-example.c
6784 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6785 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6786 Fix memory leak when setting the tree model.
6788 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6792 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6794 * doc/hildon.types: Remove duplicated hildon_window_get_type
6795 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6796 documentation comment.
6798 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6800 * doc/Makefile.am: Complete list of private headers.
6802 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6804 * doc/hildon-docs.sgml
6805 * src/hildon-app-menu.c
6806 * src/hildon-bread-crumb.c
6807 * src/hildon-button.c
6809 * src/hildon-program.c
6810 * src/hildon-stackable-window.c
6811 * src/hildon-window.c: Lots of documentation updates.
6813 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6815 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6817 * configure.ac: Require Gtk+ 2.12.9 at least
6819 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6821 * src/hildon-pannable-area.c
6822 (hildon_pannable_area_scroll_indicator_fade),
6823 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6824 to protect the return of this timeout callbacks, avoiding deadlocks.
6826 2008-08-12 Christian Dywan <christian@imendio.com>
6829 * src/hildon-*.h: Ensure a consistent include order,
6830 include <gtk/gtk.h> instead of particular files and
6831 only include the topmost header in the gtk stack. See NB #39857
6833 2008-08-12 Christian Dywan <christian@imendio.com>
6835 * src/hildon-picker-dialog.c
6836 * src/hildon-touch-selector.c: Fix warnings about unused and
6837 uninitialized variables.
6839 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6841 * examples/Makefile.am
6842 * examples/hildon-check-button-example.c: Example of the hildon
6845 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6847 * src/hildon-window.h
6848 * src/hildon-window.c (hildon_window_class_init)
6849 (hildon_window_unset_program): Don't make
6850 hildon_window_unset_program a virtual function anymore.
6852 * src/hildon-stackable-window.c: Update documentation
6854 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6857 * doc/hildon-docs.sgml
6858 * doc/visual_index.xml
6859 * src/hildon-defines.c
6861 * src/hildon-helper.c
6862 * src/hildon-range-editor.c: Lots of documentation fixes.
6864 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6866 * examples/hildon-picker-button-multicolumn-example.c
6867 (create_touch_selector): Fix compilation warning.
6869 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6871 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6872 (hildon_pannable_area_button_release_cb)
6873 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6875 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6880 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-bread-crumb-trail.h
6883 * src/hildon-date-editor.c
6884 * src/hildon-date-selector.c
6885 * src/hildon-pannable-area.c
6886 * src/hildon-picker-dialog.c
6887 * src/hildon-time-selector.c
6888 * src/hildon-touch-selector-entry.c
6889 * src/hildon-touch-selector.c
6890 * src/hildon-touch-selector.h: Misc documentation fixes
6892 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6894 * examples/hildon-date-editor-example.c (main): Updated date
6897 * examples/hildon-note-example.c (on_confirmation_clicked):
6898 Updated confirmation note example.
6900 * src/hildon-date-editor.c
6901 * src/hildon-note.c: Updated sample programs in documentation.
6904 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6906 * src/hildon-date-button.h:
6907 * src/hildon-picker-button.h:
6908 * src/hildon-time-button.c:
6909 * src/hildon-time-button.h:
6911 Some declarations changes to allow gtk-doc to document the widgets
6914 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6916 * src/hildon-date-button.c: Document the widget.
6917 * src/hildon-time-button.c: Document the widget.
6919 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6921 * src/hildon-picker-button.c: Document the widget.
6922 * src/hildon-touch-selector-entry.c: Document the widget.
6924 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6926 * doc/hildon-docs.sgml
6929 * src/hildon-check-button.h
6930 * src/hildon-check-button.c: New functions to create the Hildon
6934 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6936 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6938 * src/hildon-button.h
6939 * src/hildon-button.c
6940 (hildon_button_add_title_size_group)
6941 (hildon_button_add_value_size_group)
6942 (hildon_button_add_image_size_group)
6943 (hildon_button_add_size_groups): New functions to set size groups
6944 for the button labels and image.
6945 (hildon_button_new_full): Removed
6947 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6949 * src/hildon-time-selector.c
6950 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6951 in order to avoid a crash if gconf is not available
6953 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6955 * src/hildon-button.c (hildon_button_set_arrangement)
6956 (hildon_button_construct_child): Don't construct the button child
6957 before setting the arrangement.
6959 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-program-private.h
6962 * src/hildon-program.c
6963 * src/hildon-program.h
6964 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6965 (hildon_program_peek_window_stack)
6966 (hildon_program_pop_window_stack)
6967 (hildon_program_go_to_root_window): HildonProgram now has a
6968 separate list for stackable windows. Functions are provided to
6969 manage that list with a stack-like API.
6971 * src/hildon-stackable-window.c: Stackable window management is
6972 now much simpler with the new HildonProgram API. Windows no
6973 longer need to be manually added to the program, they're
6974 automatically pushed to the top of the stack when shown.
6976 * examples/hildon-stackable-window-example.c: Updated example to
6977 reflect the API changes.
6979 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6981 * src/hildon-touch-selector.c: Comment out unimplemented
6982 hildon_touch_selector_insert_column() to avoid a compile warning.
6984 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6986 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6987 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6988 (hildon_touch_selector_set_column_selection_mode),
6989 (_hildon_touch_selector_set_model),
6990 (hildon_touch_selector_set_model):
6992 Complete review of HildonTouchSelector documentation.
6994 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6996 * doc/hildon-docs.sgml
7000 * src/hildon-gtk.c: Convenience functions for standard Gtk
7001 widgets, used to easily perform frequent operations.
7003 * src/hildon-button-helpers.h
7004 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7006 * src/hildon-helper.h
7007 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7008 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7010 * src/hildon-button.h
7011 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7013 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7015 * src/hildon-button.c (hildon_button_init)
7016 (hildon_button_set_arrangement, hildon_button_construct_child):
7017 Pack the image and the labels inside the same GtkAlignment so
7018 gtk_button_set_alignment() can be used
7020 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7022 * src/hildon-button.h
7023 * src/hildon-button.c
7024 (hildon_button_init, hildon_button_set_image)
7025 (hildon_button_set_image_position)
7026 (hildon_button_construct_child): New functions to add an image to
7029 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7031 * src/hildon-date-button.c
7032 * src/hildon-picker-button.c
7033 * src/hildon-time-button.c
7034 * src/hildon-button.c:
7035 (hildon_button_class_init): "size-flags" renamed to "size"
7036 (hildon_button_set_title): Hide the title label if set to NULL.
7038 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7040 HildonButtonFlags split into HildonButtonArrangement (to set the
7041 button layout) and HildonSizeType (which can be used for any
7044 * src/hildon-button.h
7045 * src/hildon-button.c
7046 (hildon_button_class_init)
7047 (hildon_button_set_arrangement)
7048 (hildon_button_set_property): New "size-flags"
7049 property. "arrangement-flags" renamed to "arrangement".
7050 (hildon_button_new, hildon_button_new_with_text)
7051 (hildon_button_new_full): Constructors updated to reflect type changes.
7053 * src/hildon-helper.h
7054 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7055 to set the size of a widget.
7059 * src/hildon-button-helpers.c
7060 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7062 * src/hildon-date-button.c
7063 * src/hildon-date-button.h
7064 * src/hildon-picker-button.c
7065 * src/hildon-picker-button.h
7066 * src/hildon-time-button.c
7067 * src/hildon-time-button.h: Updated widgets to reflect
7068 HildonButton API changes.
7070 * examples/hildon-button-example.c
7071 * examples/hildon-date-button-example.c
7072 * examples/hildon-picker-button-example.c
7073 * examples/hildon-picker-button-multicolumn-example.c
7074 * examples/hildon-time-button-example.c
7075 * examples/hildon-touch-selector-entry-example.c
7076 * examples/hildon-touch-selector-example.c: Updated examples to
7077 reflect HildonButton API changes.
7079 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7081 * doc/hildon-docs.sgml:
7083 * examples/Makefile.am:
7084 * examples/hildon-touch-selector-entry-example.c:
7086 * src/hildon-touch-selector-entry.c:
7087 * src/hildon-touch-selector-entry.h:
7090 Moved HildonTouchSelectorEntry from sandbox. Added its
7091 documentation and examples.
7093 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7095 * src/hildon-touch-selector.h:
7096 * examples/hildon-picker-button-multicolumn-example.c:
7097 (hildon_touch_selector_append_text_column): Add a gboolean
7098 parameter to determine if text must be centered in the column.
7100 * src/hildon-date-selector.c: (hildon_date_selector_init):
7101 * src/hildon-time-selector.c: (hildon_time_selector_init):
7102 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7103 (create_touch_selector): Update widgets and example to reflect
7106 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7108 * src/hildon-touch-selector.c:
7109 (hildon_touch_selector_set_active_iter): Set also the cursor in
7112 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7114 * doc/hildon-docs.sgml
7117 * src/hildon-toggle-button.c
7118 * src/hildon-toggle-button.h
7119 * src/hildon.h: Removed HildonToggleButton widget, a derived
7120 class is not necessary for this.
7122 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7124 * src/hildon-pannable-area.c,
7125 (hildon_pannable_area_realize),
7126 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7129 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7131 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7132 "done" button the default widget for the dialog.
7134 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7136 * src/hildon-touch-selector.c:
7137 (hildon_touch_selector_class_init),
7138 (hildon_touch_selector_get_property),
7139 (_hildon_touch_selector_set_model),
7140 (_hildon_touch_selector_has_multiple_selection),
7141 (hildon_touch_selector_has_multiple_selection):
7142 Add a "has-multiple-selection" property with a virtual
7143 has_multiple_selection() method to allow derived classes to
7144 override the default value for it. See the method and property
7145 documentation for details.
7147 * src/hildon-touch-selector.h: Add the new API.
7149 * src/hildon-picker-dialog.c: (requires_done_button): Call
7150 hildon_touch_selector_has_multiple_selection() instead of
7151 determining the need for a button itself.
7153 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7155 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7156 (_hildon_touch_selector_set_model),
7157 (hildon_touch_selector_set_model): Move working code to
7158 _hildon_touch_selector_set_mode(). Call the class method instead.
7160 * src/hildon-touch-selector.h: Add (*set_model) to
7161 HildonTouchSelectorClass.
7163 Make hildon_touch_selector_set_model() a virtual method, so that
7164 derived classes can extend it and do fancy stuff with the model.
7166 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7168 * configure.ac: Set back the tarname in AC_INIT to hildon.
7170 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7174 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7175 instead of libesd (NB#86876). Volume handling is still an open issue.
7177 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7180 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7182 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7183 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7184 derived class to ease placement of an entry widget in
7185 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7186 end, where the selector columns are packed now.
7188 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7190 * src/hildon-picker-button.c: Removed the simple _text() API.
7191 * src/hildon-picker-button.h: Likewise.
7193 * src/hildon-touch-selector.h:
7194 * src/hildon-touch-selector.c:
7195 (hildon_touch_selector_new_text),
7196 (hildon_touch_selector_append_text),
7197 (hildon_touch_selector_prepend_text),
7198 (hildon_touch_selector_insert_text):
7200 Moved the simple _text() API from HildonPickerButton to
7201 HildonTouchPicker, to provide better escalability and not to tie
7202 that API to HildonPickerButton.
7204 * examples/hildon-picker-button-example.c: (main): Example updated.
7206 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7208 * src/hildon-button.c: Updated documentation.
7210 * examples/hildon-button-example.c: Add the posibility to create
7211 the buttons using horizontal layout for title and value.
7213 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7215 * src/hildon-app-menu-private.h
7216 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7217 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7218 GtkSizeGroup for the filters, use the 'homogeneous' property of
7221 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7223 * examples/hildon-button-example.c: Updated example.
7225 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7227 * doc/hildon-docs.sgml:
7230 Update documentation.
7232 * examples/Makefile.am: Update renamed examples.
7234 * examples/hildon-picker-button-multicolumn-example.c:
7235 (create_touch_selector), (main): Update after the rename.
7237 * examples/hildon-touch-picker-example.c: Removed.
7238 * examples/hildon-touch-selector-example.c: (value_changed),
7239 (create_selector), (get_visible_content), (main): Renamed from
7240 hildon-touch-picker-example.c
7242 * src/Makefile.am: Updated renamed files.
7244 * src/hildon-date-button.c: (hildon_date_button_init),
7245 (hildon_date_button_get_date), (hildon_date_button_set_date):
7246 * src/hildon-date-selector.c: (hildon_date_selector_init),
7247 (_custom_print_func), (_update_day_model),
7248 (_manage_selector_change_cb),
7249 (hildon_date_selector_select_current_date),
7250 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7251 * src/hildon-date-selector.h:
7252 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7253 (hildon_picker_button_set_property),
7254 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7255 (hildon_picker_button_init), (hildon_picker_button_new_text),
7256 (hildon_picker_button_append_text),
7257 (hildon_picker_button_prepend_text),
7258 (hildon_picker_button_insert_text),
7259 (hildon_picker_button_set_selector),
7260 (hildon_picker_button_get_selector):
7261 * src/hildon-picker-button.h:
7262 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7263 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7264 (_update_title_on_selector_changed_cb), (requires_done_button),
7265 (_hildon_picker_dialog_set_selector),
7266 (hildon_picker_dialog_set_selector),
7267 (hildon_picker_dialog_get_selector):
7268 * src/hildon-picker-dialog.h:
7269 * src/hildon-time-button.c: (hildon_time_button_init),
7270 (hildon_time_button_get_time), (hildon_time_button_set_time):
7271 * src/hildon-time-selector.c: (hildon_time_selector_init),
7272 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7273 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7274 * src/hildon-time-selector.h:
7277 Massive code updates after the rename.
7279 * src/hildon-touch-picker.c: Removed.
7280 * src/hildon-touch-picker.h: Removed.
7282 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7283 (hildon_touch_selector_init), (hildon_touch_selector_map),
7284 (hildon_touch_selector_remove), (_default_print_func),
7285 (_selection_changed_cb), (_create_new_column),
7286 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7287 (hildon_touch_selector_append_text_column),
7288 (hildon_touch_selector_remove_column),
7289 (hildon_touch_selector_set_column_attributes),
7290 (hildon_touch_selector_insert_column),
7291 (hildon_touch_selector_get_num_columns),
7292 (hildon_touch_selector_get_column_selection_mode),
7293 (hildon_touch_selector_set_column_selection_mode),
7294 (hildon_touch_selector_set_print_func),
7295 (hildon_touch_selector_get_print_func),
7296 (hildon_touch_selector_get_active_iter),
7297 (hildon_touch_selector_set_active_iter),
7298 (hildon_touch_selector_get_selected_rows),
7299 (hildon_touch_selector_get_model),
7300 (hildon_touch_selector_set_model),
7301 (hildon_touch_selector_get_current_text),
7302 (_hildon_touch_selector_center_on_selected_items):
7303 * src/hildon-touch-selector.h: Renamed from
7304 hildon-touch-picker.[ch]
7306 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7307 references, code examples, and related documentation.
7309 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7311 * doc/hildon-docs.sgml
7314 * src/hildon-toggle-button.c
7315 * src/hildon-toggle-button.h
7316 * src/hildon.h: New HildonToggleButton widget.
7318 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7320 * src/hildon-button.c: Add API documentation.
7321 (hildon_button_set_size_groups): Check input parameters
7323 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7325 * src/hildon-pannable-area.c
7326 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7327 effect after reaching the movement thredshold. This way we start
7328 using the distance after passing the thredshold.
7330 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7332 * src/hildon-button.c: (hildon_button_set_property): Use the
7333 appropriate g_value_get_flags() method.
7335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7337 * doc/hildon-docs.sgml:
7340 Add the touch pickers, picker dialogs, and picker button widgets
7341 to the documentation.
7343 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7345 * src/hildon-button.c: (hildon_button_set_property),
7346 (hildon_button_class_init): Make "arrangement-flags" a proper
7347 G_TYPE_FLAGS derived property.
7349 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7351 * examples/Makefile.am: Add below examples.
7352 * examples/hildon-date-button-example.c:
7353 * examples/hildon-picker-button-example.c:
7354 * examples/hildon-picker-button-multicolumn-example.c:
7355 * examples/hildon-time-button-example.c:
7356 * examples/hildon-touch-picker-example.c:
7358 Add examples for the recently added touch pickers,
7359 picker dialogs, and picker button widgets.
7361 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7363 * src/hildon-button.c: Add some API documentation
7365 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-button.h
7368 * src/hildon-button.c
7370 (hildon_button_new_with_text): New constructor to create a button
7371 with no text at all.
7372 (hildon_button_init, hildon_button_set_arrangement)
7373 (hildon_button_set_title, hildon_button_set_value)
7374 (hildon_button_set_text)
7375 (hildon_button_construct_child): Hide the value when it's not used
7376 so the rest of the text is properly aligned.
7377 Allow creating buttons with arbitrary widgets inside (not just
7378 title/value labels).
7380 * examples/hildon-button-example.c (vertical_buttons_window)
7381 (horizontal_buttons_window): Update example to use new API.
7383 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7385 * src/Makefile.am: Added HildonTimeButton.
7386 * src/hildon-time-button.c: Added missing LGPL header.
7387 * src/hildon-time-button.h: Added missing LGPL header.
7388 * src/hildon.h: Add hildon-time-button.h
7390 Copied HildonTimeButton from sandbox to trunk. Future work on this
7391 widget must take place in trunk.
7393 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7395 * src/Makefile.am: Added HildonDateButton.
7396 * src/hildon-date-button.c: Update includes.
7397 * src/hildon.h: Add hildon-date-button.h
7399 Copied HildonDateButton from sandbox to trunk. Future work on this
7400 widget must take place in trunk.
7402 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7404 * src/Makefile.am: Added HildonPickerButton.
7405 * src/hildon-picker-button.h: Update includes.
7406 * src/hildon.h: Add hildon-picker-button.h
7408 Copied HildonPickerButton from sandbox to trunk. Future work on
7409 this widget must take place in trunk.
7411 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7413 * src/Makefile.am: Added HildonPickerDialog.
7414 * src/hildon-picker-dialog.c: Update includes.
7415 * src/hildon.h: Add hildon-picker-dialog.h
7417 Copied HildonPickerDialog from sandbox to trunk. Future work
7418 on this widget must take place in trunk.
7420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/Makefile.am: Added HildonTimeSelector.
7423 * src/hildon.h: Add hildon-time-selector.h
7425 Copied HildonTimeSelector widget from sandbox to trunk. Future
7426 work on this widget must happen in trunk.
7428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/Makefile.am: Added HildonDateSelector.
7431 * src/hildon.h: Add hildon-date-selector.h
7433 Copied HildonDateSelector widget from sandbox to trunk. Future
7434 work on this widget must happen in trunk.
7436 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7438 * src/Makefile.am: Added HildonTouchPicker.
7439 * src/hildon-touch-picker.c: Update includes.
7440 * src/hildon.h: Add hildon-touch-picker.h
7442 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7443 on this widget must happen in trunk.
7445 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7447 * src/hildon-pannable-area.c:
7448 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7450 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7452 * examples/hildon-app-menu-example.c (main): Let the window
7455 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7457 * src/hildon-pannable-area.c
7458 (hildon_pannable_area_class_init): Set the min value of the
7459 overshoot properties to zero, which points out that not
7460 overshooting allowed.
7462 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7464 Modified the procedure to get the widget at a point inside the
7465 pannable area when using the movement type signals. Now the user
7466 has to call a function to get the child, that way we just
7467 calculate the child in case the user really want to use it and not
7470 * src/hildon-marshalers.list: Modified the marshallers, now we do
7471 not have the widget as a parameter.
7473 * src/hildon-pannable-area.c
7474 (hildon_pannable_area_motion_notify_cb),
7475 (hildon_pannable_area_class_init),
7476 (hildon_pannable_get_child_widget_at): Removed the widget
7477 parameter from the signal callback. We have also refactored the
7478 emission of the signals.
7480 * src/hildon-pannable-area.h: Added a new method to the API to
7481 calculate a widget at a point inside the pannable area,
7482 hildon_pannable_get_child_widget_at.
7484 * examples/hildon-pannable-area-example-4.c
7485 (horizontal_movement): Modified the example to use the new API,
7486 added condition to control which widget is under the event. This
7487 way we can avoid scrolling laterally over other widgets.
7489 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7491 * src/hildon-pannable-area.c
7492 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7493 modes, we stop getting the pointer events due to returning the
7494 callback without properly calling the get pointer again. Fixed
7495 also an error using the hscroll and vscroll.
7497 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7499 * src/hildon-app-menu-private.h
7500 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7501 (hildon_app_menu_button_release, hildon_app_menu_init)
7502 (hildon_app_menu_class_init): Don't hide the menu on button
7503 release if the user didn't press outside first.
7505 * src/hildon-window.h
7506 * src/hildon-window.c (hildon_window_toggle_menu)
7507 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7508 hildon_window_toggle_menu a virtual function for the stackable
7509 window to override it.
7511 * src/hildon-stackable-window.h
7512 * src/hildon-stackable-window-private.h
7513 * src/hildon-stackable-window.c
7514 (hildon_stackable_window_realize)
7515 (hildon_stackable_window_finalize)
7516 (hildon_stackable_window_class_init)
7517 (hildon_stackable_window_init)
7518 (hildon_stackable_window_set_main_menu): New function to set the
7519 app menu of a HildonStackableWindow.
7521 * examples/hildon-app-menu-example.c: Remove the button to show
7522 the app menu, now it'll be shown when clicking on the title bar
7525 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7527 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7528 set the widget name if the arrangement flags do not specify
7531 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7533 * src/hildon-button.c: (hildon_button_set_property),
7534 (hildon_button_class_init), (hildon_button_new_full),
7535 (hildon_button_set_arrangement): Added "arrangement-flags"
7538 Make the HildonButtonFlags a construction-only property, to allow
7539 subclasses to set them properly.
7541 2008-07-21 Tim Janik <timj@imendio.com>
7543 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7544 insertion position after backspace, so additional digits are appended,
7547 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7549 * src/hildon-pannable-area.c,
7550 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7551 TODO list, it was complete and removed the g_debug and g_print
7554 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7556 Added the movement modes to the hildon-pannable-area, with this
7557 modes the developers can control in which directions the widget
7558 can scroll. They can also connect to signals in order to do
7559 something when that happens, allowing applications scroll. There
7560 is an example uploaded showing how to use it.
7562 * examples/Makefile.am:
7563 * examples/hildon-pannable-area-example-4.c: Added this example of
7564 an application using the modes.
7566 * src/hildon-marshalers.list: Added a new marshaller for the new
7569 * src/hildon-pannable-area.h: Added new enumerations and flags in
7570 order to control the movement modes and the new signals to warn
7571 about the movements in the area.
7573 * src/hildon-pannable-area.c:
7574 (hildon_pannable_axis_scroll),
7575 (hildon_pannable_area_scroll),
7576 (hildon_pannable_area_motion_notify_cb),
7577 (hildon_pannable_area_get_property),
7578 (hildon_pannable_area_set_property),
7579 (hildon_pannable_area_map),
7580 (hildon_pannable_area_class_init),
7581 (hildon_pannable_area_init),
7582 (hildon_pannable_area_jump_to): Added the modes to control the
7583 movement in the widget. We have added properties to control it,
7584 signals to warn about the movements and refactored some code.
7586 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7588 Changes required in order to allow vfast_factor set to zero to
7591 * src/hildon-pannable-area.c:
7592 (hildon_pannable_area_button_press_cb): Changed the condition, it
7593 is required for not allowing click when vfast_factor is zero.
7594 (hildon_pannable_area_timeout): Initialized velocity variables
7595 when we stop moving, it was less than 1 but not zero and we need
7596 to check zero in some situations.
7597 (hildon_pannable_area_class_init): Changed the default value of
7598 the speed factor, now the button_press is just sent in case the
7599 speed is 2 per cent of the max speed.
7600 (hildon_pannable_area_init): Initialization with 0.
7602 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7604 * src/hildon-pannable-area.c,
7605 (hildon_pannable_area_get_topmost): replaced
7606 gdk_window_get_children with gdk_window_peek_children, this way we
7607 do not have to free the list because it is not a copy.
7609 (hildon_pannable_axis_scroll),
7610 (hildon_pannable_area_scroll),
7611 (hildon_pannable_area_timeout),
7612 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7613 two parameters that were only used inside the
7614 hildon_pannable_area_scroll function.
7616 * examples/hildon-pannable-area-example.c,
7617 (get_sawtooth_label): Fixed small memory leak.
7619 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7621 More checks for the case where the overshoot is bigger than the
7624 * src/hildon-pannable-area.c:
7625 (hildon_pannable_draw_vscroll),
7626 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7627 to draw the slider of the scrollbar under the other scrollbar.
7628 (hildon_pannable_area_expose_event): added new checks to control
7629 the drawing of the overshooting area rectangle, in case it is too
7630 big for the area of the widget.
7631 (hildon_pannable_area_size_allocate): add more checks to avoid
7632 setting a position to the child widget outside the area.
7634 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7636 * src/hildon-pannable-area.c
7637 (hildon_pannable_area_size_allocate): Added conditions to control
7638 when overshooting is bigger than the allocated space for the
7639 children, this avoids negative allocations.
7641 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7643 * doc/hildon-docs.sgml
7645 * examples/Makefile.am
7646 * examples/hildon-button-example.c
7648 * src/hildon-button.c
7649 * src/hildon-button.h
7650 * src/hildon.h: Initial version of the new HildonButton widget,
7653 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7655 * src/hildon-pannable-area.c:
7656 (hildon_pannable_area_button_press_cb),
7657 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7658 (hildon_pannable_area_motion_notify_cb),
7659 (hildon_pannable_area_button_release_cb),
7660 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7661 (hildon_pannable_area_jump_to_child):
7663 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7665 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7667 * examples/Makefile.am
7668 * examples/hildon-pannable-area-touch-grid-example.c
7669 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7670 the Hildon Touch List and Hildon Touch Grid using the
7671 HildonPannableArea widget.
7673 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7675 * src/hildon-pannable-area.c,
7676 (hildon_pannable_area_button_press_cb),
7677 (hildon_pannable_area_refresh),
7678 (hildon_pannable_area_scroll),
7679 (hildon_pannable_area_motion_notify_cb),
7680 (hildon_pannable_area_button_release_cb),
7681 (hildon_pannable_area_expose_event),
7682 (hildon_pannable_area_add),
7683 (hildon_pannable_area_remove),
7684 (hildon_pannable_area_realize),
7685 (hildon_pannable_area_size_allocate),
7686 (hildon_pannable_area_class_init),
7687 (hildon_pannable_area_init),
7688 (hildon_pannable_area_scroll_to_child),
7689 (hildon_pannable_area_jump_to_child): Fixed the problem of
7690 removing the child from the GtkBin, we have rearranged the widget
7691 hierarchy, now there is no GtkAlignment which was not doing
7692 anything interesting but breaking some of the assumptions of
7693 GtkContainer. Now developers if they want to add a GtkAlignment
7694 they could, but it is not inside the area.
7696 We had to review the whole allocation/expose process, now it is
7697 improved and we save at least three signals which would be saving
7698 some time when rendering the widget. The allocation of the
7699 scrollbars is now made in the allocate method as usual.
7701 We have also added some conditions in order to control when there
7702 is no child of the pannable area. Maybe we will need more work
7705 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7707 * src/hildon-pannable-area.c,
7708 (hildon_pannable_area_dispose): Released the fade-out timeout when
7709 disposing the widget.
7711 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7713 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7714 zero, we are going to use that property in order to deactivate the
7716 (hildon_pannable_axis_scroll),
7717 (hildon_pannable_area_size_allocate): Added conditions to control
7718 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7719 call, now it is called in all situations and we can remove calls
7720 in the allocate method.
7721 (hildon_pannable_area_map): Control the situation when
7722 overshoot_max is zero, we do not need the timeout.
7723 (hildon_pannable_area_class_init): Added documentation in order to
7724 point out that setting zero to overshoot_max means deactivate
7727 NOTE: removed trailing whitespaces from my previous comments of
7730 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7732 * src/hildon-pannable-area.c
7733 (hildon_pannable_area_get_property),
7734 (hildon_pannable_area_set_property),
7735 (hildon_pannable_area_map),
7736 (hildon_pannable_area_class_init),
7737 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7738 to cause the widget give a hint about its panning abilities upon
7741 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7743 * src/hildon-pannable-area.c: Several documentation improvements.
7745 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7747 * src/hildon-program.c
7748 * src/hildon-stackable-window.c: Update documentation.
7750 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7752 * src/hildon-stackable-window.c (get_previous_window_if_last):
7753 Renamed get_last_window()
7754 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7755 (hildon_stackable_window_unset_program):
7757 (get_previous_window_if_last):
7758 Detect if the window hasn't been added to a HildonProgram.
7760 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7762 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7764 * src/hildon-pannable-area.c
7765 (hildon_pannable_area_button_press_cb),
7766 (hildon_pannable_axis_scroll),
7767 (hildon_pannable_area_scroll),
7768 (hildon_pannable_area_timeout),
7769 (hildon_pannable_calculate_vel_factor),
7770 (hildon_pannable_area_get_property),
7771 (hildon_pannable_area_set_property),
7772 (hildon_pannable_area_class_init),
7773 (hildon_pannable_area_init),
7774 (hildon_pannable_area_scroll_to),
7775 (hildon_pannable_area_jump_to),
7776 (hildon_pannable_area_scroll_to_child),
7777 (hildon_pannable_area_jump_to_child):
7778 * src/hildon-pannable-area.h: Added the new API functions:
7779 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7780 hildon_pannable_area_scroll_to_child,
7781 hildon_pannable_area_jump_to_child
7784 * examples/Makefile.am
7785 * examples/hildon-pannable-area-example-2.c
7786 * examples/hildon-pannable-area-example-3.c: Added these two new
7787 examples in order to test and show how the new APIs work.
7789 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7791 * examples/hildon-stackable-window-example.c (new_window):
7792 * src/Makefile.am (noinst_HEADERS):
7793 * src/hildon-program.c (hildon_program_go_to_root_window):
7794 * src/hildon-program.h:
7795 * src/hildon-stackable-window-private.h:
7796 * src/hildon-stackable-window.c:
7797 * src/hildon-stackable-window.h:
7798 Create hildon-stackable-window-private.h
7799 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7801 * examples/hildon-app-menu-example.c (create_menu):
7802 * examples/hildon-hvolumebar-insensitive-example.c (main):
7803 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7804 * examples/hildon-toolbar-seekbar-example.c (main):
7805 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7806 * src/hildon-banner.c (hildon_banner_set_property):
7807 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7808 Fix compilation warnings
7810 * src/hildon-window.c:
7813 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7815 * src/hildon-stackable-window.c
7816 (hildon_stackable_window_unset_program):
7817 Calculate correctly whether to show the previous window if the
7818 last one is removed from the stack.
7819 (hildon_stackable_window_go_to_root_window):
7820 Send delete events starting from the topmost window.
7821 Stop if one of the windows is not destroyed.
7823 (hildon_stackable_window_delete_event)
7824 (hildon_stackable_window_class_init):
7825 Ignore the delete event if the window is not the topmost one.
7827 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7829 * src/hildon-pannable-area.c
7830 (hildon_pannable_area_expose_event): Fixed a problem when
7831 selecting the background color of the scrollbars.
7833 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7835 * examples/hildon-stackable-window-example.c
7836 * src/hildon-stackable-window.c
7837 * src/hildon-stackable-window.h
7838 hildon_stackable_window_go_home() renamed to
7839 hildon_stackable_window_go_to_root_window()
7840 Send delete events to windows rather than closing them with
7841 gtk_widget_destroy()
7843 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7845 * src/hildon-pannable-area.c
7846 (hildon_pannable_area_button_release_cb): Fix overshooting in
7849 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7851 * src/hildon-pannable-area.c
7852 (hildon_pannable_area_init): Initially show the scroll indicators.
7853 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7855 Add initial effect showing the widget is pannable.
7857 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7859 * src/hildon-pannable-area.c
7860 (hildon_pannable_area_class_init)
7861 (hildon_pannable_area_set_property)
7862 (hildon_pannable_area_get_property)
7863 (hildon_pannable_area_button_press_cb):
7864 New 'velocity_fast_factor' property to decide which velocity is
7867 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7869 * src/hildon-pannable-area.c
7870 (hildon_pannable_draw_hscroll)
7871 (hildon_pannable_draw_vscroll):
7872 Use float variables to calculate the size of the scrollbars to
7873 avoid error propagation and resizing during scrolling.
7875 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7877 * src/hildon-pannable-area.c
7878 (hildon_pannable_draw_vscroll)
7879 (hildon_pannable_draw_hscroll):
7880 Define a minimum size for the scroll bars
7882 * src/hildon-stackable-window.c
7883 (hildon_stackable_window_go_home): Fix compilation warning
7884 (get_last_window): Minor optimizations
7885 (hildon_stackable_window_class_init): Fix initialization of
7888 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7890 * src/hildon-stackable-window.c: Fixed typos in doc
7892 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7894 * src/hildon-pannable-area.c
7895 (hildon_pannable_area_scroll):
7896 Calculate here whether we need to scroll instead of using the booleans
7897 that tell us whether to /draw/ the scrolling bars.
7899 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7901 * src/hildon-app-menu.h
7903 * src/hildon-app-menu.c
7904 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7905 multiple filter groups related code and API. Now we support only
7907 * examples/hildon-app-menu-example.c:
7909 Update to reflect API changes.
7911 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7913 * src/hildon-stackable-window.c
7914 (hildon_stackable_window_class_init):
7915 Add hildon_stackable_window_realize.
7916 (hildon_stackable_window_realize):
7917 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7918 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7919 to apply theming and behavior specific to HildonStackableWindow
7922 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7924 * src/hildon-note.c (hildon_note_button_release):
7925 Close information notes also when tapping on them
7927 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7929 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7930 ELASTICITY, refactor and review, fix some issues with drawing
7933 * src/hildon-pannable-area.c:
7934 (hildon_pannable_area_button_press_cb): removed the conditions to
7935 avoid clicks when overshooting. It is not required
7937 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7938 define. Refatored and reviewed the code, now we do not need to
7939 manage velocity in motion_notify.
7941 (hildon_pannable_area_motion_notify_cb): We have moved the code
7942 that controls the area_scroll to the axis_scroll function and get
7943 rid of duplicated code.
7945 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7947 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7949 (hildon_pannable_draw_vscroll),
7950 (hildon_pannable_draw_hscroll): Fixed the problems with the
7951 scrollbar drawing, now we do not use two surfaces, it is easier
7952 and saves resources.
7954 (hildon_pannable_area_get_property): Style modification.
7956 (hildon_pannable_area_class_init): Changed some default values.
7958 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7960 * src/hildon-stackable-window.c: Fix some typos in the
7963 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7965 * src/hildon-dialog.c:
7966 Change indentation style
7969 (hildon_note_button_release):
7970 Use root coordinates to check if the release event happened
7973 * src/hildon-app-menu.c
7974 (hildon_app_menu_button_release):
7975 Remove unnecessary check
7977 * examples/hildon-app-menu-example.c
7979 Add cast to fix warning
7981 * src/hildon-app-menu.c
7982 (hildon_app_menu_class_init):
7983 New inner-border style property.
7984 Set all default spacings to 16
7985 (hildon_app_menu_init):
7986 Use vertical-spacing to set the space between filter buttons and
7987 regular menu buttons.
7988 Set the default container border using the inner-border value.
7990 * examples/hildon-app-menu-example.c
7992 Don't set the menu border explicitly, now we have the inner-border
7993 style property for that.
7995 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7997 * src/hildon-app-menu.c (hildon_app_menu_init):
7998 Make the window modal
8000 * src/hildon-note.c (hildon_note_map)
8001 * src/hildon-app-menu.c (hildon_app_menu_map):
8002 Destroy the grab window if we're unable to grab the pointer
8004 * src/hildon-app-menu-private.h
8005 * src/hildon-app-menu.c
8006 (hildon_app_menu_init, hildon_app_menu_finalize)
8007 (hildon_app_menu_map, hildon_app_menu_unmap)
8008 (hildon_app_menu_button_release)
8009 (grab_transfer_window_get):
8010 Bring back the grab window
8011 (hildon_app_menu_realize):
8012 Decorate the window, set WM hint for Matchbox
8014 * src/hildon-note.c (hildon_note_realize):
8015 * src/hildon-banner.c (hildon_banner_realize):
8016 Add WM hints for Matchbox
8018 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8020 * src/hildon-app-menu-private.h
8021 * src/hildon-app-menu.c
8022 (hildon_app_menu_init, hildon_app_menu_finalize)
8023 (hildon_app_menu_map, hildon_app_menu_unmap)
8024 (hildon_app_menu_button_release):
8025 Remove the grab window, it's not needed anymore
8027 * src/hildon-program.c
8028 Fixed typo in documentation
8030 * src/hildon-app-menu.h
8031 * src/hildon-app-menu.c
8032 * examples/hildon-app-menu-example.c
8033 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8035 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8038 Added new transfer_window and close_if_pressed_outside private
8040 (hildon_note_rebuild):
8041 Don't add a cancel button to the information note. It will be
8042 closed when tapping outside
8043 Remove the comment about the OK button in the documentation
8044 (hildon_note_realize):
8045 Set the notification type hint
8046 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8047 Grab/ungrab pointer and keyboard if the note has to be closed when
8049 (hildon_note_button_release):
8050 Close the note when tapping outside (if applicable)
8052 * src/hildon-app-menu.c
8053 Grab/ungrab pointer and keyboard on map/unmap
8054 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8055 Close the menu on button release, not button press
8057 * src/hildon-banner.c
8058 (hildon_banner_set_property)
8059 (hildon_banner_check_position):
8060 Make the banner use the full width of the screen
8061 (hildon_banner_show_information)
8062 (hildon_banner_show_information_with_markup):
8063 Don't display an icon by default
8065 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8067 Added fading scrollbars and adapted all the overshooting code to
8068 horizontal scrolling. We have also fixed bugs with overshooting
8069 and current fading implementation.
8071 * src/hildon-pannable-area.c
8072 (hildon_pannable_area_scroll_indicator_fade): Time out function
8073 used to change the transparency of the scrollbars.
8075 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8076 control and fixed a problem with fading, we now remove the fade
8077 timeout before adding a new one.
8079 (hildon_pannable_axis_scroll):
8080 (hildon_pannable_area_scroll):
8081 (hildon_pannable_area_timeout): Added this functions so we can use
8082 the scroll code both for vertical and horizontal.
8084 (hildon_pannable_area_motion_notify_cb):
8085 (hildon_pannable_area_button_release_cb): Added the horizontal
8086 scrolling control, fixed a problem with the overshooting timeout.
8088 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8089 painting of the scrolls.
8091 (hildon_pannable_draw_vscroll):
8092 (hildon_pannable_draw_hscroll):
8093 (hildon_pannable_area_expose_event):
8094 Draw both scrollbars and rectangles in the overshooting area.
8096 (hildon_pannable_area_get_property):
8097 (hildon_pannable_area_set_property):
8098 Modified the overshoot property to overshoot_max
8100 (hildon_pannable_area_map):
8101 Replaced the comments symbols.
8103 (hildon_pannable_area_size_allocate):
8104 (hildon_pannable_area_class_init):
8105 (hildon_pannable_area_init): Added horizontal scroll, fading
8106 effect properties, fixed a problem when overshooting in the bottom
8109 * examples/hildon-pannable-area-example.c:
8110 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8111 looks better in the example.
8113 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8115 * src/hildon-window.c
8116 * src/hildon-window.h
8117 (hildon_window_class_init)
8118 (hildon_window_unset_program)
8119 (hildon_window_unset_program_real):
8120 Make unset_program a virtual function
8122 * src/hildon-stackable-window.c
8123 * src/hildon-stackable-window.h
8124 Added hildon_stackable_window_go_home()
8126 * examples/Makefile.am
8127 * examples/hildon-stackable-window-example.c
8128 HildonStackableWindow example
8130 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8132 * hildon-pannable-area.c: Added the overshoot property and removed
8133 the OVERSHOOT define. Fixed an indent style error.
8134 (hildon_pannable_area_motion_notify_cb):
8135 (hildon_pannable_area_get_property):
8136 (hildon_pannable_area_set_property): Add overshoot property.
8138 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8141 (hildon_pannable_area_class_init): Installed the new property.
8143 * hildon-pannable-area-example.c: Added a sawtooth function, this
8144 way it is easier to check the movement in the pannable.
8145 (get_sawtooth_label): Added this function.
8146 (main): Now we get the labels from the new get_sawtooth_label
8149 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8151 * src/hildon-app-menu.h
8152 * src/hildon-app-menu.c
8153 Renamed API variables for consistency
8155 (hildon_app_menu_popup): Use also the default window size to
8156 decide where to place the menu
8158 (hildon_app_menu_init, hildon_app_menu_class_init): New
8159 external-border style property
8161 2008-05-26 Michael Natterer <mitch@imendio.com>
8163 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8164 widget_class->tap_and_hold_setup signal slot doesn't exist any
8165 longer, stop overriding it.
8167 (hildon_time_editor_init): g_signal_connect() to the
8168 tap-and-hold-setup signal instead.
8170 (hildon_time_editor_entry_keypress): add cast to fix warning.
8172 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8174 * doc/hildon-docs.sgml
8176 * examples/Makefile.am
8177 * examples/hildon-app-menu-example.c
8179 * src/hildon-app-menu-private.h
8180 * src/hildon-app-menu.c
8181 * src/hildon-app-menu.h
8183 New HildonAppMenu widget
8185 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8187 Rearranged the inheritance of the pannable area, now it inherits
8188 from GtkBin. This will allow us to control the event_window and
8189 the allocation process of the widget, required for some effects.
8191 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8192 GtkBin structures. * src/hildon-pannable-area.c: Added the
8193 event_window variable.
8194 (hildon_pannable_area_button_press_cb):
8195 (hildon_pannable_area_button_release_cb):
8196 (hildon_pannable_area_motion_notify_cb):
8197 Changed the signature of the method, now we override the event
8198 callback instead of connecting to the signal.
8200 (hildon_pannable_area_realize):
8201 (hildon_pannable_area_unrealize):
8202 (hildon_pannable_area_map):
8203 (hildon_pannable_area_unmap):
8204 (hildon_pannable_area_size_allocate):
8205 Added functions to control the widget construction. We add a
8206 INPUT_ONLY window and we put it over the widgets inside the
8207 container, this event_window handles the events.
8209 (hildon_pannable_area_class_init):
8210 Replaced the signal connections with overrides of the event
8213 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8215 Bouncing effect added when touching the borders, you can change
8216 the elasticity of the border changing the ELASTICITY define.
8218 * src/hildon-pannable-area.c: Added ELASTICITY define.
8219 (hildon_pannable_area_timeout): Added inverse velocity when
8220 touching the border of the child widget, that causes a bounce.
8222 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8224 Improved performance, we now do not go to the X server in order to
8225 get the list of window children. Apparently the effect is the
8226 same, we have to be careful and check if this breaks something in
8229 * src/hildon-pannable-area.c:
8230 (get_ordered_children): Removed this function.
8231 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8232 the children windows function with gdk_window_get_children.
8234 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8236 * src/hildon-pannable-area.c:
8237 (hildon_pannable_area_dispose): Fixed a crash when closing the
8238 window and kinetics is activated.
8240 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8242 * src/hildon-pannable-area.h
8243 * src/hildon-pannable-area.c
8244 Changed indentation style to meet the one used in Hildon
8246 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8248 Reviewed the interaction of the AUTO mode, now we use the time
8249 attribute of the events and calculate the velocity in the motion,
8250 doing a gimp like calculation. The velocity is calculated in each
8251 motion event using the last velocity and the current one, the
8252 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8254 * src/hildon-pannable-area.c: Replaced the time based algorithm
8256 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8257 timeout for the AUTO mode when we are still moving the cursor. We
8258 added also the velocity calculation in this function.
8259 (hildon_pannable_area_button_release_cb): launch the timeout in
8260 case we are in AUTO mode. There are still some constants here that
8261 come from the old implementation that should be reviewed and
8264 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8266 * doc/hildon-docs.sgml
8269 * src/hildon-stackable-window.c
8270 * src/hildon-stackable-window.h
8272 New HildonStackableWindow widget
8274 * examples/hildon-dialog-example.c
8275 * examples/hildon-pannable-area-example.c
8278 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8280 * src/hildon-dialog.c
8281 (hildon_dialog_new_with_buttons): New constructor.
8283 * examples/hildon-dialog-example.c
8284 (main): Update the example to use the new
8285 hildon_dialog_new_with_buttons().
8287 * examples/hildon-pannable-area-example.c
8288 (main): Update example.
8290 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8292 * doc/hildon-docs.sgml
8294 Added HildonPannableArea to the documentation.
8296 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8298 * doc/visual_index.xml
8299 Fix reference to HildonLoginDialog in documentation
8301 * doc/hildon-docs.sgml
8303 * examples/Makefile.am
8304 * examples/hildon-dialog-example.c
8306 * src/hildon-dialog.c
8307 * src/hildon-dialog.h
8309 New HildonDialog widget.
8311 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8313 * src/hildon-pannable-area.c
8314 Merge latest changes (r4318, r4342) from libmokoui trunk
8316 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8318 * examples/Makefile.am
8319 * examples/hildon-pannable-area-example.c
8321 * src/hildon-pannable-area.c
8322 * src/hildon-pannable-area.h
8324 New HildonPannableArea widget.
8326 2008-04-15 18:05:19 <timj@imendio.com>
8328 * src/hildon-banner.c: revert the recent change, that introduced
8329 gtk_window_present() calls. this reopens:
8330 Bug 78481 - [freetest] information banners are hidden under browser menu
8331 But resolves another variant of:
8332 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8334 2008-04-15 13:21:13 <timj@imendio.com>
8336 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8337 recreated its layout, spotted by Kris. this fixes all remaining
8338 artefacts and stability issues with the banner code. in particular:
8339 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8341 2008-04-14 16:52:59 <timj@imendio.com>
8343 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8344 operating on unrealized widgets, fixes:
8345 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8347 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8349 2008-04-09 Kristian Rietveld <kris@imendio.com>
8351 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8352 makes banner disappear.
8353 Fixes: NB#79182: info banner flickering with certain message lengts.
8355 * src/hildon-banner.c (hildon_banner_constructor),
8356 (hildon_banner_init), (hildon_banner_set_text),
8357 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8358 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8359 FALSE, reset size requests of label and banner,
8360 (force_to_wrap_truncated): when the text is too wide, always enforce
8361 the maximum possible width instead of recalculating it from the
8362 layout; enforce the maximum banner height of 3 lines,
8363 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8364 nicer wrapping and no truncated chars if space gets tight.
8366 * src/hildon-banner-private.h: add has_been_wrapped and
8367 has_been_truncated fields.
8369 2008-04-07 Sven Herzberg <sven@imendio.com>
8371 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8372 local values in hildon_date_editor_size_allocate
8374 * src/hildon-date-editor.c: moved the real allocation code into the
8377 2008-04-07 Sven Herzberg <sven@imendio.com>
8379 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8380 local values in hildon_date_editor_size_allocate
8382 * src/hildon-date-editor.c: merged the two if() branches together
8384 2008-04-07 Sven Herzberg <sven@imendio.com>
8386 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8387 local values in hildon_date_editor_size_allocate
8389 * src/hildon-date-editor.c: changed the arguments of the if()
8392 2008-04-07 Sven Herzberg <sven@imendio.com>
8394 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8395 local values in hildon_date_editor_size_allocate
8397 * src/hildon-date-editor.c: split the calculation of the allocation
8398 from the real allocation
8400 2008-03-27 Michael Natterer <mitch@imendio.com>
8402 Fixes: NB#81696: The passcode is not overwritten even after
8405 * src/hildon-code-dialog.c
8406 (hildon_code_dialog_button_clicked)
8407 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8408 because that doesn't overwrite selected text. Instead, emit the
8409 "commit" signal on the entry's im_context so the entry's normal
8410 insert logic is triggered. Set the cursor to the end of the entry
8411 after each insert operation so that we *only* insert in the middle
8412 of the text if something was selected.
8414 2008-03-27 Michael Natterer <mitch@imendio.com>
8416 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8417 selector cannot be opened
8419 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8420 when the popup color selector is created. Please connect to this
8421 signal in order to set the dialog's help ID.
8423 2008-03-25 Sven Herzberg <sven@imendio.com>
8425 Fixes: MB#1212: Hide info banners (infoprints) on click
8427 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8428 extracted the close event simulation into an extra function
8429 (hildon_banner_button_press_event): simulate a close event and destroy
8430 the widget if the event wasn't handled
8431 (hildon_banner_class_init): added the button_press_event handler
8432 (hildon_banner_init): added button-press events to the widget
8434 2008-03-25 Sven Herzberg <sven@imendio.com>
8436 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8437 Patch from: Mohammad Anwari <mdamt@maemo.org>
8439 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8440 instead of the right in RTL mode
8441 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8442 breadcrumb button list in RTL mode
8443 * src/hildon-caption.c: mirror the appearance of the caption widget in
8445 * src/hildon-date-editor.c: mirror appearance of the date editor in
8447 * src/hildon-time-editor.c: mirror appearance of the time editor in
8449 * src/hildon-window.c: fix the position of the popup in RTL mode
8451 2008-03-25 Sven Herzberg <sven@imendio.com>
8453 Amendment to the fix of NB#22072. Fix compilation.
8455 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8457 2008-03-19 Sven Herzberg <sven@imendio.com>
8459 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8462 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8463 timeout id properly when the timeout will disappear this leaves no
8464 artifacts around in the destroy(); there will only be the timeout
8465 created by hildon_banner_ensure_timeout() and adding a new timeout
8466 will also work if the timeout gets removed because the timeout_handler
8469 2008-03-19 Michael Natterer <mitch@imendio.com>
8471 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8473 * src/hildon-volumebar.c
8474 * src/hildon-vvolumebar.c
8475 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8476 the widget becomes focussable at all.
8478 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8479 set the focus to wither the mute button or the volumebar.
8481 Remove own "can-focus" property and instead listen to
8482 notify::can-focus in order to update the widget's state.
8484 Implement GtkWidget::focus() and make sure we can also *leave* the
8485 widget, not only enter it, depending on volumebar orientation and
8486 requested focus direction.
8488 Clean up set_mute() to cooperate nicely with all the above.
8490 2008-03-04 Michael Natterer <mitch@imendio.com>
8492 Fixes: NB#78481: information banners are hidden under browser menu
8494 * src/hildon-banner.c: call gtk_window_present() on the banners so
8495 they are risen if they are already visible.
8497 2008-03-03 Sven Herzberg <sven@imendio.com>
8499 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8501 * examples/hildon-window-menu-example.c: (main): extended the window
8502 menu example to serve as a testcase for automatically added
8503 accelerator groups, too
8504 * src/hildon-window.c: (hildon_window_add_accel_group),
8505 (hildon_window_set_menu): added patch by Tommi Komulainen
8507 2008-03-03 Sven Herzberg <sven@imendio.com>
8509 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8511 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8512 knowledge about the border allocators used within GTK+
8514 2008-02-26 Sven Herzberg <sven@imendio.com>
8516 Fixes: MB#2981: Build with asserts broken
8518 * src/hildon-date-editor.c,
8519 * src/hildon-number-editor.c,
8520 * src/hildon-time-editor.c,
8521 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8522 the proper GType instance check
8524 2008-02-25 Sven Herzberg <sven@imendio.com>
8526 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8528 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8529 * examples/hildon-window-menu-example.c: (main): explicitly show
8531 * src/hildon-window.c:
8532 (hildon_window_set_main_menu): moved most of the code from set_menu()
8533 to this place; skipped the call to gtk_widget_show_all(); also didn't
8534 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8535 (hildon_window_set_menu): removed most of the code, just keep the
8536 questionable gtk_widget_show_all()
8537 * src/hildon-window.h: added the new function and deprecate the old
8540 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8546 * debian/changelog: Updating.
8548 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8551 * pkgconfig/Makefile.am:
8552 * pkgconfig/hildon.pc.in:
8555 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8556 use newly created API_MAJOR_VERSION.
8558 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8564 * debian/changelog: Updating.
8566 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8568 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8570 Add outer_border style property, we use it but don't define it (!).
8574 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8576 * examples/hildon-bread-crumb-trail-example.c (main):
8580 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8582 Fix logic for the bread crumb trail node removal.
8586 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8592 * debian/changelog: Updating.
8594 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 Patch by Alejandro to get/set passwords dialogs accesibility.
8598 * hildon-1/src/hildon-get-password-dialog.c:
8599 * hildon-1/src/hildon-set-password-dialog.c:
8600 Set atk_set_name to the passwd entries in order to allow
8601 accessibility by name on this entries.
8603 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * debian/control: Updating gtk dep.
8610 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8612 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8613 USE_MAEMO_GTK is enabled.
8615 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8617 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8618 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8620 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * debian/changelog: Updating.
8628 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * examples/Makefile.am:
8631 * examples/hildon-logical-color-example.c:
8632 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8633 applied + adding a test case. Fixes: NB#71660.
8635 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8637 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8638 to be visible, fixes warning on map for windows without toolbars.
8640 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8642 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8643 2.11.0, add a check for that besides the MAEMO_GTK check.
8645 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * debian/changelog: Updating.
8653 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8655 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8656 visibility. Fixes: NB#70842 and MB#615.
8658 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8660 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8661 set the separator as no-show-all so it doesn't unintentionally appear when
8662 someone does a show_all.
8664 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8666 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8667 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8668 toplevel item. Fixes: NB#62031
8670 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8672 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8673 fix the name of the function in the docs.
8675 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * debian/changelog: Updating.
8683 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * examples/hildon-banner-long-example.c: Adding a test-case for long
8688 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8690 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * src/hildon-color-chooser-dialog.c:
8693 * src/hildon-color-chooser.c:
8694 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8695 memory leaks in font selector and color selector. Fixes: NB#70499 and
8698 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8700 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8702 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8705 little bit bigger. Fixes: #NB63694.
8707 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * debian/changelog: Updating.
8715 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * doc/hildon-docs.sgml:
8719 * doc/images/bread-crumb-trail.png:
8720 * doc/images/calendar-popup.png:
8721 * doc/images/caption.png:
8722 * doc/images/code-dialog.png:
8723 * doc/images/color-button.png:
8724 * doc/images/color-chooser-dialog.png:
8725 * doc/images/color-chooser.png:
8726 * doc/images/controlbar.png:
8727 * doc/images/date-editor.png:
8728 * doc/images/font-selection-dialog.png:
8729 * doc/images/get-password-dialog.png:
8730 * doc/images/hvolumebar.png:
8731 * doc/images/login-dialog.png:
8732 * doc/images/note.png:
8733 * doc/images/number-editor.png:
8734 * doc/images/range-editor.png:
8735 * doc/images/seekbar.png:
8736 * doc/images/set-password-dialog.png:
8737 * doc/images/sort-dialog.png:
8738 * doc/images/time-editor.png:
8739 * doc/images/time-picker.png:
8740 * doc/images/vvolumebar.png:
8741 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8742 Adding the bread-crumb-trial and helpers to the documentation.
8744 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * examples/hildon-find-toolbar-example.c:
8747 * src/hildon-find-toolbar.c:
8748 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8749 actually continue firing the other handlers if connected. Adding a new
8751 hildon_find_toolbar_get_last_index that gets the index of the most
8752 recently added (last) item. Fixes: NB#52301.
8754 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8757 behaviour. Fixes: NB#68610.
8759 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8764 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8767 when realizing the banner. Should make the infonbanner effect a bit more
8770 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-volumebar.c:
8773 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8774 hildon_volumebar_set_range_insensitive_message and
8775 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8777 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8779 * src/hildon-window.c: Fixing the border freeing on destroy.
8781 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * src/hildon-code-dialog-private.h:
8784 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8785 kw keyboard support in HildonCodeDialog.
8787 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * debian/changelog: Updating.
8795 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * src/hildon-date-editor.c:
8798 * src/hildon-number-editor.c:
8799 * src/hildon-private.c:
8800 * src/hildon-private.h:
8801 * src/hildon-time-editor.c:
8802 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8803 handling in subclassed composite widgets. Fixes: NB#66628.
8805 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8807 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8808 from destroy_ callback as it introduces problems in async dbus signal
8809 handlers. Fixes NB#66673.
8811 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8813 * examples/hildon-hvolumebar-example.c:
8814 * src/hildon-volumebar.c: Improving the focus handling in the
8815 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8816 set_property accessor so that "mute" property can be actually set. I'm
8817 scared that nobody noticed it's totally broken.
8819 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8824 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * src/hildon-calendar.c:
8827 * src/hildon-number-editor.c:
8828 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8829 matches the spec of 6 chars per second. Fixes: NB#60489.
8831 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8834 gtk_style_lookup_color sometime returns FALSE even though color was
8835 found and values were filled properly. Weird. Removing the warning for the
8838 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8841 expand vertically. Adding some extra space to the find toolbar buttons to
8842 make them thumbable. Fixes NB#66060.
8844 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8846 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8847 popup with "Ok" and "Cancel". Fixes NB#59299.
8849 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-calendar.c: Process all window updates before executing next
8852 timeout. Fixes: NB#54146.
8854 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * debian/changelog: Updating.
8862 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8864 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8865 the client event and ignore it, since we use the delete event to close
8868 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8870 * src/hildon-helper.c: Remove the bogus warning about color not being
8871 found. Fixes NB#58352.
8873 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * examples/Makefile.am:
8876 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8877 HildonSeekbar widget inside a toolbar.
8879 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8881 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8882 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8883 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8884 don't want to be closed by non-temporary windows on map.
8886 Also use G_DEFINE_TYPE instead of manually typed code.
8888 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * debian/rules: Updating.
8897 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * examples/Makefile.am:
8900 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8901 bug NB#61128. Strangely it works.
8903 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * src/hildon-date-editor.c: When the date editor entry has been changed
8906 but the numbers of characters < max, turn off the skip validation flag.
8907 Prevents a situation when we enter first a valid year and later re-write
8908 it with an invalid one. Fixes NB#60154.
8910 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8912 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8913 code dialog. Fixes NB#64355.
8915 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8917 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8918 switching the page. Fixes NB#49374.
8920 * examples/Makefile.am:
8921 * examples/hildon-wizard-dialog-example.c: Adding an example for
8922 HildonWizardDialog that shows how to handle manual sensitivity setting on
8925 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8929 * src/hildon-version.h.in:
8930 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8932 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * src/hildon-volumebar.c: Updating the docs.
8936 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * debian/changelog: Updating.
8944 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-find-toolbar.c:
8947 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8948 selected item: hildon_find_toolbar_set_active,
8949 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8950 hildon_find_toolbar_get_active_iter . They correspond to respective
8951 GtkComboBox functions.
8953 * examples/Makefile.am:
8954 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8957 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * examples/Makefile.am:
8960 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8963 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8964 when font size > 32 and we pack a focusable widget inside. Actually using
8965 the default response would work too, but since we don't show default
8966 response state in any way (no theming) it would not be visible to the
8967 user. Fixes NB#63430.
8969 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8971 * src/hildon-date-editor.c: Adding the missing variable setter in the
8972 set_property handler. Fixes NB#54182.
8974 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8976 * src/hildon-window.h: Changing the long key press time from 1500ms to
8977 800ms as requested in NB#63700. I have a bad feeling about this, let's
8978 see... Fixes NB#63700.
8980 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8982 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8983 hildon_time_picker_map, hildon_time_picker_realize,
8984 hildon_time_picker_style_set): Split the contents of map to more
8985 appropriate functions; set window decorations on realize and update
8986 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8988 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8993 * debian/changelog: Updating.
8995 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8997 * src/Makefile.am: fixed installation of the header files
8999 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * debian/changelog: Updating.
9007 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * configure.ac: Removing some remaining of --enable-xan.
9011 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9013 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9014 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9016 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9017 2.10.12-osso6 because the move-focus signal needs to be available in
9020 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * examples/Makefile.am:
9023 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9024 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9025 fine. Prolly NB#61128 is fixed now.
9027 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * src/hildon-volumebar.c:
9030 * src/hildon-volumebar.h: Adding the
9031 hildon_volumebar_set_range_insensitive_message and
9032 hildon_volumebar_set_range_insensitive_messagef functions to set
9033 insensitive message on the slider of the volumebar. Fixes NB#61129.
9035 * examples/Makefile.am:
9036 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9037 test the new insensitive messsage functionality on HildonVolumebar.
9039 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9041 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9044 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9046 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9047 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9048 button on after clearing the trail.
9050 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9054 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9056 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9057 by splitting the installed headers in generated and non-generated groups. Use
9058 only the non-generated headers to create the hildon-enum-types.h file.
9060 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9062 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * src/hildon-window.c: Hide the window before performing the destroy.
9065 Should make the app closing a little tiny bit more snappy.
9067 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-seekbar.c: add gtkrange.h header
9070 * src/hildon-caption.c: remove unused variable
9072 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9074 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9077 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * debian/changelog: Updating.
9085 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9087 * src/hildon-window.c (hildon_window_window_state_event,
9088 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9089 escape timeout on focus-out-event rather than notify::is-topmost; the
9090 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9092 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9095 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9097 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9099 * src/hildon-window: actually, you need to use the macro always, there's
9100 no private pointer in the instance structure. We should have cleaned this up
9101 when we had the chance...
9103 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9105 * src/hildon-window.c: do not get the private date from HildonWindow before
9106 it passes the g_return_if_fail check. Once it's passed the test, there's no
9107 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9108 if you are only going to access the data once. Whitespace cleanups.
9110 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9112 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9113 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9115 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * debian/changelog: Updating.
9123 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * src/hildon-window.c: When destroying the window, remove (if exists) the
9126 escape timeout handler. Fixes #NB59276.
9128 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * src/hildon-banner.c: When realizing the widget, set the window
9131 transiency. Setting the transiency in the gobject constructor is not
9132 good, as the widget is not realized at that point. Fixes: #NB56624.
9134 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9136 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9137 Add padding for future expansions.
9139 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9141 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9142 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9143 will fake an activation on the previous to the last item of the trail, so
9144 the effect can be overrided by the developer as usual.
9145 Also change the callback for the back button to do the same thing, so its
9146 effect can be overrided too. Fixes: NB#58982
9148 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9151 HildonCaption. Fixes NB#52379.
9153 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9155 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9156 the internal state of the trail after the user has had the chance of executing
9157 his handler for the signal. Specifically, it may happen that the activated button
9158 is removed and the user still lets the default handler run. This would segfault
9161 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9164 scrollbar to the preview dialog. Fixes NB#54147.
9166 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9169 max/min year properties can be altered, so the client can modify it
9170 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9172 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9175 hildonlike by default. Fixing a problem with disappearing arrows when
9176 scrolling through months and years. Fixes NB#54127.
9178 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9180 * examples/hildon-date-editor-example.c: Adding error callback to the date
9183 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * configure.ac: Updating.
9191 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * configure.ac: Adding a special '--enable-xan' configure option that
9194 turns off the -Werror compilation setting. Usefull for development.
9196 * src/hildon-calendar.c:
9197 * src/hildon-number-editor.c:
9198 * src/hildon-time-picker.c: Adding the 5* multiplier to
9201 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9203 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9204 instead of g_object_ref + gtk_object_sink.
9206 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * debian/changelog: Updating.
9214 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9216 * src/hildon-color-chooser-dialog.c:
9217 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9218 straight from Tommi labs.
9220 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * examples/hildon-finger-example.c: Correcting the header file path.
9224 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9225 the changed signal. Fixes a small memory leak.
9227 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-banner.c: Importing several usefull fixes from the
9232 ubuntu-mobile branch.
9234 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * examples/Makefile.am:
9237 * examples/hildon-finger-example.c: Adding a finger-checking code
9240 * src/hildon-font-selection-dialog.c: Do not allocate the color
9241 structure using the g_new. Fixes NB#54061.
9243 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9245 * src/hildon-helper.c: Correcting tabs in file.
9247 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9249 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9250 control the visibility of the children.
9252 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9254 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * debian/changelog: Updating.
9262 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9264 * src/hildon-bread-crumb-trail.c:
9265 (hildon_bread_crumb_trail_size_allocate):
9267 Make the back button always a square.
9269 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9272 from the .c file as it's a private file.
9274 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9276 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9277 uses slightly bigger height.
9279 * src/hildon-font-selection-dialog.c: Adding some checks before
9280 freeing memory in the font selection dialog.
9282 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-font-selection-dialog.c: Adding a small check when
9287 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9288 buttons sensitivity on page switching.
9290 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9292 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9293 internal details of adding a bread crumb to the trail.
9295 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9301 * debian/changelog: Updating.
9303 * src/hildon-bread-crumb-trail.h:
9304 * src/hildon-bread-crumb.h: Changing the API guard to
9305 HILDON_ENABLE_UNSTABLE_API.
9307 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9315 * src/hildon-helper.h: Updating.
9317 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9325 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9329 * src/hildon-helper.h: Small fix to make the package actually compile.
9331 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9333 * src/hildon-bread-crumb-trail.h:
9334 * src/hildon-bread-crumb.h:
9336 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9337 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9339 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9341 * examples/hildon-bread-crumb-trail-example.c:
9343 * src/hildon-bread-crumb-trail.c:
9344 * src/hildon-bread-crumb-trail.h:
9345 * src/hildon-bread-crumb.c:
9346 * src/hildon-bread-crumb.h:
9347 * src/hildon-marshalers.list:
9348 * src/hildon-bread-crumb-widget.c:
9349 * src/hildon-bread-crumb-widget.h:
9351 Slight change in the widget design. The bread crumb trail API is
9352 unchanged, but HildonBreadCrumb is now an interface. A *private*
9353 implementation, hildon-bread-crumb-widget, is provided and used
9354 internally by the trail for the push_text/push_icon functions.
9356 The generic push API is still available, so anyone can implement
9357 and use its own bread crumb widget.
9359 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * debian/rules: Fixing the shlibs.
9363 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * src/hildon-banner.c: Fixing a problem with timed banners having
9366 their parrent destroyed before they are.
9368 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9370 * src/hildon-bread-crumb.c:
9371 * src/hildon-bread-crumb.h:
9373 Make the get_natural_size function a vfunc.
9375 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9377 * src/hildon-bread-crumb.c:
9378 * src/hildon-bread-crumb-trail.c:
9382 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * debian/changelog: Updating for release.
9391 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9393 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9394 don't leak the pango layout.
9396 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9399 * examples/hildon-bread-crumb-trail-example.c:
9403 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9405 * debian/changelog: Removing the bug-fixed entries that were actually
9406 resolved as WONTFIX.
9408 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9411 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9413 * src/hildon-bread-crumb-trail.c:
9414 * src/hildon-bread-crumb-trail.h:
9415 * src/hildon-bread-crumb.c:
9416 * src/hildon-bread-crumb.h:
9420 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9422 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9423 until it's passed the type check.
9425 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9427 * examples/hildon-bread-crumb-trail-example.c
9431 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9433 * examples/Makefile.am
9434 * examples/hildon-bread-crumb-trail-example.c
9436 * src/hildon-bread-crumb-trail.c
9437 * src/hildon-bread-crumb-trail.h
9438 * src/hildon-bread-crumb.c
9439 * src/hildon-bread-crumb.h
9441 New HildonBreadCrumbTrail widget.
9443 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9445 * src/hildon-range-editor.c (hildon_range_editor_init),
9446 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9447 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9448 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9449 hildon_time_editor_class_init, hildon_time_editor_init),
9450 src/hildon-get-password-dialog.c (invalid_input,
9451 hildon_get_password_set_property, hildon_get_password_get_property,
9452 create_contents, hildon_get_password_dialog_set_max_characters),
9453 src/hildon-set-password-dialog.c (create_contents),
9454 src/hildon-date-editor.c (hildon_date_editor_init),
9455 src/hildon-login-dialog.c (hildon_login_dialog_init),
9456 src/hildon-number-editor.c (hildon_number_editor_init),
9457 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9458 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9459 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9460 configure option and adding the respective checks in the code.
9461 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9462 hildon_calendar_drag_data_received): fixed some build warnings.
9464 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * debian/changelog: A 1.0.0 release notes.