1 2009-08-20 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_area_class_init):
5 Increase default value of HildonPannableArea:velocity_max to 2000
7 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
9 2009-08-18 Alberto Garcia <agarcia@igalia.com>
13 * configure.ac: bump version
15 * debian/changelog: updates
17 2009-08-11 Alejandro G. Castro <alex@igalia.com>
19 * hildon/hildon-pannable-area.c
20 (hildon_pannable_area_size_allocate): Checked the scrollbars
21 before the first try when defining the layout, avoids two
22 allocations in some situations.
24 Fixes: NB#131794 (pannable area produces unnecessary allocations
25 causing performance problems)
27 2009-08-11 Alejandro G. Castro <alex@igalia.com>
29 * hildon/hildon-pannable-area.c
30 (hildon_pannable_area_button_press_cb),
31 (hildon_pannable_area_motion_notify_cb),
32 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
33 the spurious ref added in the copy, fixes leak of window.
35 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
36 if it's realized without showing and then deleted)
38 2009-08-10 Alberto Garcia <agarcia@igalia.com>
42 * configure.ac: bump version
44 * debian/changelog: updates
46 2009-08-06 Alberto Garcia <agarcia@igalia.com>
48 * examples/hildon-hvolumebar-timer-example.c
50 * hildon/hildon-banner.c
51 (hildon_banner_timeout, hildon_banner_ensure_timeout)
52 * hildon/hildon-calendar.c
53 (calendar_timer, start_spinning)
54 * hildon/hildon-color-chooser.c
55 (inline_limited_expose)
56 * hildon/hildon-date-editor.c
57 (hildon_date_editor_entry_focus_in)
58 (hildon_date_editor_entry_validate)
59 (hildon_date_editor_entry_select_all)
60 * hildon/hildon-note.c
62 * hildon/hildon-number-editor.c
63 (hildon_number_editor_button_pressed)
64 (hildon_number_editor_start_timer, do_mouse_timeout),
65 (add_select_all_idle, hildon_number_editor_select_all)
66 * hildon/hildon-time-editor.c
67 (hildon_time_editor_entry_focus_in)
68 (highlight_callback, hildon_time_editor_validate)
69 (hildon_time_editor_entry_select_all)
70 * hildon/hildon-time-picker.c
71 (hildon_time_picker_arrow_press)
72 (hildon_time_picker_key_repeat_timeout)
73 * hildon/hildon-window.c
74 (hildon_window_key_press_event)
75 (hildon_window_escape_timeout):
76 Replace all calls to g_idle_add/g_timeout_add with their
77 gdk_threads counterparts.
79 Fixes: NB#126198 (gdk-threads API should be used to install idle
82 2009-08-06 Alejandro G. Castro <alex@igalia.com>
84 * hildon/hildon-pannable-area.c,
85 (hildon_pannable_area_class_init): Increased the overshooting max
86 speed to get a faster effect.
87 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
88 deceleration of the overshooting
89 (hildon_pannable_area_button_release_cb): Calculate initial
90 overshooting speed when finger on the screen using the distance to
91 launch the effect faster.
93 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
94 lists with slow row renderers)
96 2009-08-05 Alberto Garcia <agarcia@igalia.com>
98 * doc/hildon-sections.txt: Add new functions
100 2009-08-05 Alberto Garcia <agarcia@igalia.com>
102 * hildon/hildon-text-view.[ch]
103 * hildon/hildon-entry.[ch]:
104 Add deprecation guards around deprecated functions.
106 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
108 * hildon/hildon-app-menu.c: Remove leftover function declaration.
110 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
112 Remove the grab from HildonAppMenu
114 * hildon/hildon-app-menu.c:
115 Now hildon-desktop places a blocker window behind the menu to handle
116 its closing, so the grab is no longer needed. This simplifies its
117 implementation and allows the system blanking to succeed.
119 Fixes: NB#130910 (Screen gets unlocked when menu is open)
121 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
125 * configure.ac: bump version
127 * debian/changelog: updates
128 * debian/control: raise debian dependency on GTK+
130 2009-08-04 Alberto Garcia <agarcia@igalia.com>
132 * hildon/hildon-text-view.c
133 * hildon/hildon-entry.c:
134 Remove all placeholder code from HildonEntry and HildonTextView
135 and use the API in GtkEntry and GtkTextView instead.
137 * examples/hildon-entry-example.c
138 * examples/hildon-text-view-example.c
139 * examples/hildon-wizard-dialog-example.c
140 * hildon/hildon-get-password-dialog.c
141 * hildon/hildon-login-dialog.c
142 * hildon/hildon-picker-dialog.c
143 * hildon/hildon-set-password-dialog.c
144 * hildon/hildon-touch-selector-entry.c:
145 Replace all deprecated calls to HildonEntry and HildonTextView
146 with their Gtk counterparts.
148 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
151 2009-08-03 Alejandro G. Castro <alex@igalia.com>
153 * hildon/hildon-pannable-area.c,
154 (hildon_pannable_area_check_move),
155 (hildon_pannable_area_button_release_cb),
156 (hildon_pannable_area_scroll_to): Reverted the priority change of
157 the timeout, in some situations, slow renderers, the click do not
158 make it to the mainloop on time.
160 Fixes NB#131013 (unable to stop panning file manager by tapping on
163 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
165 * configure.ac: bump version
167 * debian/changelog: updates
169 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
171 * hildon/hildon-touch-selector.[ch]
172 (hildon_touch_selector_center_on_index): New method that allows to center
173 on a item not selected
175 Fixes NB#130291 (New HildonTouchSelector API is required to center on
178 2009-07-29 Alberto Garcia <agarcia@igalia.com>
180 * hildon/hildon-text-view.c
181 (+set_logical_color, +hildon_text_view_style_set)
182 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
183 (hildon_text_view_init)
184 * hildon/hildon-entry.c
185 (+set_logical_color, +hildon_entry_style_set)
186 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
187 (hildon_entry_class_init, hildon_entry_init)
188 * hildon/hildon-button.c
189 (+set_logical_font, +set_logical_color)
190 (hildon_button_style_set, hildon_button_init)
191 (hildon_button_set_arrangement, hildon_button_set_style):
192 Remove all calls to hildon_helper_set_logical_font() and
193 hildon_helper_set_logical_color(), which are recursive, from
196 Fixes: NB#123409 (Showing dialog consumes significant amount of
199 2009-07-29 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c,
202 (hildon_pannable_area_timeout): Added the process updates of the
203 scrollbars window in the pannable.
205 Fixes: NB#130043 (scrollindicator not smooth while panning)
207 2009-07-23 Alejandro G. Castro <alex@igalia.com>
209 * hildon/hildon-pannable-area.c,
210 (hildon_pannable_area_check_move),
211 (hildon_pannable_area_button_release_cb),
212 (hildon_pannable_area_scroll_to): Increased the priority of the
213 timeout this way it is going to be handled before the events.
215 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
219 * configure.ac: bump version
220 * debian/changelog: updates
222 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
224 * hildon/hildon-entry.c: (set_property): Do not allow to set
225 automatic height and use finger height instead, to prevent an to
226 have a smaller size than than its theme pixbuf.
228 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
230 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: postrelease version bump.
233 * debian/changelog: post release version bump
235 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
240 * configure.ac: Bump version.
241 * debian/changelog: Updates.
243 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-note.c: (label_size_request): Take the note
246 padding into account when setting the size request.
248 Fixes: NB#127896 (Information notes text truncated)
250 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
252 * configure.ac: postrelease version bump.
253 * debian/changelog: post release version bump
255 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: Bump version.
261 * debian/changelog: Updates.
263 2009-07-16 Alejandro G. Castro <alex@igalia.com>
266 * hildon/hildon-text-view.c,
267 (hildon_text_view_button_press_event): Grabbed the focus in button
268 press, this way we are sure the widget has the focus in the
269 release event, required for HIM.
271 Fixes: NB#121445 (Virtual keyboard opening is not working in same
272 way for each text entry field)
274 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
276 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
277 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
278 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
279 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
280 (hildon_pannable_area_[gs]et_center_on_child_focus)
281 Redefined GtkContainer set-focus-child signal, in order to center
282 properly on a child when it receives the focus. Defined a new property
283 "center-on-child-focus" in order to activate this feature (deactivated
284 by default). Public get/set methods defined to manage the property.
286 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
288 2009-07-14 László Pere <lpere@blumsoft.eu>
290 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
291 the new size is applied.
293 Fixes: NB#124510 (The Application Menu is distorted when switched
294 between portrait and landscape mode)
295 Fixes: NB#115388 (Power key menu does not resize itself)
297 2009-07-01 Alberto Garcia <agarcia@igalia.com>
299 * hildon/hildon-banner.c (hildon_banner_map):
300 Set banner position after mapping.
302 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: postrelease version bump.
305 * debian/changelog: post release version bump
307 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
312 * configure.ac: Bump version.
313 * debian/changelog: Updates.
315 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
317 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
320 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
322 * tests/check-hildon-banner.c
324 * tests/test_suites.h
325 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
326 were testing deprecated functions.
327 * examples/hildon-banner-example.c: typo on button3 type, that causes
328 a fail compiling with --with-examples but without --disable-deprecated
330 Missed commit in order to fix compilation using '--enable-fatal' and
331 '--disable-deprecated' (see previous commit)
333 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
335 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
336 functions with #ifndef HILDON_DISABLE_DEPRECATED
337 * examples/hildon-find-toolbar.c: Protect deprecated
338 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
339 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
340 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
341 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
343 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
344 to allow proper compilation of deprecated functions defined on the header
346 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
348 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
350 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
351 Cache the panning indicator color.,
352 (hildon_pannable_area_style_set): Query the color on style changes.
353 (hildon_pannable_draw_vscroll),
354 (hildon_pannable_draw_hscroll),
355 (hildon_pannable_area_expose_event): Use the cached panning indicator
356 color instead of looking it up on every expose and more.
358 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
360 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
361 (hildon_pannable_draw_hscroll),
362 (hildon_pannable_area_expose_event): Fix the panning indicator color,
363 so that it's "SecondaryTextColor", as desired.
365 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
367 * hildon/hildon-picker-dialog.c:
368 (selection_completed): take into account HILDON_UI_MODE_NORMAL
369 * hildon/hildon-touch-selector.c
370 (hildon_touch_selector_init): Initialize hildon-ui-mode
371 (hildon_touch_selector_row_activated): new callback for the
372 "row-activated" signal, in order to save the last activated
373 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
374 if the current hildon-ui-mode is coherent with the touch selector
375 (hildon_touch_selector_class_init)
376 (hildon_touch_selector_get_property)
377 (hildon_touch_selector_set_property)
378 Added "hildon-ui-mode" property
379 (disconnect_model_handlers): renamed to clean_column
380 (hildon_touch_selector_remove): use clean_column function
381 (_create_new_column): use the hildon-ui-mode to create the treeview, and
382 only select the first element on HILDON_UI_MODE_EDIT
383 (hildon_touch_selector_column_init): Initialize last_activate
384 (hildon_touch_selector_append_column): check that the touch selector
385 is coherent with the current hildon-ui-mode
386 (hildon_touch_selector_get_hildon_ui_mode)
387 (hildon_touch_selector_set_hildon_ui_mode)
388 Added a getter/setter for the hildon-ui-mode property
389 (hildon_touch_selector_get_last_activated_row): Added this method in
390 order to get the last activated row.
391 * examples/hildon-touch-selector-normal-mode-example.c
392 New example, that shows how to use the HildonTouchSelector in
393 HILDON_UI_MODE_NORMAL
395 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
396 Kristian Rietveld <kris@lanedo.com> advices
398 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
400 * hildon/hildon-time-selector.c: (update_format_policy): Do
401 not call update_format_dependant_columns() if not necessary.
402 (update_format_dependant_columns): Remove unnecessary check for
403 the number of columns.
405 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
407 * hildon/hildon-note.c (+hildon_note_constructor),
408 (hildon_note_class_init), (+hildon_note_set_padding),
409 (hildon_note_rebuild): Install a constructor where to set the
410 padding properties in the note, so that it actually works fine.
411 Use hildon_note_set_padding() for this, and also to set it during
414 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
416 * configure.ac: Bump GTK+ requirement to 2.14.3.
417 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
418 when using maemo-gtk to define proper margins for the notes.
420 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
421 with the dialog edge)
423 2009-06-24 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-banner.c
426 (hildon_banner_class_init):
428 (+hildon_banner_size_request):
429 Request always the full width of the screen.
430 (hildon_banner_realize)
431 (-hildon_banner_check_position, hildon_banner_map):
432 hildon_banner_check_position() is not needed in Hildon 2.2.
433 (-hildon_banner_reset_wrap_state)
434 (hildon_banner_constructor, hildon_banner_init):
435 Remove unnecessary calls to hildon_banner_reset_wrap_state()
436 (+banner_do_set_text)
437 (force_to_wrap_truncated):
438 Remove has_been_wrapped and has_been_truncated attributes.
439 (+reshow_banner, hildon_banner_real_show_information)
440 (hildon_banner_show_information_with_markup)
441 (hildon_banner_show_animation, hildon_banner_show_progress)
442 (hildon_banner_set_text, hildon_banner_set_markup):
443 Refactor code. Shrink banner vertically to use the minimum space
444 necessary everytime the text of the label is updated.
445 (screen_size_changed):
446 Call force_to_wrap_truncated() when the size of the screen
449 Fixes: NB#120500 (only device memory connect mmc in use info
450 banner is left aligned)
452 Fixes: NB#120613 (Size of HildonBanner varies depending on
453 previously opened banners)
455 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
457 * hildon/hildon-color-chooser.c
458 (hildon_color_chooser_pointer_motion): Take the widget allocation
461 Fixes: NB#124385 (Unable to select exact point in color mixing box
462 in color palette dialog)
464 2009-06-23 Alejandro G. Castro <alex@igalia.com>
466 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
467 (hildon_pannable_area_dispose)
468 (hildon_pannable_area_button_press_cb)
469 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
470 (hildon_pannable_area_button_release_cb)
471 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
472 New 'panning-started' and 'panning-finished' signals.
474 Fixes: NB#121732 (New feature request: Signal to pannable area
475 that informs when panning is stopped.)
477 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
479 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
480 instead of hardcoded colon.
482 Fixes: NB#124090 (New calendar wizard title is not using
483 ecdg_ti_caption_separator)
485 2009-06-22 David King <davidk@openismus.com>
487 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
488 constants and functions, as well as correct many typos throughout the
491 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
494 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
496 * configure.ac: postrelease version bump.
497 * debian/changelog: post release version bump
499 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
504 * configure.ac: Bump version.
505 * debian/changelog: Updates.
507 2009-06-18 Alberto Garcia <agarcia@igalia.com>
509 * hildon/hildon-window-stack.c
510 (hildon_window_stack_pop_and_push_list):
511 Prevent windows from having the same stack index
513 2009-06-18 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
516 Use the index of the previous window rather than the stack length
517 to calculate the new index.
521 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
523 * hildon/hildon-date-selector.c
524 (hildon_date_selector_select_current_date)
525 (hildon_date_selector_get_date)
526 (hildon_date_selector_select_day):
527 Update the documentation: uses always the range (1-31), as it is obvious
528 that the final one will depend on the month and the year, but globally
529 the range is this, in a similar GtkCalendar approach
530 (hildon_date_selector_get_date):
531 Update the documentation: add NULL as a valid value for the day, month
534 Fix some details, after talk with David King on bug MB#4698
536 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
538 * hildon/hildon-touch-selector-entry.c
539 * hildon/hildon-touch-selector.c
540 Update the documentation of the "text-column" property
542 2009-06-18 David King <davidk@openismus.com>
544 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
545 several typos and errors throughout the documentation.
547 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
550 2009-06-18 Alberto Garcia <agarcia@igalia.com>
552 * hildon/hildon-note.c (hildon_note_realize):
553 Make HildonNote support portrait mode.
555 Fixes: NB#123448 (HildonNote is not portrait-friendly)
557 2009-06-17 Alberto Garcia <agarcia@igalia.com>
559 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
560 Document this function
562 2009-06-17 David King <davidk@openismus.com>
564 * hildon/hildon-date-selector.c
565 (hildon_date_selector_select_current_date)
566 (hildon_date_selector_get_date): Update documentation regarding days,
567 as the day of the month is dependent on both the month and the year.
568 (hildon_date_selector_get_date): Fix documentation of output arguments.
570 Fixes: MB#4698 (DateSelector documentation has bad output argument
571 description, and the day depends on both the month and the year)
573 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
575 * hildon/hildon-caption.c: Other documentation fixes to
578 2009-06-17 David King <davidk@openismus.com>
580 * hildon/hildon-caption.c: Minor documentation updates for
581 HildonCaption. Fixes MB#4697.
583 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
585 * doc/hildon-docs.sgml: Add hildon-version section.
586 * doc/hildon-sections.txt:
587 * hildon/hildon-version.h.in: Document versioning macros and
590 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
592 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
593 from HildonPickerDialog section.
595 2009-06-16 Alberto Garcia <agarcia@igalia.com>
597 * hildon/hildon-banner.c (hildon_banner_bind_style)
598 (screen_size_changed, hildon_banner_init)
599 (hildon_banner_real_show_information)
600 (hildon_banner_show_information_with_markup)
601 (hildon_banner_show_animation, hildon_banner_show_progress):
602 Set a different widget name to banners in portrait mode, for them
603 to be themed correctly.
605 2009-06-16 Alberto Garcia <agarcia@igalia.com>
607 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
608 Set a different widget name to notes in portrait mode, for them to
611 Partially fixes: NB#118401 (HildonNote causes unnecessary
614 2009-06-16 Alberto Garcia <agarcia@igalia.com>
616 * hildon/hildon-note.c (hildon_note_class_init)
617 (+hildon_note_size_request, screen_size_changed):
618 Always request the full width of the screen.
620 Fixes: NB#118375 (unnecessary rescaling of images)
622 2009-06-16 Alejandro G. Castro <alex@igalia.com>
624 * hildon/hildon-pannable-area.c,
625 (hildon_pannable_area_init),
626 (hildon_pannable_area_realize): Replaced old code adding flags in
627 the object init, now we add it with the other flags in the realize
630 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
632 * hildon/hildon-note.c: (hildon_note_class_init): Several
633 documentation improvements to the HildonNote widget.
635 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
637 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
639 Fixes: MB#4556 (HildonNoteType is undocumented)
641 2009-06-15 Alberto Garcia <agarcia@igalia.com>
643 * hildon/hildon-picker-button.c:
644 Explain how HildonPickerButton sets the title of its dialog
646 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
647 the title of its dialog)
649 2009-06-15 Alberto Garcia <agarcia@igalia.com>
651 * hildon/hildon-check-button.c:
652 Documentation updates
654 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
657 2009-06-15 Alberto Garcia <agarcia@igalia.com>
660 * hildon/hildon-edit-toolbar-private.h
661 * hildon/hildon-edit-toolbar.c
662 (+hildon_edit_toolbar_set_progress_indicator)
663 (hildon_edit_toolbar_init): Add progress indicator to the
666 * hildon/hildon-gtk.c
667 (hildon_gtk_window_set_progress_indicator):
668 If the window contains a HildonEditToolbar, enable the progress
671 * hildon/hildon-private.h
672 * hildon/hildon-private.c
673 (+hildon_private_create_animation)
674 * hildon/hildon-banner.c
675 (-hildon_banner_create_animation):
676 Moved to hildon-private.c
678 Fixes: NB#102373 (Progress indicator also for the Edit mode
681 2009-06-15 Alberto Garcia <agarcia@igalia.com>
683 * hildon/hildon-app-menu-private.h
684 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
685 (hildon_app_menu_add_filter, +menu_item_button_event)
686 (hildon_app_menu_button_release, hildon_app_menu_init):
687 Make sure that buttons receive 'button-release-event' in spite of
688 the grab held by HildonAppMenu
690 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
692 2009-06-15 Alberto Garcia <agarcia@igalia.com>
694 * hildon/hildon-app-menu.c
695 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
696 New style property to set the size of the group of filter buttons.
698 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
700 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
705 * configure.ac: Bump version.
706 * debian/changelog: Updates.
708 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
710 * hildon/hildon-main.c: Minor documentation fixes.
712 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
714 * doc/hildon-sections.txt:
715 * hildon/hildon-defines.h: Document the defines, organize them,
716 and mark deprecations as such.
718 Fixes: MB#4463 (Hildon size #defines are undocumented)
720 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
722 * hildon/hildon-animation-actor.c:
723 * hildon/hildon-app-menu.c:
724 * hildon/hildon-button.c:
725 * hildon/hildon-date-editor.c:
726 * hildon/hildon-dialog.c:
727 * hildon/hildon-edit-toolbar.c:
728 * hildon/hildon-entry.c:
729 * hildon/hildon-program.c:
730 * hildon/hildon-remote-texture.c:
731 * hildon/hildon-stackable-window.c:
732 * hildon/hildon-text-view.c:
733 * hildon/hildon-touch-selector.c:
734 * hildon/hildon-window-stack.c:
735 * hildon/hildon-window.c:
737 Remove redundant "represents" wording from most of the documentation.
739 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
741 2009-06-12 Alberto Garcia <agarcia@igalia.com>
746 * hildon/hildon-banner-private.h
747 * hildon/hildon-banner.c:
748 Move HildonBannerPrivate to hildon-banner.c and remove
749 hildon-banner-private.h
750 Use a bit field to store private booleans.
752 2009-06-12 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-app-menu.c (hildon_app_menu_map):
755 Don't install a new idle function if there's already one
760 2009-06-11 Alberto Garcia <agarcia@igalia.com>
762 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
763 (+legacy_menu_realized, +legacy_menu_unmapped)
764 (+set_legacy_menu_type):
765 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
766 they can be identified by the window manager.
768 Fixes: NB#101437 (Invoking CSM on the left side of page area is
769 displayed in wrong location)
771 Fixes: MB#4563 (Popup menu won't locate at the left side of the
774 2009-06-11 Alberto Garcia <agarcia@igalia.com>
776 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
778 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
781 2009-06-11 Alberto Garcia <agarcia@igalia.com>
783 * hildon/hildon-code-dialog.c
784 * hildon/hildon-date-editor.c
785 * hildon/hildon-number-editor.c
786 * hildon/hildon-seekbar.c
787 * hildon/hildon-stackable-window.c
788 * hildon/hildon-window.c:
789 Misc documentation updates
791 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
793 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
794 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
796 Fixes: NB#117931 (Theming issues in accounts dialogs)
798 2009-06-09 Alejandro G. Castro <alex@igalia.com>
800 * hildon/hildon-pannable-area.c,
801 (hildon_pannable_area_button_release_cb): Changed the coordinates
802 of the original release in case we want to discard the release,
803 some widgets in Fremantle do not handle the leave-notify.
805 2009-06-09 Alejandro G. Castro <alex@igalia.com>
807 * hildon/hildon-pannable-area.c,
808 (hildon_pannable_area_button_release_cb): Reviewed the logic of
809 the release using the last refactored functions and avoiding the
810 movement if an element was selected.
812 2009-06-09 Alejandro G. Castro <alex@igalia.com>
814 * hildon/hildon-pannable-area.c,
815 (hildon_pannable_area_check_move),
816 (hildon_pannable_area_handle_move),
817 (hildon_pannable_area_motion_notify_cb): Refactored the
818 motion_notify method using a couple of new functions.
820 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
822 * hildon/hildon-date-selector.c:
823 (hildon_date_selector_construct_ui):
824 * hildon/hildon-time-selector.c:
825 (hildon_time_selector_constructor):
826 * hildon/hildon-touch-selector-entry.c:
827 (hildon_touch_selector_entry_set_text_column),
828 (hildon_touch_selector_entry_get_text_column):
829 * hildon/hildon-touch-selector.c: (_default_print_func),
830 (hildon_touch_selector_new_text): Use
831 hildon_touch_selector_set/get_text_column() instead of
832 setting/getting the "text-column" property.
834 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
836 * doc/hildon-sections.txt: Add the new public methods below.
838 * examples/hildon-picker-button-multicolumn-example.c:
839 (create_touch_selector):
840 * examples/hildon-touch-selector-example.c: (create_selector):
841 * examples/hildon-touch-selector-multi-cells-example.c:
843 Use hildon_touch_selector_column_set_text_column()
845 * hildon/hildon-touch-selector-column.h:
846 * hildon/hildon-touch-selector.c:
847 (hildon_touch_selector_column_set_text_column),
848 (hildon_touch_selector_column_get_text_column):
849 Make hildon_touch_selector_column_set/get_column() public, use
850 them in the inline example, document them, and reference to them
853 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
855 * hildon/hildon-time-selector.c: Fix the docs for
856 hildon_time_selector_new_step().
858 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
860 * hildon/hildon-touch-selector.c: Improve the documentation for
861 hildon_touch_selector_append_column().
863 Fixes MB#4641 (Documentation:
864 hildon_touch_selector_append_column() ref-counting)
866 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
868 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
869 Comment out test 5, since the hildon_controlbar_set_range() range
870 check is broken and fixing it would have side effects. Also,
871 this finally fixes make distcheck.
873 Fixes: NB#101420 (Update unit tests and fix make distcheck)
875 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
877 * tests/TEST-CASES.txt: Remove other bogus test.
878 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
879 Remove bogus test that was setting/retrieving a valid value.
881 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
883 * tests/TEST-CASES.txt: Remove bogus tests.
884 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
885 Remove three bogus tests that were actually setting valid colors.
887 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
889 * configure.ac: post release version bump
890 * debian/changelog: post release version bump
892 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
897 * configure.ac: Bump version.
898 * debian/changelog: Updates.
900 2009-06-08 Christian Dywan <christian@lanedo.com>
904 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
905 Correct errors in hildon_format_file-size_for_display and use
906 translations from the hildon-fm package instead of osso-filemanager.
908 2009-06-08 Alejandro G. Castro <alex@igalia.com>
910 * hildon/hildon-pannable-area.c,
911 (hildon_pannable_area_init): Initialized new values to handle the
913 (hildon_pannable_area_adjust_value_changed): Check if the values
914 changed before even call the redraw function.
915 (hildon_pannable_area_size_allocate),
916 (hildon_pannable_axis_scroll),
917 (hildon_pannable_area_scroll),
918 (hildon_pannable_area_jump_to): Improved the diagonal movement
921 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
924 2009-06-08 Alberto Garcia <agarcia@igalia.com>
926 * examples/hildon-banner-example.c:
927 Several style updates
928 (on_animation_clicked, on_animation_idle)
929 (on_progress_clicked, on_progress_idle):
930 Add additional reference for the cases when the parent window is
933 2009-06-08 Alberto Garcia <agarcia@igalia.com>
935 * doc/hildon-sections.txt
936 * hildon/hildon-pannable-area.c
937 * hildon/hildon-banner.h
938 * hildon/hildon-banner.c: Documentation updates.
940 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
943 2009-06-05 Alejandro G. Castro <alex@igalia.com>
945 * hildon/hildon-calendar-popup.h:
946 * hildon/hildon-caption.h:
947 * hildon/hildon-code-dialog.h:
948 * hildon/hildon-controlbar.h:
949 * hildon/hildon-date-editor.h:
950 * hildon/hildon-dialog.h:
951 * hildon/hildon-get-password-dialog.h:
952 * hildon/hildon-hvolumebar.h:
953 * hildon/hildon-login-dialog.h:
954 * hildon/hildon-note.h:
955 * hildon/hildon-number-editor.h:
956 * hildon/hildon-range-editor.h:
957 * hildon/hildon-seekbar.h:
958 * hildon/hildon-set-password-dialog.h:
959 * hildon/hildon-sort-dialog.h:
960 * hildon/hildon-time-editor.h:
961 * hildon/hildon-time-picker.h:
962 * hildon/hildon-volumebar-range.h:
963 * hildon/hildon-volumebar.h:
964 * hildon/hildon-vvolumebar.h:
965 * hildon/hildon-weekday-picker.h:
966 * hildon/hildon-window.h:
967 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
968 macros with the current replacements
970 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
972 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
974 * hildon/hildon-color-button.c (hildon_color_button_init): Use
975 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
976 itself, to make it fit better with Fremantle style.
978 Fixes: NB#109878 (height and width of focus on color icon is not
979 consistent with other item in the application tool bar)
981 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
983 * hildon/hildon-touch-selector.c:
984 (hildon_touch_selector_optimal_size_request): use the current requisition
985 as the base, in order to include any possible extra widget, like the
986 hildon entry on HildonTouchSelectorEntry
988 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
990 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
992 * configure.ac: post release version bump
993 * debian/changelog: post release version bump
995 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1000 * configure.ac: Bump version.
1001 * debian/changelog: Updates.
1003 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1005 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1007 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1008 to ensure the banner contents are centered, instead of relying on
1009 the expand and fill properties in GtkHBox.
1010 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1012 Fixes: NB#108265 (Animation banner not properly centered)
1014 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1016 * hildon/hildon-pannable-area.c
1017 (hildon_pannable_area_initial_effect): Remove the initial_effect
1018 management, check initial_hint
1019 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1020 set initial_effect to FALSE
1021 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1022 by launching the fade_timeout if the scrollbars state has changed and are
1024 * examples/hildon-pannable-area-initial-hint-example.c
1025 Modified to allow to remove rows too. Add and remove rows one by one.
1027 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1029 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1030 Don't close the menu if there's an animation actor below it.
1032 Fixes: NB#117927 (Application menu not usable with animation
1035 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1037 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1038 "focus-on-click" from the dialog button, to avoid stealing the
1039 focus from the entry.
1041 Fixes: NB#118903 (Account setup wizard: Text in Search field
1042 should be focused when "Region" touch list picker is reopened
1045 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1047 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1048 (prepare_action_area): Completely hide the dialog separator.
1050 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1052 * hildon/hildon-touch-selector-entry.c
1053 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1054 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1055 now that the entry is exposed.
1057 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1059 * hildon/hildon-touch-selector-entry.c
1060 (hildon_touch_selector_entry_init): Change the entry's size
1061 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1063 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1065 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1066 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1067 avoid unnecessary scaling.
1069 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1072 Create grab transfer window before calling parent's map function.
1074 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1075 "crushed" button(s) in the top left corner)
1077 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1079 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1080 Check if the window is already realized when pushing it.
1082 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: post release version bump
1085 * debian/changelog: post release version bump
1087 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1097 * hildon/hildon-app-menu.c: Doc updates.
1099 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1101 * hildon/hildon-banner.c: Remove leftover macro.
1103 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1105 * hildon/hildon-pannable-area.c,
1106 (hildon_pannable_area_scroll_indicator_fade),
1107 (hildon_pannable_area_button_release_cb): Reviewed vmin
1108 conditions, it could cause problems in the fadeout procedure.
1110 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1112 * hildon/hildon-pannable-area.c
1113 (hildon_pannable_area_button_release_cb): Added a threshold to
1114 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1116 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1118 * hildon/hildon-pannable-area.c,
1119 (hildon_pannable_area_set_property): Added code to sync the gtk
1120 dnd threshold with the panning threshold.
1122 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1124 * hildon/hildon-pannable-area.c,
1125 (hildon_pannable_area_class_init): Changed some of the default
1126 values, now it should be less responsive and more accurate.
1128 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1130 * hildon/hildon-pannable-area.c,
1131 (hildon_pannable_area_init),
1132 (hildon_pannable_area_scroll_indicator_fade),
1133 (hildon_pannable_area_button_press_cb),
1134 (hildon_pannable_axis_scroll),
1135 (hildon_pannable_area_timeout),
1136 (hildon_pannable_area_motion_notify_cb),
1137 (hildon_pannable_area_button_release_cb): Changed the name of the
1138 clicked attribute to button_pressed, it is more clear about its use.
1140 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1142 * src/hildon-pannable-area.c
1143 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1145 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1146 vertical scrollbar visibility, and use the data on private section instead,
1147 remove the initial_hint check
1148 (hildon_pannable_area_expose_event): add the initial_hint check here
1150 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1152 * src/hildon-pannable-area.c
1153 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1154 if the fadeout effect was used
1155 (hildon_pannable_area_expose_event): check if it is required to
1156 manage the initial effect on the begining of the function. Previously
1157 it was made at the end, but this doesn't ensure that the scrollbars
1158 will be painted on the first show. Do not set to FALSE initial_effect,
1159 to ensure that the initial hint is showed the first time the pannable
1161 * examples/Makefile.am
1162 * examples/hildon-pannable-area-initial-hint-example.c:
1163 New example, to show that the initial-hint is showed when the widget
1166 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1167 initially if the application can be scrolled)
1169 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1171 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1172 Resize table before adding new items to make sure that
1173 gtk_table_resize() is called just once.
1175 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1177 * hildon/hildon-app-menu-private.h
1178 * hildon/hildon-app-menu.c (item_visibility_changed)
1179 (filter_visibility_changed, hildon_app_menu_show_all)
1180 (hildon_app_menu_hide_all, hildon_app_menu_init):
1181 Rearrange items just once when gtk_widget_show_all()/hide_all()
1184 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1186 * hildon/hildon-app-menu.c
1187 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1188 Don't call gtk_widget_show() on added items.
1190 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1191 automatically when they're added)
1193 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1195 * hildon/hildon-banner.c
1196 (hildon_banner_realize, +hildon_banner_unrealize)
1197 (+screen_size_changed, hildon_banner_class_init):
1198 Redisplay the banner if the screen is rotated.
1200 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1201 on transition from landscape to portrait)
1203 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1205 * hildon/hildon-banner.[ch]:
1206 (hildon_banner_show_information_override_dnd): remove icon_name from the
1207 method definition as it is ignored.
1208 * examples/hildon-banner-dnd-example.c: updated with the change on
1211 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1213 * hildon/hildon-banner-private.h: new require_override_dnd and
1214 overrides_dnd variables
1215 * hildon/hildon-banner.h:
1216 (hildon_banner_show_information_override_dnd): new method, that shows
1217 the information but sets the override flag, in order to show important
1219 * hildon/hildon-banner.c
1220 (hildon_banner_show_information_override_dnd): new method
1221 (hildon_banner_set_override_flag): new utility function
1222 (hildon_banner_real_show_information): new utility function, in order to
1223 generalize the current hildon_banner_show_information_override_dnd and
1224 hildon_banner_show_information_override_dnd
1225 * examples/Makefile.am
1226 * examples/hildon-banner-dnd-example.c: New example that show how to
1227 use the new hildon_banner_show_information_override_dnd
1229 Fixes: NB#114874 (There is no possibility to show hildon banners with
1232 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1234 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1235 behind hildon_pannable_calculate_vel_factor().
1237 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1239 * hildon/hildon-pannable-area.c
1240 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1241 deceleration factors.
1243 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1245 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1246 Reduce the default value for 'scroll_time' to 1 second, since the
1247 current initial scrolling takes too much time.
1249 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1251 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1252 calculate velocity factor during initialization, since the properties
1255 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1257 * hildon/hildon-pannable-area.c
1258 (hildon_pannable_area_set_property): Calculate the velocity factor
1259 after setting the deceleration property and not after.
1261 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1263 * hildon/hildon-entry.c
1264 (hildon_entry_class_init, +set_property, hildon_entry_new)
1265 * hildon/hildon-check-button.c
1266 (hildon_check_button_class_init)
1267 (+set_property, hildon_check_button_new):
1268 Make the theme size a property.
1270 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1271 others) do too much in the _new function)
1273 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1275 * configure.ac: post release version bump
1276 * debian/changelog: post release version bump
1278 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1283 * configure.ac: Bump version.
1284 * debian/changelog: Updates.
1286 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1288 * hildon/hildon-gtk.h
1289 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1290 New API function to take a screenshot of a window
1292 Fixes: NB#106374 (Need API to take a loading screenshot)
1294 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1296 * hildon/hildon-time-selector.c
1297 (update_format_policy): prevent to use hours and minutes unitialized
1299 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1301 * hildon/hildon-window.c (hildon_window_size_request):
1302 Always request the full size of the screen (minus the title bar if
1303 not in fullscreen mode).
1305 Fixes: NB#107486 (HildonWindow should size itself properly)
1307 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1309 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1310 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1311 (on_show_cb), (sound_handling): Disconnect the idle handler for
1312 the sound when the note is finalized to avoid possible crashes.
1314 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1317 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1319 * src/hildon-animation-actor.c,
1320 * src/hildon-remote-texture.c:
1321 Added proper object cleanup to remove signal handler and object
1322 references as HildonAnimationActor and HildonRemoteTexture
1323 objects get destroyed.
1325 Fixes: NB#116682 (Destroying parented animation actors when
1326 parent in unmapped leads to crash)
1328 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1330 Based on a patch by Christian Dywan (christian@imendio.com)
1332 * doc/hildon-sections.txt:
1333 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1334 * hildon/hildon-helper.h: New file size formatting method.
1336 * debian/control: Depend on osso-filemanager l10n package for
1337 proper localization strings.
1339 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1341 * tests/Makefile.am: Include top_srcdir to make possible to build
1342 tests in a different builddir.
1343 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1344 on a different builddir.
1346 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1348 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1349 (hildon_touch_selector_remove): Disconnect model's signal handler
1352 Fixes: NB#116289 (Hildon home crashes while adding task
1355 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1357 * hildon/hildon-button.c
1358 (hildon_button_set_title, hildon_button_set_value):
1359 Hide labels containing an empty string.
1361 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: post release version bump
1364 * debian/changelog: post release version bump
1366 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1371 * configure.ac: Bump version.
1372 * debian/changelog: Updates.
1374 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1376 * hildon/hildon-note-private.h: Removed sound_signal_handler
1377 * hildon/hildon-note.c
1378 (on_show_cb): new callback on note "show" event, this simply adds
1379 a idle, with the function sound_handling
1380 (sound_handling): removed the sound_signal_handler management
1381 (hildon_note_init): connect note "show" event to on_show_cb
1382 (hildon_note_realize): remove the connection to "expose-event"
1384 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1385 device?' confirmation note)
1387 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1389 * hildon/hildon-note.c
1390 (hildon_note_new_information_with_icon_name)
1391 (hildon_note_new_confirmation_with_icon_name):
1392 Terminate the list of parameters in g_object_set() calls
1394 Fixes: NB#115166 (Formatting memory card is not taking place)
1396 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1398 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1399 "dialog-information" role for the sound being played.
1401 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1403 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1404 Don't make the menu a modal window, it causes strange interactions
1405 with the pointer grab and it's not really needed.
1407 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1409 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1411 * hildon/hildon-touch-selector.[ch]
1412 (hildon_touch_selector_optimal_size_request): function added to get a
1413 optimal size request from the touch selector, when you want a dialog to
1414 show as much of the selector
1415 * hildon/hildon-picker-dialog.c:
1416 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1417 (hildon_app_menu_class_init):
1418 New "max-height-landscape" and "max-height-portrait" style properties
1419 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1420 (hildon_picker_dialog_get_max_height): returns the maximum height using
1421 the style properties defined and checking the current portrait/landscape
1423 (_hildon_picker_dialog_set_selector): removed the set_size_request
1425 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1427 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1429 * hildon/hildon-bread-crumb-trail.c:
1430 * hildon/hildon-bread-crumb.c:
1431 * hildon/hildon-seekbar.c:
1432 Add reference to replacements for these deprecated widgets.
1434 Fixes: MB#4461 (Documentation: All deprecations should mention
1437 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1439 * examples/hildon-remote-texture-example.c
1441 Change the include to the hildon-remote-texture in order to compile
1442 properly the examples on the installed libhildon1-examples package
1444 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1446 * tests/Makefile.am: Add check for HildonPickerButton.
1447 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1448 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1449 checks for the HildonPickerButton.
1450 * tests/check_test.c (configure_tests): Add the test suite.
1451 * tests/test_suites.h: likewise.
1453 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1455 * hildon/hildon-touch-selector.c
1456 (+on_row_changed): Emit HildonTouchSelector:changed when the
1457 contents of a selected row change.
1458 (_create_new_column), (_hildon_touch_selector_set_model): connect
1459 to GtkTreeModel:row-changed on a newly set model.
1461 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1463 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1465 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1467 * hildon/hildon-banner.c (hildon_banner_destroy)
1468 (hildon_banner_show_progress, hildon_banner_set_fraction):
1469 Remove the progress bar from HildonBanner and use a progress
1472 Fixes: NB#113761 (Update progress banner to use progress
1475 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1477 * hildon/hildon-banner.c:
1478 Calculate size of the banner label using the actual screen width
1479 rather than using a fixed value.
1481 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1484 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1486 * hildon/hildon-pannable-area.c,
1487 (hildon_pannable_area_class_init): Fixed signals documentation
1490 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: post release version bump
1493 * debian/changelog: post release version bump
1495 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1500 * configure.ac: Bump version.
1501 * debian/changelog: Updates.
1503 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1505 * hildon/hildon-edit-toolbar.c
1506 (hildon_edit_toolbar_init):
1507 Don't let buttons in HildonEditToolbar receive focus.
1509 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1510 typing on an HW arrows key)
1512 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1514 * doc/Makefile.am: Fix build.
1516 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1518 * doc/Makefile.am: Do not redefine content_files.
1520 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1528 Renamed src/ to hildon/
1533 Include <hildon/hildon.h> directly in all examples.
1535 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1537 * src/hildon-sort-dialog.c
1538 (hildon_sort_dialog_add_sort_key_with_sorting)
1542 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1544 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1545 make distcheck passes.
1547 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1549 * Makefile.am: Enable gtk-doc during distcheck.
1551 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1553 * Makefile.am: Do not distribute the debian/ directory.
1555 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1557 * doc/Makefile.am: Add the extra SGML files to content_files,
1558 so that they are distributed properly.
1560 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1562 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1565 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1567 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1568 (hildon_note_new_information_with_icon_name): Set the "icon" property
1569 to preserve soundness.
1571 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1573 * src/hildon-font-selection-dialog.c
1574 (hildon_font_selection_dialog_set_property): Fail when the "family"
1575 property is set to NULL.
1577 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1582 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1584 * src/hildon-time-selector.h:
1585 Added HildonTimeSelectorFormatPolicy
1586 * src/hildon-time-selector.c:
1587 Added PROP_TIME_FORMAT_POLICY
1588 (_check_ampm_format): renamed to check_automatic_ampm_format
1589 (update_format_policy), (update_format_dependant_columns): new functions
1590 (hildon_time_selector_class_init)
1591 (hildon_time_selector_contructor)
1592 (hildon_time_selector_init)
1593 (hildon_time_selector_get_property)
1594 (hildon_time_selector_set_property)
1595 (hildon_time_selector_get_time)
1596 (hildon_time_selector_set_time)
1597 * src/hildon-touch-selector.h: new file
1598 * src/hildon-touch-selector.c
1599 (hildon_touch_selector_emit_changed)
1600 (hildon_touch_selector_block_changed)
1601 (hildon_touch_selector_unblock_changed)
1602 Added functions to allow to block the emission of the "changed" signal
1603 * src/hildon-picker-dialog.c
1604 (hildon_picker_dialog_show): call the parent show before the custom code
1605 * examples/hildon-time-button-example.c
1606 Modified, so now you can configure the time format using the new property
1608 Added a new property "time-format-policy" that allow to choose the time
1609 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1610 case it uses gconf in order to check if the time selector must use
1613 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1616 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-note.c (hildon_note_init):
1619 Label in HildonNote must be left aligned, not centered. This
1620 reverts the last commit in HildonNote.
1622 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1623 is connectivity dialog)
1625 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1630 * doc/hildon-sections.txt:
1631 Added hildon_gtk_window_set_do_not_disturb()
1633 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-note.c (hildon_note_init): Center label.
1637 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1640 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1645 * configure.ac: Bump version.
1646 * debian/changelog: Updates.
1648 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-note-private.h: Add button-width to the private data.
1651 * src/hildon-note.c (+resize_button),
1652 (+hildon_note_orientation_update): methods to repack widgets on orientation
1654 (screen_size_changed): Call above method for confirmation notes.
1655 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1656 (hildon_note_rebuild): Store the original width request from buttons.
1658 Fixes: NB#109635 (Confirmation notes do not support portrait)
1660 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1662 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1663 when it is a progress note.
1665 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1668 in the note, since there are no horizontally arranged contents.
1670 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1672 * src/hildon-gtk.c (+set_flag): new generic method to
1673 set/delay a flag setting in a window.
1674 (hildon_gtk_window_set_progress_indicator):
1675 (hildon_gtk_window_set_do_not_disturb),
1676 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1677 avoid code redundance.
1679 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1681 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1683 * src/hildon-gtk.c (set_clear_window_flag),
1684 (do_set_progress_indicator), (do_set_do_not_disturb),
1685 (do_set_portrait_flags),
1686 (hildon_gtk_window_set_progress_indicator),
1687 (hildon_gtk_window_set_do_not_disturb),
1688 (hildon_gtk_window_set_portrait_flags):
1689 Allow setting dnd-flag, progress indicator, and portrait flags
1690 when the window is not realized.
1692 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1694 * src/hildon-pannable-area.c,
1695 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1696 the size request policy function and defines.
1698 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1700 * doc/hildon-sections.txt: Add the new API.
1701 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1702 method to set the portrait flags.
1703 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1705 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1707 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1710 to allow using this method with other flags.
1711 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1712 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1714 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-touch-selector.c
1717 (hildon_touch_selector_append_text_column):
1718 Make the cell renderer use the smallest width possible.
1720 Fixes: NB#108470 (Selected items in multiple selection are either
1721 having a tick that is cut or not visible at all.)
1723 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-touch-selector.c
1726 (hildon_touch_selector_append_text_column):
1729 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1731 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1732 Use g_strdup_printf() instead of a fixed size buffer.
1734 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1737 Close banners when a HildonAppMenu is popped up.
1739 Fixes: NB#111027 (Title menu closed immediately if activated when
1740 "Invalid e-mail address" banner is shown)
1742 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1747 * configure.ac: Bump version.
1748 * debian/changelog: Updates.
1750 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-banner.c (hildon_banner_realize):
1753 Mark HildonBanner as supporting portrait mode.
1754 Use GDK to set window properties insetad of direct Xlib calls.
1756 Fixes: NB#111830 (HildonBanner should be marked as supporting
1759 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-note.c (hildon_note_rebuild):
1762 Hide action area in information notes. Prevents text from being
1763 slightly aligned to the left.
1765 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1768 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1770 Patch by Mox Soini (ext-mox.soini@nokia.com)
1772 * src/hildon-banner.c (hildon_banner_create_animation):
1773 Use stylus-sized icons in animation banner.
1775 Fixes: NB#111206 (stylus sized icon for animation banner)
1777 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1781 (+hildon_gtk_window_set_do_not_disturb):
1782 New API to set the do-not-disturb flag.
1784 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1786 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1788 * examples/hildon-progress-indicator-example.c: Fix example
1790 * src/hildon-gtk.c (set_clear_window_flag)
1791 (hildon_gtk_window_set_progress_indicator):
1792 Create a generic function for setting flags to a window.
1793 Use GDK instead of direct Xlib calls.
1795 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-button.c (hildon_button_set_arrangement):
1798 Due to NB#88126, if one of the labels is too long it will be
1799 painted outside the button. The 'value' label is more likely to be
1800 the longest one, so we change its packing options in order to
1801 truncate it if necessary. As a side effect, the 'title' label will
1802 no longer be truncated.
1804 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1806 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1811 * configure.ac: Bump version.
1812 * debian/changelog: Updates.
1814 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1816 Deprecation of the hildon_pannable_area_set_size_request_policy
1817 API, the only policy properly supported in gtk+ nowadays is the
1820 * src/hildon-pannable-area.c,
1821 (hildon_pannable_area_size_request): Added a workaround for the
1822 size_request to avoid the problems of huge pixmaps in case someone
1823 is still using the function.
1824 * src/hildon-pannable-area.h: Deprecated the enum with the
1827 Fixes: NB#110244 (Problems with the
1828 hildon_pannable_area_set_size_request_policy API)
1830 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_init),
1834 (hildon_pannable_area_size_request),
1835 (hildon_pannable_area_style_set),
1836 (hildon_pannable_draw_vscroll),
1837 (hildon_pannable_draw_hscroll),
1838 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1839 indicator_width to clarify the use of the attribute.
1841 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1846 * configure.ac: Bump version.
1847 * debian/changelog: Updates.
1849 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1851 * src/hildon-picker-dialog.c
1852 * src/hildon-touch-selector.c
1853 Reverting the change that tried to avoid the hardcoded height on
1854 the picker dialog, as causes problems on the hildon-touch-selector
1857 Fixes: NB#110029 (selectors not scrolling to selected value)
1859 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-touch-selector.c: Fix typos
1863 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1866 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1867 request more motions after using it.
1869 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1871 * src/hildon-calendar.c (hildon_calendar_expose),
1872 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1873 Remove unused variables.
1875 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1877 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1878 variable assignment.
1880 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1883 Check the return value of gtk_tree_selection_get_selected()
1886 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-animation-actor.c
1889 * src/hildon-button.c
1891 * src/hildon-pannable-area.c
1892 * src/hildon-picker-button.c
1893 * src/hildon-program.c
1894 * src/hildon-remote-texture.c
1895 * src/hildon-text-view.c
1896 * src/hildon-touch-selector.c
1897 * src/hildon-window-stack.c
1898 * src/hildon-window.c:
1899 Add missing 'Since: 2.2' tags.
1901 * doc/hildon-sections.txt:
1902 Add some missing symbols.
1904 * doc/hildon-docs.sgml:
1905 New 'Other' section for HildonAnimationActor and
1908 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1910 Patch by Iván Gómez (igomez@igalia.com)
1913 * doc/compiling.sgml
1914 * doc/hildon-docs.sgml
1915 * doc/hildon-sections.txt
1916 * doc/migration.sgml
1917 * doc/resources.sgml
1919 New chapters on using the Hildon library.
1920 Updated the general structure of the reference manual.
1921 Other minor documentation fixes.
1923 * src/hildon-calendar-popup.c
1924 * src/hildon-calendar.c
1925 * src/hildon-controlbar.c
1926 * src/hildon-date-editor.c
1927 * src/hildon-dialog.c
1928 * src/hildon-hvolumebar.c
1929 * src/hildon-number-editor.c
1930 * src/hildon-range-editor.c
1931 * src/hildon-sort-dialog.c
1932 * src/hildon-time-editor.c
1933 * src/hildon-time-picker.c
1934 * src/hildon-volumebar-range.c
1935 * src/hildon-volumebar.c
1936 * src/hildon-vvolumebar.c
1937 * src/hildon-weekday-picker.c:
1938 Add deprecation notes
1940 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1941 Document 'horizontal-movement' and 'vertical-movement' signals.
1943 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1948 * configure.ac: Bump version.
1949 * debian/changelog: Updates.
1951 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1953 * src/hildon-pannable-area.c,
1954 (hildon_pannable_area_class_init): increased the minimum velocity.
1955 (hildon_pannable_area_button_release_cb): Updated the
1956 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1957 setup. Review the code to control that last event.
1959 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1962 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1964 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1966 * src/hildon-get-password-dialog.c
1967 (hildon_get_password_set_property),
1968 (hildon_get_password_get_property), (create_contents):
1969 * src/hildon-login-dialog-private.h:
1970 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1971 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1972 (hildon_login_dialog_get_password):
1973 * src/hildon-set-password-dialog-private.h:
1974 * src/hildon-set-password-dialog.c
1975 (hildon_set_password_set_property),
1976 (hildon_set_password_get_property), (create_contents),
1977 (hildon_set_password_response_change),
1978 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1980 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1981 instead and look more Fremantle style.
1983 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1985 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1987 * doc/hildon-sections.txt
1988 * src/hildon-window-stack.h
1989 * src/hildon-window-stack.c
1990 (+hildon_window_stack_get_windows):
1991 New API to obtain the list of windows on a stack.
1993 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-app-menu.c (hildon_app_menu_popup)
1996 (hildon_app_menu_class_init, -hildon_app_menu_show):
1997 Remove hildon_app_menu_show() and move all its checks to
1998 hildon_app_menu_popup()
2000 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2002 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2003 (_hildon_picker_dialog_set_selector): removed call to
2004 gtk_widget_set_size_request
2005 * src/hildon-touch-selector.c
2006 (_create_new_column): change the pannable size request policy
2008 Avoid to use a hardcoded height for the hildon picker dialog. In order
2009 to get that, we needed to change the hildon pannable size request
2011 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2013 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2016 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2019 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2021 * debian/control: Depend on osso-system-lock localization package.
2022 * src/hildon-code-dialog.c: Obtain the secu_application_title
2023 translation from osso-system-lock.
2024 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2025 for translation the atk related strings, that's not necessary.
2026 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2027 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2028 cancel button, it is not required.
2030 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2032 * src/hildon-pannable-area.c,
2033 (hildon_pannable_area_class_init): Modified the default value of
2034 the overshooting max speed, we have reduced it.
2036 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2038 * doc/hildon-sections.txt
2039 * src/hildon-window-private.h
2040 * src/hildon-window.h
2041 * src/hildon-window.c (hildon_window_class_init)
2042 (hildon_window_init, hildon_window_finalize)
2043 (hildon_window_realize, hildon_window_get_property)
2044 (hildon_window_set_property, hildon_window_update_markup)
2045 (hildon_window_get_markup, hildon_window_set_markup):
2046 New "markup" property and hildon_window_{get,set}_markup() methods.
2048 * examples/hildon-stackable-window-example.c (new_window):
2049 Update example to use hildon_window_set_markup()
2051 Fixes: NB#106375 (Need API to retitle a window with a title
2054 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2056 * src/hildon-pannable-area.c,
2057 (hildon_pannable_area_class_init): Changed the default value of
2058 the initial_hint to TRUE.
2059 (hildon_pannable_area_initial_effect): Changed the initial effect,
2060 not the effect is just the fade-out of the scrollbars.
2062 Fixes: NB#107775 (No scrollbars can be seen when several items are
2063 available in a dialog)
2065 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2067 * src/hildon-program.c (hildon_program_update_top_most):
2070 Fixes: NB#109179 (Memory leak in Hildon program)
2072 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-banner.c (-get_current_app_window):
2075 Remove unused function.
2077 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2079 * src/hildon-pannable-area.c: Modified the documentation of the
2080 get adjustments functions to explain the problem of using the
2081 adjustment directly.
2082 (hildon_pannable_area_class_init): Improved the explanation about
2085 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-app-menu-private.h
2088 * src/hildon-app-menu.c
2089 (hildon_app_menu_class_init):
2090 Bring back the 'external-border' style property
2091 (hildon_app_menu_class_init, hildon_app_menu_init)
2092 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2093 Set a fixed width-request for the menu, independent of the number
2096 Fixes: NB#94957 (Smoothly opened application menu)
2098 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2102 * src/hildon-banner.c
2103 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2105 Make sure that the banner is correctly placed the first time it's
2107 (hildon_banner_check_position, -check_fullscreen_state):
2108 Show the banner in the same place no matter if the window is in
2109 fullscreen mode or not.
2111 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2113 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-touch-selector.c (_default_print_func): reorder
2116 concatenation for clarity.
2118 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2121 for multicolumn selectors.
2123 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2125 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2130 * configure.ac: Bump version.
2131 * debian/changelog: Updates.
2133 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2135 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2138 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2140 * configure.ac: removed libcangerra-gtk dependency
2141 * debian/control: removed libcanberra-gtk dependency
2142 * src/Makefile.am: removed libcanberra gtk related flags
2143 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2144 context, and manage a global canberra context instead
2146 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2148 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2150 Patch by Daniel Borgmann (danielb@openismus.com)
2152 * src/hildon-edit-toolbar.c:
2153 Adjust the left padding.
2154 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2155 Paint background of the edit toolbar.
2157 Fixes: NB#107897 (Patch to make editmodetoolbar background
2158 themeable and adjust margin)
2160 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2162 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2164 * src/hildon-program.c (hildon_program_update_top_most):
2165 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2167 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2168 change when the user tasks in/out of an application)
2170 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2172 * configure.ac: added libcangerra-gtk dependency
2173 * debian/control: added libcanberra-gtk dependency
2174 * src/Makefile.am: added libcanberra gtk related flags
2175 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2178 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2180 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-program.c (hildon_program_remove_window)
2183 (hildon_program_add_window): Add checks for the window
2184 parameter. Don't decrease the window counter if the window is not
2187 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2189 * src/hildon-pannable-area.c,
2190 (hildon_pannable_area_realize): Fixed position of the event_window
2191 in the realize method.
2193 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-app-menu-private.h
2196 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2197 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2198 (hildon_app_menu_key_press, hildon_app_menu_init)
2199 (hildon_app_menu_finalize):
2200 Make sure that all idle functions are removed when the widget is
2203 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2205 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2210 * configure.ac: Bump version.
2211 * debian/changelog: Updates.
2213 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-entry.c
2216 (+hildon_entry_show_placeholder),
2217 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2218 that replace hildon_entry_update_contents().
2219 (hildon_entry_set_text),
2220 (hildon_entry_set_placeholder),
2221 (hildon_entry_focus_in_event),
2222 (hildon_entry_focus_out_event): Determine when it is needed
2223 either to show or hide the placeholder and call the above methods.
2225 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2226 when the placeholder text is already set)
2228 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2230 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2231 simple GdkPixbufAnim using the new icons for the banner.
2232 (hildon_banner_show_animation): Use the above mentioned method to
2233 create the animation widget.
2235 Fixes: NB#103564 (Make hildon animation banner use individual
2236 image files as the animation)
2238 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2240 * src/hildon-pannable-area.c,
2241 (hildon_pannable_leave_notify_event): Check if the child is NULL
2242 to avoid sending the leave.
2244 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2246 * src/hildon-pannable-area.c,
2247 (hildon_pannable_area_class_init),
2248 (hildon_pannable_leave_notify_event): Added a handler of the
2249 leave-notify-signal to consider when no motion notify before
2252 Fixes: NB#107494 (Items stay selected when clicking and moving
2253 away when inside pannable area)
2255 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2260 * configure.ac: Bump version.
2261 * debian/changelog: Updates.
2263 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2265 Patch by Alberto Garcia (agarcia@igalia.com)
2267 * src/hildon-date-button.c,
2268 (hildon_date_button_class_init),
2269 (hildon_date_button_init): Removed the construct property handling
2270 and created a default selector in the init method.
2271 * src/hildon-picker-button.c,
2272 (hildon_picker_button_class_init): Removed the construct flag of the
2275 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-main.c (hildon_init):
2278 Don't allow hildon_init() to be called more than once.
2280 Fixes: NB#106607 (hildon_init should issue error message upon
2283 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2285 * examples/hildon-pannable-area-touch-list-example.c
2286 * examples/hildon-pannagle-area-touch-grid-example.c
2287 * examples/hildon-edit-toolbar-example.c
2288 * examples/hildon-touch-selector-multi-cells-example.c
2289 Removed the call to gtk_rc_parse_string, as it is not required since
2292 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2294 * src/hildon-pannable-area.c,
2295 (hildon_pannable_area_class_init): Modified the default panning
2296 threshold of the widget to 6px.
2298 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2299 than the threshold value ) within the button is not sending the
2302 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2304 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2305 for the treeview in the new column. This way, the touch list will never
2308 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2309 be selected manually for the HW keys to work)
2311 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2314 comparison instead of using strcmp(). Fixes a compiler warning as well.
2316 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2318 * doc/hildon-docs.sgml: Do not set the library version in the
2319 document title, use the releaseinfo tag for that purpose instead.
2321 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2324 Do not jump to the first item if the text in the entry is removed.
2326 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2331 * configure.ac: Bump version.
2332 * debian/changelog: Updates.
2334 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-entry.c (hildon_entry_refresh_contents):
2337 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2338 Use "ReversedSecondaryTextColor" for the placeholder text.
2340 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-text-view.c: Fix compilation warning.
2344 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-button.c (hildon_button_class_init): Don't make
2347 "title" and "value" construction properties, to prevent them from
2348 overwriting labels set from derived classes.
2350 * src/hildon-picker-button.c
2351 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2352 (hildon_picker_button_class_init): Make touch-selector a
2353 construction property.
2355 * src/hildon-date-button.c (hildon_date_button_class_init)
2356 (+hildon_date_button_constructed): Add a default date selector if
2359 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-touch-selector.c: Small documentation fixes.
2363 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2365 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2367 * src/hildon-entry.c (hildon_entry_refresh_contents),
2368 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2369 widget name, set the logical color directly instead and a boolean
2370 showing_placeholder instead.
2371 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2372 use the widget name here either.
2374 Fixes: NB#105678 (HildonTextView should use logical colours
2375 instead of setting widget name)
2377 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2379 Patch by Daniel Elster (danielk@openismus.com)
2381 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2382 Add user_data parameter.
2383 (hildon_touch_selector_set_print_func_full): New function akin
2384 hildon_touch_selector_set_print_func() but with support for user
2385 data and a destroy callback.
2386 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2387 to clean up the print function user data.
2388 (hildon_touch_selector_class_init): Install dispose function.
2389 (HildonTouchSelectorPrivate::print_user_data),
2390 (HildonTouchSelectorPrivate::print_destroy_func): New private
2392 (hildon_touch_selector_init): Initialize new private members.
2393 (hildon_touch_selector_get_current_text): Pass along user data
2394 to the print function.
2395 (_default_print_func): Add dummy user_data to parameter list.
2396 * hildon-date-selector.c (_custom_print_func): ditto,
2397 * hildon-time-selector.c (_custom_print_func): ditto,
2398 * hildon-touch-selector-entry.c
2399 (hildon_touch_selector_entry_print_func): ditto.
2401 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2403 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2405 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2407 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2409 * src/hildon-pannable-area.c,
2410 (hildon_pannable_area_init),
2411 (hildon_pannable_area_button_press_cb),
2412 (hildon_pannable_area_motion_notify_cb): We have added code to
2413 handle the leave and enter events when using the motion events.
2415 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2417 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2419 * src/hildon-date-button.c (hildon_date_button_get_date)
2420 (hildon_date_button_set_date): Make sure that the button has a
2423 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2425 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2427 * src/hildon-pannable-area.c,
2428 (hildon_pannable_area_class_init),
2429 (hildon_pannable_area_calculate_velocity): Modify the use of the
2430 force and adapt the value.
2432 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2435 (hildon_app_menu_class_init): Hide the menu if it receives a
2436 delete-event, but don't destroy it
2438 Fixes: NB#104485 (Not able to address the call when application
2439 menu is opened at background)
2441 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-app-menu.c
2444 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2445 Remove the "external-border" style property, let the menu take its
2446 natural size (or the one set by the window manager)
2447 (hildon_app_menu_repack_items):
2448 Don't reshow the menu, avoid flickers.
2450 Partially fixes NB#94957 (Smoothly opened application menu)
2452 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: Bump version.
2458 * debian/changelog: Updates.
2460 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_area_motion_notify_cb): We control that the
2464 direction error margin is used just in case the movement is
2465 allowed in the other direction.
2467 Fixes: NB#105012 (buttons inside a pannable area not getting
2468 release event when dragging/releasing)
2470 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2472 * src/hildon-pannable-area.c,
2473 (hildon_pannable_area_class_init),
2474 (hildon_pannable_area_get_property),
2475 (hildon_pannable_area_set_property),
2476 (hildon_pannable_area_initial_effect),
2477 (hildon_pannable_axis_scroll),
2478 (hildon_pannable_area_button_release_cb): Reviewed the
2479 overshooting effect, now it has its own max
2480 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2481 speed when bouncing.
2483 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2488 * configure.ac: Bump version.
2489 * debian/changelog: Updates.
2491 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2493 * src/hildon-pannable-area.c,
2494 (hildon_pannable_area_class_init): Changed the max speed, now
2495 users can launch the widget very fast. Reduced the default force,
2496 that way it is easier to control the launch speed.
2498 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2500 * src/hildon-pannable-area.c,
2501 (hildon_pannable_area_button_release_cb): Removed this check
2502 because it causes problems when the device is overloaded.
2504 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2507 add a current_text field to store the text entered in the
2508 touch selector entry.
2509 (_clean_current_selection): clean up the current text as well.
2510 (_save_current_selection), (_restore_current_selection):
2511 Save/restore the text in the entry if the selector is a
2512 HildonTouchSelectorEntry.
2514 Fixes: NB#102541 (value entered in the touch selector entry is not
2515 shown when opened for second time)
2517 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2519 * doc/hildon-sections.txt:
2520 * src/hildon-touch-selector-entry.c
2521 (+hildon_touch_selector_entry_get_entry):
2522 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2524 Fixes: NB#104815 (I need accessor to the entry inside
2525 HildonTouchSelectorEntry)
2527 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2530 (hildon_app_menu_class_init):
2531 New "filter-vertical-spacing" style property.
2533 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-find-toolbar.c
2536 (hildon_find_toolbar_emit_close)
2537 (hildon_find_toolbar_emit_invalid_input)
2538 (hildon_find_toolbar_entry_activate):
2539 Use g_signal_emit() instead of g_signal_emit_by_name()
2541 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2543 Patch by Mox Soini (ext-mox.soini@nokia.com)
2545 * tests/TEST-CASES.txt
2546 * tests/check-hildon-banner.c
2547 * tests/check-hildon-note.c
2548 * src/hildon-banner.c
2549 * src/hildon-code-dialog.c
2550 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2551 * src/hildon-time-editor.c
2552 * examples/hildon-lookup-example.c (main):
2553 Replace obsolete icon names with new ones.
2555 * src/hildon-find-toolbar-private.h:
2556 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2557 (-hildon_find_toolbar_emit_search):
2558 Remove find button and change icon of close button.
2560 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2562 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-time-button.c (hildon_time_button_new_step):
2565 Use the "touch-selector" property to set the selector directly
2566 when creating the object.
2568 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2570 Added a new example application that allows tuning the pannable
2571 area and replaced defines with properties in order to simplify the
2572 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2573 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2574 PROP_DIRECTION_ERROR_MARGIN.
2576 * examples/hildon-pannable-area-tuning-example.c: New example
2578 * src/hildon-pannable-area.c,
2579 (hildon_pannable_area_class_init),
2580 (hildon_pannable_area_init),
2581 (hildon_pannable_area_get_property),
2582 (hildon_pannable_area_set_property),
2583 (hildon_pannable_area_launch_fade_timeout),
2584 (hildon_pannable_area_adjust_value_changed),
2585 (hildon_pannable_axis_scroll),
2586 (hildon_pannable_area_motion_notify_cb),
2587 (hildon_pannable_area_scroll_cb),
2588 (hildon_pannable_area_button_release_cb): We have converted some
2589 of the defines that control the widget to properties to simplify
2592 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-app-menu.c (hildon_app_menu_map)
2595 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2596 so it's closed if a new window appears.
2598 Fixes: NB#104485 (Not able to address the call when application
2599 menu is opened at background)
2601 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2603 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2604 missing 'break' statement in in 'case' construct to avoid
2607 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-touch-selector-entry.c
2610 (hildon_touch_selector_entry_get_property),
2611 (hildon_touch_selector_entry_set_property): Add missing 'break'
2612 statements in in 'case' constructs to avoid incorrect warnings.
2614 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-time-editor.c
2617 (hildon_time_editor_get_time_separators): Do not crash if
2618 the first label is NULL.
2620 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2622 * src/hildon-date-selector.c (_month_days): Check for month to be
2623 strictly less than 12, since otherwise we may overrun the array.
2625 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-date-button.c (+hildon_date_button_new_full)
2628 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2629 (hildon_date_button_init): Set the date selector using a
2630 construction property, to make it happen after HildonButton's
2631 "value" property is set.
2633 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2634 current date by default)
2636 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2638 * doc/hildon-sections.txt
2639 * src/hildon-program.c
2640 * src/hildon-stackable-window.c
2641 * src/hildon-window.c:
2642 Documentation updates
2644 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2646 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2647 (hildon_window_stack_new, +hildon_window_stack_set_property)
2648 (+hildon_window_stack_get_property)
2649 (hildon_window_stack_class_init)
2650 (+hildon_window_stack_set_window_group)
2651 (+hildon_window_stack_get_window_group):
2652 Make the window group a construction property.
2654 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2656 * doc/hildon-sections.txt
2657 * src/hildon-stackable-window-private.h
2658 * src/hildon-stackable-window.h
2659 * src/hildon-stackable-window.c
2660 (-hildon_stackable_window_set_app_menu)
2661 (-hildon_stackable_window_get_app_menu)
2662 (-hildon_stackable_window_toggle_menu)
2663 (-hildon_stackable_window_finalize)
2664 (hildon_stackable_window_class_init)
2665 (hildon_stackable_window_init)
2666 * src/hildon-window-private.h
2667 * src/hildon-window.h
2668 * src/hildon-window.c (hildon_window_init)
2669 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2670 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2671 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2672 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2673 Moved all HildonAppMenu code to HildonWindow. The menu does not
2674 require a HildonStackableWindow anymore.
2676 * src/hildon-app-menu.c
2677 * src/hildon-program.c
2678 * examples/hildon-app-menu-example.c (main):
2679 Update examples and documentation to reflect HildonAppMenu
2682 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2684 * src/hildon-remote-texture.c
2685 * src/hildon-animation-actor.c:
2686 Don't include unused private headers.
2688 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-program-private.h
2691 * src/hildon-program.c
2692 (hildon_program_set_common_menu)
2693 (hildon_program_get_common_menu)
2694 (hildon_program_set_common_app_menu)
2695 (hildon_program_get_common_app_menu):
2696 Change common menu pointers from GtkWidget* to GtkMenu* and
2697 HildonAppMenu* to avoid unnecessary casts.
2699 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-window.c (hildon_window_set_main_menu):
2702 Removed incorrect 'Since:' tag
2704 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2706 * src/hildon-pannable-area.c,
2707 (hildon_pannable_area_calculate_velocity): We use now the
2708 RATIO_TOLERANCE here to check the distance, fixed typo in the
2710 (hildon_pannable_area_motion_notify_cb): We have to set the type
2711 and time even if we are not sending the motion.
2713 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2715 * doc/hildon-sections.txt
2716 * src/hildon-app-menu.h
2717 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2718 (+hildon_app_menu_get_filters): New methods to get the contents of
2721 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2724 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-app-menu.c (hildon_app_menu_popup):
2729 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-window.h
2732 * src/hildon-window.c (+hildon_window_get_main_menu)
2733 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2734 and deprecated hildon_window_get_menu().
2736 * src/hildon-stackable-window.h
2737 * src/hildon-stackable-window.c
2738 (+hildon_stackable_window_set_app_menu)
2739 (+hildon_stackable_window_get_app_menu)
2740 (hildon_stackable_window_set_main_menu): Created
2741 hildon_stackable_window_{get,set}_app_menu() and deprecated
2742 hildon_stackable_window_set_main_menu().
2744 * doc/hildon-sections.txt
2745 * examples/hildon-app-menu-example.c (main)
2746 * src/hildon-app-menu.c
2747 * src/hildon-program.c:
2748 Updated examples and documentation.
2750 Fixes: NB#103758 (No way to obtain a menu from a
2751 HildonStackableWindow)
2753 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: Bump version.
2759 * debian/changelog: Updates.
2761 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2763 * examples/hildon-remote-texture-example.c: Include
2764 hildon-remote-texture.h explicitely.
2765 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2766 applications not defining _XOPEN_SOURCE which don't require this header.
2768 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2770 * doc/hildon-sections.txt
2771 * src/hildon-app-menu.h
2772 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2773 New function to pop up a HildonAppMenu
2775 * src/hildon-stackable-window.c
2776 (hildon_stackable_window_toggle_menu):
2777 Use hildon_app_menu_popup() to show the menu.
2779 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-app-menu.c (hildon_app_menu_show)
2782 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2783 menu if there's another window between it and its parent window.
2785 Fixes: NB#100468 (Application menu window is launched even when a
2786 new secondary-window/dialog is pending to be shown/realized)
2788 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-window-stack.c (hildon_window_stack_push)
2791 (hildon_window_stack_pop_and_push):
2792 Don't forget to push/pop the first window.
2793 Reverse the window list before calling _push_list()
2795 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-picker-button.h
2798 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2799 Remove "value_changed" slot to avoid ABI breakage
2801 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c,
2804 (hildon_pannable_area_realize),
2805 (hildon_pannable_area_unrealize),
2806 (hildon_pannable_draw_vscroll),
2807 (hildon_pannable_draw_hscroll): Changed the method to handle the
2808 GC used to draw the transparent scrollbar, this way we avoid
2809 creating the GC all the time when drawing the scrollbars.
2811 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2813 * src/hildon-pannable-area.c,
2814 (hildon_pannable_area_init),
2815 (hildon_pannable_area_remove): Removed some unnecessary casts.
2816 (hildon_pannable_area_dispose): Disconnected some signals before
2817 releasing the adjustments.
2819 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2822 Make sure that all widgets contained in the toolbar are shown.
2824 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2826 * doc/hildon-sections.txt
2827 * src/hildon-picker-button.h
2828 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2829 (_selection_changed, hildon_picker_button_on_dialog_response)
2830 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2831 New hildon_picker_button_value_changed() method.
2834 * src/hildon-picker-button-private.h
2835 * src/hildon-picker-button.c (hildon_picker_button_init)
2836 (+hildon_picker_button_disable_value_changed): Add protected
2837 function for disabling the "value-changed" signal.
2839 * src/hildon-date-button.c (hildon_date_button_set_date):
2840 Don't emit "value-changed" for each one of the three columns.
2842 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2843 before actual change of values)
2845 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2847 * src/hildon-pannable-area.c,
2848 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2849 for the treeview overshooting.
2851 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2853 * src/hildon-banner.c (+hildon_banner_bind_style):
2854 Renamed from hildon_banner_bind_label_style(), now naming the
2855 banner itself as well.
2856 (hildon_banner_show_information),
2857 (hildon_banner_show_information_with_markup),
2858 (hildon_banner_show_animation), (hildon_banner_show_progress):
2859 Name the widgets and labels, based on their type.
2861 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2864 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-note.c (hildon_note_set_property): call
2867 hildon_note_rename() on HildonNote:note-type set.
2868 (hildon_note_rename): Name the note and its label, based on the
2869 HildonNote:note-type property.
2871 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2874 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2876 * src/hildon-pannable-area.c,
2877 (hildon_pannable_area_class_init),
2878 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2879 panning parameters, increased SPS and deceleration factor. Added
2880 also a margin to control fake directions.
2882 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2884 Patch by Sven Herzberg (sven@imendio.com)
2886 * configure.ac: Add missing AM_PROG_CC_C_0
2887 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2889 See NB#101420 (Update unit tests and fix make check)
2891 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2893 This patch was applied before but reverted because it caused
2894 problems, we have changed the main condition and tested the
2895 regressions we detected before and they work ok. We have done a
2896 complete review of the topmost algorithm in order to get a more
2899 * src/hildon-pannable-area.c,
2900 (hildon_pannable_area_get_topmost): Added a new parameter to
2901 filter the the windows that do not include those events.
2902 (hildon_pannable_area_button_press_cb),
2903 (hildon_pannable_area_button_release_cb),
2904 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2905 topmost function, we have added the new parameter.
2907 Fixes: NB#97458 (Pannable area prevents propagation of button
2910 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2913 if all columns in the selector have an item selected.
2914 (_on_dialog_response): Stop "response" signal emission if there is
2915 any selector column without selected items.
2917 Fixes: NB#101889 (Picker dialog should not close when nothing is
2918 selected in multiple selection list)
2920 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-font-selection-dialog.c
2923 (hildon_font_selection_dialog_class_init),
2924 (hildon_font_selection_dialog_init): Remove the preview
2925 button and dialog, since previewing with default theming is likely
2926 to be overcomplicated. The :preview property has now no effect.
2927 Update documentation blurbs to inform about this.
2929 Fixes: NB#92297 (Preview content is not clearly visible for
2930 default colour text)
2932 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2934 Reviewed the geometry that handles the children size and
2935 scrollbar, now it tries a size and reviews the results depending
2936 on the scrollbars visibility.
2938 * src/hildon-pannable-area.c,
2939 (hildon_pannable_area_realize): Fixed a typo.
2940 (hildon_pannable_area_child_allocate_calculate): Added this
2941 function to calculate the child allocation.
2942 (hildon_pannable_area_size_allocate): Reviewed the allocation
2944 (hildon_pannable_area_check_scrollbars),
2945 (hildon_pannable_area_refresh): Refactored refresh function, this
2946 way we can call the code handling the scrollbars without causing a
2947 size_request, it is interesting in the allocate.
2948 (hildon_pannable_area_init): Replace the callbacks of the
2949 value_changed and changed signals to propertly deal with the
2951 (hildon_pannable_area_grab_notify),
2952 (hildon_pannable_area_initial_effect),
2953 (hildon_pannable_area_launch_fade_timeout),
2954 (hildon_pannable_area_adjust_changed),
2955 (hildon_pannable_area_adjust_value_changed),
2956 (hildon_pannable_area_redraw),
2957 (hildon_pannable_area_button_press_cb),
2958 (hildon_pannable_area_button_release_cb),
2959 (hildon_pannable_area_scroll_cb),
2960 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2961 code and use the new functions adjust_changed and
2962 adjust_value_changed.
2964 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2965 Contact editor dialog)
2967 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2972 * configure.ac: Bump version.
2973 * debian/changelog: Updates.
2975 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2977 * src/hildon-pannable-area.c,
2978 (hildon_pannable_area_get_topmost),
2979 (hildon_pannable_area_button_press_cb),
2980 (hildon_pannable_area_button_release_cb),
2981 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2982 topmost function adding the event mask. We have to try a
2983 differente approach because it is still causing problems (NB#9745,
2986 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-banner.c:
2989 Update the maximum width of timed banners.
2990 (force_to_wrap_truncated): Enforce the maximum text width if the
2993 Fixes: NB#102413 (The text margins (wrapping) in information
2994 banner should be HILDON_MARGIN_TRIPLE)
2996 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2998 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3000 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3001 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3002 bound when calculating the scroll indicator position.
3004 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3005 treat ->lower correctly)
3007 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3009 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3010 expose event handling, since it is not necessary to draw the focus
3013 Fixes: NB#102467 (Do not show highlight on the text in
3016 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3019 full height of the toolbar for the button and the label.
3021 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3024 padding before the label and after the button.
3026 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3030 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3031 Add a GtkVSeparator between the button and the back arrow.
3032 Let the button have automatic size.
3033 Set a name to the widget for theming handling.
3035 Fixes: NB#101793 (Make edit toolbar the same height as window
3036 title bar (use title area theming))
3038 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-helper.c (attach_new_color_element): Fix memory
3043 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3045 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3047 * examples/hildon-button-example.c (common_buttons_window): Don't
3050 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3053 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3055 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-gtk.c: Check that the window is realized.
3059 Fixes: NB#102225 (Crash setting the progress indicator to a non
3062 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3065 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3066 instead of modifying the one in the widget style.
3068 Fixes: NB#101043 (Second row of all the command button are
3069 displayed in transparent mode.)
3071 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-date-button.c
3074 * src/hildon-time-button.c: Add gettext macros
3076 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3078 * src/hildon-date-button.c (hildon_date_button_new):
3079 * src/hildon-time-button.c (hildon_time_button_new_step):
3080 Use new logical strings to set the button default title.
3082 Fixes: NB#99915 (Date and Time options are not localised in Date
3085 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3087 * src/hildon-pannable-area.c
3088 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3089 the PANNING_THRESHOLD.
3091 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3093 * src/hildon-pannable-area.c,
3094 (hildon_pannable_area_class_init): Increased the maximum speed.
3095 (hildon_pannable_area_get_property),
3096 (hildon_pannable_area_set_property),
3097 (hildon_pannable_area_timeout): Added a new low friction mode, it
3098 allows the user avoid friction when launching the widget fast
3099 enough. It is interesting to traverse long lists.
3101 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3104 (+hildon_stackable_window_delete_event): Ignore delete events if
3105 the window is not the topmost one.
3107 Fixes: NB#101698 (Back button long press and delete-event handling)
3109 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3111 * src/hildon-pannable-area.c,
3112 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3113 gtk-dnd-drag-threshold, it was too big. We have defined our own
3114 dnd define and set a smaller value: PANNIG_THRESHOLD.
3116 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3119 user-defined icons, use always the default one.
3121 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3123 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3125 This patch was applied before but reverted because it caused
3126 problems, we have changed the main condition and tested the
3127 regressions we detected before and they work ok.
3129 * src/hildon-pannable-area.c,
3130 (hildon_pannable_area_get_topmost): Added a new parameter to
3131 filter the the windows that do not include those events. Added
3132 also a condition when finding the window to filter windows that do
3133 not ask for those events.
3134 (hildon_pannable_area_button_press_cb),
3135 (hildon_pannable_area_button_release_cb),
3136 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3137 topmost function, we have added the new parameter.
3139 Fixes: NB#97458 (Pannable area prevents propagation of button
3142 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3144 * tests/check-hildon-color-button.c (START_TEST): do not leak
3147 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-font-selection-dialog.c
3150 (hildon_font_selection_dialog_get_preview_text): Return NULL
3151 instead of FALSE on the g_return_val_if_fail().
3153 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3156 * src/hildon-date-selector.c
3157 (hildon_date_selector_select_current_date):
3158 Do not compare unsigned integers to be greater than or equal 0,
3159 because it's always TRUE.
3161 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3164 (hildon_date_selector_constructor): Do not select the current
3165 date until we are handle the "changed" signal, to avoid having bogus
3166 elements in the days model.
3168 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3171 for num_days, since _month_days() can return a negative value.
3173 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3175 * src/hildon-caption.c (hildon_caption_size_allocate):
3176 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3177 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3179 Initialize allocation variables to 0, to avoid eventually using
3180 unitialized variables.
3182 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-bread-crumb-trail.c
3185 (hildon_bread_crumb_trail_size_allocate):
3186 * src/hildon-calendar.c (hildon_calendar_set_background):
3187 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3188 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3189 * src/hildon-seekbar.c (hildon_seekbar_init):
3190 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3191 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3192 * src/hildon-touch-selector-entry.c
3193 (hildon_touch_selector_get_text_from_model):
3194 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3195 * src/hildon-window.c (hildon_window_finalize):
3197 Remove many unused variables.
3199 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-seekbar.c: (hildon_seekbar_init),
3202 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3204 Remove unnecessary g_assert() calls.
3206 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-caption.c: (hildon_caption_expose),
3209 (hildon_caption_set_property), (hildon_caption_init),
3210 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3211 (hildon_caption_size_request), (hildon_caption_size_allocate),
3212 (hildon_caption_forall), (hildon_caption_set_separator),
3213 (hildon_caption_activate), (hildon_caption_set_child_expand),
3214 (hildon_caption_set_label_text),
3215 (hildon_caption_get_label_alignment):
3217 Remove unnecessary g_assert() calls.
3219 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-banner.c
3222 (hildon_banner_map, hildon_banner_init): Make banner temporary
3223 before mapping it to avoid closing other temporary windows, but
3224 make it non-temporary afterwards to avoid being closed by other
3225 non-temporary windows.
3226 (-hildon_banner_client_event, hildon_banner_init):
3227 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3229 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3232 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3237 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3239 * src/hildon-remote-texture.c
3240 * src/hildon-remote-texture.h
3241 * src/hildon-remote-texture-private.h
3242 * examples/hildon-remote-texture-example.c:
3243 Updates/fixes to remote-texture and its example.
3245 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3247 Patch by Mox Soini (ext-mox.soini@nokia.com)
3249 * src/hildon-code-dialog.c: Update logical id.
3250 * src/hildon-set-password-dialog.c: Update logical id.
3252 Fixes: NB#100646 (Logical strings is shown for ok in set
3253 password,Password needed dialogs)
3255 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3258 * src/hildon-remote-texture.c
3259 * src/hildon-remote-texture.h
3260 * src/hildon-remote-texture-private.h
3262 Added remote texture widget (for Clutter shared memory textures)
3264 * examples/hildon-remote-texture-example.c
3265 * examples/Makefile.am
3266 Added example file for remote texture usage
3268 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3270 * configure.ac: post release version bump.
3271 * debian/changelog: version bump.
3273 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3278 * configure.ac: Bump version.
3279 * debian/changelog: Updates.
3281 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-date-selector.c (hildon_date_selector_init)
3284 (hildon_date_selector_constructor): Don't connect to the "changed"
3285 signal until the selector is completely constructed.
3287 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-touch-selector.c: (_create_new_column),
3290 (hildon_touch_selector_append_column),
3291 (hildon_touch_selector_set_column_selection_mode),
3292 (hildon_touch_selector_set_active),
3293 (hildon_touch_selector_select_iter):
3294 Emit the HildonTouchSelector::changed signal every time selection
3295 is changed in any of the methods above. This behavior was already
3296 documented but not fully functional.
3298 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3299 selection is programmatically changed)
3301 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3303 * doc/hildon-sections.txt: Remove obsolete icon
3304 sizes from here as well.
3306 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3308 * examples/hildon-stackable-window-example.c (add_window): Remove
3311 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-app-menu.c
3314 (hildon_app_menu_show): Check whether the parent window of a menu
3315 is topmost before popping it up.
3317 Fixes: NB#100468 (Application menu window is launched even when a
3318 new secondary-window/dialog is pending to be shown/realized.)
3320 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3322 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3325 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3327 Patch by Mox Soini (ext-mox.soini@nokia.com)
3329 * src/hildon-banner.c: (hildon_banner_show_animation):
3330 use stylus size instead of obsolete note size.
3331 * src/hildon-defines.h: Update icon sizes.
3333 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-touch-selector-entry.c:
3336 (hildon_touch_selector_entry_init): Disable unsupported
3338 (hildon_touch_selector_entry_get_text_column): Emit a warning
3339 if an unsupported input modes is used and explicitile state
3340 these modes in the documentation.
3342 Fixes: NB#99802 (Hildon touch selector entry not working properly
3343 for some of the input modes)
3345 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3347 * src/hildon-pannable-area.c,
3348 (hildon_pannable_area_init): Added the changed signal handlers of
3351 Fixes: NB#100320 (HildonPannableArea does not listen to
3352 GtkAdjustment "change" signals)
3354 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3356 * doc/hildon-sections.txt
3357 * src/hildon-window-private.h
3358 * src/hildon-window.h
3359 * src/hildon-window.c (hildon_window_init)
3360 (hildon_window_realize, hildon_window_unrealize)
3361 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3362 (hildon_window_size_request, hildon_window_size_allocate)
3363 (hildon_window_forall, hildon_window_show_all)
3364 (hildon_window_destroy, +paint_edit_toolbar)
3365 (+hildon_window_set_edit_toolbar):
3366 New hildon_window_set_edit_toolbar() method, to add a
3367 HildonEditToolbar to a window without having to pack it manually.
3369 Reorganize hildon_window_size_allocate()
3371 * src/hildon-edit-toolbar.c: Update documentation.
3373 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3374 example to use the new API.
3376 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3378 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3380 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3381 Remove from stack before calling parent's hide.
3383 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3385 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3386 window is removed from the middle of the stack, update the
3387 transiency of the previous one.
3389 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3392 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3395 block/unblock the signal handler if it's not actually being used.
3396 Fixes some critical warnings.
3398 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3400 Based on a patch by Iván Gómez (igomez@igalia.com)
3402 * src/hildon-banner.c
3406 * src/hildon-pannable-area.c
3407 * src/hildon-picker-dialog.c
3408 * src/hildon-wizard-dialog.h
3409 * src/hildon-wizard-dialog.c: Documentation updates.
3411 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3412 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3414 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3416 * configure.ac: post release version bump.
3417 * debian/changelog: version bump.
3419 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3424 * configure.ac: Bump version.
3425 * debian/changelog: Updates.
3427 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3430 a stock icon nor change the relief of the back arrow.
3432 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3433 graphics from theme)
3435 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-button.c (hildon_button_set_alignment): Use
3438 priv->alignment if the button has no child yet.
3440 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-button.c: (hildon_button_init): Set the
3443 button style during initialization to give it the proper
3446 Fixes: NB#99713 (HildonButton value label color is wrong)
3448 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3450 * src/hildon-touch-selector.c: Document
3451 hildon_touch_selector_center_on_selected()
3453 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3455 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3456 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3457 all menu items, but not the menu itself.
3458 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3459 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3460 items after adding them to the menu so keyboard accelerators work.
3461 (hildon_app_menu_show): Don't show the menu if it contains items
3462 but none of them are visible.
3464 * examples/hildon-app-menu-example.c (create_menu): Use
3465 gtk_widget_show_all() to show all menu items.
3467 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-picker-dialog.c:
3470 (-_update_title_on_selector_changed_cb),
3471 (-_dialog_update_title): Removed.
3472 (_select_on_selector_changed_cb), (_on_dialog_response),
3473 (on_selector_columns_changed): Do not update the dialog title.
3474 (setup_interaction_mode): Do not connect to
3475 HildonTouchSelector::changed signal if there's a "done" button, as
3476 the dialog title doesn't need to be updated.
3478 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3481 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3483 Patch by Kristian Rietveld (kris@imendio.com)
3485 * src/hildon-touch-selector.c: (_create_new_column): Use new
3486 GtkTreeView::hildon-row-tapped signal to react to user interactions
3487 instead of ::changed.
3489 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3490 with some dynamic tree model)
3492 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3495 (+screen_size_changed, +label_size_request)
3496 (hildon_note_class_init): Make the Hildon information note have a
3497 minimum height, and make its text hvae a maximum width.
3499 Fixes: NB#98614 (Hildon information note (background) should have
3500 minimum height and maximum text width)
3502 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3504 * src/hildon-banner.h
3505 * src/hildon-banner.c (hildon_banner_show_information)
3506 (hildon_banner_show_informationf)
3507 (hildon_banner_show_information_with_markup): Update documentation
3508 to reflect that the icon_name parameter is not used anymore.
3509 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3510 Remove all code from these functions and mark them as deprecated.
3511 (hildon_banner_show_progress): Mark as deprecated.
3513 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3515 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-pannable-area.c,
3518 (hildon_pannable_area_class_init),
3519 (tranparency_color),
3520 (hildon_pannable_draw_vscroll),
3521 (hildon_pannable_draw_hscroll),
3522 (hildon_pannable_area_expose_event): Added a new way to render the
3523 scrollbars of the pannable area avoiding using cairo at all. This
3524 way we improve the performance of the pannable area rendering. The
3525 cairo rendering procedure is still in the code, we can control
3526 which one to use changing the value of the define
3527 USE_CAIRO_SCROLLBARS.
3529 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3531 * configure.ac: post release version bump.
3532 * debian/changelog: version bump.
3534 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3539 * configure.ac: Bump version.
3540 * debian/changelog: Updates.
3542 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3544 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3545 banners instead of destroying them when they receive a button
3548 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3550 Reverted commit 34028, it was causing regressions, probably the
3551 topmost condition is not correct, we have to check it in more
3552 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3553 propagation of button press events)
3555 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3558 that the selection is not empty before attempting to retrieve the
3559 current ampm selection.
3561 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-picker-button.c:
3564 (hildon_picker_button_on_dialog_response): Directly update the
3565 button contents when required instead of calling _selection_changed.
3567 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3569 * src/hildon-program.c (hildon_program_update_top_most): Update
3570 'is-topmost' property also when wm_hints is not set.
3572 Fixes: NB#98383 (is-topmost signal is not emitted when task
3573 switcher is clicked.)
3575 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3577 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3581 * src/hildon-animation-actor.c,
3582 * src/hildon-animation-actor.h: Added the animation actor class,
3583 this widget represents an animation actor for WM-assisted
3584 animation effects in the Hildon framework.
3586 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-window-stack-private.h
3589 * src/hildon-window-stack.c
3590 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3591 Avoid calling gtk_widget_show() again indirectly from
3592 hildon_stackable_window_show()
3594 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3599 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3601 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3602 (hildon_time_selector_init): Move the construction of the hours and
3603 ampm columns to the constructor to preserve the order the columns
3606 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-picker-dialog.c:
3609 (hildon_picker_dialog_class_init): Connect a realize method.
3610 (+hildon_picker_dialog_realize): Setup the interaction mode here
3612 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3613 yet, do it during the realize instead.
3614 (_on_dialog_response):
3615 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3616 if the widget is not realized, to avoid the dialog response before it
3619 Avoid premature responses in the HildonPickerDialog that can cause it
3620 to be hidden before it's even shown.
3622 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3625 (on_selector_columns_changed), (requires_done_button),
3626 (+prepare_action_area), (setup_interaction_mode),
3627 (_hildon_picker_dialog_set_selector):
3629 Split the interaction mode setup into preparation of the
3630 action area (prepare_action_area()) and the connection of
3631 the signals in setup_interaction_mode() and update the code to
3634 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3636 * src/hildon-pannable-area.c,
3637 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3638 per second to 15, we will check if this is ok regarding
3641 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3643 * src/hildon-pannable-area.c,
3644 (hildon_pannable_axis_scroll): Avoid resize if we already have
3645 reached overshoot_max.
3647 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3649 * src/hildon-pannable-area.c,
3650 (hildon_pannable_area_init),
3651 (hildon_pannable_area_realize),
3652 (hildon_pannable_area_size_allocate),
3653 (hildon_pannable_area_map),
3654 (hildon_pannable_area_unmap),
3655 (hildon_pannable_draw_vscroll),
3656 (hildon_pannable_draw_hscroll),
3657 (hildon_pannable_area_expose_event),
3658 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3659 pannable are to avoid the expose events go to the window and
3660 redraw the window. We save this way that part of the stack and the
3661 paint_boxes. We had to change the positions of the elements when
3664 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3667 * src/hildon-color-chooser-dialog.c:
3668 (hildon_color_chooser_dialog_init):
3669 * src/hildon-font-selection-dialog.c:
3670 (hildon_font_selection_dialog_init),
3671 (hildon_font_selection_dialog_show_preview):
3672 * src/hildon-get-password-dialog.c:
3673 * src/hildon-login-dialog.c:
3674 * src/hildon-set-password-dialog.c:
3675 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3676 * src/hildon-time-picker.c: (hildon_time_picker_init):
3678 Remove obsolete logical string IDs and update to the appropriate ones.
3680 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3682 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3685 that happens if the window hasn't been realized yet.
3687 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3688 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3690 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3693 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3696 Fixes: NB#98537 (Device hangs in account settings dialog)
3698 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3700 * configure.ac: post release version bump.
3701 * debian/changelog: version bump
3703 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3708 * configure.ac: Bump version.
3709 * debian/changelog: Updates.
3711 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3713 Added a new function to the HildonTimeButton widget that allows to
3714 change the step of the minutes in the selector associated with the
3715 button: hildon_time_button_new_step
3717 * src/hildon-time-button.c,
3718 (hildon_time_button_init),
3719 (hildon_time_button_new),
3720 (hildon_time_button_new_step):
3721 * src/hildon-time-button.h: Added the new function and refactored
3723 * examples/hildon-time-button-example.c,
3724 (main): We have replaced the function without parameters with the
3725 function with the steps set to 5
3727 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3729 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3731 * src/hildon-time-selector.c,
3732 (hildon_time_selector_class_init),
3733 (hildon_time_selector_constructor),
3734 (hildon_time_selector_get_property),
3735 (hildon_time_selector_set_property),
3736 (_create_minutes_model),
3737 (hildon_time_selector_new_step),
3738 (hildon_time_selector_set_time),
3739 * src/hildon-time-selector.h: Added a new property to the
3740 HildonTimeSelector (minutes-step), we use that property to control
3741 the steps between the minutes in the list of the selector. We have
3742 added a new function to the API to create a widget changing the
3743 step: hildon_time_selector_new_step.
3745 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3747 * src/hildon-time-selector.c,
3748 (hildon_time_selector_class_init),
3749 (hildon_time_selector_constructor),
3750 (hildon_time_selector_init): Overrided the construct function when
3751 creating the time selector object. We have moved the minutes model
3752 handling code from the init to the new construction function:
3753 hildon_time_selector_constructor.
3755 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3757 * examples/hildon-date-button-example.c: (main): Use the new
3758 hildon_date_button_new_with_year_range() method in the example.
3759 * src/hildon-date-button.c:
3760 (+hildon_date_button_new_with_year_range): New public method
3761 to conveniently create a HildonDateButton with a custom year range
3762 in its HildonDateSelector.
3763 * src/hildon-date-button.h: Add the new public method definition.
3765 Fixes: NB#97908 (Not possible to change the year range in
3766 HildonDateSelector/HildonDateButton)
3768 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-date-selector.c:
3771 (+hildon_date_selector_set_property),
3772 (+hildon_date_selector_get_property),
3773 (hildon_date_selector_class_init): Install new properties "min-year"
3774 and "max-year" to define boundaries for the year column.
3775 (_create_year_model): Use the boundary properties to populate the model.
3776 (+hildon_date_selector_new_with_year_range): New public method to
3777 create a HildonDateSelector with a user defined year range.
3778 (hildon_date_selector_select_current_date): Use the new boundaries to
3779 calculate the iterator of current year.
3780 * src/hildon-date-selector.h: Add the new public method definition.
3782 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3785 Install a constructor method.
3786 (+hildon_date_selector_construct_ui): construct the widget.
3787 (+hildon_date_selector_constructor): new constructor.
3788 (+hildon_date_selector_init): move out widget construction code to
3789 the new constructor.
3791 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3794 that there's actually a month or year selected before obtaining them.
3795 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3796 of the HildonTouchSelector::changed signal, as it was emitted on every
3797 single item selection.
3799 Fix some warnings and possible crashers due to the selection restoring.
3801 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3804 the signal handlers only after creating the dialog instead of on every
3807 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-button.c (hildon_button_init)
3810 * src/hildon-check-button.c (hildon_check_button_init)
3811 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3812 focus when clicked by default.
3814 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3819 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3821 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3822 Alejandro G. Castro (alex@igalia.com)
3824 * src/hildon-picker-dialog.c:
3825 (hildon_picker_dialog_class_init): install new "center-on-show"
3827 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3828 (hildon_picker_dialog_set_property): add setter code for the new
3830 (hildon_picker_dialog_get_property): add getter code for the new
3832 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3833 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3836 Fixes: NB#92849 (Selected item is not always visible when
3837 HildonTouchSelector is shown)
3839 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3841 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3842 Alejandro G. Castro (alex@igalia.com)
3844 * src/hildon-touch-selector.c:
3845 (_create_new_column): Do not connect to the "realize" signal of the
3847 (hildon_touch_selector_append_column): center on the selected items
3848 when a new column is appended.
3849 (hildon_touch_selector_select_iter): Factor out the code to select a
3850 column to hildon_touch_selector_scroll_to().
3851 (+search_nearest_element): Method to retrieve the nearest selected
3852 element to the visible area of the pannable area in a column.
3853 (+on_realize_cb): scroll to the initially selected item.
3854 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3855 the pannable area is realized, otherwise delay this until it is.
3856 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3857 selected items of a given column.
3858 (+hildon_touch_selector_center_on_selected): Public method to center
3859 all columns on the nearest selected item.
3860 * src/hildon-touch-selector.h: Add definition for
3861 hildon_touch_selector_center_on_selected().
3863 Implement public API to ensure visibility of all selected items in
3864 a HildonTouchSelector.
3866 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3868 Fixed a problem in the fading when calling the scroll_to API, and
3869 improve scrollbar fading handling.
3871 * src/hildon-pannable-area.c,
3872 (hildon_pannable_area_grab_notify): avoid the timeout when the
3874 (hildon_pannable_area_button_press_cb),
3875 (hildon_pannable_area_motion_notify_cb): Code style changes.
3876 (hildon_pannable_area_button_release_cb): Review the conditions
3877 when releasing the mouse button to avoid unrequired fading
3879 (hildon_pannable_area_scroll_to): Do not calculate and set the
3880 velocity if the scroll is not required.
3882 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3885 Don't check whether the new selector is NULL: it cannot be.
3886 Hold a reference to the selector while doing the replacement.
3888 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3891 unnecessary size_request in a removed widget.
3893 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3896 an unnecessary reference tracking that was leaking.
3898 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3900 Added delayed motion notify event handling, this way we can
3901 discard redrawing if more than 25 events arrive per second.
3903 * src/hildon-pannable-area.c,
3904 (hildon_pannable_area_init): Initialized the new private atributes
3905 controlling this timeout
3906 (hildon_pannable_area_dispose): Remove the timeout that controls
3907 the motion notify events.
3908 (hildon_pannable_area_scroll): Added a condition to control the
3909 use of the acceleration.
3910 (hildon_pannable_area_motion_event_scroll_timeout),
3911 (hildon_pannable_area_motion_event_scroll): Added this two
3912 functions, they handle the motion notify events inside the
3914 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3915 to the scroll method with the new function.
3916 (hildon_pannable_area_button_release_cb): We have to remove the
3917 timeout handler and move to the last position if the last motion
3918 events were not handled.
3920 Fixes: NB#97028 (Pannable area updates on every motion event)
3922 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-pannable-area.c,
3925 (hildon_pannable_area_get_topmost): Added a new parameter to
3926 filter the the windows that do not include those events. Added
3927 also a condition when finding the window to filter windows that do
3928 not ask for those events.
3929 (hildon_pannable_area_button_press_cb),
3930 (hildon_pannable_area_button_release_cb),
3931 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3932 topmost function, we have added the new parameter.
3934 Fixes: NB#97458 (Pannable area prevents propagation of button
3937 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3939 * src/hildon-pannable-area.c,
3940 (hildon_pannable_area_initial_effect): Added controls before
3941 launching the timeout and the idle functions.
3942 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3943 of the method, in some situations it can return with TRUE and 0 in
3945 (hildon_pannable_area_button_press_cb): We do not need to set
3946 DELAY for fading out here.
3948 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3950 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3953 post-cleaning if the selection is not NULL.
3955 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3958 all items before restoring the selection.
3960 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-touch-selector.c:
3963 (+hildon_touch_selector_unselect_all):
3964 * src/hildon-touch-selector.h: New API to unselect all items in a
3965 column of the touch selector.
3967 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c,
3970 (hildon_pannable_area_redraw): Added a call to the refresh
3971 function inside the redraw because apparently in some cases the
3972 change in the adjustment does not imply a size allocate.
3974 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3975 despite the view not being scrollable)
3977 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3980 leak. Check for NULL before attempting to set the window title.
3982 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3985 whether to show or not the 'Done' button each time the dialog is
3986 shown, as it depends on the HildonTouchSelector selection mode.
3988 Fixes: NB#96226 (In multiple selection mode Done button is shown
3989 sometimes in listpicker)
3991 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3994 for the number of columns in the HildonTouchSelector more than once.
3996 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-touch-selector.c: Minor documentation fixes.
4000 * src/hildon-picker-dialog.c (+_dialog_update_title)
4001 (_select_on_selector_changed_cb)
4002 (_update_title_on_selector_changed_cb)
4003 (on_selector_columns_changed): Update dialog title when there's no
4004 'Done' button and also when the number of columns in the selector
4008 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4009 (+_selection_changed, hildon_picker_button_on_dialog_response)
4010 (hildon_picker_button_selector_selection_changed)
4011 (+hildon_picker_button_selector_columns_changed)
4012 (hildon_picker_button_set_selector): Update button value and emit
4013 'value-changed' when the number of columns in the selector
4017 Fixes: NB#96225 (Dialog titles are not shown according to the
4018 values selected in the list picker)
4020 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4023 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4024 New "arrow-width" and "arrow-height" style properties to set the
4025 size of the arrow button.
4026 Set name of arrow button ("hildon-edit-toolbar-arrow").
4028 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4029 graphics from theme)
4031 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-picker-button.c:
4034 (hildon_picker_button_selector_selection_changed): Use
4035 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4036 the dialog is present.
4038 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4039 the selection is accepted in the dialog)
4041 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-color-chooser.h
4044 * src/hildon-color-chooser-dialog.h:
4045 Added G_BEGIN_DECLS and G_END_DECLS
4047 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4049 (_clean_current_selection): plug a leak in the list.
4051 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-picker-dialog.c:
4054 (+free_path_list): Method to free a GList of GtkTreePaths.
4055 (_clean_current_selection), (_save_current_selection),
4056 (_restore_current_selection): Save the current selection in
4057 as a list of lists, to support multiple selection properly.
4059 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4061 patch by Claudio Saavedra (csaavedra@igalia.com)
4063 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4064 Store the press position.
4065 (+hildon_text_view_button_release_event): If the release position is
4066 close enough to the press position, move the cursor here. Otherwise,
4068 (hildon_text_view_class_init): Override GtkTextView press, release, and
4069 motion event handlers, disabling this way text selection through
4070 pointer interaction, and allowing the container widget to handle the
4073 Fixes: NB#95828 (HildonTextView functionality)
4075 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4077 Based on a patch by Iván Gómez (igomez@igalia.com)
4079 * src/hildon-button.[ch]
4080 * src/hildon-calendar.c
4081 * src/hildon-check-button.c
4082 * src/hildon-date-editor.c
4083 * src/hildon-date-selector.c
4084 * src/hildon-picker-button.c
4085 * src/hildon-time-editor.c
4086 * src/hildon-time-selector.c
4087 * src/hildon-touch-selector.[ch]:
4088 Documentation updates
4090 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4092 * src/hildon-pannable-area.c,
4093 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4094 threshold, it was required due to X events handling.
4096 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4098 * src/hildon-pannable-area.c,
4099 (hildon_pannable_area_grab_notify),
4100 (hildon_pannable_area_initial_effect),
4101 (hildon_pannable_area_button_press_cb),
4102 (hildon_pannable_area_button_release_cb),
4103 (hildon_pannable_area_scroll_cb),
4104 (hildon_pannable_area_scroll_to): Review the timeout management of
4105 the scrollbar, the frecuency was incorrectly set.
4107 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-picker-button.c:
4110 (+hildon_picker_button_on_dialog_response),
4111 (hildon_picker_button_clicked): Present the dialog instead of
4112 running it with gtk_dialog_run().
4114 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4117 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4119 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4120 (hildon_app_menu_finalize): When a window is hidden it doesn't
4121 emit notify::is-topmost, so make sure than the menu also
4122 disappears in that case.
4123 (parent_window_topmost_notify): Renamed from parent_window_hidden
4125 Fixes: NB#94460 (stackable window's menu is not closed when its
4128 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4130 * src/hildon-touch-selector-entry.c:
4131 (+hildon_touch_selector_entry_set_input_mode),
4132 (+hildon_touch_selector_entry_get_input_mode):
4133 * src/hildon-touch-selector-entry.h: New methods to access the input
4134 mode in the selector's entry.
4136 Fixes: NB#93410 (API required for setting IM mode in
4137 HildonTouchSelectorEntry)
4139 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4141 * configure.ac: post release version bump.
4142 * debian/changelog: version bump
4144 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4149 * configure.ac: Bump version.
4150 * debian/changelog: Updates.
4152 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4154 * src/hildon-touch-selector.c:
4155 (_hildon_touch_selector_has_multiple_selection): No need
4156 to initialize the variables here.
4158 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4160 * src/hildon-note-private.h
4161 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4162 (hildon_note_finalize, hildon_note_rebuild): Close information
4163 notes when they receive a button press.
4165 Fixes: NB#89890 (Information notes does not get disappeared after
4168 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4171 mark from the wizard title, as it's not really necessary. Also,
4172 do not display the page title if not set.
4174 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4177 (parent_window_hidden): Use the window's "is-topmost" property to
4178 detect when to hide the menu.
4180 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4182 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4183 (hildon_app_menu_finalize): If the parent window of the menu is
4184 hidden, hide the menu too.
4186 Fixes: NB#94460 (stackable window's menu is not closed when its
4189 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4192 * debian/libhildon1-examples.install
4194 * examples/Makefile.am:
4195 Use dh_install to install all examples.
4196 Use DEB_SRCDIR instead of defining SOURCE_DIR
4198 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4200 * configure.ac: post release version bump.
4201 * debian/changelog: version bump
4203 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4208 * configure.ac: bump version
4209 * debian/changelog: updates
4210 * debian/control: bump gtk+ dependency
4212 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4214 patch by Christian Dywan (christian@imendio.com)
4216 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4217 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4219 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4221 * src/hildon-check-button.c (hildon_check_button_init)
4222 (hildon_check_button_class_init, hildon_check_button_style_set)
4223 (hildon_check_button_apply_style):
4224 New "checkbox-size" style property.
4226 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4227 larger / configurable size)
4229 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4231 * configure.ac: post release version bump.
4232 * debian/changelog: version bump
4234 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4239 * configure.ac: bump version
4240 * debian/changelog: updates
4242 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4244 * doc/hildon-sections.txt
4245 * src/hildon-pannable-area.c
4246 * src/hildon-program.c
4247 * src/hildon-time-editor.c
4248 * src/hildon-touch-selector-entry.c:
4250 More documentation updates.
4252 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4254 * doc/hildon-sections.txt
4255 * src/hildon-caption.c
4256 * src/hildon-code-dialog.c
4257 * src/hildon-color-button.c
4258 * src/hildon-controlbar.c
4259 * src/hildon-date-editor.c
4260 * src/hildon-date-selector.c
4261 * src/hildon-edit-toolbar.c
4262 * src/hildon-find-toolbar.c
4263 * src/hildon-font-selection-dialog.c
4265 * src/hildon-program.c
4266 * src/hildon-range-editor.c
4267 * src/hildon-seekbar.c
4268 * src/hildon-time-editor.c
4269 * src/hildon-time-selector.c
4270 * src/hildon-volumebar-range.c
4271 * src/hildon-volumebar.c
4272 * src/hildon-vvolumebar.c
4273 * src/hildon-weekday-picker.c
4274 * src/hildon-window.c
4275 * src/hildon-wizard-dialog.c:
4277 Lots of documentation fixes.
4279 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4281 Patch contributed by Iván Gómez (igomez@igalia.com)
4283 * src/hildon-check-button.c:
4284 * src/hildon-date-button.c:
4285 * src/hildon-date-selector.c:
4286 * src/hildon-dialog.c:
4287 * src/hildon-edit-toolbar.c:
4288 * src/hildon-entry.c:
4289 * src/hildon-picker-button.c:
4290 * src/hildon-program.c:
4291 * src/hildon-text-view.c:
4292 * src/hildon-time-button.c:
4293 * src/hildon-touch-selector-entry.c:
4294 * src/hildon-window-stack.c:
4296 Add more "since" tags to the new API.
4298 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4300 * doc/hildon-sections.txt: Add below method.
4301 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4302 version for the hildonized scale.
4303 * src/hildon-gtk.h: Add the definition.
4305 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4307 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4309 * doc/hildon-sections.txt: Add missing entries for new methods.
4311 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4313 Added API to pannable are in order to get its adjustments. We
4314 added two properties to manage the values we had in the private
4317 * src/hildon-pannable-area.c:
4318 (hildon_pannable_area_class_init): Added hadjustment and
4319 vadjustment properties in order to expose horizontal and vertical
4321 (hildon_pannable_area_get_property),
4322 (hildon_pannable_area_set_property): Added code to handle the new
4324 (hildon_pannable_area_get_hadjustment),
4325 (hildon_pannable_area_get_vadjustment): API functions to get the
4327 * src/hildon-pannable-area.h:
4328 (hildon_pannable_area_get_hadjustment),
4329 (hildon_pannable_area_get_vadjustment): API functions to get the
4332 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4334 Fixed some leaks, after valgrinding.
4336 * src/hildon-touch-selector.c:
4337 (_default_print_func): Fixed a leak.
4338 (hildon_touch_selector_append_column): Fixed a leak.
4339 * src/hildon-date-button.c:
4340 (hildon_date_button_init): Fixed a leak.
4341 * src/hildon-date-selector.c
4342 (hildon_date_selector_finalize): Fixed a leak.
4344 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4346 Based on a patch by Christian Dywan (christian@imendio.com)
4348 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4350 * src/hildon-gtk.h: Add definition.
4352 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4354 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-picker-button.c: (hildon_picker_button_init),
4357 (hildon_picker_button_new): Set the HildonButton::style property
4358 in the init method, to propagate the value to the derived classes.
4360 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/hildon-button.c: (hildon_button_class_init): Do not make
4363 the "style" property a construct property.
4365 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-wizard-dialog.h
4368 * src/hildon-wizard-dialog.c
4369 (hildon_wizard_dialog_set_forward_page_func)
4370 * src/hildon-pannable-area.h
4371 * src/hildon-pannable-area.c
4372 (hildon_pannable_area_set_size_request_policy):
4373 Documentation fixes.
4375 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4377 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4379 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4381 * doc/hildon-sections.txt: Added sections file.
4383 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/*.[ch]: Updates.
4388 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4390 * examples/hildon-progress-indicator-example.c: new file
4391 * examples/Makefile.am: include the new example program
4393 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4395 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4397 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4399 * configure.ac: post release version bump
4400 * debian/changelog: version bump
4402 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4407 * configure.ac: bump version
4408 * debian/changelog: updates
4409 * debian/control: bump gtk+ dependency
4411 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-dialog.c: Mark as deprecated.
4414 * src/hildon-dialog.h: Mark as deprecated.
4415 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4416 from HildonDialog and still work, even if
4417 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4418 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4420 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4421 maemo changes) instead)
4423 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-pannable_area.h:
4426 * src/hildon-pannable_area.c:
4427 (hildon_pannable_area_class_init),
4428 (hildon_pannable_area_set_property),
4429 (hildon_pannable_area_get_property),
4430 (hildon_pannable_area_size_request),
4431 (hildon_pannable_area_get_size_request_policy),
4432 (hildon_pannable_area_set_size_request_policy): Added new API
4433 allowing applications to control the request policy. Now they can
4434 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4435 children allocation (HILDON_MOVEMENT_CHILDREN).
4437 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4441 (hildon_gtk_tree_view_set_ui_mode)
4442 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4443 mode of treeviews and iconviews.
4445 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-touch-selector-entry.c:
4448 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4449 of a GtkEntry to get proper theming.
4451 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4452 widget, not GtkEntry)
4454 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4456 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4457 no HildonWizardDialogPageFunc.
4459 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4461 Patch contributed by Iván Gómez (igomez@igalia.com)
4463 * src/hildon-app-menu.c:
4464 * src/hildon-button.c:
4465 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4466 * src/hildon-stackable-window.c:
4467 * src/hildon-time-selector.c:
4468 * src/hildon-touch-selector.c:
4469 * src/hildon-window.c:
4471 Add more "since" tags to the new API in hildon 2.2.
4473 2008-12-05 Tim Janik <timj@imendio.com>
4475 Patch contributed by Christian Dywan (christian@imendio.com)
4477 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4478 HildonSizeType, which are supplied by Gtk+ now.
4480 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4482 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4483 (with maemo changes) instead)
4485 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4487 Patch contributed by Iván Gómez (igomez@igalia.com)
4489 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4492 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4494 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4495 (some_page_func), (main): Update the example to use a
4496 HildonWizardDialogPageFunc function.
4498 * src/hildon-wizard-dialog-private.h: Add private data for
4499 the HildonWizardDialogPageFunc function usage.
4501 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4502 (destroy), (hildon_wizard_dialog_init), (response),
4503 (hildon_wizard_dialog_set_forward_page_func):
4504 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4505 that applications can use to stop a HildonWizardDialog to jump to
4508 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4511 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4513 * src/hildon-program.h
4514 * src/hildon-program-private.h
4515 * src/hildon-program.c (hildon_program_init)
4516 (hildon_program_set_common_app_menu)
4517 (hildon_program_get_common_app_menu):
4518 New API for setting a common HildonAppMenu for all
4519 HildonStackableWindows registered with the HildonProgram.
4521 * src/hildon-stackable-window.c
4522 (hildon_stackable_window_toggle_menu):
4523 Use the common HildonAppMenu if a window doesn't have a specific
4526 * src/hildon-app-menu-private.h
4527 * src/hildon-app-menu.c
4528 (hildon_app_menu_get_parent_window):
4529 Function to obtain the window a HildonAppMenu is attached to.
4530 (hildon_app_menu_set_parent_window):
4531 Hide the menu if the parent window is set to NULL.
4533 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4536 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4537 search widget to popup.
4539 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: post release version bump
4542 * debian/changelog: version bump
4544 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4549 * configure.ac: bump version
4550 * debian/changelog: updates
4552 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4554 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4556 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4557 (hildon_window_stack_window_realized)
4558 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4559 Set the leader GdkWindow when a window is stacked and realized,
4560 unset it when it's unstacked.
4561 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4563 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4565 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4567 * src/hildon-stackable-window.h
4568 * src/hildon-window-stack.h:
4569 Protect definition of HildonWindowStack using the preprocessor.
4571 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4574 Fix warning if all menu items are hidden.
4576 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4578 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4580 * src/hildon-controlbar.c:
4581 * src/hildon-hvolumebar.c:
4582 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4583 Multiple scale size defines updates.
4585 Fixes: NB#94322 (Scale Updates)
4587 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4589 * examples/hildon-app-menu-example.c (create_menu)
4590 Show items after adding them to the menu, as in the future the
4591 menu will no longer call gtk_widget_show() on the added items.
4593 * src/hildon-app-menu.c:
4594 Update example as explained above.
4596 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4598 * src/hildon-app-menu.c
4599 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4600 Make sure that all menu items have finger height.
4602 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4604 * src/hildon-picker-dialog.c:
4605 (_on_dialog_response), (_save_current_selection),
4606 (_restore_current_selection), (_clean_current_selection),
4607 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4608 Defined new functions in order to save the current internal selector
4609 selection previous open the dialog, in case that the use cancel the
4610 interaction, so the widget restores the previous selection.
4612 Fixes: NB#92032 (In calendar application, date values in 'new event'
4615 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4617 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-button.c: Add a reference to the button examples in
4620 hildon-button-example.c
4622 * examples/hildon-button-example.c: Added examples of the most
4623 common button layouts.
4625 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-app-menu.c (hildon_app_menu_show)
4628 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4630 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4632 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4634 * src/hildon-picker-dialog.c:
4635 (hildon_picker_dialog_init): Initialize the signal id for
4636 HildonTouchSelector::columns-changed.
4637 (+on_selector_columns_changed): Set up the interaction mode everytime a
4638 column is added or removed from the HildonTouchSelector.
4639 (_hildon_picker_dialog_set_selector): Connect to
4640 HildonTouchSelector::columns-changed and keep track of it.
4642 Make sure to update the interaction mode of the dialog everytime a
4643 column is added or removed in the HildonTouchSelector.
4645 Fixes: NB#93228 (Done button is not shown always in listpicker)
4647 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4650 a new ::columns-changed signal.
4651 (hildon_touch_selector_append_column): Emit ::columns-changed.
4652 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4654 Add a ::columns-changed signal, emitted when the number of columns in a
4655 HildonTouchSelector changes.
4657 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4660 (_hildon_picker_dialog_set_selector): Factor out the code
4661 to set up the dialog interaction mode.
4663 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4666 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4667 to signal_changed_id.
4669 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4674 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4676 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4677 Updated the logical ids related to ampm format, as now it is required to
4678 show it correctly localized even on languages with no default
4679 abbreviations for am or pm
4680 (_check_am_pm_format): check correctly the 24h format gconf property
4682 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4684 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-button.c: Documentation updates.
4688 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4691 * src/hildon-caption.c: (hildon_caption_class_init):
4692 * src/hildon-color-button.c: (hildon_color_button_class_init):
4693 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4694 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4695 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4696 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4698 Remove deprecated GTK+ marshalers and replace them with the ones
4699 provided by GLib, for those available, add a marshaler for
4700 BOOLEAN:VOID, which is not available in GLib, and use it.
4702 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4705 the text from the previous column if there is no
4706 HildonTouchSelectorColumn::text-property set.
4708 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-button.h
4711 * src/hildon-button.c (hildon_button_set_property)
4712 (hildon_button_get_property, hildon_button_class_init)
4713 (hildon_button_set_style, hildon_button_get_style):
4714 New "style" property to change the visual appearance of the
4717 * src/hildon-picker-button.c (hildon_picker_button_new):
4718 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4720 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4721 HildonButton look like PickerButton)
4723 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4725 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4726 column while building the default string.
4728 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4731 scroll indicator by default.
4733 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4735 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/hildon-main.c: Fix the documentation for hildon_init()
4739 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4741 * doc/hildon-docs.sgml
4745 * src/hildon-window-stack-private.h
4746 * src/hildon-window-stack.h
4747 * src/hildon-window-stack.c:
4748 New HildonWindowStack object, that adds support for multiple
4749 stacks of windows per process.
4751 * src/hildon-stackable-window-private.h
4752 * src/hildon-stackable-window.h
4753 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4754 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4755 (hildon_stackable_window_show, hildon_stackable_window_hide)
4756 (hildon_stackable_window_class_init)
4757 (hildon_stackable_window_init):
4758 Use HildonWindowStack for stack management.
4760 * src/hildon-program.c (hildon_program_pop_window_stack)
4761 (hildon_program_peek_window_stack)
4762 (hildon_program_go_to_root_window):
4763 Add a fallback implementation to the deprecated functions using
4766 * examples/hildon-stackable-window-example.c:
4767 Use the new HildonWindowStack API.
4769 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-stackable-window-private.h
4772 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4773 (hildon_stackable_window_hide, hildon_stackable_window_init):
4774 Remove all window stack management.
4776 * src/hildon-program-private.h
4777 * src/hildon-program.h
4778 * src/hildon-program.c (hildon_program_init)
4779 (hildon_program_pop_window_stack)
4780 (hildon_program_peek_window_stack)
4781 (hildon_program_go_to_root_window):
4782 Remove all window stack management and mark functions as
4785 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4787 * src/hildon-app-menu.c (hildon_app_menu_realize):
4788 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4790 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4792 * configure.ac: post release version bump
4793 * debian/changelog: version bump
4795 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4800 * configure.ac: bump version
4801 * debian/changelog: updates
4803 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4805 Based on initial code by Christian Dywan (christian@imendio.com)
4807 * doc/hildon-docs.sgml: Add section for hildon-main.
4808 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4809 * src/Makefile.am: Add new hildon-main.[ch]
4810 * src/hildon-defines.h: Update the icon sizes.
4811 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4812 new library initialization files and register icon sizes.
4813 * src/hildon-main.h: New declarations.
4814 * src/hildon.h: Include hildon-main.h
4816 Add new initialization functions to the library. These methods
4817 will register the hildon specific icon sizes and can be used in the
4818 future for other hildon specific bits.
4820 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4822 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-window.c: (hildon_window_realize),
4825 (hildon_window_notify), (-hildon_window_update_title): Do not set
4826 the application name in the window title.
4828 Fixes: NB#89754 (Applications shouldn't display their names in the
4831 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4833 * src/hildon-note-private.h:
4834 * src/hildon-note.c: (hildon_note_set_property),
4835 (hildon_note_get_property), (hildon_note_class_init),
4836 (hildon_note_init), (hildon_note_finalize),
4837 (hildon_note_new_confirmation_with_icon_name),
4838 (hildon_note_new_information_with_icon_name):
4840 No need to mark as deprecated the actual code. Revert
4841 to avoid missing symbols in widgets using deprecated API.
4843 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4845 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4847 * src/hildon-volumebar.h
4848 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4849 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4851 * src/hildon-helper.h
4852 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4853 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4855 * examples/Makefile.am:
4856 Deprecate hildon-insensitive-example
4858 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4860 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4862 * examples/hildon-pannable-area-buttons-scroll-example.c:
4863 Make all buttons finger height
4865 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4869 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4870 update the day model only if it is really required, and to avoid the
4871 full-reconstruction aproach. Now it only add or remove the required days.
4873 The purpose of this is avoid superfluous HildonTouchSelector::changed
4876 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4877 with strange parameters)
4879 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4881 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4883 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4884 the WINDOW_TYPE property.
4886 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4888 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4891 Fix dependency to allow parallel compilation with make -jX
4893 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4896 color frame and some minor tweaks to make it more consistent with
4899 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4900 highlighted but not visible)
4902 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4904 * examples/Makefile.am: Fixed typo in the Makefile.am.
4906 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4908 Reviewed the use of MAEMO_GTK define, now we add the define in the
4909 compilation line, and we also add it to the pc file.
4911 * configure.ac: Added MAEMO_GTK define to the compilation command
4912 and removed it from the config.h.
4914 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4915 do not have to take care about this define if the library was
4919 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4921 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4923 * examples/Makefile.am,
4924 * examples/hildon-pannable-area-buttons-scroll-example.c,
4925 * examples/hildon-pannable-area-gesture-signals-example.c,
4926 * examples/hildon-pannable-area-scroll-jump-example.c,
4927 * examples/hildon-pannable-area-tree-view-example.c:
4928 Renamed the pannable area examples, now they have more meaningful
4931 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4933 * src/hildon-touch-selector.c:
4934 (hildon_touch_selector_set_column_selection_mode): Used of
4935 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4936 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4937 to avoid re-seting the same selection mode.
4939 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4940 breaks HildonPickerDialog)
4942 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4944 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4945 conditional in the Makefile.am
4947 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4949 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4950 Remove unused methods.
4952 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-button.c (hildon_button_init):
4955 Make button images center-aligned by default
4957 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4960 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4961 activated, we have to think about how to deal with both defines
4962 MAEMO_GTK and MAEMO_CHANGES.
4964 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4966 * examples/hildon-app-menu-example.c (create_menu): Make all
4967 buttons finger size.
4969 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4971 Fixed the compilation without maemo gtk adding ifdefs with
4972 MAEMO_GTK define to the code, we have to check this version more
4975 * examples/Makefile.am: Added control to avoid some examples that
4976 just make sense with maemo gtk.
4979 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4980 hildon modes with the define.
4982 * examples/hildon-edit-toolbar-example.c,
4983 (create_icon_view): Create the icon view without hildon-gtk
4984 helpers if we are not using maemo gtk.
4986 * src/hildon-touch-selector.c,
4987 (_create_new_column): Create the treeview without hildon-gtk
4988 helpers if we are not using maemo gtk.
4990 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4992 * src/hildon-pnnable-area.c,
4993 (hildon_pannable_area_dispose),
4994 (hildon_pannable_area_button_press_cb),
4995 (hildon_pannable_area_child_mapped),
4996 (hildon_pannable_area_add),
4997 (hildon_pannable_area_remove): Added code to control the position
4998 of the event_window when adding and removing children from the
4999 pannable. We have to raise the event window when the child is
5002 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5003 selection mode using custom widget inside pannable)
5005 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5007 * configure.ac: post release version bump
5008 * debian/changelog: version bump
5010 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5015 * configure.ac: bump version
5016 * debian/changelog: updates
5018 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5020 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5021 search mode, in order to avoid lose the focus on the treeview when
5022 a hw key (like enter) is pressed.
5024 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5025 in HildonDateSelector dialog)
5027 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5029 * debian/rules: Added --enable-maintainer-mode
5030 * Makefile.am: Added ACLOCAL_AMFLAGS
5032 This allows to properly regenerate the Makefiles if you modify the
5033 configure.ac or any Makefile.am.
5035 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5037 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5038 properties, not needed at all.
5040 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5042 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5044 * src/hildon-note.c: (hildon_note_set_property),
5045 (hildon_note_get_property), (hildon_note_class_init),
5046 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5047 (hildon_note_new_confirmation_add_buttons): Remove icons.
5048 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5049 (hildon_note_new_information_with_icon_name): Deprecate.
5050 (hildon_note_new_confirmation): Act directly, without calling
5051 the deprecated constructor.
5052 (hildon_note_new_information): Act directly, without calling
5053 the deprecated constructor.
5054 * src/hildon-note.h: Mark deprecate methods as such.
5055 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5056 not run tests on the deprecated methods if built with deprecation
5059 Fixes: NB#91688 (Never show icons in information notes/confirmation
5062 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5064 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5065 (hildon_app_menu_key_press): Remove leftover usage of the
5066 private structure in HildonAppMenu struct.
5067 * src/hildon-app-menu.h: Remove leftover private structure
5068 from the HildonAppMenu struct.
5070 Fixes a crasher when using the HildonAppMenu.
5072 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5074 * src/hildon-picker-dialog.c: Use appropriate logical id
5075 for the default "Done" text.
5077 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5079 * configure.ac: post release version bump
5080 * debian/changelog: version bump
5082 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5084 Modified the way to scroll to the current selection just when the touch
5085 selector is shown on the screen, avoiding a g_idle. Added too a property
5086 to configure this behaviour. See hildon_pannable_area_jump_to_child
5087 documentation for more information.
5089 * src/hildon-touch-selector.c
5090 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5091 Added 'initial-scroll' property
5092 (hildon_touch_selector_set_property): Added
5093 (hildon_touch_selector_map): Removed as not required anymore
5094 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5095 only a concrete column, instead of iterate along all the columns
5097 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5102 * configure.ac: bump version
5103 * debian/changelog: updates
5105 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5107 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5108 compilation time warnings.
5110 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5112 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5113 the default value for HildonPannableArea::mov-mode to
5114 HILDON_PANNABLE_AREA_MODE_VERT.
5116 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5118 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5120 Reverting following commit:
5122 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5124 * src/hildon-app-menu-private.h
5125 * src/hildon-app-menu.[ch]
5126 * src/hildon-button.[ch]
5127 * src/hildon-check-button.[ch]
5128 * src/hildon-entry.[ch]
5129 * src/hildon-pannable-area.[ch]
5130 * src/hildon-text-view.[ch]:
5131 Added private field to the object's structure.
5133 because it causes an ABI breakage. We will need to introduce these
5134 changes later at some point. See NB#91636 for an extensive
5135 explanation and status.
5137 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5139 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5141 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5142 remove special cases that are no longer necessary.
5144 Fixes: NB#91016 (Change toolbar sizes, simplification)
5146 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5148 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5149 is shown in the cancel note.
5151 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5153 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5154 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5155 (hildon_seekbar_init): Remove steppers, remove expose event.
5156 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5158 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5160 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5163 label font to "SmallSystemFont" for vertically arranged buttons.
5165 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5168 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-check-button.c
5171 (hildon_check_button_set_active, hildon_check_button_clicked):
5172 Don't access private parts directly, use getters instead.
5174 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-check-button.c (hildon_check_button_new):
5177 Align the contents of the check button to the left.
5179 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5181 * src/hildon-pannable-area.c,
5182 (hildon_pannable_area_scroll_to),
5183 (hildon_pannable_area_jump_to),
5184 (hildon_pannable_area_scroll_to_child),
5185 (hildon_pannable_area_jump_to_child): Replace the mapped
5186 precondition of these functions with the realized, it is the
5187 correct state of the widget in this case. Changed the
5188 documentation according to this modification.
5190 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5192 Added a new EXTRA_CFLAGS option to add the deprecated define to
5193 the compilation command. This way we can avoid using the define in
5194 the documentation compilation.
5196 * configure.ac: Defined EXTRA_CFLAGS.
5198 * examples/Makefile.am:
5200 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5202 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5204 * src/hildon-picker-dialog.c:
5205 Defined a utility macro with the desired touch selector height
5206 Removed currently unused separator, and title_label variables from
5208 (hildon_picker_dialog_init): Removed code related to the creation
5209 of unused private variables title_label and separator.
5210 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5211 to ensure correct visualization of the touch selector inside the dialog.
5212 * src/hildon-touch-selector.c
5213 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5214 ensure a concrete height of the widget.
5216 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5219 * tests/Makefile.am:
5221 Remove spurious whitespaces.
5223 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5225 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5226 compilation warning after the cancel button removal.
5228 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5230 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5232 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5233 Makefile.am, that way we can choose not to compile some examples
5234 and tests of the deprecated widgets.
5236 * examples/Makefile.am: Divided the sources in deprecated and
5239 * src/Makefile.am: Added undef statement of the deprecated
5240 symbol to the enums file generation process.
5242 * src/hildon-color-chooser-dialog.c
5243 * src/hildon-color-chooser-dialog.h
5244 * src/hildon-color-button.c
5245 * src/hildon-color-button.h
5246 * src/hildon-color-chooser.c
5247 * src/hildon-color-chooser.h
5248 * src/hildon-controlbar.c
5249 * src/hildon-controlbar.h
5250 * src/hildon-date-editor.c
5251 * src/hildon-date-editor.h
5252 * src/hildon-hvolumebar.c
5253 * src/hildon-hvolumebar.h
5254 * src/hildon-private.c
5255 * src/hildon-private.h
5256 * src/hildon-range-editor.c
5257 * src/hildon-range-editor.h
5258 * src/hildon-seekbar.c
5259 * src/hildon-seekbar.h
5260 * src/hildon-time-editor.c
5261 * src/hildon-time-editor.h
5262 * src/hildon-time-picker.c
5263 * src/hildon-time-picker.h
5264 * src/hildon-volumebar.c
5265 * src/hildon-volumebar.h
5266 * src/hildon-vvolumebar.c
5267 * src/hildon-vvolumebar.h
5268 * src/hildon-bread-crumb-trail.h
5269 * src/hildon-bread-crumb-trail.c
5270 * src/hildon-calendar-popup.c
5271 * src/hildon-calendar-popup.h
5272 * src/hildon-weekday-picker.c:
5273 * src/hildon-weekday-picker.h:
5274 * src/hildon-bread-crumb-widget.c:
5275 * src/hildon-bread-crumb-widget.h:
5276 * src/hildon-bread-crumb.c:
5277 * src/hildon-bread-crumb.h:
5278 * src/hildon-calendar.c:
5279 * src/hildon-calendar.h:
5280 * src/hildon-caption.c:
5281 * src/hildon-code-dialog.c:
5282 * src/hildon-code-dialog.h:
5283 * src/hildon-font-selection-dialog.c:
5284 * src/hildon-font-selection-dialog.h:
5285 * src/hildon-get-password-dialog.c:
5286 * src/hildon-get-password-dialog.h:
5287 * src/hildon-login-dialog.c:
5288 * src/hildon-login-dialog.h:
5289 * src/hildon-number-editor.c:
5290 * src/hildon-number-editor.h:
5291 * src/hildon-set-password-dialog.c:
5292 * src/hildon-set-password-dialog.h:
5293 * src/hildon-sort-dialog.c:
5294 * src/hildon-sort-dialog.h: This is the list of deprecated
5297 * src/hildon-touch-selector.c:
5298 * src/hildon-window.c: Added undef statement to avoid compilation
5301 * tests/Makefile.am: Divided the sources in deprecated and
5304 * tests/check_test.c,
5305 (configure_tests): Marked the deprecated code that was adding
5306 suites with deprecated tests.
5308 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5310 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5312 * src/hildon-touch-selector.c: (_default_print_func): Do not
5313 duplicate a string returned by gtk_tree_model_get(), it is already
5316 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5319 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5321 * src/hildon-pannable-area.c
5322 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5323 method, it had problems when adding a widget with viewport the
5324 second time. Now checks if it already has a viewport and uses it.
5326 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5329 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5331 * src/hildon-pannable-area.c,
5332 (hildon_pannable_area_scroll_to),
5333 (hildon_pannable_area_jump_to),
5334 (hildon_pannable_area_scroll_to_child),
5335 (hildon_pannable_area_jump_to_child): Added a precondition to the
5336 scroll and jump to functions: the widget must be mapped before we
5337 can safely call these functions. We have also added documentation
5338 to the functions to explain how to use them in this situation.
5341 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5343 Reviewed the threading handling of the pannable widget, we have
5344 used the gdk_threads_add_timeout function instead of the usual
5345 glib handlers. This avoids some problems with the threads.
5347 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5348 (hildon_pannable_area_initial_effect),
5349 (hildon_pannable_area_scroll_indicator_fade),
5350 (hildon_pannable_area_button_press_cb),
5351 (hildon_pannable_area_timeout),
5352 (hildon_pannable_area_motion_notify_cb),
5353 (hildon_pannable_area_button_release_cb),
5354 (hildon_pannable_area_scroll_cb),
5355 (hildon_pannable_area_scroll_to): Removed the
5356 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5357 gdk_threads_add_timeout.
5359 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5361 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5366 * configure.ac: bump version
5367 * debian/changelog: updates
5369 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5371 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5372 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5373 * src/hildon-color-chooser-dialog.c:
5374 (hildon_color_chooser_dialog_init):
5375 * src/hildon-font-selection-dialog.c:
5376 (hildon_font_selection_dialog_init):
5377 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5379 Remove all cancel/close-like dialogs, as these are not going to be
5382 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5384 * src/hildon-note.c: (hildon_note_rebuild),
5385 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5388 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5390 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5392 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5393 sure all buttons are shown, even the Cancel/Close-like ones.
5395 Fixes: NB#90861 (Custom Confirmation dialogs should be
5396 protected from cancel button removal)
5398 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5400 * debian/control: Change libhildon1-examples dependency from libhildon1
5402 * debian/libhildon1-examples.install
5404 * Makefile.am: Modified the final install directory for the examples on
5405 package libhildon1-examples
5406 * Makefile.static: Update clean target in order to remove all the binary
5409 Changes suggested by Claudio after review new libhildon1-examples package
5411 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5414 * src/hildon-touch-selector.c: Ditto.
5416 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5418 * debian/control: Added new package libhildon1-examples, in order to pack
5419 the current hildon examples as documentation
5420 * debian/rules: Not to compress .c files, modify some includes on the
5421 examples (as normally are compiled locally, but when installed it will
5422 require to include the installed libhildon1 library), and rename
5424 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5425 install all the example files on the new example package
5426 * examples/Makefile.static: Added static makefile that can be used to
5427 compile the examples, once installed the new example package
5428 * examples: Most of the examples were modified in order to grant that
5429 all use only '#include "hildon.h"', in order to be easy to prepare
5430 it on the example package
5432 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5435 * debian/libhildon1-dev.install
5436 * debian/libhildon1-doc.install:
5437 Move all gtk-doc files to a separate libhildon1-doc package.
5439 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5441 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5443 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5445 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5447 * debian/rules: Fixed a error in order to avoid unnecessary calls
5448 to autogen.sh on package building
5450 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5452 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5454 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5459 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-picker-button.c
5462 (hildon_picker_button_finalize):
5463 Free priv->done_button_text
5465 * src/hildon-time-button.c
5466 (hildon_time_button_set_time)
5467 * src/hildon-picker-button.c
5468 (hildon_picker_button_clicked)
5469 (hildon_picker_button_selector_selection_changed)
5470 (hildon_picker_button_set_selector)
5471 * src/hildon-date-button.c
5472 (hildon_date_button_set_date):
5473 Free strings returned by hildon_touch_selector_get_current_text()
5475 * src/hildon-button.c (hildon_button_construct_child):
5476 Fix leaks in priv->image and priv->label_box
5478 Fixes: NB#90535 (Memory leak in picker button)
5480 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5482 * src/hildon-button.c: (hildon_button_get_property): Do not access
5483 private elements directly, use getters instead.
5485 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-app-menu-private.h
5488 * src/hildon-app-menu.c
5489 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5490 Store the menu's parent window.
5492 * src/hildon-stackable-window.c
5493 (hildon_stackable_window_toggle_menu)
5494 (hildon_stackable_window_finalize):
5495 Set the menu's parent window when the menu is shown, unset it when
5498 * src/hildon-app-menu.c
5499 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5500 (hildon_app_menu_class_init):
5501 Send unhandled keyboard accelerators to the parent window.
5503 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-stackable-window.c
5506 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5508 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5510 * configure.ac: post release version bump
5512 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5515 * configure.ac: Bump version
5516 * debian/changelog: Updates
5517 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5520 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5522 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5525 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5526 GtkMenu with Hildon style.
5528 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5530 * src/hildon-picker-button.c:
5531 (hildon_picker_button_set_done_button_text): Set the dialog's
5532 done button text here as well.
5534 Fixes: NB#90232 (Picker button does not set the label on done button
5535 for the second time)
5537 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5539 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5542 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-app-menu.c (hildon_app_menu_insert)
5545 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5546 the HildonAppMenu to be activatable using keyboard accelerators
5547 when the menu is not being shown.
5549 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5551 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5553 * src/hildon-stackable-window.c
5554 (hildon_stackable_window_show):
5555 Don't hide old windows automatically when new windows are shown:
5556 this is now a task for the window manager.
5557 (hildon_stackable_window_class_init)
5558 (hildon_stackable_window_hide):
5559 Remove windows from the stack everytime they're hidden.
5560 (hildon_stackable_window_realize):
5561 Don't change the _NET_WM_WINDOW_TYPE property. Use
5562 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5563 it as a stackable window.
5565 * src/hildon-program.c
5566 (hildon_program_pop_window_stack):
5567 Just hide the window to remove it from the stack.
5568 (hildon_program_go_to_root_window):
5569 Don't call gtk_widget_show(), this is now a task for the window
5572 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5574 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-button.c
5577 (hildon_button_construct_child):
5578 Don't pack anything in the button until text or image are
5579 set. This allows adding a custom child after creating the button
5580 with hildon_button_new().
5581 (hildon_button_finalize, hildon_button_class_init)
5582 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5583 alignment and the label box even when they're not packed in the
5586 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5588 * src/hildon-touch-selector.h:
5589 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5590 currently the type definition was using GTK_TYPE_VBOX
5591 * src/hildon-touch-selector.c:
5592 Added some implementation notes in order to clarify that any other widget
5593 added without the column related API will not be included on the
5594 selection logic, and how the widget is freed, as some people ask about
5596 (hildon_touch_selector_remove): Reimplemented in order to free properly
5597 the column related data when you remove the private hbox.
5598 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5599 to get a proper HildonTouchSelectorColumn documentation
5601 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-touch-selector-entry.c:
5604 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5605 text in the GtkEntry and there is no item selected. Fixes a
5608 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-app-menu-private.h
5611 * src/hildon-app-menu.[ch]
5612 * src/hildon-button.[ch]
5613 * src/hildon-check-button.[ch]
5614 * src/hildon-entry.[ch]
5615 * src/hildon-pannable-area.[ch]
5616 * src/hildon-text-view.[ch]:
5617 Added private field to the object's structure.
5619 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5621 * configure.ac: post-release version bump
5623 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5627 * configure.ac: pre-release version bump
5629 * debian/changelog: updates.
5631 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5633 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5634 Disconnect the handler for HildonTouchSelector::changed.
5636 (hildon_picker_button_selector_selection_changed): Update the button
5637 value if the selection change was not triggered by the
5640 (hildon_picker_button_set_selector): connect to
5641 HildonTouchSelector::changed.
5643 Fixes: NB#89650 (Picker button is not updated, when selection in
5644 selector has changed)
5646 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * src/hildon-picker-dialog.c
5649 (hildon_picker_dialog_realize): Removed as not required
5650 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5651 * src/hildon-picker-button.c
5652 (_current_selector_empty): New function, checks if the selector is empty
5653 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5654 if the current selector is empty, in order to avoid to show the dialog
5655 close the dialog in this case (and shows a g_warning).
5657 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5659 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5661 * src/hildon-pannable-area.c,
5662 (hildon_pannable_area_scroll): Added clause to stop movement when
5663 the child of pannable is smaller than one page.
5664 (hildon_pannable_area_scroll_to): Added conditions to avoid
5665 starting the scrolling movement if the child is smaller than one
5666 page, the complete child is in the screen, we do not have to move.
5668 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5670 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5673 this is managed automatically by the widget when the size of the
5676 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5678 * src/hildon-picker-button.c
5679 (hildon_picker_button_set_done_button_text): Make a copy of the
5680 text, and free the previous value.
5682 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5684 * src/hildon-touch-selector-entry.c:
5685 (hildon_touch_selector_entry_print_func): Return the selected row's
5686 text if the entry is empty.
5688 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5691 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5695 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-check-button.h
5699 * src/hildon-check-button.c
5700 * examples/hildon-check-button-example.c:
5701 HildonCheckButton is now a new widget. 'toggled' signal added.
5703 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-program-private.h
5706 * src/hildon-program.c (hildon_program_init)
5707 (hildon_program_finalize): Removed unused variables group_leader
5708 and name from HildonProgramPrivate.
5710 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5712 * src/hildon-check-button.c (hildon_check_button_set_active)
5713 (hildon_check_button_get_active, hildon_check_button_new): Use
5714 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5716 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5718 * src/hildon-touch-selector.h
5719 (hildon_touch_selector_set_column_attributes): added deprecation
5720 guard HILDON_DISABLE_DEPRECATED
5721 * src/hildon-time-selector.c
5722 (hildon_time_selector_set_time)
5723 (hildon_time_selector_get_time): Fixed a typo on documentation
5724 * src/hildon-touch-selector.c: update HildonTouchSelector and
5725 HildonTouchSelectorColumn documentation
5726 * src/hildon-touch-selector-entry.c: update "text-column" property
5728 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5729 to be added to the general documentation.
5731 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5733 * examples/hildon-pannable-area-example-4.c,
5735 * examples/hildon-pannable-area-example.c,
5736 (main): Modified the code in order to use the container add, with
5737 viewport treeviews could have problems if they are really big.
5739 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5741 * src/hildon-weekday-picker.c,
5742 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5743 the agreement regarding deprecation in the library.
5745 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5747 * examples/hildon-picker-button-multicolumn-example.c:
5748 (main): Use custom "done" button text.
5750 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5751 (hildon_picker_button_set_property),
5752 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5753 (hildon_picker_button_init),
5754 (+hildon_picker_button_get_done_button_text),
5755 (+hildon_picker_button_set_done_button_text): New methods to customize
5756 the "done" button label in the launched HildonPickerDialog. Also,
5759 * src/hildon-picker-button.h: add the public API.
5761 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5763 * src/hildon-date-selector.h:
5764 * src/hildon-picker-dialog.h:
5765 * src/hildon-time-selector.h:
5766 * src/hildon-touch-selector-column.h:
5767 * src/hildon-touch-selector.h:
5769 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5770 declarations. Fixes gtk-doc warnings.
5772 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-picker-dialog.h
5775 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5776 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5778 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5779 long text is set as label for done button)
5781 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-dialog.c (hildon_dialog_add_button):
5784 Set fixed width to all buttons in the HildonDialog.
5786 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5788 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5790 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5791 Set widget name using class name plus "-finger" or "-thumb".
5793 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5796 'clicked' when the state of the button is manually changed.
5798 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-app-menu.c (hildon_app_menu_realize)
5801 (hildon_app_menu_unrealize, hildon_app_menu_init)
5802 (hildon_app_menu_class_init, item_visibility_changed):
5803 Change the menu layout when the size of the screen changes.
5804 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5805 Show warning only when changing the number of colums using the
5808 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5810 * debian/compat: Set to 5
5811 * debian/control: Update dependencies.
5812 * debian/libhildon1-dbg.install: Remove.
5813 * debian/libhildon1-dev.install: Update according to cdbs paths.
5814 * debian/libhildon1.install: Update according to cdbs paths.
5815 * debian/rules: Switch to cdbs.
5817 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5820 'item' variable renamed to 'filter'
5822 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5824 * src/hildon-app-menu.c (hildon_app_menu_insert)
5825 (hildon_app_menu_add_filter, remove_item_from_list)
5826 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5827 Don't leak hidden items when the menu is destroyed.
5829 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-app-menu.c (hildon_app_menu_insert)
5832 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5833 (hildon_app_menu_set_columns, item_visibility_changed)
5834 (filter_visibility_changed, hildon_app_menu_repack_filters)
5835 (hildon_app_menu_repack_items):
5836 Repack items and filters separately.
5838 Don't repack all items, change only the ones that are needed to
5841 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5843 * src/Makefile.am: added hildon-touch-selector-column.h
5845 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5847 * src/hildon-touch-selector.c: added the property "text-column" to the
5848 class HildonTouchSelectorColumn, and related get/set functions
5849 (_default_printf_func): updated to use "text-column" property
5850 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5851 "text-column" in his documentation, as this is now included on
5852 HildonTouchSelectorColumn. The get/set_property can still be used,
5853 working as a wrapper to the concrete column "text-column" property
5854 (_text_column_modified): callback added in order to handle the signal
5855 "notify::text-column" of the concrete HildonTouchSelectorColumn
5856 (hildon_touch_selector_entry_get_text_column)
5857 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5858 modified in order to use the HildonTouchSelectorColumn "text-column"
5860 * src/hildon-time-selector.c:
5861 * src/hildon-date-selector.c:
5862 * examples/hildon-touch-selector-example.c
5863 * examples/hildon-touch-selector-multi-cells-example.c
5864 * examples/hildon-picker-button-multicolumn-example.c
5865 Set the right value to "text-column" property on the creation of a new
5866 column using hildon_touch_selector_append_column()
5868 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5870 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-app-menu.c
5873 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5874 updating the layout of the menu, don't create all widgets again,
5875 just repack the items in their new places.
5877 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5879 * src/hildon-time-selector.c
5880 (hildon_time_selector_get_time)
5881 (hildon_time_selector_set_time)
5882 Added documentation of these public methods
5884 * src/hildon-date-button.h
5885 * src/hildon-touch-selector-column.h
5886 * src/hildon-time-button.h
5887 * src/hildon-picker-dialog.h
5888 * src/hildon-time-selector.h
5889 * src/hildon-picker-button.h
5890 * src/hildon-touch-selector.h
5891 * src/hildon-time-picker.h
5892 * src/hildon-date-selector.h
5893 * src/hildon-touch-selector-entry.h
5894 Modified in order to use hildon-widgets code style
5896 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5898 Added deprecated support to the compilation process using
5899 HILDON_DISABLE_DEPRECATED
5901 * configure.ac: Added the --disable-deprecated to the configure
5904 * src/hildon-weekday-picker.c:
5905 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5906 to use the deprecated support. We will update the other deprecated
5907 widgets status in a new patch.
5909 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5911 * configure.ac: Fixed typo with fatal warnings support, the
5912 variable name was not correct
5914 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5916 * src/hildon-app-menu.c
5917 * src/hildon-program.c: Update documentation.
5919 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5921 * configure.ac: Post-release version bump.
5923 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5928 * configure.ac: Pre-release version bump.
5929 * debian/changelog: Updates.
5931 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5933 * NEWS: Update news for previous releases.
5935 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5937 * examples/hildon-touch-selector-multi-cells-example.c:
5938 (create_selector): Update the example to use
5939 hildon_touch_selector_append_column() with a NULL renderer and set
5940 the renderers later.
5941 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5942 passed a NULL renderer. This is documented behavior now.
5944 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5945 This must be used if the developer wants full control on the layout of
5946 the renderers to be added to the column.
5948 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5950 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5952 * src/hildon-touch-selector.c: Documentation fixes.
5954 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5956 * src/hildon-wizard-dialog-private.h: Remove image and box.
5957 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5958 (hildon_wizard_dialog_set_property), (response): Completely remove
5959 image/icon support, and the containers required for the layout.
5961 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5963 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-app-menu.c: Updated documentation.
5967 * src/hildon-stackable-window.c
5968 (hildon_stackable_window_set_main_menu): Unref the old menu after
5969 ref'ing the new one.
5971 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-stackable-window.c
5974 (hildon_stackable_window_set_main_menu): Unref the previous menu
5975 instead of destroying it.
5977 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5978 floating reference and set has_user_ref_count to FALSE to make
5979 HildonAppMenu act like a normal ref-counted widget and not a
5982 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5985 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5987 * src/hildon-touch-selector-column.h: new file
5988 * src/hildon-touch-selector.h
5989 * src/hildon-touch-selector.c
5990 Implemented GtkCellLayout interface, in order to allow to configure
5991 the cell layout on each individual selector column
5992 (hildon_touch_selector_set_column_attributes): marked as deprecated
5993 * examples/hildon-touch-selector-multi-cells-example.c
5994 Example of how to use the GtkCellLayout interface on the selector
5996 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5998 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6000 * src/hildon-app-menu.h
6001 * src/hildon-app-menu.c
6002 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6003 (hildon_app_menu_append, hildon_app_menu_prepend):
6004 New methods to prepend, insert and move items in the menu.
6006 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6008 * src/hildon-wizard-dialog.c:
6010 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6012 (create_title): Update logical IDs and related code.
6013 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6015 * src/hildon-wizard-dialog.h: Note that
6016 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6017 point, as it is not used anymore.
6019 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6021 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-note.c:
6024 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6025 shown. Do not display an icon in confirmation notes nor information
6027 (hildon_note_set_button_text): Update logical ID for cancel button.
6029 Fixes: NB#88850 (Update HildonNote button strings + signals)
6031 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-stackable-window.c
6034 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6036 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6038 * src/hildon-app-menu-private.h
6039 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6040 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6041 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6042 temporary property 'columns' to change the number of columns.
6044 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6046 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6048 * examples/hildon-note-example.c: (on_information_clicked),
6049 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6050 debugging information.
6051 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6053 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6054 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6055 in order to close: this will be handled by the WM from now on.
6057 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6059 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-app-menu-private.h
6062 * src/hildon-app-menu.c
6063 (hildon_app_menu_append, hildon_app_menu_add_filter)
6064 (button_visibility_changed, hildon_app_menu_apply_style)
6065 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6066 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6067 layout everytime a button (item or filter) is shown or hidden.
6069 * src/hildon-stackable-window.c
6070 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6073 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6075 * src/hildon-touch-selector.c:
6076 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6077 that the treeview inside the touch selector is in fremantle hildon mode
6078 * examples/hildon-date-button-example.c
6079 * examples/hildon-picker-button-multicolumn-example.c
6080 * examples/hildon-touch-selector-entry-example.c
6081 * examples/hildon-touch-selector-example.c
6082 * examples/hildon-time-button-example.c
6083 * examples/hildon-picker-button-example.c:
6084 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6086 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6088 * examples/hildon-text-view-example.c: (main): Remove the
6089 gtkrc bits, now handled by the theme.
6091 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6096 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6098 * po/Makefile.am: Install properly the mo files.
6099 * po/en_GB.po: Update translation, to ease testing purposes.
6101 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6103 * examples/hildon-picker-button-example.c: (main): Select an item
6104 in the selector before setting it to the button.
6106 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6108 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6109 Update button's value if the selector has an item active.
6111 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6112 'value' with the selector)
6114 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6116 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6117 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6118 (hildon_picker_button_class_init): Plug the finalize method.
6119 (hildon_picker_button_set_selector): If there's a previously set
6120 selector, unref'it before setting a new one.
6122 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6123 HildonTouchSelector)
6125 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6127 * src/hildon-touch-selector-entry.c:
6128 (hildon_touch_selector_entry_changed): Check if there is no text
6129 selected before setting the entry text.
6132 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-touch-selector.h
6135 * src/hildon-touch-selector.c
6136 (hildon_touch_selector_get_active)
6137 (hildon_touch_selector_set_active): New methods to set/get the
6138 index of the selected item.
6140 * src/hildon-picker-button.h
6141 * src/hildon-picker-button.c
6142 (hildon_picker_button_get_active)
6143 (hildon_picker_button_set_active): New methods to set/get the
6144 index of the selected item.
6146 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6148 * configure.ac: post-release version bump.
6150 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6154 * configure.ac: Pre-release version bump.
6155 * debian/changelog: Updates.
6156 * debian/control: Add myself as maintainer and depend on l10n
6159 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-window.c
6162 (hildon_window_set_main_menu)
6163 * src/hildon-stackable-window.c
6164 (hildon_stackable_window_set_main_menu):
6165 Updated documentation.
6167 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6169 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6170 Don't free selector->priv manually.
6173 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6176 (hildon_gtk_window_set_progress_indicator):
6177 * src/hildon-gtk.h: Added the new API
6178 hildon_gtk_window_set_progress_indicator, it changes the state of
6179 the window progress hint.
6181 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-button.c
6184 * src/hildon-stackable-window.c: Minor documentation updates.
6186 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-stackable-window.c: Updated documentation.
6190 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-defines.h: Update margins definitions
6193 to the Fremantle sizes.
6196 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6198 * src/hildon-touch-selector.c,
6199 (_hildon_touch_selector_set_model): Cleaning the code after
6200 review, removed g_print and #if 0 from the code.
6202 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6204 * src/hildon-edit-toolbar.c: Update documentation.
6206 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-check-button.h
6209 * src/hildon-check-button.c
6210 (hildon_check_button_set_label, hildon_check_button_get_label)
6211 * examples/hildon-check-button-example.c
6212 (button_clicked_cb):
6213 Removed deprecated methods.
6215 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6217 * src/hildon-text-view.c:
6218 Add sample code to the documentation.
6220 * src/hildon-entry.h
6221 * src/hildon-text-view.h:
6222 Minor cosmetic changes.
6224 * src/hildon-entry.c:
6225 Add sample code to the documentation.
6226 (hildon_entry_init, hildon_entry_refresh_contents):
6227 Don't allow NULL values in the placeholder.
6229 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6231 * doc/hildon-docs.sgml
6233 * examples/Makefile.am
6234 * examples/hildon-text-view-example.c
6236 * src/hildon-text-view.c
6237 * src/hildon-text-view.h
6239 New HildonTextView widget, with example.
6241 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6243 * po/POTFILES.in: Add missing files with translatable strings.
6244 Partially fixes NB#88287.
6246 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6248 * examples/hildon-pannable-area-example-2.c: (main): No need to
6249 set the cellrenderer height inside hildon touch lists, the theme does
6252 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6254 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6255 they are integrated in the theme.
6257 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6259 * examples/hildon-entry-example.c: Update the example adding
6260 widgets to modify the text and the placeholder of the HildonEntry.
6262 * src/hildon-entry.c: Show the placeholder everytime the widget
6263 is empty and loses the focus.
6265 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6267 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6269 * src/hildon-pannable-area.c,
6270 (hildon_pannable_area_size_request): Fixed bug in height
6271 requisition, avoid increasing size and add border twice.
6273 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6275 * configure.ac: postrelease version bump.
6277 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6281 * configure.ac: Prerelease version bump.
6282 * debian/changelog: update.
6283 * debian/rules: make -dbg package contain useful debugging symbols.
6285 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-dialog.h
6288 * src/hildon-dialog.c
6289 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6290 New methods to add buttons with finger size.
6291 (hildon_dialog_new_with_buttons):
6292 Create buttons with finger size.
6294 * examples/hildon-dialog-example.c (main): Use HildonDialog
6295 methods to add buttons.
6297 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6299 * src/hildon-entry.c: Updated HildonButton documentation.
6301 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6304 button value label with (FALSE, FALSE) to prevent NB#88126 from
6307 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6309 * examples/hildon-pannable-area-example.c,
6310 (main): Removed examples panning a vbox inside a pannable
6311 area. Check bug NB#87965
6313 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6315 Patch contributed by Kris Rietveld (kris@imendio.com)
6317 * src/hildon-pannable-area.c,
6318 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6319 get_size and get_position, this saves an X server roundtrip.
6321 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6323 * doc/hildon-docs.sgml
6325 * examples/Makefile.am
6326 * examples/hildon-entry-example.c
6328 * src/hildon-entry.c
6329 * src/hildon-entry.h
6331 New HildonEntry widget, with example.
6333 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-button.c (hildon_button_construct_child): Pack the
6336 image with expand == fill == FALSE. This is a workaround for a bug
6339 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6341 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6342 labels for the text column, to make it more look more dynamic.
6344 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6346 * src/hildon-time-selector.c
6347 Define gettext auxiliar macro N_
6348 (_create_minutes_model)
6349 (_create_hours_model)
6350 (_create_ampm_model): use of strftime in order to fill the model
6351 * src/hildon-date-selector.c
6352 (hildon_date_selector_finalize):
6353 (_locales_init): remove the logic related to get the name of the months
6354 using nl_langinfo, as it is not required anymore
6356 (_create_year_model)
6357 (_create_month_model)
6358 (_update_day_model): use of strftime in order to fill the model properly
6361 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-button.h
6364 * src/hildon-button.c (hildon_button_get_image): New method to
6367 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6369 * src/hildon-touch-selector.c:
6370 (hildon_touch_selector_remove_column): Remove from the correct parent
6371 and also remove the list element and free it.
6374 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6376 * src/hildon-time-selector.c
6377 (_create_hours_model): change the range on 12h ampm format in order to use
6378 a 12-11 range instead of previous 01-12 range
6379 (hildon_time_selector_set_time): change the way to select the current time
6380 on 12h ampm format, due the change on the range
6381 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6384 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6386 * src/hildon-touch-selector.c
6387 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6388 in order to allow use this function on multiple row selection mode if
6389 the column is different that the first one
6392 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6395 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6397 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6399 * src/hildon-date-selector.h: clean some comments, now on the .c
6400 * src/hildon-date-selector.c
6401 (hildon_date_selector_select_month): first implementation
6402 (hildon_date_selector_select_day): added documentation, reimplemented
6403 using hildon_date_selector_select_current_date to avoid repeat code
6406 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6408 Reviewed interaction logic based on device experiences, refactored
6411 * src/hildon-pannable-area.c,
6412 (hildon_pannable_area_class_init): Updated default vmax speed.
6413 (hildon_pannable_area_calculate_velocity): Added this function, it
6414 avoids duplicate valocity calculation. Adjusted calculation to
6415 avoid problems with zero dist events.
6417 (hildon_pannable_area_motion_notify_cb): Now we use the
6418 calculate_velocity function.
6420 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6422 * src/hildon-date-selector.c
6423 (hildon_date_selector_select_current_date): fix the day range check
6424 as it failed using the last day of the current month
6427 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6429 * src/hildon-touch-selector.c
6430 (hildon_touch_selector_get_num_columns): added a parameter validation
6433 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6435 * examples/Makefile.am
6436 * examples/hildon-edit-toolbar-example.c: Example of the
6437 HildonEditToolbar widget.
6439 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6441 * configure.ac: postrelease version bump.
6443 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6447 * configure.ac: prerelease version bump.
6448 * debian/changelog: update.
6450 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6452 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6453 renderer to display stock icons in the touch list. Also, set the sizes
6454 to the recommended in the style guide.
6456 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6457 * src/hildon-touch-selector.h
6458 (hildon_touch_selector_set_active_iter): renamed, now is
6459 hildon_touch_selector_select_iter
6460 (hildon_touch_selector_get_active_iter): renamed, now is
6461 hildon_touch_selector_get_selected
6462 (hildon_touch_selector_unselect_iter): added
6463 * src/hildon-touch-selector.c
6464 Update after API modification (methods renamed)
6465 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6466 order to avoid problems selecting multiple elements on the column
6467 (hildon_touch_selector_unselect_iter): added the implementation
6468 * src/hildon-time-selector.c
6469 * src/hildon-date-selector.c
6470 * src/hildon-touch-selector-entry.c
6471 Update methods calls after hildon-touch-selector.h API modification (methods
6474 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-stackable-window.c
6477 (hildon_stackable_window_finalize): Call the parent class's finalize.
6479 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6481 * examples/hildon-touch-selector-example.c: (create_selector): Use
6482 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6485 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6487 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6488 set a cell background color, to respect theming.
6490 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6492 * doc/hildon-docs.sgml
6495 * src/hildon-edit-toolbar.c
6496 * src/hildon-edit-toolbar.h
6497 * src/hildon.h: New HildonEditToolbar widget.
6499 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6501 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6504 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6505 * src/hildon-touch-selector.c
6506 (_create_new_column): use g_object_set instead of two g_object_set_property
6508 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6509 * src/hildon-touch-selector.c
6510 (_create_new_column): use of hildon_gtk_tree_view_new to create
6511 the treeview, instead of use directly g_object_new
6512 (_create_new_column): update the property name "vindicator-mode" for the
6513 new one "vscrollbar-policy"
6514 * examples/hildon-date-button-example.c
6515 * examples/hildon-picker-button-multicolumn-example.c
6516 * examples/hildon-touch-selector-entry-example.c
6517 * examples/hildon-touch-selector-example.c
6518 * examples/hildon-time-button-example.c
6519 * examples/hildon-picker-button-example.c
6520 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6521 to all the treeviews inside a pannable area.
6523 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-button.h
6526 * src/hildon-button.c (hildon_button_init)
6527 (hildon_button_set_arrangement, hildon_button_set_alignment)
6528 (hildon_button_set_title_alignment)
6529 (hildon_button_set_value_alignment)
6530 (hildon_button_set_image_alignment)
6531 (hildon_button_construct_child): New methods to set the alignment
6532 of the individual components of the button (title, value,
6533 image). Also, new method to alter the xscale and yscale properties
6534 of the GtkAlignment inside the button, so more complex layouts can
6537 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-button.c (hildon_button_style_set)
6540 (hildon_button_class_init, hildon_button_set_arrangement)
6541 (hildon_button_construct_child): Apply style properties
6542 correctly. Use the 'image-spacing' style property too.
6544 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6546 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6547 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6550 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6552 * src/hildon-pannable-area.c,
6553 (hildon_pannable_area_size_request): Fixed problem with
6554 pannable-area size_request.
6556 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6558 Added management for the grab-focus to a child widget, like a
6559 range, we need to fade out the scrollbar when releasing.
6561 * src/hildon-pannable-area.c,
6562 (hildon_pannable_area_init): Connected the grab-focus signal to
6564 (hildon_pannable_area_grab_notify): Added this function in order
6565 to manage the situation when the grab-focus ends. We have to
6566 fade-out the scrollbar.
6568 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6570 * src/hildon-app-menu.c: Minor documentation update.
6572 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6574 * src/hildon-app-menu.c
6575 * examples/hildon-app-menu-example.c (create_menu): Update
6576 examples and documentation to explain how to connect callbacks.
6578 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6580 * examples/hildon-button-example.c
6581 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6582 hildon_stackable_window_new instead of gtk_window_new
6584 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6586 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6587 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6588 (hildon_pannable_area_set_property),
6589 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6590 (hildon_pannable_area_unrealize),
6591 (hildon_pannable_area_size_request),
6592 (hildon_pannable_area_size_allocate),
6593 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6594 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6595 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6596 (hildon_pannable_area_initial_effect),
6597 (hildon_pannable_area_redraw),
6598 (hildon_pannable_area_scroll_indicator_fade),
6599 (hildon_pannable_area_expose_event),
6600 (hildon_pannable_area_get_topmost), (synth_crossing),
6601 (hildon_pannable_area_button_press_cb),
6602 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6603 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6604 (hildon_pannable_area_motion_notify_cb),
6605 (hildon_pannable_area_button_release_cb),
6606 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6607 (hildon_pannable_area_remove),
6608 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6609 chage the code layout to a more GtkWidget like. Review the use of
6612 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6614 * examples/hildon-pannable-area-example-4.c,
6615 (main): Modified the name of the hindicator_mode to
6618 * src/hildon-pannable-area.c,
6619 (hildon_pannable_area_class_init),
6620 (hildon_pannable_area_motion_notify_cb),
6621 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6622 we have reduced the amount of signals and managed reviewed its
6623 rationale. Changed the default decelerate value.
6625 (hildon_pannable_area_add),
6626 (hildon_pannable_area_redraw): Refactored functions.
6628 (hildon_pannable_area_init),
6629 (hildon_pannable_area_get_property),
6630 (hildon_pannable_area_set_property):
6631 (hildon_pannable_draw_vscroll),
6632 (hildon_pannable_draw_hscroll),
6633 (hildon_pannable_area_initial_effect),
6634 (hildon_pannable_area_expose_event),
6635 (hildon_pannable_area_scroll),
6636 (hildon_pannable_area_button_press_cb),
6637 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6638 and vindicator_mode with hscrollbar_policy and
6639 vscrollbar_policy. Replaced hscroll and vscroll with
6640 hscroll_visible and vscroll_visible.
6642 (hildon_pannable_area_refresh): Refactor the function, remove
6643 variables and check the calls to this function, added resize
6644 conditions in case the children change their layout.
6646 (hildon_pannable_area_size_request): Added more detailed
6647 size_request calculation.
6650 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6652 * src/hildon-color-chooser.c
6653 (init_borders): use the correct gtk_border_free instead of g_free, to
6654 avoid a crash when this widget is used (ie: the three color selection
6657 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6659 * src/hildon-check-button.c,
6660 (hildon_check_button_set_active): Fixed problem when setting the
6661 active value, the widget was not redrawn.
6663 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6665 * src/hildon-pannable-area.c,
6666 (hildon_pannable_area_refresh),
6667 (hildon_pannable_area_scroll),
6668 (hildon_pannable_area_motion_notify_cb): Small code style change.
6670 (hildon_pannable_area_class_init): Default initial_hint set to
6671 FALSE, it is not in the specs.
6673 (hildon_pannable_area_initial_effect),
6674 (hildon_pannable_area_expose_event),
6675 (hildon_pannable_area_map),
6676 (hildon_pannable_area_init): Moved the launching point of the
6677 initial effect, it was in map but the sizes where not correct in
6678 that method so we do not know if we have the reproduce it. Now it
6679 is placed in the expose_event method and uses a variable to
6680 reproduce it just once.
6682 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6684 * src/hildon-pannable-area.c,
6685 (hildon_pannable_draw_vscroll),
6686 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6687 position allowed for the scrollbars.
6689 (hildon_pannable_area_size_allocate): Small style change.
6691 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6693 * src/hildon-pannable-area.c,
6694 (hildon_pannable_area_scroll_indicator_fade),
6695 (hildon_pannable_area_button_press_cb),
6696 (hildon_pannable_area_button_release_cb),
6697 (hildon_pannable_area_scroll_cb),
6698 (hildon_pannable_area_expose_event),
6699 (hildon_pannable_area_init): Added the define parameter
6700 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6701 and refactor the fade variable.
6703 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6705 * src/hildon-pannable-area.c,
6706 (hildon_pannable_area_redraw),
6707 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6708 lines, we were reimplemeting the redraw code.
6710 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6712 * src/hildon-pannable-area.c,
6713 (hildon_pannable_area_scroll_cb),
6714 (hildon_pannable_area_realize),
6715 (hildon_pannable_area_class_init): Added scroll_event management
6716 for pannable area, now we can scroll the usual desktop method.
6718 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6719 initialization of the parameters should depend on idle_id.
6721 (hildon_pannable_area_init),
6722 (hildon_pannable_area_map): Small code style modifications
6724 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6726 * src/hildon-pannable-area.c
6727 (hildon_pannable_area_button_press_cb),
6728 (hildon_pannable_area_motion_notify_cb),
6729 (hildon_pannable_area_button_release_cb),
6730 (hildon_pannable_area_size_allocate),
6731 (hildon_pannable_area_scroll_to): Improved the timeouts
6732 management, we avoid creating them each time.
6734 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6736 * src/hildon-pannable-area.c:
6737 (hildon_pannable_area_refresh),
6738 (hildon_pannable_area_motion_notify_cb),
6739 (hildon_pannable_area_class_init):
6740 * src/hildon-pannable-area.h:
6741 * src/hildon-touch-selector.c
6742 (_create_new_column):
6743 * examples/hildon-pannable-area-example-4.c:
6744 (horizontal_movement),
6745 (vertical_movement),
6747 Replaced the names of enums in the HildonPannableArea:
6748 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6749 HILDON_MOVEMENT_MODE_*
6750 - HILDON_PANNABLE_AREA_MOV_* ->
6752 - Removed HildonPannableAreaIndicatorMode, now we
6755 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6757 * examples/hildon-pannable-area-touch-grid-example.c
6758 * examples/hildon-pannable-area-touch-list-example.c: Fix
6759 compilation warnings.
6761 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6763 * src/hildon-gtk.c (hildon_gtk_button_new)
6764 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6765 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6766 images overriding the value of the "gtk-button-images" setting.
6768 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6770 * src/hildon-check-button.c (hildon_check_button_new):
6771 Instead of using a custom container, display the label and the
6772 checkbox using the standard GtkButton API.
6774 * examples/hildon-check-button-example.c (main): Don't use
6775 hildon_check_button_set_label() anymore
6777 * src/hildon-check-button.h
6778 * src/hildon-check-button.c
6779 (hildon_check_button_set_label, hildon_check_button_get_label):
6780 Set as deprecated, now we're using gtk_button_{get,set}_label()
6782 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6784 * src/hildon-pannable-area.c,
6785 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6786 GtkTreeview first line we detected it after the inclusion of the
6787 GtkWindowImpl in gtk+. We now check if the window is visible, not
6788 just if the pointer is over the window.
6789 (hildon_pannable_axis_scroll),
6790 (hildon_pannable_area_expose_event): Small style changes.
6792 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6794 * src/hildon-button.c: Update documentation.
6796 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6798 * examples/hildon-button-example.c: Add a switch to show images in
6801 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6803 * doc/hildon-docs.sgml: Some docs reorganization.
6805 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6807 * examples/hildon-pannable-area-touch-list-example.c
6809 * examples/hildon-pannable-area-touch-grid-example.c
6810 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6811 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6812 Fix memory leak when setting the tree model.
6814 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6818 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6820 * doc/hildon.types: Remove duplicated hildon_window_get_type
6821 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6822 documentation comment.
6824 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6826 * doc/Makefile.am: Complete list of private headers.
6828 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6830 * doc/hildon-docs.sgml
6831 * src/hildon-app-menu.c
6832 * src/hildon-bread-crumb.c
6833 * src/hildon-button.c
6835 * src/hildon-program.c
6836 * src/hildon-stackable-window.c
6837 * src/hildon-window.c: Lots of documentation updates.
6839 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6841 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6843 * configure.ac: Require Gtk+ 2.12.9 at least
6845 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6847 * src/hildon-pannable-area.c
6848 (hildon_pannable_area_scroll_indicator_fade),
6849 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6850 to protect the return of this timeout callbacks, avoiding deadlocks.
6852 2008-08-12 Christian Dywan <christian@imendio.com>
6855 * src/hildon-*.h: Ensure a consistent include order,
6856 include <gtk/gtk.h> instead of particular files and
6857 only include the topmost header in the gtk stack. See NB #39857
6859 2008-08-12 Christian Dywan <christian@imendio.com>
6861 * src/hildon-picker-dialog.c
6862 * src/hildon-touch-selector.c: Fix warnings about unused and
6863 uninitialized variables.
6865 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6867 * examples/Makefile.am
6868 * examples/hildon-check-button-example.c: Example of the hildon
6871 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-window.h
6874 * src/hildon-window.c (hildon_window_class_init)
6875 (hildon_window_unset_program): Don't make
6876 hildon_window_unset_program a virtual function anymore.
6878 * src/hildon-stackable-window.c: Update documentation
6880 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6883 * doc/hildon-docs.sgml
6884 * doc/visual_index.xml
6885 * src/hildon-defines.c
6887 * src/hildon-helper.c
6888 * src/hildon-range-editor.c: Lots of documentation fixes.
6890 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6892 * examples/hildon-picker-button-multicolumn-example.c
6893 (create_touch_selector): Fix compilation warning.
6895 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6897 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6898 (hildon_pannable_area_button_release_cb)
6899 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6901 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6903 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6906 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6908 * src/hildon-bread-crumb-trail.h
6909 * src/hildon-date-editor.c
6910 * src/hildon-date-selector.c
6911 * src/hildon-pannable-area.c
6912 * src/hildon-picker-dialog.c
6913 * src/hildon-time-selector.c
6914 * src/hildon-touch-selector-entry.c
6915 * src/hildon-touch-selector.c
6916 * src/hildon-touch-selector.h: Misc documentation fixes
6918 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6920 * examples/hildon-date-editor-example.c (main): Updated date
6923 * examples/hildon-note-example.c (on_confirmation_clicked):
6924 Updated confirmation note example.
6926 * src/hildon-date-editor.c
6927 * src/hildon-note.c: Updated sample programs in documentation.
6930 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6932 * src/hildon-date-button.h:
6933 * src/hildon-picker-button.h:
6934 * src/hildon-time-button.c:
6935 * src/hildon-time-button.h:
6937 Some declarations changes to allow gtk-doc to document the widgets
6940 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6942 * src/hildon-date-button.c: Document the widget.
6943 * src/hildon-time-button.c: Document the widget.
6945 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6947 * src/hildon-picker-button.c: Document the widget.
6948 * src/hildon-touch-selector-entry.c: Document the widget.
6950 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6952 * doc/hildon-docs.sgml
6955 * src/hildon-check-button.h
6956 * src/hildon-check-button.c: New functions to create the Hildon
6960 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6962 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6964 * src/hildon-button.h
6965 * src/hildon-button.c
6966 (hildon_button_add_title_size_group)
6967 (hildon_button_add_value_size_group)
6968 (hildon_button_add_image_size_group)
6969 (hildon_button_add_size_groups): New functions to set size groups
6970 for the button labels and image.
6971 (hildon_button_new_full): Removed
6973 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6975 * src/hildon-time-selector.c
6976 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6977 in order to avoid a crash if gconf is not available
6979 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6981 * src/hildon-button.c (hildon_button_set_arrangement)
6982 (hildon_button_construct_child): Don't construct the button child
6983 before setting the arrangement.
6985 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6987 * src/hildon-program-private.h
6988 * src/hildon-program.c
6989 * src/hildon-program.h
6990 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6991 (hildon_program_peek_window_stack)
6992 (hildon_program_pop_window_stack)
6993 (hildon_program_go_to_root_window): HildonProgram now has a
6994 separate list for stackable windows. Functions are provided to
6995 manage that list with a stack-like API.
6997 * src/hildon-stackable-window.c: Stackable window management is
6998 now much simpler with the new HildonProgram API. Windows no
6999 longer need to be manually added to the program, they're
7000 automatically pushed to the top of the stack when shown.
7002 * examples/hildon-stackable-window-example.c: Updated example to
7003 reflect the API changes.
7005 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/hildon-touch-selector.c: Comment out unimplemented
7008 hildon_touch_selector_insert_column() to avoid a compile warning.
7010 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7012 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7013 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7014 (hildon_touch_selector_set_column_selection_mode),
7015 (_hildon_touch_selector_set_model),
7016 (hildon_touch_selector_set_model):
7018 Complete review of HildonTouchSelector documentation.
7020 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7022 * doc/hildon-docs.sgml
7026 * src/hildon-gtk.c: Convenience functions for standard Gtk
7027 widgets, used to easily perform frequent operations.
7029 * src/hildon-button-helpers.h
7030 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7032 * src/hildon-helper.h
7033 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7034 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7036 * src/hildon-button.h
7037 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7039 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7041 * src/hildon-button.c (hildon_button_init)
7042 (hildon_button_set_arrangement, hildon_button_construct_child):
7043 Pack the image and the labels inside the same GtkAlignment so
7044 gtk_button_set_alignment() can be used
7046 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7048 * src/hildon-button.h
7049 * src/hildon-button.c
7050 (hildon_button_init, hildon_button_set_image)
7051 (hildon_button_set_image_position)
7052 (hildon_button_construct_child): New functions to add an image to
7055 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7057 * src/hildon-date-button.c
7058 * src/hildon-picker-button.c
7059 * src/hildon-time-button.c
7060 * src/hildon-button.c:
7061 (hildon_button_class_init): "size-flags" renamed to "size"
7062 (hildon_button_set_title): Hide the title label if set to NULL.
7064 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7066 HildonButtonFlags split into HildonButtonArrangement (to set the
7067 button layout) and HildonSizeType (which can be used for any
7070 * src/hildon-button.h
7071 * src/hildon-button.c
7072 (hildon_button_class_init)
7073 (hildon_button_set_arrangement)
7074 (hildon_button_set_property): New "size-flags"
7075 property. "arrangement-flags" renamed to "arrangement".
7076 (hildon_button_new, hildon_button_new_with_text)
7077 (hildon_button_new_full): Constructors updated to reflect type changes.
7079 * src/hildon-helper.h
7080 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7081 to set the size of a widget.
7085 * src/hildon-button-helpers.c
7086 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7088 * src/hildon-date-button.c
7089 * src/hildon-date-button.h
7090 * src/hildon-picker-button.c
7091 * src/hildon-picker-button.h
7092 * src/hildon-time-button.c
7093 * src/hildon-time-button.h: Updated widgets to reflect
7094 HildonButton API changes.
7096 * examples/hildon-button-example.c
7097 * examples/hildon-date-button-example.c
7098 * examples/hildon-picker-button-example.c
7099 * examples/hildon-picker-button-multicolumn-example.c
7100 * examples/hildon-time-button-example.c
7101 * examples/hildon-touch-selector-entry-example.c
7102 * examples/hildon-touch-selector-example.c: Updated examples to
7103 reflect HildonButton API changes.
7105 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7107 * doc/hildon-docs.sgml:
7109 * examples/Makefile.am:
7110 * examples/hildon-touch-selector-entry-example.c:
7112 * src/hildon-touch-selector-entry.c:
7113 * src/hildon-touch-selector-entry.h:
7116 Moved HildonTouchSelectorEntry from sandbox. Added its
7117 documentation and examples.
7119 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7121 * src/hildon-touch-selector.h:
7122 * examples/hildon-picker-button-multicolumn-example.c:
7123 (hildon_touch_selector_append_text_column): Add a gboolean
7124 parameter to determine if text must be centered in the column.
7126 * src/hildon-date-selector.c: (hildon_date_selector_init):
7127 * src/hildon-time-selector.c: (hildon_time_selector_init):
7128 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7129 (create_touch_selector): Update widgets and example to reflect
7132 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7134 * src/hildon-touch-selector.c:
7135 (hildon_touch_selector_set_active_iter): Set also the cursor in
7138 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7140 * doc/hildon-docs.sgml
7143 * src/hildon-toggle-button.c
7144 * src/hildon-toggle-button.h
7145 * src/hildon.h: Removed HildonToggleButton widget, a derived
7146 class is not necessary for this.
7148 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7150 * src/hildon-pannable-area.c,
7151 (hildon_pannable_area_realize),
7152 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7155 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7157 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7158 "done" button the default widget for the dialog.
7160 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7162 * src/hildon-touch-selector.c:
7163 (hildon_touch_selector_class_init),
7164 (hildon_touch_selector_get_property),
7165 (_hildon_touch_selector_set_model),
7166 (_hildon_touch_selector_has_multiple_selection),
7167 (hildon_touch_selector_has_multiple_selection):
7168 Add a "has-multiple-selection" property with a virtual
7169 has_multiple_selection() method to allow derived classes to
7170 override the default value for it. See the method and property
7171 documentation for details.
7173 * src/hildon-touch-selector.h: Add the new API.
7175 * src/hildon-picker-dialog.c: (requires_done_button): Call
7176 hildon_touch_selector_has_multiple_selection() instead of
7177 determining the need for a button itself.
7179 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7181 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7182 (_hildon_touch_selector_set_model),
7183 (hildon_touch_selector_set_model): Move working code to
7184 _hildon_touch_selector_set_mode(). Call the class method instead.
7186 * src/hildon-touch-selector.h: Add (*set_model) to
7187 HildonTouchSelectorClass.
7189 Make hildon_touch_selector_set_model() a virtual method, so that
7190 derived classes can extend it and do fancy stuff with the model.
7192 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7194 * configure.ac: Set back the tarname in AC_INIT to hildon.
7196 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7200 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7201 instead of libesd (NB#86876). Volume handling is still an open issue.
7203 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7206 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7208 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7209 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7210 derived class to ease placement of an entry widget in
7211 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7212 end, where the selector columns are packed now.
7214 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7216 * src/hildon-picker-button.c: Removed the simple _text() API.
7217 * src/hildon-picker-button.h: Likewise.
7219 * src/hildon-touch-selector.h:
7220 * src/hildon-touch-selector.c:
7221 (hildon_touch_selector_new_text),
7222 (hildon_touch_selector_append_text),
7223 (hildon_touch_selector_prepend_text),
7224 (hildon_touch_selector_insert_text):
7226 Moved the simple _text() API from HildonPickerButton to
7227 HildonTouchPicker, to provide better escalability and not to tie
7228 that API to HildonPickerButton.
7230 * examples/hildon-picker-button-example.c: (main): Example updated.
7232 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7234 * src/hildon-button.c: Updated documentation.
7236 * examples/hildon-button-example.c: Add the posibility to create
7237 the buttons using horizontal layout for title and value.
7239 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7241 * src/hildon-app-menu-private.h
7242 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7243 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7244 GtkSizeGroup for the filters, use the 'homogeneous' property of
7247 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7249 * examples/hildon-button-example.c: Updated example.
7251 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7253 * doc/hildon-docs.sgml:
7256 Update documentation.
7258 * examples/Makefile.am: Update renamed examples.
7260 * examples/hildon-picker-button-multicolumn-example.c:
7261 (create_touch_selector), (main): Update after the rename.
7263 * examples/hildon-touch-picker-example.c: Removed.
7264 * examples/hildon-touch-selector-example.c: (value_changed),
7265 (create_selector), (get_visible_content), (main): Renamed from
7266 hildon-touch-picker-example.c
7268 * src/Makefile.am: Updated renamed files.
7270 * src/hildon-date-button.c: (hildon_date_button_init),
7271 (hildon_date_button_get_date), (hildon_date_button_set_date):
7272 * src/hildon-date-selector.c: (hildon_date_selector_init),
7273 (_custom_print_func), (_update_day_model),
7274 (_manage_selector_change_cb),
7275 (hildon_date_selector_select_current_date),
7276 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7277 * src/hildon-date-selector.h:
7278 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7279 (hildon_picker_button_set_property),
7280 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7281 (hildon_picker_button_init), (hildon_picker_button_new_text),
7282 (hildon_picker_button_append_text),
7283 (hildon_picker_button_prepend_text),
7284 (hildon_picker_button_insert_text),
7285 (hildon_picker_button_set_selector),
7286 (hildon_picker_button_get_selector):
7287 * src/hildon-picker-button.h:
7288 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7289 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7290 (_update_title_on_selector_changed_cb), (requires_done_button),
7291 (_hildon_picker_dialog_set_selector),
7292 (hildon_picker_dialog_set_selector),
7293 (hildon_picker_dialog_get_selector):
7294 * src/hildon-picker-dialog.h:
7295 * src/hildon-time-button.c: (hildon_time_button_init),
7296 (hildon_time_button_get_time), (hildon_time_button_set_time):
7297 * src/hildon-time-selector.c: (hildon_time_selector_init),
7298 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7299 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7300 * src/hildon-time-selector.h:
7303 Massive code updates after the rename.
7305 * src/hildon-touch-picker.c: Removed.
7306 * src/hildon-touch-picker.h: Removed.
7308 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7309 (hildon_touch_selector_init), (hildon_touch_selector_map),
7310 (hildon_touch_selector_remove), (_default_print_func),
7311 (_selection_changed_cb), (_create_new_column),
7312 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7313 (hildon_touch_selector_append_text_column),
7314 (hildon_touch_selector_remove_column),
7315 (hildon_touch_selector_set_column_attributes),
7316 (hildon_touch_selector_insert_column),
7317 (hildon_touch_selector_get_num_columns),
7318 (hildon_touch_selector_get_column_selection_mode),
7319 (hildon_touch_selector_set_column_selection_mode),
7320 (hildon_touch_selector_set_print_func),
7321 (hildon_touch_selector_get_print_func),
7322 (hildon_touch_selector_get_active_iter),
7323 (hildon_touch_selector_set_active_iter),
7324 (hildon_touch_selector_get_selected_rows),
7325 (hildon_touch_selector_get_model),
7326 (hildon_touch_selector_set_model),
7327 (hildon_touch_selector_get_current_text),
7328 (_hildon_touch_selector_center_on_selected_items):
7329 * src/hildon-touch-selector.h: Renamed from
7330 hildon-touch-picker.[ch]
7332 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7333 references, code examples, and related documentation.
7335 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7337 * doc/hildon-docs.sgml
7340 * src/hildon-toggle-button.c
7341 * src/hildon-toggle-button.h
7342 * src/hildon.h: New HildonToggleButton widget.
7344 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7346 * src/hildon-button.c: Add API documentation.
7347 (hildon_button_set_size_groups): Check input parameters
7349 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7351 * src/hildon-pannable-area.c
7352 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7353 effect after reaching the movement thredshold. This way we start
7354 using the distance after passing the thredshold.
7356 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7358 * src/hildon-button.c: (hildon_button_set_property): Use the
7359 appropriate g_value_get_flags() method.
7361 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7363 * doc/hildon-docs.sgml:
7366 Add the touch pickers, picker dialogs, and picker button widgets
7367 to the documentation.
7369 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7371 * src/hildon-button.c: (hildon_button_set_property),
7372 (hildon_button_class_init): Make "arrangement-flags" a proper
7373 G_TYPE_FLAGS derived property.
7375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7377 * examples/Makefile.am: Add below examples.
7378 * examples/hildon-date-button-example.c:
7379 * examples/hildon-picker-button-example.c:
7380 * examples/hildon-picker-button-multicolumn-example.c:
7381 * examples/hildon-time-button-example.c:
7382 * examples/hildon-touch-picker-example.c:
7384 Add examples for the recently added touch pickers,
7385 picker dialogs, and picker button widgets.
7387 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7389 * src/hildon-button.c: Add some API documentation
7391 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7393 * src/hildon-button.h
7394 * src/hildon-button.c
7396 (hildon_button_new_with_text): New constructor to create a button
7397 with no text at all.
7398 (hildon_button_init, hildon_button_set_arrangement)
7399 (hildon_button_set_title, hildon_button_set_value)
7400 (hildon_button_set_text)
7401 (hildon_button_construct_child): Hide the value when it's not used
7402 so the rest of the text is properly aligned.
7403 Allow creating buttons with arbitrary widgets inside (not just
7404 title/value labels).
7406 * examples/hildon-button-example.c (vertical_buttons_window)
7407 (horizontal_buttons_window): Update example to use new API.
7409 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/Makefile.am: Added HildonTimeButton.
7412 * src/hildon-time-button.c: Added missing LGPL header.
7413 * src/hildon-time-button.h: Added missing LGPL header.
7414 * src/hildon.h: Add hildon-time-button.h
7416 Copied HildonTimeButton from sandbox to trunk. Future work on this
7417 widget must take place in trunk.
7419 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7421 * src/Makefile.am: Added HildonDateButton.
7422 * src/hildon-date-button.c: Update includes.
7423 * src/hildon.h: Add hildon-date-button.h
7425 Copied HildonDateButton from sandbox to trunk. Future work on this
7426 widget must take place in trunk.
7428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/Makefile.am: Added HildonPickerButton.
7431 * src/hildon-picker-button.h: Update includes.
7432 * src/hildon.h: Add hildon-picker-button.h
7434 Copied HildonPickerButton from sandbox to trunk. Future work on
7435 this widget must take place in trunk.
7437 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7439 * src/Makefile.am: Added HildonPickerDialog.
7440 * src/hildon-picker-dialog.c: Update includes.
7441 * src/hildon.h: Add hildon-picker-dialog.h
7443 Copied HildonPickerDialog from sandbox to trunk. Future work
7444 on this widget must take place in trunk.
7446 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7448 * src/Makefile.am: Added HildonTimeSelector.
7449 * src/hildon.h: Add hildon-time-selector.h
7451 Copied HildonTimeSelector widget from sandbox to trunk. Future
7452 work on this widget must happen in trunk.
7454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7456 * src/Makefile.am: Added HildonDateSelector.
7457 * src/hildon.h: Add hildon-date-selector.h
7459 Copied HildonDateSelector widget from sandbox to trunk. Future
7460 work on this widget must happen in trunk.
7462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7464 * src/Makefile.am: Added HildonTouchPicker.
7465 * src/hildon-touch-picker.c: Update includes.
7466 * src/hildon.h: Add hildon-touch-picker.h
7468 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7469 on this widget must happen in trunk.
7471 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7473 * src/hildon-pannable-area.c:
7474 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7476 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7478 * examples/hildon-app-menu-example.c (main): Let the window
7481 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7483 * src/hildon-pannable-area.c
7484 (hildon_pannable_area_class_init): Set the min value of the
7485 overshoot properties to zero, which points out that not
7486 overshooting allowed.
7488 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7490 Modified the procedure to get the widget at a point inside the
7491 pannable area when using the movement type signals. Now the user
7492 has to call a function to get the child, that way we just
7493 calculate the child in case the user really want to use it and not
7496 * src/hildon-marshalers.list: Modified the marshallers, now we do
7497 not have the widget as a parameter.
7499 * src/hildon-pannable-area.c
7500 (hildon_pannable_area_motion_notify_cb),
7501 (hildon_pannable_area_class_init),
7502 (hildon_pannable_get_child_widget_at): Removed the widget
7503 parameter from the signal callback. We have also refactored the
7504 emission of the signals.
7506 * src/hildon-pannable-area.h: Added a new method to the API to
7507 calculate a widget at a point inside the pannable area,
7508 hildon_pannable_get_child_widget_at.
7510 * examples/hildon-pannable-area-example-4.c
7511 (horizontal_movement): Modified the example to use the new API,
7512 added condition to control which widget is under the event. This
7513 way we can avoid scrolling laterally over other widgets.
7515 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7517 * src/hildon-pannable-area.c
7518 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7519 modes, we stop getting the pointer events due to returning the
7520 callback without properly calling the get pointer again. Fixed
7521 also an error using the hscroll and vscroll.
7523 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7525 * src/hildon-app-menu-private.h
7526 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7527 (hildon_app_menu_button_release, hildon_app_menu_init)
7528 (hildon_app_menu_class_init): Don't hide the menu on button
7529 release if the user didn't press outside first.
7531 * src/hildon-window.h
7532 * src/hildon-window.c (hildon_window_toggle_menu)
7533 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7534 hildon_window_toggle_menu a virtual function for the stackable
7535 window to override it.
7537 * src/hildon-stackable-window.h
7538 * src/hildon-stackable-window-private.h
7539 * src/hildon-stackable-window.c
7540 (hildon_stackable_window_realize)
7541 (hildon_stackable_window_finalize)
7542 (hildon_stackable_window_class_init)
7543 (hildon_stackable_window_init)
7544 (hildon_stackable_window_set_main_menu): New function to set the
7545 app menu of a HildonStackableWindow.
7547 * examples/hildon-app-menu-example.c: Remove the button to show
7548 the app menu, now it'll be shown when clicking on the title bar
7551 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7553 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7554 set the widget name if the arrangement flags do not specify
7557 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7559 * src/hildon-button.c: (hildon_button_set_property),
7560 (hildon_button_class_init), (hildon_button_new_full),
7561 (hildon_button_set_arrangement): Added "arrangement-flags"
7564 Make the HildonButtonFlags a construction-only property, to allow
7565 subclasses to set them properly.
7567 2008-07-21 Tim Janik <timj@imendio.com>
7569 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7570 insertion position after backspace, so additional digits are appended,
7573 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7575 * src/hildon-pannable-area.c,
7576 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7577 TODO list, it was complete and removed the g_debug and g_print
7580 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7582 Added the movement modes to the hildon-pannable-area, with this
7583 modes the developers can control in which directions the widget
7584 can scroll. They can also connect to signals in order to do
7585 something when that happens, allowing applications scroll. There
7586 is an example uploaded showing how to use it.
7588 * examples/Makefile.am:
7589 * examples/hildon-pannable-area-example-4.c: Added this example of
7590 an application using the modes.
7592 * src/hildon-marshalers.list: Added a new marshaller for the new
7595 * src/hildon-pannable-area.h: Added new enumerations and flags in
7596 order to control the movement modes and the new signals to warn
7597 about the movements in the area.
7599 * src/hildon-pannable-area.c:
7600 (hildon_pannable_axis_scroll),
7601 (hildon_pannable_area_scroll),
7602 (hildon_pannable_area_motion_notify_cb),
7603 (hildon_pannable_area_get_property),
7604 (hildon_pannable_area_set_property),
7605 (hildon_pannable_area_map),
7606 (hildon_pannable_area_class_init),
7607 (hildon_pannable_area_init),
7608 (hildon_pannable_area_jump_to): Added the modes to control the
7609 movement in the widget. We have added properties to control it,
7610 signals to warn about the movements and refactored some code.
7612 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7614 Changes required in order to allow vfast_factor set to zero to
7617 * src/hildon-pannable-area.c:
7618 (hildon_pannable_area_button_press_cb): Changed the condition, it
7619 is required for not allowing click when vfast_factor is zero.
7620 (hildon_pannable_area_timeout): Initialized velocity variables
7621 when we stop moving, it was less than 1 but not zero and we need
7622 to check zero in some situations.
7623 (hildon_pannable_area_class_init): Changed the default value of
7624 the speed factor, now the button_press is just sent in case the
7625 speed is 2 per cent of the max speed.
7626 (hildon_pannable_area_init): Initialization with 0.
7628 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7630 * src/hildon-pannable-area.c,
7631 (hildon_pannable_area_get_topmost): replaced
7632 gdk_window_get_children with gdk_window_peek_children, this way we
7633 do not have to free the list because it is not a copy.
7635 (hildon_pannable_axis_scroll),
7636 (hildon_pannable_area_scroll),
7637 (hildon_pannable_area_timeout),
7638 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7639 two parameters that were only used inside the
7640 hildon_pannable_area_scroll function.
7642 * examples/hildon-pannable-area-example.c,
7643 (get_sawtooth_label): Fixed small memory leak.
7645 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7647 More checks for the case where the overshoot is bigger than the
7650 * src/hildon-pannable-area.c:
7651 (hildon_pannable_draw_vscroll),
7652 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7653 to draw the slider of the scrollbar under the other scrollbar.
7654 (hildon_pannable_area_expose_event): added new checks to control
7655 the drawing of the overshooting area rectangle, in case it is too
7656 big for the area of the widget.
7657 (hildon_pannable_area_size_allocate): add more checks to avoid
7658 setting a position to the child widget outside the area.
7660 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7662 * src/hildon-pannable-area.c
7663 (hildon_pannable_area_size_allocate): Added conditions to control
7664 when overshooting is bigger than the allocated space for the
7665 children, this avoids negative allocations.
7667 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7669 * doc/hildon-docs.sgml
7671 * examples/Makefile.am
7672 * examples/hildon-button-example.c
7674 * src/hildon-button.c
7675 * src/hildon-button.h
7676 * src/hildon.h: Initial version of the new HildonButton widget,
7679 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7681 * src/hildon-pannable-area.c:
7682 (hildon_pannable_area_button_press_cb),
7683 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7684 (hildon_pannable_area_motion_notify_cb),
7685 (hildon_pannable_area_button_release_cb),
7686 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7687 (hildon_pannable_area_jump_to_child):
7689 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7691 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7693 * examples/Makefile.am
7694 * examples/hildon-pannable-area-touch-grid-example.c
7695 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7696 the Hildon Touch List and Hildon Touch Grid using the
7697 HildonPannableArea widget.
7699 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7701 * src/hildon-pannable-area.c,
7702 (hildon_pannable_area_button_press_cb),
7703 (hildon_pannable_area_refresh),
7704 (hildon_pannable_area_scroll),
7705 (hildon_pannable_area_motion_notify_cb),
7706 (hildon_pannable_area_button_release_cb),
7707 (hildon_pannable_area_expose_event),
7708 (hildon_pannable_area_add),
7709 (hildon_pannable_area_remove),
7710 (hildon_pannable_area_realize),
7711 (hildon_pannable_area_size_allocate),
7712 (hildon_pannable_area_class_init),
7713 (hildon_pannable_area_init),
7714 (hildon_pannable_area_scroll_to_child),
7715 (hildon_pannable_area_jump_to_child): Fixed the problem of
7716 removing the child from the GtkBin, we have rearranged the widget
7717 hierarchy, now there is no GtkAlignment which was not doing
7718 anything interesting but breaking some of the assumptions of
7719 GtkContainer. Now developers if they want to add a GtkAlignment
7720 they could, but it is not inside the area.
7722 We had to review the whole allocation/expose process, now it is
7723 improved and we save at least three signals which would be saving
7724 some time when rendering the widget. The allocation of the
7725 scrollbars is now made in the allocate method as usual.
7727 We have also added some conditions in order to control when there
7728 is no child of the pannable area. Maybe we will need more work
7731 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7733 * src/hildon-pannable-area.c,
7734 (hildon_pannable_area_dispose): Released the fade-out timeout when
7735 disposing the widget.
7737 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7739 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7740 zero, we are going to use that property in order to deactivate the
7742 (hildon_pannable_axis_scroll),
7743 (hildon_pannable_area_size_allocate): Added conditions to control
7744 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7745 call, now it is called in all situations and we can remove calls
7746 in the allocate method.
7747 (hildon_pannable_area_map): Control the situation when
7748 overshoot_max is zero, we do not need the timeout.
7749 (hildon_pannable_area_class_init): Added documentation in order to
7750 point out that setting zero to overshoot_max means deactivate
7753 NOTE: removed trailing whitespaces from my previous comments of
7756 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/hildon-pannable-area.c
7759 (hildon_pannable_area_get_property),
7760 (hildon_pannable_area_set_property),
7761 (hildon_pannable_area_map),
7762 (hildon_pannable_area_class_init),
7763 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7764 to cause the widget give a hint about its panning abilities upon
7767 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7769 * src/hildon-pannable-area.c: Several documentation improvements.
7771 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-program.c
7774 * src/hildon-stackable-window.c: Update documentation.
7776 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7778 * src/hildon-stackable-window.c (get_previous_window_if_last):
7779 Renamed get_last_window()
7780 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7781 (hildon_stackable_window_unset_program):
7783 (get_previous_window_if_last):
7784 Detect if the window hasn't been added to a HildonProgram.
7786 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7788 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7790 * src/hildon-pannable-area.c
7791 (hildon_pannable_area_button_press_cb),
7792 (hildon_pannable_axis_scroll),
7793 (hildon_pannable_area_scroll),
7794 (hildon_pannable_area_timeout),
7795 (hildon_pannable_calculate_vel_factor),
7796 (hildon_pannable_area_get_property),
7797 (hildon_pannable_area_set_property),
7798 (hildon_pannable_area_class_init),
7799 (hildon_pannable_area_init),
7800 (hildon_pannable_area_scroll_to),
7801 (hildon_pannable_area_jump_to),
7802 (hildon_pannable_area_scroll_to_child),
7803 (hildon_pannable_area_jump_to_child):
7804 * src/hildon-pannable-area.h: Added the new API functions:
7805 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7806 hildon_pannable_area_scroll_to_child,
7807 hildon_pannable_area_jump_to_child
7810 * examples/Makefile.am
7811 * examples/hildon-pannable-area-example-2.c
7812 * examples/hildon-pannable-area-example-3.c: Added these two new
7813 examples in order to test and show how the new APIs work.
7815 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7817 * examples/hildon-stackable-window-example.c (new_window):
7818 * src/Makefile.am (noinst_HEADERS):
7819 * src/hildon-program.c (hildon_program_go_to_root_window):
7820 * src/hildon-program.h:
7821 * src/hildon-stackable-window-private.h:
7822 * src/hildon-stackable-window.c:
7823 * src/hildon-stackable-window.h:
7824 Create hildon-stackable-window-private.h
7825 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7827 * examples/hildon-app-menu-example.c (create_menu):
7828 * examples/hildon-hvolumebar-insensitive-example.c (main):
7829 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7830 * examples/hildon-toolbar-seekbar-example.c (main):
7831 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7832 * src/hildon-banner.c (hildon_banner_set_property):
7833 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7834 Fix compilation warnings
7836 * src/hildon-window.c:
7839 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7841 * src/hildon-stackable-window.c
7842 (hildon_stackable_window_unset_program):
7843 Calculate correctly whether to show the previous window if the
7844 last one is removed from the stack.
7845 (hildon_stackable_window_go_to_root_window):
7846 Send delete events starting from the topmost window.
7847 Stop if one of the windows is not destroyed.
7849 (hildon_stackable_window_delete_event)
7850 (hildon_stackable_window_class_init):
7851 Ignore the delete event if the window is not the topmost one.
7853 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7855 * src/hildon-pannable-area.c
7856 (hildon_pannable_area_expose_event): Fixed a problem when
7857 selecting the background color of the scrollbars.
7859 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7861 * examples/hildon-stackable-window-example.c
7862 * src/hildon-stackable-window.c
7863 * src/hildon-stackable-window.h
7864 hildon_stackable_window_go_home() renamed to
7865 hildon_stackable_window_go_to_root_window()
7866 Send delete events to windows rather than closing them with
7867 gtk_widget_destroy()
7869 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7871 * src/hildon-pannable-area.c
7872 (hildon_pannable_area_button_release_cb): Fix overshooting in
7875 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7877 * src/hildon-pannable-area.c
7878 (hildon_pannable_area_init): Initially show the scroll indicators.
7879 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7881 Add initial effect showing the widget is pannable.
7883 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7885 * src/hildon-pannable-area.c
7886 (hildon_pannable_area_class_init)
7887 (hildon_pannable_area_set_property)
7888 (hildon_pannable_area_get_property)
7889 (hildon_pannable_area_button_press_cb):
7890 New 'velocity_fast_factor' property to decide which velocity is
7893 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7895 * src/hildon-pannable-area.c
7896 (hildon_pannable_draw_hscroll)
7897 (hildon_pannable_draw_vscroll):
7898 Use float variables to calculate the size of the scrollbars to
7899 avoid error propagation and resizing during scrolling.
7901 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7903 * src/hildon-pannable-area.c
7904 (hildon_pannable_draw_vscroll)
7905 (hildon_pannable_draw_hscroll):
7906 Define a minimum size for the scroll bars
7908 * src/hildon-stackable-window.c
7909 (hildon_stackable_window_go_home): Fix compilation warning
7910 (get_last_window): Minor optimizations
7911 (hildon_stackable_window_class_init): Fix initialization of
7914 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7916 * src/hildon-stackable-window.c: Fixed typos in doc
7918 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7920 * src/hildon-pannable-area.c
7921 (hildon_pannable_area_scroll):
7922 Calculate here whether we need to scroll instead of using the booleans
7923 that tell us whether to /draw/ the scrolling bars.
7925 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7927 * src/hildon-app-menu.h
7929 * src/hildon-app-menu.c
7930 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7931 multiple filter groups related code and API. Now we support only
7933 * examples/hildon-app-menu-example.c:
7935 Update to reflect API changes.
7937 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7939 * src/hildon-stackable-window.c
7940 (hildon_stackable_window_class_init):
7941 Add hildon_stackable_window_realize.
7942 (hildon_stackable_window_realize):
7943 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7944 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7945 to apply theming and behavior specific to HildonStackableWindow
7948 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7950 * src/hildon-note.c (hildon_note_button_release):
7951 Close information notes also when tapping on them
7953 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7955 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7956 ELASTICITY, refactor and review, fix some issues with drawing
7959 * src/hildon-pannable-area.c:
7960 (hildon_pannable_area_button_press_cb): removed the conditions to
7961 avoid clicks when overshooting. It is not required
7963 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7964 define. Refatored and reviewed the code, now we do not need to
7965 manage velocity in motion_notify.
7967 (hildon_pannable_area_motion_notify_cb): We have moved the code
7968 that controls the area_scroll to the axis_scroll function and get
7969 rid of duplicated code.
7971 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7973 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7975 (hildon_pannable_draw_vscroll),
7976 (hildon_pannable_draw_hscroll): Fixed the problems with the
7977 scrollbar drawing, now we do not use two surfaces, it is easier
7978 and saves resources.
7980 (hildon_pannable_area_get_property): Style modification.
7982 (hildon_pannable_area_class_init): Changed some default values.
7984 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7986 * src/hildon-stackable-window.c: Fix some typos in the
7989 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7991 * src/hildon-dialog.c:
7992 Change indentation style
7995 (hildon_note_button_release):
7996 Use root coordinates to check if the release event happened
7999 * src/hildon-app-menu.c
8000 (hildon_app_menu_button_release):
8001 Remove unnecessary check
8003 * examples/hildon-app-menu-example.c
8005 Add cast to fix warning
8007 * src/hildon-app-menu.c
8008 (hildon_app_menu_class_init):
8009 New inner-border style property.
8010 Set all default spacings to 16
8011 (hildon_app_menu_init):
8012 Use vertical-spacing to set the space between filter buttons and
8013 regular menu buttons.
8014 Set the default container border using the inner-border value.
8016 * examples/hildon-app-menu-example.c
8018 Don't set the menu border explicitly, now we have the inner-border
8019 style property for that.
8021 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8023 * src/hildon-app-menu.c (hildon_app_menu_init):
8024 Make the window modal
8026 * src/hildon-note.c (hildon_note_map)
8027 * src/hildon-app-menu.c (hildon_app_menu_map):
8028 Destroy the grab window if we're unable to grab the pointer
8030 * src/hildon-app-menu-private.h
8031 * src/hildon-app-menu.c
8032 (hildon_app_menu_init, hildon_app_menu_finalize)
8033 (hildon_app_menu_map, hildon_app_menu_unmap)
8034 (hildon_app_menu_button_release)
8035 (grab_transfer_window_get):
8036 Bring back the grab window
8037 (hildon_app_menu_realize):
8038 Decorate the window, set WM hint for Matchbox
8040 * src/hildon-note.c (hildon_note_realize):
8041 * src/hildon-banner.c (hildon_banner_realize):
8042 Add WM hints for Matchbox
8044 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8046 * src/hildon-app-menu-private.h
8047 * src/hildon-app-menu.c
8048 (hildon_app_menu_init, hildon_app_menu_finalize)
8049 (hildon_app_menu_map, hildon_app_menu_unmap)
8050 (hildon_app_menu_button_release):
8051 Remove the grab window, it's not needed anymore
8053 * src/hildon-program.c
8054 Fixed typo in documentation
8056 * src/hildon-app-menu.h
8057 * src/hildon-app-menu.c
8058 * examples/hildon-app-menu-example.c
8059 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8061 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8064 Added new transfer_window and close_if_pressed_outside private
8066 (hildon_note_rebuild):
8067 Don't add a cancel button to the information note. It will be
8068 closed when tapping outside
8069 Remove the comment about the OK button in the documentation
8070 (hildon_note_realize):
8071 Set the notification type hint
8072 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8073 Grab/ungrab pointer and keyboard if the note has to be closed when
8075 (hildon_note_button_release):
8076 Close the note when tapping outside (if applicable)
8078 * src/hildon-app-menu.c
8079 Grab/ungrab pointer and keyboard on map/unmap
8080 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8081 Close the menu on button release, not button press
8083 * src/hildon-banner.c
8084 (hildon_banner_set_property)
8085 (hildon_banner_check_position):
8086 Make the banner use the full width of the screen
8087 (hildon_banner_show_information)
8088 (hildon_banner_show_information_with_markup):
8089 Don't display an icon by default
8091 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8093 Added fading scrollbars and adapted all the overshooting code to
8094 horizontal scrolling. We have also fixed bugs with overshooting
8095 and current fading implementation.
8097 * src/hildon-pannable-area.c
8098 (hildon_pannable_area_scroll_indicator_fade): Time out function
8099 used to change the transparency of the scrollbars.
8101 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8102 control and fixed a problem with fading, we now remove the fade
8103 timeout before adding a new one.
8105 (hildon_pannable_axis_scroll):
8106 (hildon_pannable_area_scroll):
8107 (hildon_pannable_area_timeout): Added this functions so we can use
8108 the scroll code both for vertical and horizontal.
8110 (hildon_pannable_area_motion_notify_cb):
8111 (hildon_pannable_area_button_release_cb): Added the horizontal
8112 scrolling control, fixed a problem with the overshooting timeout.
8114 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8115 painting of the scrolls.
8117 (hildon_pannable_draw_vscroll):
8118 (hildon_pannable_draw_hscroll):
8119 (hildon_pannable_area_expose_event):
8120 Draw both scrollbars and rectangles in the overshooting area.
8122 (hildon_pannable_area_get_property):
8123 (hildon_pannable_area_set_property):
8124 Modified the overshoot property to overshoot_max
8126 (hildon_pannable_area_map):
8127 Replaced the comments symbols.
8129 (hildon_pannable_area_size_allocate):
8130 (hildon_pannable_area_class_init):
8131 (hildon_pannable_area_init): Added horizontal scroll, fading
8132 effect properties, fixed a problem when overshooting in the bottom
8135 * examples/hildon-pannable-area-example.c:
8136 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8137 looks better in the example.
8139 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8141 * src/hildon-window.c
8142 * src/hildon-window.h
8143 (hildon_window_class_init)
8144 (hildon_window_unset_program)
8145 (hildon_window_unset_program_real):
8146 Make unset_program a virtual function
8148 * src/hildon-stackable-window.c
8149 * src/hildon-stackable-window.h
8150 Added hildon_stackable_window_go_home()
8152 * examples/Makefile.am
8153 * examples/hildon-stackable-window-example.c
8154 HildonStackableWindow example
8156 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8158 * hildon-pannable-area.c: Added the overshoot property and removed
8159 the OVERSHOOT define. Fixed an indent style error.
8160 (hildon_pannable_area_motion_notify_cb):
8161 (hildon_pannable_area_get_property):
8162 (hildon_pannable_area_set_property): Add overshoot property.
8164 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8167 (hildon_pannable_area_class_init): Installed the new property.
8169 * hildon-pannable-area-example.c: Added a sawtooth function, this
8170 way it is easier to check the movement in the pannable.
8171 (get_sawtooth_label): Added this function.
8172 (main): Now we get the labels from the new get_sawtooth_label
8175 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8177 * src/hildon-app-menu.h
8178 * src/hildon-app-menu.c
8179 Renamed API variables for consistency
8181 (hildon_app_menu_popup): Use also the default window size to
8182 decide where to place the menu
8184 (hildon_app_menu_init, hildon_app_menu_class_init): New
8185 external-border style property
8187 2008-05-26 Michael Natterer <mitch@imendio.com>
8189 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8190 widget_class->tap_and_hold_setup signal slot doesn't exist any
8191 longer, stop overriding it.
8193 (hildon_time_editor_init): g_signal_connect() to the
8194 tap-and-hold-setup signal instead.
8196 (hildon_time_editor_entry_keypress): add cast to fix warning.
8198 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8200 * doc/hildon-docs.sgml
8202 * examples/Makefile.am
8203 * examples/hildon-app-menu-example.c
8205 * src/hildon-app-menu-private.h
8206 * src/hildon-app-menu.c
8207 * src/hildon-app-menu.h
8209 New HildonAppMenu widget
8211 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8213 Rearranged the inheritance of the pannable area, now it inherits
8214 from GtkBin. This will allow us to control the event_window and
8215 the allocation process of the widget, required for some effects.
8217 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8218 GtkBin structures. * src/hildon-pannable-area.c: Added the
8219 event_window variable.
8220 (hildon_pannable_area_button_press_cb):
8221 (hildon_pannable_area_button_release_cb):
8222 (hildon_pannable_area_motion_notify_cb):
8223 Changed the signature of the method, now we override the event
8224 callback instead of connecting to the signal.
8226 (hildon_pannable_area_realize):
8227 (hildon_pannable_area_unrealize):
8228 (hildon_pannable_area_map):
8229 (hildon_pannable_area_unmap):
8230 (hildon_pannable_area_size_allocate):
8231 Added functions to control the widget construction. We add a
8232 INPUT_ONLY window and we put it over the widgets inside the
8233 container, this event_window handles the events.
8235 (hildon_pannable_area_class_init):
8236 Replaced the signal connections with overrides of the event
8239 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8241 Bouncing effect added when touching the borders, you can change
8242 the elasticity of the border changing the ELASTICITY define.
8244 * src/hildon-pannable-area.c: Added ELASTICITY define.
8245 (hildon_pannable_area_timeout): Added inverse velocity when
8246 touching the border of the child widget, that causes a bounce.
8248 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8250 Improved performance, we now do not go to the X server in order to
8251 get the list of window children. Apparently the effect is the
8252 same, we have to be careful and check if this breaks something in
8255 * src/hildon-pannable-area.c:
8256 (get_ordered_children): Removed this function.
8257 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8258 the children windows function with gdk_window_get_children.
8260 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8262 * src/hildon-pannable-area.c:
8263 (hildon_pannable_area_dispose): Fixed a crash when closing the
8264 window and kinetics is activated.
8266 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8268 * src/hildon-pannable-area.h
8269 * src/hildon-pannable-area.c
8270 Changed indentation style to meet the one used in Hildon
8272 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8274 Reviewed the interaction of the AUTO mode, now we use the time
8275 attribute of the events and calculate the velocity in the motion,
8276 doing a gimp like calculation. The velocity is calculated in each
8277 motion event using the last velocity and the current one, the
8278 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8280 * src/hildon-pannable-area.c: Replaced the time based algorithm
8282 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8283 timeout for the AUTO mode when we are still moving the cursor. We
8284 added also the velocity calculation in this function.
8285 (hildon_pannable_area_button_release_cb): launch the timeout in
8286 case we are in AUTO mode. There are still some constants here that
8287 come from the old implementation that should be reviewed and
8290 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8292 * doc/hildon-docs.sgml
8295 * src/hildon-stackable-window.c
8296 * src/hildon-stackable-window.h
8298 New HildonStackableWindow widget
8300 * examples/hildon-dialog-example.c
8301 * examples/hildon-pannable-area-example.c
8304 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8306 * src/hildon-dialog.c
8307 (hildon_dialog_new_with_buttons): New constructor.
8309 * examples/hildon-dialog-example.c
8310 (main): Update the example to use the new
8311 hildon_dialog_new_with_buttons().
8313 * examples/hildon-pannable-area-example.c
8314 (main): Update example.
8316 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8318 * doc/hildon-docs.sgml
8320 Added HildonPannableArea to the documentation.
8322 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8324 * doc/visual_index.xml
8325 Fix reference to HildonLoginDialog in documentation
8327 * doc/hildon-docs.sgml
8329 * examples/Makefile.am
8330 * examples/hildon-dialog-example.c
8332 * src/hildon-dialog.c
8333 * src/hildon-dialog.h
8335 New HildonDialog widget.
8337 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8339 * src/hildon-pannable-area.c
8340 Merge latest changes (r4318, r4342) from libmokoui trunk
8342 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8344 * examples/Makefile.am
8345 * examples/hildon-pannable-area-example.c
8347 * src/hildon-pannable-area.c
8348 * src/hildon-pannable-area.h
8350 New HildonPannableArea widget.
8352 2008-04-15 18:05:19 <timj@imendio.com>
8354 * src/hildon-banner.c: revert the recent change, that introduced
8355 gtk_window_present() calls. this reopens:
8356 Bug 78481 - [freetest] information banners are hidden under browser menu
8357 But resolves another variant of:
8358 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8360 2008-04-15 13:21:13 <timj@imendio.com>
8362 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8363 recreated its layout, spotted by Kris. this fixes all remaining
8364 artefacts and stability issues with the banner code. in particular:
8365 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8367 2008-04-14 16:52:59 <timj@imendio.com>
8369 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8370 operating on unrealized widgets, fixes:
8371 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8373 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8375 2008-04-09 Kristian Rietveld <kris@imendio.com>
8377 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8378 makes banner disappear.
8379 Fixes: NB#79182: info banner flickering with certain message lengts.
8381 * src/hildon-banner.c (hildon_banner_constructor),
8382 (hildon_banner_init), (hildon_banner_set_text),
8383 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8384 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8385 FALSE, reset size requests of label and banner,
8386 (force_to_wrap_truncated): when the text is too wide, always enforce
8387 the maximum possible width instead of recalculating it from the
8388 layout; enforce the maximum banner height of 3 lines,
8389 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8390 nicer wrapping and no truncated chars if space gets tight.
8392 * src/hildon-banner-private.h: add has_been_wrapped and
8393 has_been_truncated fields.
8395 2008-04-07 Sven Herzberg <sven@imendio.com>
8397 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8398 local values in hildon_date_editor_size_allocate
8400 * src/hildon-date-editor.c: moved the real allocation code into the
8403 2008-04-07 Sven Herzberg <sven@imendio.com>
8405 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8406 local values in hildon_date_editor_size_allocate
8408 * src/hildon-date-editor.c: merged the two if() branches together
8410 2008-04-07 Sven Herzberg <sven@imendio.com>
8412 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8413 local values in hildon_date_editor_size_allocate
8415 * src/hildon-date-editor.c: changed the arguments of the if()
8418 2008-04-07 Sven Herzberg <sven@imendio.com>
8420 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8421 local values in hildon_date_editor_size_allocate
8423 * src/hildon-date-editor.c: split the calculation of the allocation
8424 from the real allocation
8426 2008-03-27 Michael Natterer <mitch@imendio.com>
8428 Fixes: NB#81696: The passcode is not overwritten even after
8431 * src/hildon-code-dialog.c
8432 (hildon_code_dialog_button_clicked)
8433 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8434 because that doesn't overwrite selected text. Instead, emit the
8435 "commit" signal on the entry's im_context so the entry's normal
8436 insert logic is triggered. Set the cursor to the end of the entry
8437 after each insert operation so that we *only* insert in the middle
8438 of the text if something was selected.
8440 2008-03-27 Michael Natterer <mitch@imendio.com>
8442 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8443 selector cannot be opened
8445 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8446 when the popup color selector is created. Please connect to this
8447 signal in order to set the dialog's help ID.
8449 2008-03-25 Sven Herzberg <sven@imendio.com>
8451 Fixes: MB#1212: Hide info banners (infoprints) on click
8453 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8454 extracted the close event simulation into an extra function
8455 (hildon_banner_button_press_event): simulate a close event and destroy
8456 the widget if the event wasn't handled
8457 (hildon_banner_class_init): added the button_press_event handler
8458 (hildon_banner_init): added button-press events to the widget
8460 2008-03-25 Sven Herzberg <sven@imendio.com>
8462 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8463 Patch from: Mohammad Anwari <mdamt@maemo.org>
8465 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8466 instead of the right in RTL mode
8467 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8468 breadcrumb button list in RTL mode
8469 * src/hildon-caption.c: mirror the appearance of the caption widget in
8471 * src/hildon-date-editor.c: mirror appearance of the date editor in
8473 * src/hildon-time-editor.c: mirror appearance of the time editor in
8475 * src/hildon-window.c: fix the position of the popup in RTL mode
8477 2008-03-25 Sven Herzberg <sven@imendio.com>
8479 Amendment to the fix of NB#22072. Fix compilation.
8481 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8483 2008-03-19 Sven Herzberg <sven@imendio.com>
8485 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8488 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8489 timeout id properly when the timeout will disappear this leaves no
8490 artifacts around in the destroy(); there will only be the timeout
8491 created by hildon_banner_ensure_timeout() and adding a new timeout
8492 will also work if the timeout gets removed because the timeout_handler
8495 2008-03-19 Michael Natterer <mitch@imendio.com>
8497 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8499 * src/hildon-volumebar.c
8500 * src/hildon-vvolumebar.c
8501 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8502 the widget becomes focussable at all.
8504 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8505 set the focus to wither the mute button or the volumebar.
8507 Remove own "can-focus" property and instead listen to
8508 notify::can-focus in order to update the widget's state.
8510 Implement GtkWidget::focus() and make sure we can also *leave* the
8511 widget, not only enter it, depending on volumebar orientation and
8512 requested focus direction.
8514 Clean up set_mute() to cooperate nicely with all the above.
8516 2008-03-04 Michael Natterer <mitch@imendio.com>
8518 Fixes: NB#78481: information banners are hidden under browser menu
8520 * src/hildon-banner.c: call gtk_window_present() on the banners so
8521 they are risen if they are already visible.
8523 2008-03-03 Sven Herzberg <sven@imendio.com>
8525 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8527 * examples/hildon-window-menu-example.c: (main): extended the window
8528 menu example to serve as a testcase for automatically added
8529 accelerator groups, too
8530 * src/hildon-window.c: (hildon_window_add_accel_group),
8531 (hildon_window_set_menu): added patch by Tommi Komulainen
8533 2008-03-03 Sven Herzberg <sven@imendio.com>
8535 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8537 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8538 knowledge about the border allocators used within GTK+
8540 2008-02-26 Sven Herzberg <sven@imendio.com>
8542 Fixes: MB#2981: Build with asserts broken
8544 * src/hildon-date-editor.c,
8545 * src/hildon-number-editor.c,
8546 * src/hildon-time-editor.c,
8547 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8548 the proper GType instance check
8550 2008-02-25 Sven Herzberg <sven@imendio.com>
8552 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8554 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8555 * examples/hildon-window-menu-example.c: (main): explicitly show
8557 * src/hildon-window.c:
8558 (hildon_window_set_main_menu): moved most of the code from set_menu()
8559 to this place; skipped the call to gtk_widget_show_all(); also didn't
8560 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8561 (hildon_window_set_menu): removed most of the code, just keep the
8562 questionable gtk_widget_show_all()
8563 * src/hildon-window.h: added the new function and deprecate the old
8566 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8572 * debian/changelog: Updating.
8574 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8577 * pkgconfig/Makefile.am:
8578 * pkgconfig/hildon.pc.in:
8581 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8582 use newly created API_MAJOR_VERSION.
8584 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8590 * debian/changelog: Updating.
8592 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8594 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8596 Add outer_border style property, we use it but don't define it (!).
8600 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8602 * examples/hildon-bread-crumb-trail-example.c (main):
8606 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8608 Fix logic for the bread crumb trail node removal.
8612 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8618 * debian/changelog: Updating.
8620 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 Patch by Alejandro to get/set passwords dialogs accesibility.
8624 * hildon-1/src/hildon-get-password-dialog.c:
8625 * hildon-1/src/hildon-set-password-dialog.c:
8626 Set atk_set_name to the passwd entries in order to allow
8627 accessibility by name on this entries.
8629 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * debian/control: Updating gtk dep.
8636 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8638 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8639 USE_MAEMO_GTK is enabled.
8641 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8643 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8644 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8646 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * debian/changelog: Updating.
8654 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * examples/Makefile.am:
8657 * examples/hildon-logical-color-example.c:
8658 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8659 applied + adding a test case. Fixes: NB#71660.
8661 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8663 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8664 to be visible, fixes warning on map for windows without toolbars.
8666 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8669 2.11.0, add a check for that besides the MAEMO_GTK check.
8671 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * debian/changelog: Updating.
8679 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8682 visibility. Fixes: NB#70842 and MB#615.
8684 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8686 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8687 set the separator as no-show-all so it doesn't unintentionally appear when
8688 someone does a show_all.
8690 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8692 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8693 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8694 toplevel item. Fixes: NB#62031
8696 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8698 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8699 fix the name of the function in the docs.
8701 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * debian/changelog: Updating.
8709 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 * examples/hildon-banner-long-example.c: Adding a test-case for long
8714 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8716 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * src/hildon-color-chooser-dialog.c:
8719 * src/hildon-color-chooser.c:
8720 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8721 memory leaks in font selector and color selector. Fixes: NB#70499 and
8724 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8726 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8728 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8731 little bit bigger. Fixes: #NB63694.
8733 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * debian/changelog: Updating.
8741 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8744 * doc/hildon-docs.sgml:
8745 * doc/images/bread-crumb-trail.png:
8746 * doc/images/calendar-popup.png:
8747 * doc/images/caption.png:
8748 * doc/images/code-dialog.png:
8749 * doc/images/color-button.png:
8750 * doc/images/color-chooser-dialog.png:
8751 * doc/images/color-chooser.png:
8752 * doc/images/controlbar.png:
8753 * doc/images/date-editor.png:
8754 * doc/images/font-selection-dialog.png:
8755 * doc/images/get-password-dialog.png:
8756 * doc/images/hvolumebar.png:
8757 * doc/images/login-dialog.png:
8758 * doc/images/note.png:
8759 * doc/images/number-editor.png:
8760 * doc/images/range-editor.png:
8761 * doc/images/seekbar.png:
8762 * doc/images/set-password-dialog.png:
8763 * doc/images/sort-dialog.png:
8764 * doc/images/time-editor.png:
8765 * doc/images/time-picker.png:
8766 * doc/images/vvolumebar.png:
8767 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8768 Adding the bread-crumb-trial and helpers to the documentation.
8770 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * examples/hildon-find-toolbar-example.c:
8773 * src/hildon-find-toolbar.c:
8774 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8775 actually continue firing the other handlers if connected. Adding a new
8777 hildon_find_toolbar_get_last_index that gets the index of the most
8778 recently added (last) item. Fixes: NB#52301.
8780 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8783 behaviour. Fixes: NB#68610.
8785 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8790 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8793 when realizing the banner. Should make the infonbanner effect a bit more
8796 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * src/hildon-volumebar.c:
8799 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8800 hildon_volumebar_set_range_insensitive_message and
8801 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8803 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * src/hildon-window.c: Fixing the border freeing on destroy.
8807 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8809 * src/hildon-code-dialog-private.h:
8810 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8811 kw keyboard support in HildonCodeDialog.
8813 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * debian/changelog: Updating.
8821 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * src/hildon-date-editor.c:
8824 * src/hildon-number-editor.c:
8825 * src/hildon-private.c:
8826 * src/hildon-private.h:
8827 * src/hildon-time-editor.c:
8828 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8829 handling in subclassed composite widgets. Fixes: NB#66628.
8831 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8834 from destroy_ callback as it introduces problems in async dbus signal
8835 handlers. Fixes NB#66673.
8837 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * examples/hildon-hvolumebar-example.c:
8840 * src/hildon-volumebar.c: Improving the focus handling in the
8841 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8842 set_property accessor so that "mute" property can be actually set. I'm
8843 scared that nobody noticed it's totally broken.
8845 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8850 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * src/hildon-calendar.c:
8853 * src/hildon-number-editor.c:
8854 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8855 matches the spec of 6 chars per second. Fixes: NB#60489.
8857 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8860 gtk_style_lookup_color sometime returns FALSE even though color was
8861 found and values were filled properly. Weird. Removing the warning for the
8864 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8866 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8867 expand vertically. Adding some extra space to the find toolbar buttons to
8868 make them thumbable. Fixes NB#66060.
8870 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8872 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8873 popup with "Ok" and "Cancel". Fixes NB#59299.
8875 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-calendar.c: Process all window updates before executing next
8878 timeout. Fixes: NB#54146.
8880 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * debian/changelog: Updating.
8888 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8890 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8891 the client event and ignore it, since we use the delete event to close
8894 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * src/hildon-helper.c: Remove the bogus warning about color not being
8897 found. Fixes NB#58352.
8899 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * examples/Makefile.am:
8902 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8903 HildonSeekbar widget inside a toolbar.
8905 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8907 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8908 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8909 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8910 don't want to be closed by non-temporary windows on map.
8912 Also use G_DEFINE_TYPE instead of manually typed code.
8914 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * debian/rules: Updating.
8923 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * examples/Makefile.am:
8926 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8927 bug NB#61128. Strangely it works.
8929 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * src/hildon-date-editor.c: When the date editor entry has been changed
8932 but the numbers of characters < max, turn off the skip validation flag.
8933 Prevents a situation when we enter first a valid year and later re-write
8934 it with an invalid one. Fixes NB#60154.
8936 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8938 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8939 code dialog. Fixes NB#64355.
8941 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8944 switching the page. Fixes NB#49374.
8946 * examples/Makefile.am:
8947 * examples/hildon-wizard-dialog-example.c: Adding an example for
8948 HildonWizardDialog that shows how to handle manual sensitivity setting on
8951 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * src/hildon-version.h.in:
8956 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8958 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-volumebar.c: Updating the docs.
8962 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8968 * debian/changelog: Updating.
8970 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * src/hildon-find-toolbar.c:
8973 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8974 selected item: hildon_find_toolbar_set_active,
8975 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8976 hildon_find_toolbar_get_active_iter . They correspond to respective
8977 GtkComboBox functions.
8979 * examples/Makefile.am:
8980 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8983 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * examples/Makefile.am:
8986 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8989 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8990 when font size > 32 and we pack a focusable widget inside. Actually using
8991 the default response would work too, but since we don't show default
8992 response state in any way (no theming) it would not be visible to the
8993 user. Fixes NB#63430.
8995 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8997 * src/hildon-date-editor.c: Adding the missing variable setter in the
8998 set_property handler. Fixes NB#54182.
9000 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-window.h: Changing the long key press time from 1500ms to
9003 800ms as requested in NB#63700. I have a bad feeling about this, let's
9004 see... Fixes NB#63700.
9006 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9008 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9009 hildon_time_picker_map, hildon_time_picker_realize,
9010 hildon_time_picker_style_set): Split the contents of map to more
9011 appropriate functions; set window decorations on realize and update
9012 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9014 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9019 * debian/changelog: Updating.
9021 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9023 * src/Makefile.am: fixed installation of the header files
9025 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * debian/changelog: Updating.
9033 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * configure.ac: Removing some remaining of --enable-xan.
9037 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9039 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9040 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9042 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9043 2.10.12-osso6 because the move-focus signal needs to be available in
9046 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * examples/Makefile.am:
9049 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9050 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9051 fine. Prolly NB#61128 is fixed now.
9053 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * src/hildon-volumebar.c:
9056 * src/hildon-volumebar.h: Adding the
9057 hildon_volumebar_set_range_insensitive_message and
9058 hildon_volumebar_set_range_insensitive_messagef functions to set
9059 insensitive message on the slider of the volumebar. Fixes NB#61129.
9061 * examples/Makefile.am:
9062 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9063 test the new insensitive messsage functionality on HildonVolumebar.
9065 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9067 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9070 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9072 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9073 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9074 button on after clearing the trail.
9076 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9080 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9082 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9083 by splitting the installed headers in generated and non-generated groups. Use
9084 only the non-generated headers to create the hildon-enum-types.h file.
9086 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9088 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * src/hildon-window.c: Hide the window before performing the destroy.
9091 Should make the app closing a little tiny bit more snappy.
9093 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9095 * src/hildon-seekbar.c: add gtkrange.h header
9096 * src/hildon-caption.c: remove unused variable
9098 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9100 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9103 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/changelog: Updating.
9111 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9113 * src/hildon-window.c (hildon_window_window_state_event,
9114 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9115 escape timeout on focus-out-event rather than notify::is-topmost; the
9116 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9118 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9121 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9123 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9125 * src/hildon-window: actually, you need to use the macro always, there's
9126 no private pointer in the instance structure. We should have cleaned this up
9127 when we had the chance...
9129 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9131 * src/hildon-window.c: do not get the private date from HildonWindow before
9132 it passes the g_return_if_fail check. Once it's passed the test, there's no
9133 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9134 if you are only going to access the data once. Whitespace cleanups.
9136 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9138 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9139 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9141 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9147 * debian/changelog: Updating.
9149 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * src/hildon-window.c: When destroying the window, remove (if exists) the
9152 escape timeout handler. Fixes #NB59276.
9154 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9156 * src/hildon-banner.c: When realizing the widget, set the window
9157 transiency. Setting the transiency in the gobject constructor is not
9158 good, as the widget is not realized at that point. Fixes: #NB56624.
9160 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9162 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9163 Add padding for future expansions.
9165 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9167 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9168 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9169 will fake an activation on the previous to the last item of the trail, so
9170 the effect can be overrided by the developer as usual.
9171 Also change the callback for the back button to do the same thing, so its
9172 effect can be overrided too. Fixes: NB#58982
9174 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9177 HildonCaption. Fixes NB#52379.
9179 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9181 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9182 the internal state of the trail after the user has had the chance of executing
9183 his handler for the signal. Specifically, it may happen that the activated button
9184 is removed and the user still lets the default handler run. This would segfault
9187 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9190 scrollbar to the preview dialog. Fixes NB#54147.
9192 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9195 max/min year properties can be altered, so the client can modify it
9196 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9198 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9200 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9201 hildonlike by default. Fixing a problem with disappearing arrows when
9202 scrolling through months and years. Fixes NB#54127.
9204 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * examples/hildon-date-editor-example.c: Adding error callback to the date
9209 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * configure.ac: Updating.
9217 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * configure.ac: Adding a special '--enable-xan' configure option that
9220 turns off the -Werror compilation setting. Usefull for development.
9222 * src/hildon-calendar.c:
9223 * src/hildon-number-editor.c:
9224 * src/hildon-time-picker.c: Adding the 5* multiplier to
9227 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9229 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9230 instead of g_object_ref + gtk_object_sink.
9232 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9238 * debian/changelog: Updating.
9240 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * src/hildon-color-chooser-dialog.c:
9243 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9244 straight from Tommi labs.
9246 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * examples/hildon-finger-example.c: Correcting the header file path.
9250 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9251 the changed signal. Fixes a small memory leak.
9253 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * src/hildon-banner.c: Importing several usefull fixes from the
9258 ubuntu-mobile branch.
9260 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * examples/Makefile.am:
9263 * examples/hildon-finger-example.c: Adding a finger-checking code
9266 * src/hildon-font-selection-dialog.c: Do not allocate the color
9267 structure using the g_new. Fixes NB#54061.
9269 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * src/hildon-helper.c: Correcting tabs in file.
9273 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9275 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9276 control the visibility of the children.
9278 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9280 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * debian/changelog: Updating.
9288 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9290 * src/hildon-bread-crumb-trail.c:
9291 (hildon_bread_crumb_trail_size_allocate):
9293 Make the back button always a square.
9295 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9297 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9298 from the .c file as it's a private file.
9300 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9303 uses slightly bigger height.
9305 * src/hildon-font-selection-dialog.c: Adding some checks before
9306 freeing memory in the font selection dialog.
9308 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * src/hildon-font-selection-dialog.c: Adding a small check when
9313 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9314 buttons sensitivity on page switching.
9316 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9318 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9319 internal details of adding a bread crumb to the trail.
9321 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9327 * debian/changelog: Updating.
9329 * src/hildon-bread-crumb-trail.h:
9330 * src/hildon-bread-crumb.h: Changing the API guard to
9331 HILDON_ENABLE_UNSTABLE_API.
9333 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-helper.h: Updating.
9343 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9351 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9355 * src/hildon-helper.h: Small fix to make the package actually compile.
9357 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9359 * src/hildon-bread-crumb-trail.h:
9360 * src/hildon-bread-crumb.h:
9362 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9363 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9365 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9367 * examples/hildon-bread-crumb-trail-example.c:
9369 * src/hildon-bread-crumb-trail.c:
9370 * src/hildon-bread-crumb-trail.h:
9371 * src/hildon-bread-crumb.c:
9372 * src/hildon-bread-crumb.h:
9373 * src/hildon-marshalers.list:
9374 * src/hildon-bread-crumb-widget.c:
9375 * src/hildon-bread-crumb-widget.h:
9377 Slight change in the widget design. The bread crumb trail API is
9378 unchanged, but HildonBreadCrumb is now an interface. A *private*
9379 implementation, hildon-bread-crumb-widget, is provided and used
9380 internally by the trail for the push_text/push_icon functions.
9382 The generic push API is still available, so anyone can implement
9383 and use its own bread crumb widget.
9385 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * debian/rules: Fixing the shlibs.
9389 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * src/hildon-banner.c: Fixing a problem with timed banners having
9392 their parrent destroyed before they are.
9394 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9396 * src/hildon-bread-crumb.c:
9397 * src/hildon-bread-crumb.h:
9399 Make the get_natural_size function a vfunc.
9401 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9403 * src/hildon-bread-crumb.c:
9404 * src/hildon-bread-crumb-trail.c:
9408 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * debian/changelog: Updating for release.
9417 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9419 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9420 don't leak the pango layout.
9422 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9425 * examples/hildon-bread-crumb-trail-example.c:
9429 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9431 * debian/changelog: Removing the bug-fixed entries that were actually
9432 resolved as WONTFIX.
9434 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9437 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9439 * src/hildon-bread-crumb-trail.c:
9440 * src/hildon-bread-crumb-trail.h:
9441 * src/hildon-bread-crumb.c:
9442 * src/hildon-bread-crumb.h:
9446 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9448 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9449 until it's passed the type check.
9451 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9453 * examples/hildon-bread-crumb-trail-example.c
9457 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9459 * examples/Makefile.am
9460 * examples/hildon-bread-crumb-trail-example.c
9462 * src/hildon-bread-crumb-trail.c
9463 * src/hildon-bread-crumb-trail.h
9464 * src/hildon-bread-crumb.c
9465 * src/hildon-bread-crumb.h
9467 New HildonBreadCrumbTrail widget.
9469 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9471 * src/hildon-range-editor.c (hildon_range_editor_init),
9472 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9473 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9474 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9475 hildon_time_editor_class_init, hildon_time_editor_init),
9476 src/hildon-get-password-dialog.c (invalid_input,
9477 hildon_get_password_set_property, hildon_get_password_get_property,
9478 create_contents, hildon_get_password_dialog_set_max_characters),
9479 src/hildon-set-password-dialog.c (create_contents),
9480 src/hildon-date-editor.c (hildon_date_editor_init),
9481 src/hildon-login-dialog.c (hildon_login_dialog_init),
9482 src/hildon-number-editor.c (hildon_number_editor_init),
9483 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9484 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9485 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9486 configure option and adding the respective checks in the code.
9487 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9488 hildon_calendar_drag_data_received): fixed some build warnings.
9490 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9492 * debian/changelog: A 1.0.0 release notes.