1 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-pannable-area.c
4 (hildon_pannable_area_get_topmost): change the computation of the
5 co-ordinates transformed when no one of the children is a topmost
7 Fixes: NB#133252 (Opening any feed item from RSS always opens the
8 first feed item in browser)
10 2009-08-26 Alejandro G. Castro <alex@igalia.com>
12 * hildon/hildon-pannable-area.c,
13 (hildon_pannable_area_remove_timeouts): Adding this new function
14 with the code that removes the timeouts of the widget.
15 (hildon_pannable_area_dispose),
16 (hildon_pannable_area_unrealize): Use the new remove function to
17 stop timeouts when unrealizing and disposing.
18 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
19 calculation to avoid negative values in some cases.
21 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
23 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
25 * examples/hildon-check-button-example.c: (button_toggled_cb):
26 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
27 (hildon_check_button_set_active), (hildon_check_button_new),
28 (hildon_check_button_clicked), (hildon_check_button_class_init):
29 * hildon/hildon-check-button.h:
30 * hildon/hildon-set-password-dialog.c: (create_contents),
31 (hildon_set_password_response_change), (hildon_checkbox_toggled):
33 Revert "Make HildonCheckButton derive from GtkToggleButton"
35 2009-08-21 Alberto Garcia <agarcia@igalia.com>
39 * configure.ac: bump version
41 * debian/changelog: updates
43 2009-08-21 Alberto Garcia <agarcia@igalia.com>
45 * hildon/hildon-check-button.h
46 * hildon/hildon-check-button.c
47 (hildon_check_button_clicked, hildon_check_button_class_init):
48 Make HildonCheckButton derive from GtkToggleButton
49 (hildon_check_button_toggled, hildon_check_button_set_active)
50 (hildon_check_button_get_active):
51 Deprecate unnecessary HildonCheckButton API and use the
52 one from GtkToggleButton instead.
54 * hildon/hildon-set-password-dialog.c (create_contents)
55 (hildon_set_password_response_change, hildon_checkbox_toggled)
56 * examples/hildon-check-button-example.c (button_toggled_cb):
57 Update to use the GtkToggleButton API
59 Fixes: MB#4739 (HildonCheckButton should inherit from
62 Fixes: NB#132661 (HildonCheckButton should inherit from
65 2009-08-20 Alberto Garcia <agarcia@igalia.com>
67 * hildon/hildon-pannable-area.c
68 (hildon_pannable_area_class_init):
69 Increase default value of HildonPannableArea:velocity_max to 2000
71 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
73 2009-08-18 Alberto Garcia <agarcia@igalia.com>
77 * configure.ac: bump version
79 * debian/changelog: updates
81 2009-08-11 Alejandro G. Castro <alex@igalia.com>
83 * hildon/hildon-pannable-area.c
84 (hildon_pannable_area_size_allocate): Checked the scrollbars
85 before the first try when defining the layout, avoids two
86 allocations in some situations.
88 Fixes: NB#131794 (pannable area produces unnecessary allocations
89 causing performance problems)
91 2009-08-11 Alejandro G. Castro <alex@igalia.com>
93 * hildon/hildon-pannable-area.c
94 (hildon_pannable_area_button_press_cb),
95 (hildon_pannable_area_motion_notify_cb),
96 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
97 the spurious ref added in the copy, fixes leak of window.
99 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
100 if it's realized without showing and then deleted)
102 2009-08-10 Alberto Garcia <agarcia@igalia.com>
106 * configure.ac: bump version
108 * debian/changelog: updates
110 2009-08-06 Alberto Garcia <agarcia@igalia.com>
112 * examples/hildon-hvolumebar-timer-example.c
114 * hildon/hildon-banner.c
115 (hildon_banner_timeout, hildon_banner_ensure_timeout)
116 * hildon/hildon-calendar.c
117 (calendar_timer, start_spinning)
118 * hildon/hildon-color-chooser.c
119 (inline_limited_expose)
120 * hildon/hildon-date-editor.c
121 (hildon_date_editor_entry_focus_in)
122 (hildon_date_editor_entry_validate)
123 (hildon_date_editor_entry_select_all)
124 * hildon/hildon-note.c
126 * hildon/hildon-number-editor.c
127 (hildon_number_editor_button_pressed)
128 (hildon_number_editor_start_timer, do_mouse_timeout),
129 (add_select_all_idle, hildon_number_editor_select_all)
130 * hildon/hildon-time-editor.c
131 (hildon_time_editor_entry_focus_in)
132 (highlight_callback, hildon_time_editor_validate)
133 (hildon_time_editor_entry_select_all)
134 * hildon/hildon-time-picker.c
135 (hildon_time_picker_arrow_press)
136 (hildon_time_picker_key_repeat_timeout)
137 * hildon/hildon-window.c
138 (hildon_window_key_press_event)
139 (hildon_window_escape_timeout):
140 Replace all calls to g_idle_add/g_timeout_add with their
141 gdk_threads counterparts.
143 Fixes: NB#126198 (gdk-threads API should be used to install idle
144 and timeout handlers)
146 2009-08-06 Alejandro G. Castro <alex@igalia.com>
148 * hildon/hildon-pannable-area.c,
149 (hildon_pannable_area_class_init): Increased the overshooting max
150 speed to get a faster effect.
151 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
152 deceleration of the overshooting
153 (hildon_pannable_area_button_release_cb): Calculate initial
154 overshooting speed when finger on the screen using the distance to
155 launch the effect faster.
157 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
158 lists with slow row renderers)
160 2009-08-05 Alberto Garcia <agarcia@igalia.com>
162 * doc/hildon-sections.txt: Add new functions
164 2009-08-05 Alberto Garcia <agarcia@igalia.com>
166 * hildon/hildon-text-view.[ch]
167 * hildon/hildon-entry.[ch]:
168 Add deprecation guards around deprecated functions.
170 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
172 * hildon/hildon-app-menu.c: Remove leftover function declaration.
174 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
176 Remove the grab from HildonAppMenu
178 * hildon/hildon-app-menu.c:
179 Now hildon-desktop places a blocker window behind the menu to handle
180 its closing, so the grab is no longer needed. This simplifies its
181 implementation and allows the system blanking to succeed.
183 Fixes: NB#130910 (Screen gets unlocked when menu is open)
185 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
189 * configure.ac: bump version
191 * debian/changelog: updates
192 * debian/control: raise debian dependency on GTK+
194 2009-08-04 Alberto Garcia <agarcia@igalia.com>
196 * hildon/hildon-text-view.c
197 * hildon/hildon-entry.c:
198 Remove all placeholder code from HildonEntry and HildonTextView
199 and use the API in GtkEntry and GtkTextView instead.
201 * examples/hildon-entry-example.c
202 * examples/hildon-text-view-example.c
203 * examples/hildon-wizard-dialog-example.c
204 * hildon/hildon-get-password-dialog.c
205 * hildon/hildon-login-dialog.c
206 * hildon/hildon-picker-dialog.c
207 * hildon/hildon-set-password-dialog.c
208 * hildon/hildon-touch-selector-entry.c:
209 Replace all deprecated calls to HildonEntry and HildonTextView
210 with their Gtk counterparts.
212 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
215 2009-08-03 Alejandro G. Castro <alex@igalia.com>
217 * hildon/hildon-pannable-area.c,
218 (hildon_pannable_area_check_move),
219 (hildon_pannable_area_button_release_cb),
220 (hildon_pannable_area_scroll_to): Reverted the priority change of
221 the timeout, in some situations, slow renderers, the click do not
222 make it to the mainloop on time.
224 Fixes NB#131013 (unable to stop panning file manager by tapping on
227 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
229 * configure.ac: bump version
231 * debian/changelog: updates
233 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
235 * hildon/hildon-touch-selector.[ch]
236 (hildon_touch_selector_center_on_index): New method that allows to center
237 on a item not selected
239 Fixes NB#130291 (New HildonTouchSelector API is required to center on
242 2009-07-29 Alberto Garcia <agarcia@igalia.com>
244 * hildon/hildon-text-view.c
245 (+set_logical_color, +hildon_text_view_style_set)
246 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
247 (hildon_text_view_init)
248 * hildon/hildon-entry.c
249 (+set_logical_color, +hildon_entry_style_set)
250 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
251 (hildon_entry_class_init, hildon_entry_init)
252 * hildon/hildon-button.c
253 (+set_logical_font, +set_logical_color)
254 (hildon_button_style_set, hildon_button_init)
255 (hildon_button_set_arrangement, hildon_button_set_style):
256 Remove all calls to hildon_helper_set_logical_font() and
257 hildon_helper_set_logical_color(), which are recursive, from
260 Fixes: NB#123409 (Showing dialog consumes significant amount of
263 2009-07-29 Alejandro G. Castro <alex@igalia.com>
265 * hildon/hildon-pannable-area.c,
266 (hildon_pannable_area_timeout): Added the process updates of the
267 scrollbars window in the pannable.
269 Fixes: NB#130043 (scrollindicator not smooth while panning)
271 2009-07-23 Alejandro G. Castro <alex@igalia.com>
273 * hildon/hildon-pannable-area.c,
274 (hildon_pannable_area_check_move),
275 (hildon_pannable_area_button_release_cb),
276 (hildon_pannable_area_scroll_to): Increased the priority of the
277 timeout this way it is going to be handled before the events.
279 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
283 * configure.ac: bump version
284 * debian/changelog: updates
286 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-entry.c: (set_property): Do not allow to set
289 automatic height and use finger height instead, to prevent an to
290 have a smaller size than than its theme pixbuf.
292 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
294 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: postrelease version bump.
297 * debian/changelog: post release version bump
299 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: Bump version.
305 * debian/changelog: Updates.
307 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
309 * hildon/hildon-note.c: (label_size_request): Take the note
310 padding into account when setting the size request.
312 Fixes: NB#127896 (Information notes text truncated)
314 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
316 * configure.ac: postrelease version bump.
317 * debian/changelog: post release version bump
319 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
324 * configure.ac: Bump version.
325 * debian/changelog: Updates.
327 2009-07-16 Alejandro G. Castro <alex@igalia.com>
330 * hildon/hildon-text-view.c,
331 (hildon_text_view_button_press_event): Grabbed the focus in button
332 press, this way we are sure the widget has the focus in the
333 release event, required for HIM.
335 Fixes: NB#121445 (Virtual keyboard opening is not working in same
336 way for each text entry field)
338 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
340 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
341 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
342 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
343 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
344 (hildon_pannable_area_[gs]et_center_on_child_focus)
345 Redefined GtkContainer set-focus-child signal, in order to center
346 properly on a child when it receives the focus. Defined a new property
347 "center-on-child-focus" in order to activate this feature (deactivated
348 by default). Public get/set methods defined to manage the property.
350 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
352 2009-07-14 László Pere <lpere@blumsoft.eu>
354 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
355 the new size is applied.
357 Fixes: NB#124510 (The Application Menu is distorted when switched
358 between portrait and landscape mode)
359 Fixes: NB#115388 (Power key menu does not resize itself)
361 2009-07-01 Alberto Garcia <agarcia@igalia.com>
363 * hildon/hildon-banner.c (hildon_banner_map):
364 Set banner position after mapping.
366 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
368 * configure.ac: postrelease version bump.
369 * debian/changelog: post release version bump
371 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: Bump version.
377 * debian/changelog: Updates.
379 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
381 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
384 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
386 * tests/check-hildon-banner.c
388 * tests/test_suites.h
389 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
390 were testing deprecated functions.
391 * examples/hildon-banner-example.c: typo on button3 type, that causes
392 a fail compiling with --with-examples but without --disable-deprecated
394 Missed commit in order to fix compilation using '--enable-fatal' and
395 '--disable-deprecated' (see previous commit)
397 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
399 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
400 functions with #ifndef HILDON_DISABLE_DEPRECATED
401 * examples/hildon-find-toolbar.c: Protect deprecated
402 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
403 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
404 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
405 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
407 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
408 to allow proper compilation of deprecated functions defined on the header
410 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
412 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
414 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
415 Cache the panning indicator color.,
416 (hildon_pannable_area_style_set): Query the color on style changes.
417 (hildon_pannable_draw_vscroll),
418 (hildon_pannable_draw_hscroll),
419 (hildon_pannable_area_expose_event): Use the cached panning indicator
420 color instead of looking it up on every expose and more.
422 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
424 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
425 (hildon_pannable_draw_hscroll),
426 (hildon_pannable_area_expose_event): Fix the panning indicator color,
427 so that it's "SecondaryTextColor", as desired.
429 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
431 * hildon/hildon-picker-dialog.c:
432 (selection_completed): take into account HILDON_UI_MODE_NORMAL
433 * hildon/hildon-touch-selector.c
434 (hildon_touch_selector_init): Initialize hildon-ui-mode
435 (hildon_touch_selector_row_activated): new callback for the
436 "row-activated" signal, in order to save the last activated
437 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
438 if the current hildon-ui-mode is coherent with the touch selector
439 (hildon_touch_selector_class_init)
440 (hildon_touch_selector_get_property)
441 (hildon_touch_selector_set_property)
442 Added "hildon-ui-mode" property
443 (disconnect_model_handlers): renamed to clean_column
444 (hildon_touch_selector_remove): use clean_column function
445 (_create_new_column): use the hildon-ui-mode to create the treeview, and
446 only select the first element on HILDON_UI_MODE_EDIT
447 (hildon_touch_selector_column_init): Initialize last_activate
448 (hildon_touch_selector_append_column): check that the touch selector
449 is coherent with the current hildon-ui-mode
450 (hildon_touch_selector_get_hildon_ui_mode)
451 (hildon_touch_selector_set_hildon_ui_mode)
452 Added a getter/setter for the hildon-ui-mode property
453 (hildon_touch_selector_get_last_activated_row): Added this method in
454 order to get the last activated row.
455 * examples/hildon-touch-selector-normal-mode-example.c
456 New example, that shows how to use the HildonTouchSelector in
457 HILDON_UI_MODE_NORMAL
459 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
460 Kristian Rietveld <kris@lanedo.com> advices
462 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
464 * hildon/hildon-time-selector.c: (update_format_policy): Do
465 not call update_format_dependant_columns() if not necessary.
466 (update_format_dependant_columns): Remove unnecessary check for
467 the number of columns.
469 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
471 * hildon/hildon-note.c (+hildon_note_constructor),
472 (hildon_note_class_init), (+hildon_note_set_padding),
473 (hildon_note_rebuild): Install a constructor where to set the
474 padding properties in the note, so that it actually works fine.
475 Use hildon_note_set_padding() for this, and also to set it during
478 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
480 * configure.ac: Bump GTK+ requirement to 2.14.3.
481 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
482 when using maemo-gtk to define proper margins for the notes.
484 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
485 with the dialog edge)
487 2009-06-24 Alberto Garcia <agarcia@igalia.com>
489 * hildon/hildon-banner.c
490 (hildon_banner_class_init):
492 (+hildon_banner_size_request):
493 Request always the full width of the screen.
494 (hildon_banner_realize)
495 (-hildon_banner_check_position, hildon_banner_map):
496 hildon_banner_check_position() is not needed in Hildon 2.2.
497 (-hildon_banner_reset_wrap_state)
498 (hildon_banner_constructor, hildon_banner_init):
499 Remove unnecessary calls to hildon_banner_reset_wrap_state()
500 (+banner_do_set_text)
501 (force_to_wrap_truncated):
502 Remove has_been_wrapped and has_been_truncated attributes.
503 (+reshow_banner, hildon_banner_real_show_information)
504 (hildon_banner_show_information_with_markup)
505 (hildon_banner_show_animation, hildon_banner_show_progress)
506 (hildon_banner_set_text, hildon_banner_set_markup):
507 Refactor code. Shrink banner vertically to use the minimum space
508 necessary everytime the text of the label is updated.
509 (screen_size_changed):
510 Call force_to_wrap_truncated() when the size of the screen
513 Fixes: NB#120500 (only device memory connect mmc in use info
514 banner is left aligned)
516 Fixes: NB#120613 (Size of HildonBanner varies depending on
517 previously opened banners)
519 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
521 * hildon/hildon-color-chooser.c
522 (hildon_color_chooser_pointer_motion): Take the widget allocation
525 Fixes: NB#124385 (Unable to select exact point in color mixing box
526 in color palette dialog)
528 2009-06-23 Alejandro G. Castro <alex@igalia.com>
530 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
531 (hildon_pannable_area_dispose)
532 (hildon_pannable_area_button_press_cb)
533 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
534 (hildon_pannable_area_button_release_cb)
535 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
536 New 'panning-started' and 'panning-finished' signals.
538 Fixes: NB#121732 (New feature request: Signal to pannable area
539 that informs when panning is stopped.)
541 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
543 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
544 instead of hardcoded colon.
546 Fixes: NB#124090 (New calendar wizard title is not using
547 ecdg_ti_caption_separator)
549 2009-06-22 David King <davidk@openismus.com>
551 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
552 constants and functions, as well as correct many typos throughout the
555 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
558 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
560 * configure.ac: postrelease version bump.
561 * debian/changelog: post release version bump
563 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
568 * configure.ac: Bump version.
569 * debian/changelog: Updates.
571 2009-06-18 Alberto Garcia <agarcia@igalia.com>
573 * hildon/hildon-window-stack.c
574 (hildon_window_stack_pop_and_push_list):
575 Prevent windows from having the same stack index
577 2009-06-18 Alberto Garcia <agarcia@igalia.com>
579 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
580 Use the index of the previous window rather than the stack length
581 to calculate the new index.
585 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
587 * hildon/hildon-date-selector.c
588 (hildon_date_selector_select_current_date)
589 (hildon_date_selector_get_date)
590 (hildon_date_selector_select_day):
591 Update the documentation: uses always the range (1-31), as it is obvious
592 that the final one will depend on the month and the year, but globally
593 the range is this, in a similar GtkCalendar approach
594 (hildon_date_selector_get_date):
595 Update the documentation: add NULL as a valid value for the day, month
598 Fix some details, after talk with David King on bug MB#4698
600 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
602 * hildon/hildon-touch-selector-entry.c
603 * hildon/hildon-touch-selector.c
604 Update the documentation of the "text-column" property
606 2009-06-18 David King <davidk@openismus.com>
608 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
609 several typos and errors throughout the documentation.
611 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
614 2009-06-18 Alberto Garcia <agarcia@igalia.com>
616 * hildon/hildon-note.c (hildon_note_realize):
617 Make HildonNote support portrait mode.
619 Fixes: NB#123448 (HildonNote is not portrait-friendly)
621 2009-06-17 Alberto Garcia <agarcia@igalia.com>
623 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
624 Document this function
626 2009-06-17 David King <davidk@openismus.com>
628 * hildon/hildon-date-selector.c
629 (hildon_date_selector_select_current_date)
630 (hildon_date_selector_get_date): Update documentation regarding days,
631 as the day of the month is dependent on both the month and the year.
632 (hildon_date_selector_get_date): Fix documentation of output arguments.
634 Fixes: MB#4698 (DateSelector documentation has bad output argument
635 description, and the day depends on both the month and the year)
637 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
639 * hildon/hildon-caption.c: Other documentation fixes to
642 2009-06-17 David King <davidk@openismus.com>
644 * hildon/hildon-caption.c: Minor documentation updates for
645 HildonCaption. Fixes MB#4697.
647 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
649 * doc/hildon-docs.sgml: Add hildon-version section.
650 * doc/hildon-sections.txt:
651 * hildon/hildon-version.h.in: Document versioning macros and
654 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
656 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
657 from HildonPickerDialog section.
659 2009-06-16 Alberto Garcia <agarcia@igalia.com>
661 * hildon/hildon-banner.c (hildon_banner_bind_style)
662 (screen_size_changed, hildon_banner_init)
663 (hildon_banner_real_show_information)
664 (hildon_banner_show_information_with_markup)
665 (hildon_banner_show_animation, hildon_banner_show_progress):
666 Set a different widget name to banners in portrait mode, for them
667 to be themed correctly.
669 2009-06-16 Alberto Garcia <agarcia@igalia.com>
671 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
672 Set a different widget name to notes in portrait mode, for them to
675 Partially fixes: NB#118401 (HildonNote causes unnecessary
678 2009-06-16 Alberto Garcia <agarcia@igalia.com>
680 * hildon/hildon-note.c (hildon_note_class_init)
681 (+hildon_note_size_request, screen_size_changed):
682 Always request the full width of the screen.
684 Fixes: NB#118375 (unnecessary rescaling of images)
686 2009-06-16 Alejandro G. Castro <alex@igalia.com>
688 * hildon/hildon-pannable-area.c,
689 (hildon_pannable_area_init),
690 (hildon_pannable_area_realize): Replaced old code adding flags in
691 the object init, now we add it with the other flags in the realize
694 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
696 * hildon/hildon-note.c: (hildon_note_class_init): Several
697 documentation improvements to the HildonNote widget.
699 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
701 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
703 Fixes: MB#4556 (HildonNoteType is undocumented)
705 2009-06-15 Alberto Garcia <agarcia@igalia.com>
707 * hildon/hildon-picker-button.c:
708 Explain how HildonPickerButton sets the title of its dialog
710 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
711 the title of its dialog)
713 2009-06-15 Alberto Garcia <agarcia@igalia.com>
715 * hildon/hildon-check-button.c:
716 Documentation updates
718 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
721 2009-06-15 Alberto Garcia <agarcia@igalia.com>
724 * hildon/hildon-edit-toolbar-private.h
725 * hildon/hildon-edit-toolbar.c
726 (+hildon_edit_toolbar_set_progress_indicator)
727 (hildon_edit_toolbar_init): Add progress indicator to the
730 * hildon/hildon-gtk.c
731 (hildon_gtk_window_set_progress_indicator):
732 If the window contains a HildonEditToolbar, enable the progress
735 * hildon/hildon-private.h
736 * hildon/hildon-private.c
737 (+hildon_private_create_animation)
738 * hildon/hildon-banner.c
739 (-hildon_banner_create_animation):
740 Moved to hildon-private.c
742 Fixes: NB#102373 (Progress indicator also for the Edit mode
745 2009-06-15 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-app-menu-private.h
748 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
749 (hildon_app_menu_add_filter, +menu_item_button_event)
750 (hildon_app_menu_button_release, hildon_app_menu_init):
751 Make sure that buttons receive 'button-release-event' in spite of
752 the grab held by HildonAppMenu
754 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
756 2009-06-15 Alberto Garcia <agarcia@igalia.com>
758 * hildon/hildon-app-menu.c
759 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
760 New style property to set the size of the group of filter buttons.
762 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
764 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: Bump version.
770 * debian/changelog: Updates.
772 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
774 * hildon/hildon-main.c: Minor documentation fixes.
776 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
778 * doc/hildon-sections.txt:
779 * hildon/hildon-defines.h: Document the defines, organize them,
780 and mark deprecations as such.
782 Fixes: MB#4463 (Hildon size #defines are undocumented)
784 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
786 * hildon/hildon-animation-actor.c:
787 * hildon/hildon-app-menu.c:
788 * hildon/hildon-button.c:
789 * hildon/hildon-date-editor.c:
790 * hildon/hildon-dialog.c:
791 * hildon/hildon-edit-toolbar.c:
792 * hildon/hildon-entry.c:
793 * hildon/hildon-program.c:
794 * hildon/hildon-remote-texture.c:
795 * hildon/hildon-stackable-window.c:
796 * hildon/hildon-text-view.c:
797 * hildon/hildon-touch-selector.c:
798 * hildon/hildon-window-stack.c:
799 * hildon/hildon-window.c:
801 Remove redundant "represents" wording from most of the documentation.
803 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
805 2009-06-12 Alberto Garcia <agarcia@igalia.com>
810 * hildon/hildon-banner-private.h
811 * hildon/hildon-banner.c:
812 Move HildonBannerPrivate to hildon-banner.c and remove
813 hildon-banner-private.h
814 Use a bit field to store private booleans.
816 2009-06-12 Alberto Garcia <agarcia@igalia.com>
818 * hildon/hildon-app-menu.c (hildon_app_menu_map):
819 Don't install a new idle function if there's already one
824 2009-06-11 Alberto Garcia <agarcia@igalia.com>
826 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
827 (+legacy_menu_realized, +legacy_menu_unmapped)
828 (+set_legacy_menu_type):
829 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
830 they can be identified by the window manager.
832 Fixes: NB#101437 (Invoking CSM on the left side of page area is
833 displayed in wrong location)
835 Fixes: MB#4563 (Popup menu won't locate at the left side of the
838 2009-06-11 Alberto Garcia <agarcia@igalia.com>
840 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
842 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
845 2009-06-11 Alberto Garcia <agarcia@igalia.com>
847 * hildon/hildon-code-dialog.c
848 * hildon/hildon-date-editor.c
849 * hildon/hildon-number-editor.c
850 * hildon/hildon-seekbar.c
851 * hildon/hildon-stackable-window.c
852 * hildon/hildon-window.c:
853 Misc documentation updates
855 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
857 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
858 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
860 Fixes: NB#117931 (Theming issues in accounts dialogs)
862 2009-06-09 Alejandro G. Castro <alex@igalia.com>
864 * hildon/hildon-pannable-area.c,
865 (hildon_pannable_area_button_release_cb): Changed the coordinates
866 of the original release in case we want to discard the release,
867 some widgets in Fremantle do not handle the leave-notify.
869 2009-06-09 Alejandro G. Castro <alex@igalia.com>
871 * hildon/hildon-pannable-area.c,
872 (hildon_pannable_area_button_release_cb): Reviewed the logic of
873 the release using the last refactored functions and avoiding the
874 movement if an element was selected.
876 2009-06-09 Alejandro G. Castro <alex@igalia.com>
878 * hildon/hildon-pannable-area.c,
879 (hildon_pannable_area_check_move),
880 (hildon_pannable_area_handle_move),
881 (hildon_pannable_area_motion_notify_cb): Refactored the
882 motion_notify method using a couple of new functions.
884 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
886 * hildon/hildon-date-selector.c:
887 (hildon_date_selector_construct_ui):
888 * hildon/hildon-time-selector.c:
889 (hildon_time_selector_constructor):
890 * hildon/hildon-touch-selector-entry.c:
891 (hildon_touch_selector_entry_set_text_column),
892 (hildon_touch_selector_entry_get_text_column):
893 * hildon/hildon-touch-selector.c: (_default_print_func),
894 (hildon_touch_selector_new_text): Use
895 hildon_touch_selector_set/get_text_column() instead of
896 setting/getting the "text-column" property.
898 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
900 * doc/hildon-sections.txt: Add the new public methods below.
902 * examples/hildon-picker-button-multicolumn-example.c:
903 (create_touch_selector):
904 * examples/hildon-touch-selector-example.c: (create_selector):
905 * examples/hildon-touch-selector-multi-cells-example.c:
907 Use hildon_touch_selector_column_set_text_column()
909 * hildon/hildon-touch-selector-column.h:
910 * hildon/hildon-touch-selector.c:
911 (hildon_touch_selector_column_set_text_column),
912 (hildon_touch_selector_column_get_text_column):
913 Make hildon_touch_selector_column_set/get_column() public, use
914 them in the inline example, document them, and reference to them
917 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
919 * hildon/hildon-time-selector.c: Fix the docs for
920 hildon_time_selector_new_step().
922 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
924 * hildon/hildon-touch-selector.c: Improve the documentation for
925 hildon_touch_selector_append_column().
927 Fixes MB#4641 (Documentation:
928 hildon_touch_selector_append_column() ref-counting)
930 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
932 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
933 Comment out test 5, since the hildon_controlbar_set_range() range
934 check is broken and fixing it would have side effects. Also,
935 this finally fixes make distcheck.
937 Fixes: NB#101420 (Update unit tests and fix make distcheck)
939 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
941 * tests/TEST-CASES.txt: Remove other bogus test.
942 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
943 Remove bogus test that was setting/retrieving a valid value.
945 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
947 * tests/TEST-CASES.txt: Remove bogus tests.
948 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
949 Remove three bogus tests that were actually setting valid colors.
951 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
953 * configure.ac: post release version bump
954 * debian/changelog: post release version bump
956 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
961 * configure.ac: Bump version.
962 * debian/changelog: Updates.
964 2009-06-08 Christian Dywan <christian@lanedo.com>
968 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
969 Correct errors in hildon_format_file-size_for_display and use
970 translations from the hildon-fm package instead of osso-filemanager.
972 2009-06-08 Alejandro G. Castro <alex@igalia.com>
974 * hildon/hildon-pannable-area.c,
975 (hildon_pannable_area_init): Initialized new values to handle the
977 (hildon_pannable_area_adjust_value_changed): Check if the values
978 changed before even call the redraw function.
979 (hildon_pannable_area_size_allocate),
980 (hildon_pannable_axis_scroll),
981 (hildon_pannable_area_scroll),
982 (hildon_pannable_area_jump_to): Improved the diagonal movement
985 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
988 2009-06-08 Alberto Garcia <agarcia@igalia.com>
990 * examples/hildon-banner-example.c:
991 Several style updates
992 (on_animation_clicked, on_animation_idle)
993 (on_progress_clicked, on_progress_idle):
994 Add additional reference for the cases when the parent window is
997 2009-06-08 Alberto Garcia <agarcia@igalia.com>
999 * doc/hildon-sections.txt
1000 * hildon/hildon-pannable-area.c
1001 * hildon/hildon-banner.h
1002 * hildon/hildon-banner.c: Documentation updates.
1004 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1007 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1009 * hildon/hildon-calendar-popup.h:
1010 * hildon/hildon-caption.h:
1011 * hildon/hildon-code-dialog.h:
1012 * hildon/hildon-controlbar.h:
1013 * hildon/hildon-date-editor.h:
1014 * hildon/hildon-dialog.h:
1015 * hildon/hildon-get-password-dialog.h:
1016 * hildon/hildon-hvolumebar.h:
1017 * hildon/hildon-login-dialog.h:
1018 * hildon/hildon-note.h:
1019 * hildon/hildon-number-editor.h:
1020 * hildon/hildon-range-editor.h:
1021 * hildon/hildon-seekbar.h:
1022 * hildon/hildon-set-password-dialog.h:
1023 * hildon/hildon-sort-dialog.h:
1024 * hildon/hildon-time-editor.h:
1025 * hildon/hildon-time-picker.h:
1026 * hildon/hildon-volumebar-range.h:
1027 * hildon/hildon-volumebar.h:
1028 * hildon/hildon-vvolumebar.h:
1029 * hildon/hildon-weekday-picker.h:
1030 * hildon/hildon-window.h:
1031 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1032 macros with the current replacements
1034 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1036 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1038 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1039 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1040 itself, to make it fit better with Fremantle style.
1042 Fixes: NB#109878 (height and width of focus on color icon is not
1043 consistent with other item in the application tool bar)
1045 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1047 * hildon/hildon-touch-selector.c:
1048 (hildon_touch_selector_optimal_size_request): use the current requisition
1049 as the base, in order to include any possible extra widget, like the
1050 hildon entry on HildonTouchSelectorEntry
1052 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1054 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1056 * configure.ac: post release version bump
1057 * debian/changelog: post release version bump
1059 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1064 * configure.ac: Bump version.
1065 * debian/changelog: Updates.
1067 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1069 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1071 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1072 to ensure the banner contents are centered, instead of relying on
1073 the expand and fill properties in GtkHBox.
1074 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1076 Fixes: NB#108265 (Animation banner not properly centered)
1078 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1080 * hildon/hildon-pannable-area.c
1081 (hildon_pannable_area_initial_effect): Remove the initial_effect
1082 management, check initial_hint
1083 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1084 set initial_effect to FALSE
1085 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1086 by launching the fade_timeout if the scrollbars state has changed and are
1088 * examples/hildon-pannable-area-initial-hint-example.c
1089 Modified to allow to remove rows too. Add and remove rows one by one.
1091 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1093 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1094 Don't close the menu if there's an animation actor below it.
1096 Fixes: NB#117927 (Application menu not usable with animation
1099 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1101 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1102 "focus-on-click" from the dialog button, to avoid stealing the
1103 focus from the entry.
1105 Fixes: NB#118903 (Account setup wizard: Text in Search field
1106 should be focused when "Region" touch list picker is reopened
1109 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1111 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1112 (prepare_action_area): Completely hide the dialog separator.
1114 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1116 * hildon/hildon-touch-selector-entry.c
1117 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1118 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1119 now that the entry is exposed.
1121 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-touch-selector-entry.c
1124 (hildon_touch_selector_entry_init): Change the entry's size
1125 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1127 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1129 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1130 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1131 avoid unnecessary scaling.
1133 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1135 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1136 Create grab transfer window before calling parent's map function.
1138 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1139 "crushed" button(s) in the top left corner)
1141 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1143 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1144 Check if the window is already realized when pushing it.
1146 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1148 * configure.ac: post release version bump
1149 * debian/changelog: post release version bump
1151 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1156 * configure.ac: Bump version.
1157 * debian/changelog: Updates.
1159 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1161 * hildon/hildon-app-menu.c: Doc updates.
1163 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1165 * hildon/hildon-banner.c: Remove leftover macro.
1167 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1169 * hildon/hildon-pannable-area.c,
1170 (hildon_pannable_area_scroll_indicator_fade),
1171 (hildon_pannable_area_button_release_cb): Reviewed vmin
1172 conditions, it could cause problems in the fadeout procedure.
1174 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1176 * hildon/hildon-pannable-area.c
1177 (hildon_pannable_area_button_release_cb): Added a threshold to
1178 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1180 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1182 * hildon/hildon-pannable-area.c,
1183 (hildon_pannable_area_set_property): Added code to sync the gtk
1184 dnd threshold with the panning threshold.
1186 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1188 * hildon/hildon-pannable-area.c,
1189 (hildon_pannable_area_class_init): Changed some of the default
1190 values, now it should be less responsive and more accurate.
1192 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1194 * hildon/hildon-pannable-area.c,
1195 (hildon_pannable_area_init),
1196 (hildon_pannable_area_scroll_indicator_fade),
1197 (hildon_pannable_area_button_press_cb),
1198 (hildon_pannable_axis_scroll),
1199 (hildon_pannable_area_timeout),
1200 (hildon_pannable_area_motion_notify_cb),
1201 (hildon_pannable_area_button_release_cb): Changed the name of the
1202 clicked attribute to button_pressed, it is more clear about its use.
1204 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1206 * src/hildon-pannable-area.c
1207 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1209 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1210 vertical scrollbar visibility, and use the data on private section instead,
1211 remove the initial_hint check
1212 (hildon_pannable_area_expose_event): add the initial_hint check here
1214 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1216 * src/hildon-pannable-area.c
1217 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1218 if the fadeout effect was used
1219 (hildon_pannable_area_expose_event): check if it is required to
1220 manage the initial effect on the begining of the function. Previously
1221 it was made at the end, but this doesn't ensure that the scrollbars
1222 will be painted on the first show. Do not set to FALSE initial_effect,
1223 to ensure that the initial hint is showed the first time the pannable
1225 * examples/Makefile.am
1226 * examples/hildon-pannable-area-initial-hint-example.c:
1227 New example, to show that the initial-hint is showed when the widget
1230 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1231 initially if the application can be scrolled)
1233 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1235 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1236 Resize table before adding new items to make sure that
1237 gtk_table_resize() is called just once.
1239 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1241 * hildon/hildon-app-menu-private.h
1242 * hildon/hildon-app-menu.c (item_visibility_changed)
1243 (filter_visibility_changed, hildon_app_menu_show_all)
1244 (hildon_app_menu_hide_all, hildon_app_menu_init):
1245 Rearrange items just once when gtk_widget_show_all()/hide_all()
1248 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1250 * hildon/hildon-app-menu.c
1251 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1252 Don't call gtk_widget_show() on added items.
1254 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1255 automatically when they're added)
1257 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-banner.c
1260 (hildon_banner_realize, +hildon_banner_unrealize)
1261 (+screen_size_changed, hildon_banner_class_init):
1262 Redisplay the banner if the screen is rotated.
1264 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1265 on transition from landscape to portrait)
1267 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1269 * hildon/hildon-banner.[ch]:
1270 (hildon_banner_show_information_override_dnd): remove icon_name from the
1271 method definition as it is ignored.
1272 * examples/hildon-banner-dnd-example.c: updated with the change on
1275 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * hildon/hildon-banner-private.h: new require_override_dnd and
1278 overrides_dnd variables
1279 * hildon/hildon-banner.h:
1280 (hildon_banner_show_information_override_dnd): new method, that shows
1281 the information but sets the override flag, in order to show important
1283 * hildon/hildon-banner.c
1284 (hildon_banner_show_information_override_dnd): new method
1285 (hildon_banner_set_override_flag): new utility function
1286 (hildon_banner_real_show_information): new utility function, in order to
1287 generalize the current hildon_banner_show_information_override_dnd and
1288 hildon_banner_show_information_override_dnd
1289 * examples/Makefile.am
1290 * examples/hildon-banner-dnd-example.c: New example that show how to
1291 use the new hildon_banner_show_information_override_dnd
1293 Fixes: NB#114874 (There is no possibility to show hildon banners with
1296 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1298 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1299 behind hildon_pannable_calculate_vel_factor().
1301 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1303 * hildon/hildon-pannable-area.c
1304 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1305 deceleration factors.
1307 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1309 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1310 Reduce the default value for 'scroll_time' to 1 second, since the
1311 current initial scrolling takes too much time.
1313 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1315 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1316 calculate velocity factor during initialization, since the properties
1319 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1321 * hildon/hildon-pannable-area.c
1322 (hildon_pannable_area_set_property): Calculate the velocity factor
1323 after setting the deceleration property and not after.
1325 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1327 * hildon/hildon-entry.c
1328 (hildon_entry_class_init, +set_property, hildon_entry_new)
1329 * hildon/hildon-check-button.c
1330 (hildon_check_button_class_init)
1331 (+set_property, hildon_check_button_new):
1332 Make the theme size a property.
1334 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1335 others) do too much in the _new function)
1337 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1339 * configure.ac: post release version bump
1340 * debian/changelog: post release version bump
1342 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1347 * configure.ac: Bump version.
1348 * debian/changelog: Updates.
1350 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1352 * hildon/hildon-gtk.h
1353 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1354 New API function to take a screenshot of a window
1356 Fixes: NB#106374 (Need API to take a loading screenshot)
1358 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * hildon/hildon-time-selector.c
1361 (update_format_policy): prevent to use hours and minutes unitialized
1363 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1365 * hildon/hildon-window.c (hildon_window_size_request):
1366 Always request the full size of the screen (minus the title bar if
1367 not in fullscreen mode).
1369 Fixes: NB#107486 (HildonWindow should size itself properly)
1371 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1373 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1374 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1375 (on_show_cb), (sound_handling): Disconnect the idle handler for
1376 the sound when the note is finalized to avoid possible crashes.
1378 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1381 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1383 * src/hildon-animation-actor.c,
1384 * src/hildon-remote-texture.c:
1385 Added proper object cleanup to remove signal handler and object
1386 references as HildonAnimationActor and HildonRemoteTexture
1387 objects get destroyed.
1389 Fixes: NB#116682 (Destroying parented animation actors when
1390 parent in unmapped leads to crash)
1392 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1394 Based on a patch by Christian Dywan (christian@imendio.com)
1396 * doc/hildon-sections.txt:
1397 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1398 * hildon/hildon-helper.h: New file size formatting method.
1400 * debian/control: Depend on osso-filemanager l10n package for
1401 proper localization strings.
1403 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1405 * tests/Makefile.am: Include top_srcdir to make possible to build
1406 tests in a different builddir.
1407 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1408 on a different builddir.
1410 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1412 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1413 (hildon_touch_selector_remove): Disconnect model's signal handler
1416 Fixes: NB#116289 (Hildon home crashes while adding task
1419 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1421 * hildon/hildon-button.c
1422 (hildon_button_set_title, hildon_button_set_value):
1423 Hide labels containing an empty string.
1425 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1427 * configure.ac: post release version bump
1428 * debian/changelog: post release version bump
1430 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1435 * configure.ac: Bump version.
1436 * debian/changelog: Updates.
1438 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1440 * hildon/hildon-note-private.h: Removed sound_signal_handler
1441 * hildon/hildon-note.c
1442 (on_show_cb): new callback on note "show" event, this simply adds
1443 a idle, with the function sound_handling
1444 (sound_handling): removed the sound_signal_handler management
1445 (hildon_note_init): connect note "show" event to on_show_cb
1446 (hildon_note_realize): remove the connection to "expose-event"
1448 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1449 device?' confirmation note)
1451 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1453 * hildon/hildon-note.c
1454 (hildon_note_new_information_with_icon_name)
1455 (hildon_note_new_confirmation_with_icon_name):
1456 Terminate the list of parameters in g_object_set() calls
1458 Fixes: NB#115166 (Formatting memory card is not taking place)
1460 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1462 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1463 "dialog-information" role for the sound being played.
1465 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1467 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1468 Don't make the menu a modal window, it causes strange interactions
1469 with the pointer grab and it's not really needed.
1471 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1473 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1475 * hildon/hildon-touch-selector.[ch]
1476 (hildon_touch_selector_optimal_size_request): function added to get a
1477 optimal size request from the touch selector, when you want a dialog to
1478 show as much of the selector
1479 * hildon/hildon-picker-dialog.c:
1480 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1481 (hildon_app_menu_class_init):
1482 New "max-height-landscape" and "max-height-portrait" style properties
1483 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1484 (hildon_picker_dialog_get_max_height): returns the maximum height using
1485 the style properties defined and checking the current portrait/landscape
1487 (_hildon_picker_dialog_set_selector): removed the set_size_request
1489 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1491 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1493 * hildon/hildon-bread-crumb-trail.c:
1494 * hildon/hildon-bread-crumb.c:
1495 * hildon/hildon-seekbar.c:
1496 Add reference to replacements for these deprecated widgets.
1498 Fixes: MB#4461 (Documentation: All deprecations should mention
1501 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1503 * examples/hildon-remote-texture-example.c
1505 Change the include to the hildon-remote-texture in order to compile
1506 properly the examples on the installed libhildon1-examples package
1508 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1510 * tests/Makefile.am: Add check for HildonPickerButton.
1511 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1512 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1513 checks for the HildonPickerButton.
1514 * tests/check_test.c (configure_tests): Add the test suite.
1515 * tests/test_suites.h: likewise.
1517 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1519 * hildon/hildon-touch-selector.c
1520 (+on_row_changed): Emit HildonTouchSelector:changed when the
1521 contents of a selected row change.
1522 (_create_new_column), (_hildon_touch_selector_set_model): connect
1523 to GtkTreeModel:row-changed on a newly set model.
1525 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1527 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1529 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1531 * hildon/hildon-banner.c (hildon_banner_destroy)
1532 (hildon_banner_show_progress, hildon_banner_set_fraction):
1533 Remove the progress bar from HildonBanner and use a progress
1536 Fixes: NB#113761 (Update progress banner to use progress
1539 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1541 * hildon/hildon-banner.c:
1542 Calculate size of the banner label using the actual screen width
1543 rather than using a fixed value.
1545 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1548 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1550 * hildon/hildon-pannable-area.c,
1551 (hildon_pannable_area_class_init): Fixed signals documentation
1554 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: post release version bump
1557 * debian/changelog: post release version bump
1559 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1564 * configure.ac: Bump version.
1565 * debian/changelog: Updates.
1567 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1569 * hildon/hildon-edit-toolbar.c
1570 (hildon_edit_toolbar_init):
1571 Don't let buttons in HildonEditToolbar receive focus.
1573 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1574 typing on an HW arrows key)
1576 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1578 * doc/Makefile.am: Fix build.
1580 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1582 * doc/Makefile.am: Do not redefine content_files.
1584 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1592 Renamed src/ to hildon/
1597 Include <hildon/hildon.h> directly in all examples.
1599 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1601 * src/hildon-sort-dialog.c
1602 (hildon_sort_dialog_add_sort_key_with_sorting)
1606 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1609 make distcheck passes.
1611 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1613 * Makefile.am: Enable gtk-doc during distcheck.
1615 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1617 * Makefile.am: Do not distribute the debian/ directory.
1619 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1621 * doc/Makefile.am: Add the extra SGML files to content_files,
1622 so that they are distributed properly.
1624 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1626 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1629 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1631 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1632 (hildon_note_new_information_with_icon_name): Set the "icon" property
1633 to preserve soundness.
1635 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1637 * src/hildon-font-selection-dialog.c
1638 (hildon_font_selection_dialog_set_property): Fail when the "family"
1639 property is set to NULL.
1641 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1646 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1648 * src/hildon-time-selector.h:
1649 Added HildonTimeSelectorFormatPolicy
1650 * src/hildon-time-selector.c:
1651 Added PROP_TIME_FORMAT_POLICY
1652 (_check_ampm_format): renamed to check_automatic_ampm_format
1653 (update_format_policy), (update_format_dependant_columns): new functions
1654 (hildon_time_selector_class_init)
1655 (hildon_time_selector_contructor)
1656 (hildon_time_selector_init)
1657 (hildon_time_selector_get_property)
1658 (hildon_time_selector_set_property)
1659 (hildon_time_selector_get_time)
1660 (hildon_time_selector_set_time)
1661 * src/hildon-touch-selector.h: new file
1662 * src/hildon-touch-selector.c
1663 (hildon_touch_selector_emit_changed)
1664 (hildon_touch_selector_block_changed)
1665 (hildon_touch_selector_unblock_changed)
1666 Added functions to allow to block the emission of the "changed" signal
1667 * src/hildon-picker-dialog.c
1668 (hildon_picker_dialog_show): call the parent show before the custom code
1669 * examples/hildon-time-button-example.c
1670 Modified, so now you can configure the time format using the new property
1672 Added a new property "time-format-policy" that allow to choose the time
1673 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1674 case it uses gconf in order to check if the time selector must use
1677 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1680 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-note.c (hildon_note_init):
1683 Label in HildonNote must be left aligned, not centered. This
1684 reverts the last commit in HildonNote.
1686 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1687 is connectivity dialog)
1689 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1694 * doc/hildon-sections.txt:
1695 Added hildon_gtk_window_set_do_not_disturb()
1697 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-note.c (hildon_note_init): Center label.
1701 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1704 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1709 * configure.ac: Bump version.
1710 * debian/changelog: Updates.
1712 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-note-private.h: Add button-width to the private data.
1715 * src/hildon-note.c (+resize_button),
1716 (+hildon_note_orientation_update): methods to repack widgets on orientation
1718 (screen_size_changed): Call above method for confirmation notes.
1719 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1720 (hildon_note_rebuild): Store the original width request from buttons.
1722 Fixes: NB#109635 (Confirmation notes do not support portrait)
1724 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1726 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1727 when it is a progress note.
1729 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1731 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1732 in the note, since there are no horizontally arranged contents.
1734 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1736 * src/hildon-gtk.c (+set_flag): new generic method to
1737 set/delay a flag setting in a window.
1738 (hildon_gtk_window_set_progress_indicator):
1739 (hildon_gtk_window_set_do_not_disturb),
1740 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1741 avoid code redundance.
1743 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1745 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1747 * src/hildon-gtk.c (set_clear_window_flag),
1748 (do_set_progress_indicator), (do_set_do_not_disturb),
1749 (do_set_portrait_flags),
1750 (hildon_gtk_window_set_progress_indicator),
1751 (hildon_gtk_window_set_do_not_disturb),
1752 (hildon_gtk_window_set_portrait_flags):
1753 Allow setting dnd-flag, progress indicator, and portrait flags
1754 when the window is not realized.
1756 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1758 * src/hildon-pannable-area.c,
1759 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1760 the size request policy function and defines.
1762 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1764 * doc/hildon-sections.txt: Add the new API.
1765 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1766 method to set the portrait flags.
1767 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1769 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1771 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1774 to allow using this method with other flags.
1775 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1776 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1778 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-touch-selector.c
1781 (hildon_touch_selector_append_text_column):
1782 Make the cell renderer use the smallest width possible.
1784 Fixes: NB#108470 (Selected items in multiple selection are either
1785 having a tick that is cut or not visible at all.)
1787 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-touch-selector.c
1790 (hildon_touch_selector_append_text_column):
1793 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1795 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1796 Use g_strdup_printf() instead of a fixed size buffer.
1798 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1801 Close banners when a HildonAppMenu is popped up.
1803 Fixes: NB#111027 (Title menu closed immediately if activated when
1804 "Invalid e-mail address" banner is shown)
1806 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1811 * configure.ac: Bump version.
1812 * debian/changelog: Updates.
1814 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-banner.c (hildon_banner_realize):
1817 Mark HildonBanner as supporting portrait mode.
1818 Use GDK to set window properties insetad of direct Xlib calls.
1820 Fixes: NB#111830 (HildonBanner should be marked as supporting
1823 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1825 * src/hildon-note.c (hildon_note_rebuild):
1826 Hide action area in information notes. Prevents text from being
1827 slightly aligned to the left.
1829 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1832 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1834 Patch by Mox Soini (ext-mox.soini@nokia.com)
1836 * src/hildon-banner.c (hildon_banner_create_animation):
1837 Use stylus-sized icons in animation banner.
1839 Fixes: NB#111206 (stylus sized icon for animation banner)
1841 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1845 (+hildon_gtk_window_set_do_not_disturb):
1846 New API to set the do-not-disturb flag.
1848 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1850 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1852 * examples/hildon-progress-indicator-example.c: Fix example
1854 * src/hildon-gtk.c (set_clear_window_flag)
1855 (hildon_gtk_window_set_progress_indicator):
1856 Create a generic function for setting flags to a window.
1857 Use GDK instead of direct Xlib calls.
1859 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-button.c (hildon_button_set_arrangement):
1862 Due to NB#88126, if one of the labels is too long it will be
1863 painted outside the button. The 'value' label is more likely to be
1864 the longest one, so we change its packing options in order to
1865 truncate it if necessary. As a side effect, the 'title' label will
1866 no longer be truncated.
1868 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1870 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: Bump version.
1876 * debian/changelog: Updates.
1878 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1880 Deprecation of the hildon_pannable_area_set_size_request_policy
1881 API, the only policy properly supported in gtk+ nowadays is the
1884 * src/hildon-pannable-area.c,
1885 (hildon_pannable_area_size_request): Added a workaround for the
1886 size_request to avoid the problems of huge pixmaps in case someone
1887 is still using the function.
1888 * src/hildon-pannable-area.h: Deprecated the enum with the
1891 Fixes: NB#110244 (Problems with the
1892 hildon_pannable_area_set_size_request_policy API)
1894 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 (hildon_pannable_area_init),
1898 (hildon_pannable_area_size_request),
1899 (hildon_pannable_area_style_set),
1900 (hildon_pannable_draw_vscroll),
1901 (hildon_pannable_draw_hscroll),
1902 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1903 indicator_width to clarify the use of the attribute.
1905 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: Bump version.
1911 * debian/changelog: Updates.
1913 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1915 * src/hildon-picker-dialog.c
1916 * src/hildon-touch-selector.c
1917 Reverting the change that tried to avoid the hardcoded height on
1918 the picker dialog, as causes problems on the hildon-touch-selector
1921 Fixes: NB#110029 (selectors not scrolling to selected value)
1923 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-touch-selector.c: Fix typos
1927 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1930 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1931 request more motions after using it.
1933 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-calendar.c (hildon_calendar_expose),
1936 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1937 Remove unused variables.
1939 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1941 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1942 variable assignment.
1944 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1946 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1947 Check the return value of gtk_tree_selection_get_selected()
1950 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-animation-actor.c
1953 * src/hildon-button.c
1955 * src/hildon-pannable-area.c
1956 * src/hildon-picker-button.c
1957 * src/hildon-program.c
1958 * src/hildon-remote-texture.c
1959 * src/hildon-text-view.c
1960 * src/hildon-touch-selector.c
1961 * src/hildon-window-stack.c
1962 * src/hildon-window.c:
1963 Add missing 'Since: 2.2' tags.
1965 * doc/hildon-sections.txt:
1966 Add some missing symbols.
1968 * doc/hildon-docs.sgml:
1969 New 'Other' section for HildonAnimationActor and
1972 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1974 Patch by Iván Gómez (igomez@igalia.com)
1977 * doc/compiling.sgml
1978 * doc/hildon-docs.sgml
1979 * doc/hildon-sections.txt
1980 * doc/migration.sgml
1981 * doc/resources.sgml
1983 New chapters on using the Hildon library.
1984 Updated the general structure of the reference manual.
1985 Other minor documentation fixes.
1987 * src/hildon-calendar-popup.c
1988 * src/hildon-calendar.c
1989 * src/hildon-controlbar.c
1990 * src/hildon-date-editor.c
1991 * src/hildon-dialog.c
1992 * src/hildon-hvolumebar.c
1993 * src/hildon-number-editor.c
1994 * src/hildon-range-editor.c
1995 * src/hildon-sort-dialog.c
1996 * src/hildon-time-editor.c
1997 * src/hildon-time-picker.c
1998 * src/hildon-volumebar-range.c
1999 * src/hildon-volumebar.c
2000 * src/hildon-vvolumebar.c
2001 * src/hildon-weekday-picker.c:
2002 Add deprecation notes
2004 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2005 Document 'horizontal-movement' and 'vertical-movement' signals.
2007 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2012 * configure.ac: Bump version.
2013 * debian/changelog: Updates.
2015 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2017 * src/hildon-pannable-area.c,
2018 (hildon_pannable_area_class_init): increased the minimum velocity.
2019 (hildon_pannable_area_button_release_cb): Updated the
2020 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2021 setup. Review the code to control that last event.
2023 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2026 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2028 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2030 * src/hildon-get-password-dialog.c
2031 (hildon_get_password_set_property),
2032 (hildon_get_password_get_property), (create_contents):
2033 * src/hildon-login-dialog-private.h:
2034 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2035 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2036 (hildon_login_dialog_get_password):
2037 * src/hildon-set-password-dialog-private.h:
2038 * src/hildon-set-password-dialog.c
2039 (hildon_set_password_set_property),
2040 (hildon_set_password_get_property), (create_contents),
2041 (hildon_set_password_response_change),
2042 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2044 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2045 instead and look more Fremantle style.
2047 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2049 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2051 * doc/hildon-sections.txt
2052 * src/hildon-window-stack.h
2053 * src/hildon-window-stack.c
2054 (+hildon_window_stack_get_windows):
2055 New API to obtain the list of windows on a stack.
2057 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-app-menu.c (hildon_app_menu_popup)
2060 (hildon_app_menu_class_init, -hildon_app_menu_show):
2061 Remove hildon_app_menu_show() and move all its checks to
2062 hildon_app_menu_popup()
2064 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2066 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2067 (_hildon_picker_dialog_set_selector): removed call to
2068 gtk_widget_set_size_request
2069 * src/hildon-touch-selector.c
2070 (_create_new_column): change the pannable size request policy
2072 Avoid to use a hardcoded height for the hildon picker dialog. In order
2073 to get that, we needed to change the hildon pannable size request
2075 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2077 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2080 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2083 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2085 * debian/control: Depend on osso-system-lock localization package.
2086 * src/hildon-code-dialog.c: Obtain the secu_application_title
2087 translation from osso-system-lock.
2088 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2089 for translation the atk related strings, that's not necessary.
2090 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2091 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2092 cancel button, it is not required.
2094 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_class_init): Modified the default value of
2098 the overshooting max speed, we have reduced it.
2100 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2102 * doc/hildon-sections.txt
2103 * src/hildon-window-private.h
2104 * src/hildon-window.h
2105 * src/hildon-window.c (hildon_window_class_init)
2106 (hildon_window_init, hildon_window_finalize)
2107 (hildon_window_realize, hildon_window_get_property)
2108 (hildon_window_set_property, hildon_window_update_markup)
2109 (hildon_window_get_markup, hildon_window_set_markup):
2110 New "markup" property and hildon_window_{get,set}_markup() methods.
2112 * examples/hildon-stackable-window-example.c (new_window):
2113 Update example to use hildon_window_set_markup()
2115 Fixes: NB#106375 (Need API to retitle a window with a title
2118 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c,
2121 (hildon_pannable_area_class_init): Changed the default value of
2122 the initial_hint to TRUE.
2123 (hildon_pannable_area_initial_effect): Changed the initial effect,
2124 not the effect is just the fade-out of the scrollbars.
2126 Fixes: NB#107775 (No scrollbars can be seen when several items are
2127 available in a dialog)
2129 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-program.c (hildon_program_update_top_most):
2134 Fixes: NB#109179 (Memory leak in Hildon program)
2136 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2138 * src/hildon-banner.c (-get_current_app_window):
2139 Remove unused function.
2141 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2143 * src/hildon-pannable-area.c: Modified the documentation of the
2144 get adjustments functions to explain the problem of using the
2145 adjustment directly.
2146 (hildon_pannable_area_class_init): Improved the explanation about
2149 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2151 * src/hildon-app-menu-private.h
2152 * src/hildon-app-menu.c
2153 (hildon_app_menu_class_init):
2154 Bring back the 'external-border' style property
2155 (hildon_app_menu_class_init, hildon_app_menu_init)
2156 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2157 Set a fixed width-request for the menu, independent of the number
2160 Fixes: NB#94957 (Smoothly opened application menu)
2162 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2166 * src/hildon-banner.c
2167 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2169 Make sure that the banner is correctly placed the first time it's
2171 (hildon_banner_check_position, -check_fullscreen_state):
2172 Show the banner in the same place no matter if the window is in
2173 fullscreen mode or not.
2175 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2177 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-touch-selector.c (_default_print_func): reorder
2180 concatenation for clarity.
2182 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2185 for multicolumn selectors.
2187 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2189 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2194 * configure.ac: Bump version.
2195 * debian/changelog: Updates.
2197 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2202 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2204 * configure.ac: removed libcangerra-gtk dependency
2205 * debian/control: removed libcanberra-gtk dependency
2206 * src/Makefile.am: removed libcanberra gtk related flags
2207 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2208 context, and manage a global canberra context instead
2210 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2212 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2214 Patch by Daniel Borgmann (danielb@openismus.com)
2216 * src/hildon-edit-toolbar.c:
2217 Adjust the left padding.
2218 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2219 Paint background of the edit toolbar.
2221 Fixes: NB#107897 (Patch to make editmodetoolbar background
2222 themeable and adjust margin)
2224 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2226 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2228 * src/hildon-program.c (hildon_program_update_top_most):
2229 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2231 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2232 change when the user tasks in/out of an application)
2234 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2236 * configure.ac: added libcangerra-gtk dependency
2237 * debian/control: added libcanberra-gtk dependency
2238 * src/Makefile.am: added libcanberra gtk related flags
2239 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2242 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2244 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-program.c (hildon_program_remove_window)
2247 (hildon_program_add_window): Add checks for the window
2248 parameter. Don't decrease the window counter if the window is not
2251 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2253 * src/hildon-pannable-area.c,
2254 (hildon_pannable_area_realize): Fixed position of the event_window
2255 in the realize method.
2257 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-app-menu-private.h
2260 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2261 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2262 (hildon_app_menu_key_press, hildon_app_menu_init)
2263 (hildon_app_menu_finalize):
2264 Make sure that all idle functions are removed when the widget is
2267 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2269 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2274 * configure.ac: Bump version.
2275 * debian/changelog: Updates.
2277 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2279 * src/hildon-entry.c
2280 (+hildon_entry_show_placeholder),
2281 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2282 that replace hildon_entry_update_contents().
2283 (hildon_entry_set_text),
2284 (hildon_entry_set_placeholder),
2285 (hildon_entry_focus_in_event),
2286 (hildon_entry_focus_out_event): Determine when it is needed
2287 either to show or hide the placeholder and call the above methods.
2289 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2290 when the placeholder text is already set)
2292 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2295 simple GdkPixbufAnim using the new icons for the banner.
2296 (hildon_banner_show_animation): Use the above mentioned method to
2297 create the animation widget.
2299 Fixes: NB#103564 (Make hildon animation banner use individual
2300 image files as the animation)
2302 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_leave_notify_event): Check if the child is NULL
2306 to avoid sending the leave.
2308 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2310 * src/hildon-pannable-area.c,
2311 (hildon_pannable_area_class_init),
2312 (hildon_pannable_leave_notify_event): Added a handler of the
2313 leave-notify-signal to consider when no motion notify before
2316 Fixes: NB#107494 (Items stay selected when clicking and moving
2317 away when inside pannable area)
2319 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2324 * configure.ac: Bump version.
2325 * debian/changelog: Updates.
2327 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2329 Patch by Alberto Garcia (agarcia@igalia.com)
2331 * src/hildon-date-button.c,
2332 (hildon_date_button_class_init),
2333 (hildon_date_button_init): Removed the construct property handling
2334 and created a default selector in the init method.
2335 * src/hildon-picker-button.c,
2336 (hildon_picker_button_class_init): Removed the construct flag of the
2339 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2341 * src/hildon-main.c (hildon_init):
2342 Don't allow hildon_init() to be called more than once.
2344 Fixes: NB#106607 (hildon_init should issue error message upon
2347 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2349 * examples/hildon-pannable-area-touch-list-example.c
2350 * examples/hildon-pannagle-area-touch-grid-example.c
2351 * examples/hildon-edit-toolbar-example.c
2352 * examples/hildon-touch-selector-multi-cells-example.c
2353 Removed the call to gtk_rc_parse_string, as it is not required since
2356 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-pannable-area.c,
2359 (hildon_pannable_area_class_init): Modified the default panning
2360 threshold of the widget to 6px.
2362 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2363 than the threshold value ) within the button is not sending the
2366 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2369 for the treeview in the new column. This way, the touch list will never
2372 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2373 be selected manually for the HW keys to work)
2375 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2378 comparison instead of using strcmp(). Fixes a compiler warning as well.
2380 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2382 * doc/hildon-docs.sgml: Do not set the library version in the
2383 document title, use the releaseinfo tag for that purpose instead.
2385 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2388 Do not jump to the first item if the text in the entry is removed.
2390 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2395 * configure.ac: Bump version.
2396 * debian/changelog: Updates.
2398 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-entry.c (hildon_entry_refresh_contents):
2401 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2402 Use "ReversedSecondaryTextColor" for the placeholder text.
2404 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-text-view.c: Fix compilation warning.
2408 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2410 * src/hildon-button.c (hildon_button_class_init): Don't make
2411 "title" and "value" construction properties, to prevent them from
2412 overwriting labels set from derived classes.
2414 * src/hildon-picker-button.c
2415 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2416 (hildon_picker_button_class_init): Make touch-selector a
2417 construction property.
2419 * src/hildon-date-button.c (hildon_date_button_class_init)
2420 (+hildon_date_button_constructed): Add a default date selector if
2423 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-touch-selector.c: Small documentation fixes.
2427 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2429 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2431 * src/hildon-entry.c (hildon_entry_refresh_contents),
2432 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2433 widget name, set the logical color directly instead and a boolean
2434 showing_placeholder instead.
2435 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2436 use the widget name here either.
2438 Fixes: NB#105678 (HildonTextView should use logical colours
2439 instead of setting widget name)
2441 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2443 Patch by Daniel Elster (danielk@openismus.com)
2445 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2446 Add user_data parameter.
2447 (hildon_touch_selector_set_print_func_full): New function akin
2448 hildon_touch_selector_set_print_func() but with support for user
2449 data and a destroy callback.
2450 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2451 to clean up the print function user data.
2452 (hildon_touch_selector_class_init): Install dispose function.
2453 (HildonTouchSelectorPrivate::print_user_data),
2454 (HildonTouchSelectorPrivate::print_destroy_func): New private
2456 (hildon_touch_selector_init): Initialize new private members.
2457 (hildon_touch_selector_get_current_text): Pass along user data
2458 to the print function.
2459 (_default_print_func): Add dummy user_data to parameter list.
2460 * hildon-date-selector.c (_custom_print_func): ditto,
2461 * hildon-time-selector.c (_custom_print_func): ditto,
2462 * hildon-touch-selector-entry.c
2463 (hildon_touch_selector_entry_print_func): ditto.
2465 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2467 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2469 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2471 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2473 * src/hildon-pannable-area.c,
2474 (hildon_pannable_area_init),
2475 (hildon_pannable_area_button_press_cb),
2476 (hildon_pannable_area_motion_notify_cb): We have added code to
2477 handle the leave and enter events when using the motion events.
2479 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2481 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-date-button.c (hildon_date_button_get_date)
2484 (hildon_date_button_set_date): Make sure that the button has a
2487 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2489 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2491 * src/hildon-pannable-area.c,
2492 (hildon_pannable_area_class_init),
2493 (hildon_pannable_area_calculate_velocity): Modify the use of the
2494 force and adapt the value.
2496 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2499 (hildon_app_menu_class_init): Hide the menu if it receives a
2500 delete-event, but don't destroy it
2502 Fixes: NB#104485 (Not able to address the call when application
2503 menu is opened at background)
2505 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-app-menu.c
2508 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2509 Remove the "external-border" style property, let the menu take its
2510 natural size (or the one set by the window manager)
2511 (hildon_app_menu_repack_items):
2512 Don't reshow the menu, avoid flickers.
2514 Partially fixes NB#94957 (Smoothly opened application menu)
2516 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2521 * configure.ac: Bump version.
2522 * debian/changelog: Updates.
2524 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2526 * src/hildon-pannable-area.c,
2527 (hildon_pannable_area_motion_notify_cb): We control that the
2528 direction error margin is used just in case the movement is
2529 allowed in the other direction.
2531 Fixes: NB#105012 (buttons inside a pannable area not getting
2532 release event when dragging/releasing)
2534 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2536 * src/hildon-pannable-area.c,
2537 (hildon_pannable_area_class_init),
2538 (hildon_pannable_area_get_property),
2539 (hildon_pannable_area_set_property),
2540 (hildon_pannable_area_initial_effect),
2541 (hildon_pannable_axis_scroll),
2542 (hildon_pannable_area_button_release_cb): Reviewed the
2543 overshooting effect, now it has its own max
2544 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2545 speed when bouncing.
2547 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2552 * configure.ac: Bump version.
2553 * debian/changelog: Updates.
2555 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_area_class_init): Changed the max speed, now
2559 users can launch the widget very fast. Reduced the default force,
2560 that way it is easier to control the launch speed.
2562 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_button_release_cb): Removed this check
2566 because it causes problems when the device is overloaded.
2568 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2571 add a current_text field to store the text entered in the
2572 touch selector entry.
2573 (_clean_current_selection): clean up the current text as well.
2574 (_save_current_selection), (_restore_current_selection):
2575 Save/restore the text in the entry if the selector is a
2576 HildonTouchSelectorEntry.
2578 Fixes: NB#102541 (value entered in the touch selector entry is not
2579 shown when opened for second time)
2581 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2583 * doc/hildon-sections.txt:
2584 * src/hildon-touch-selector-entry.c
2585 (+hildon_touch_selector_entry_get_entry):
2586 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2588 Fixes: NB#104815 (I need accessor to the entry inside
2589 HildonTouchSelectorEntry)
2591 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2593 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2594 (hildon_app_menu_class_init):
2595 New "filter-vertical-spacing" style property.
2597 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-find-toolbar.c
2600 (hildon_find_toolbar_emit_close)
2601 (hildon_find_toolbar_emit_invalid_input)
2602 (hildon_find_toolbar_entry_activate):
2603 Use g_signal_emit() instead of g_signal_emit_by_name()
2605 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2607 Patch by Mox Soini (ext-mox.soini@nokia.com)
2609 * tests/TEST-CASES.txt
2610 * tests/check-hildon-banner.c
2611 * tests/check-hildon-note.c
2612 * src/hildon-banner.c
2613 * src/hildon-code-dialog.c
2614 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2615 * src/hildon-time-editor.c
2616 * examples/hildon-lookup-example.c (main):
2617 Replace obsolete icon names with new ones.
2619 * src/hildon-find-toolbar-private.h:
2620 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2621 (-hildon_find_toolbar_emit_search):
2622 Remove find button and change icon of close button.
2624 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2626 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-time-button.c (hildon_time_button_new_step):
2629 Use the "touch-selector" property to set the selector directly
2630 when creating the object.
2632 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2634 Added a new example application that allows tuning the pannable
2635 area and replaced defines with properties in order to simplify the
2636 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2637 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2638 PROP_DIRECTION_ERROR_MARGIN.
2640 * examples/hildon-pannable-area-tuning-example.c: New example
2642 * src/hildon-pannable-area.c,
2643 (hildon_pannable_area_class_init),
2644 (hildon_pannable_area_init),
2645 (hildon_pannable_area_get_property),
2646 (hildon_pannable_area_set_property),
2647 (hildon_pannable_area_launch_fade_timeout),
2648 (hildon_pannable_area_adjust_value_changed),
2649 (hildon_pannable_axis_scroll),
2650 (hildon_pannable_area_motion_notify_cb),
2651 (hildon_pannable_area_scroll_cb),
2652 (hildon_pannable_area_button_release_cb): We have converted some
2653 of the defines that control the widget to properties to simplify
2656 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2658 * src/hildon-app-menu.c (hildon_app_menu_map)
2659 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2660 so it's closed if a new window appears.
2662 Fixes: NB#104485 (Not able to address the call when application
2663 menu is opened at background)
2665 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2668 missing 'break' statement in in 'case' construct to avoid
2671 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-touch-selector-entry.c
2674 (hildon_touch_selector_entry_get_property),
2675 (hildon_touch_selector_entry_set_property): Add missing 'break'
2676 statements in in 'case' constructs to avoid incorrect warnings.
2678 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-time-editor.c
2681 (hildon_time_editor_get_time_separators): Do not crash if
2682 the first label is NULL.
2684 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-date-selector.c (_month_days): Check for month to be
2687 strictly less than 12, since otherwise we may overrun the array.
2689 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2691 * src/hildon-date-button.c (+hildon_date_button_new_full)
2692 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2693 (hildon_date_button_init): Set the date selector using a
2694 construction property, to make it happen after HildonButton's
2695 "value" property is set.
2697 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2698 current date by default)
2700 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2702 * doc/hildon-sections.txt
2703 * src/hildon-program.c
2704 * src/hildon-stackable-window.c
2705 * src/hildon-window.c:
2706 Documentation updates
2708 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2710 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2711 (hildon_window_stack_new, +hildon_window_stack_set_property)
2712 (+hildon_window_stack_get_property)
2713 (hildon_window_stack_class_init)
2714 (+hildon_window_stack_set_window_group)
2715 (+hildon_window_stack_get_window_group):
2716 Make the window group a construction property.
2718 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2720 * doc/hildon-sections.txt
2721 * src/hildon-stackable-window-private.h
2722 * src/hildon-stackable-window.h
2723 * src/hildon-stackable-window.c
2724 (-hildon_stackable_window_set_app_menu)
2725 (-hildon_stackable_window_get_app_menu)
2726 (-hildon_stackable_window_toggle_menu)
2727 (-hildon_stackable_window_finalize)
2728 (hildon_stackable_window_class_init)
2729 (hildon_stackable_window_init)
2730 * src/hildon-window-private.h
2731 * src/hildon-window.h
2732 * src/hildon-window.c (hildon_window_init)
2733 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2734 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2735 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2736 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2737 Moved all HildonAppMenu code to HildonWindow. The menu does not
2738 require a HildonStackableWindow anymore.
2740 * src/hildon-app-menu.c
2741 * src/hildon-program.c
2742 * examples/hildon-app-menu-example.c (main):
2743 Update examples and documentation to reflect HildonAppMenu
2746 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2748 * src/hildon-remote-texture.c
2749 * src/hildon-animation-actor.c:
2750 Don't include unused private headers.
2752 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-program-private.h
2755 * src/hildon-program.c
2756 (hildon_program_set_common_menu)
2757 (hildon_program_get_common_menu)
2758 (hildon_program_set_common_app_menu)
2759 (hildon_program_get_common_app_menu):
2760 Change common menu pointers from GtkWidget* to GtkMenu* and
2761 HildonAppMenu* to avoid unnecessary casts.
2763 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-window.c (hildon_window_set_main_menu):
2766 Removed incorrect 'Since:' tag
2768 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2770 * src/hildon-pannable-area.c,
2771 (hildon_pannable_area_calculate_velocity): We use now the
2772 RATIO_TOLERANCE here to check the distance, fixed typo in the
2774 (hildon_pannable_area_motion_notify_cb): We have to set the type
2775 and time even if we are not sending the motion.
2777 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2779 * doc/hildon-sections.txt
2780 * src/hildon-app-menu.h
2781 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2782 (+hildon_app_menu_get_filters): New methods to get the contents of
2785 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2788 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-app-menu.c (hildon_app_menu_popup):
2793 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-window.h
2796 * src/hildon-window.c (+hildon_window_get_main_menu)
2797 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2798 and deprecated hildon_window_get_menu().
2800 * src/hildon-stackable-window.h
2801 * src/hildon-stackable-window.c
2802 (+hildon_stackable_window_set_app_menu)
2803 (+hildon_stackable_window_get_app_menu)
2804 (hildon_stackable_window_set_main_menu): Created
2805 hildon_stackable_window_{get,set}_app_menu() and deprecated
2806 hildon_stackable_window_set_main_menu().
2808 * doc/hildon-sections.txt
2809 * examples/hildon-app-menu-example.c (main)
2810 * src/hildon-app-menu.c
2811 * src/hildon-program.c:
2812 Updated examples and documentation.
2814 Fixes: NB#103758 (No way to obtain a menu from a
2815 HildonStackableWindow)
2817 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2822 * configure.ac: Bump version.
2823 * debian/changelog: Updates.
2825 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2827 * examples/hildon-remote-texture-example.c: Include
2828 hildon-remote-texture.h explicitely.
2829 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2830 applications not defining _XOPEN_SOURCE which don't require this header.
2832 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2834 * doc/hildon-sections.txt
2835 * src/hildon-app-menu.h
2836 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2837 New function to pop up a HildonAppMenu
2839 * src/hildon-stackable-window.c
2840 (hildon_stackable_window_toggle_menu):
2841 Use hildon_app_menu_popup() to show the menu.
2843 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-app-menu.c (hildon_app_menu_show)
2846 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2847 menu if there's another window between it and its parent window.
2849 Fixes: NB#100468 (Application menu window is launched even when a
2850 new secondary-window/dialog is pending to be shown/realized)
2852 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-window-stack.c (hildon_window_stack_push)
2855 (hildon_window_stack_pop_and_push):
2856 Don't forget to push/pop the first window.
2857 Reverse the window list before calling _push_list()
2859 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-picker-button.h
2862 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2863 Remove "value_changed" slot to avoid ABI breakage
2865 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2867 * src/hildon-pannable-area.c,
2868 (hildon_pannable_area_realize),
2869 (hildon_pannable_area_unrealize),
2870 (hildon_pannable_draw_vscroll),
2871 (hildon_pannable_draw_hscroll): Changed the method to handle the
2872 GC used to draw the transparent scrollbar, this way we avoid
2873 creating the GC all the time when drawing the scrollbars.
2875 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2877 * src/hildon-pannable-area.c,
2878 (hildon_pannable_area_init),
2879 (hildon_pannable_area_remove): Removed some unnecessary casts.
2880 (hildon_pannable_area_dispose): Disconnected some signals before
2881 releasing the adjustments.
2883 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2886 Make sure that all widgets contained in the toolbar are shown.
2888 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2890 * doc/hildon-sections.txt
2891 * src/hildon-picker-button.h
2892 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2893 (_selection_changed, hildon_picker_button_on_dialog_response)
2894 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2895 New hildon_picker_button_value_changed() method.
2898 * src/hildon-picker-button-private.h
2899 * src/hildon-picker-button.c (hildon_picker_button_init)
2900 (+hildon_picker_button_disable_value_changed): Add protected
2901 function for disabling the "value-changed" signal.
2903 * src/hildon-date-button.c (hildon_date_button_set_date):
2904 Don't emit "value-changed" for each one of the three columns.
2906 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2907 before actual change of values)
2909 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2911 * src/hildon-pannable-area.c,
2912 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2913 for the treeview overshooting.
2915 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-banner.c (+hildon_banner_bind_style):
2918 Renamed from hildon_banner_bind_label_style(), now naming the
2919 banner itself as well.
2920 (hildon_banner_show_information),
2921 (hildon_banner_show_information_with_markup),
2922 (hildon_banner_show_animation), (hildon_banner_show_progress):
2923 Name the widgets and labels, based on their type.
2925 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2928 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-note.c (hildon_note_set_property): call
2931 hildon_note_rename() on HildonNote:note-type set.
2932 (hildon_note_rename): Name the note and its label, based on the
2933 HildonNote:note-type property.
2935 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2938 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2940 * src/hildon-pannable-area.c,
2941 (hildon_pannable_area_class_init),
2942 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2943 panning parameters, increased SPS and deceleration factor. Added
2944 also a margin to control fake directions.
2946 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2948 Patch by Sven Herzberg (sven@imendio.com)
2950 * configure.ac: Add missing AM_PROG_CC_C_0
2951 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2953 See NB#101420 (Update unit tests and fix make check)
2955 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2957 This patch was applied before but reverted because it caused
2958 problems, we have changed the main condition and tested the
2959 regressions we detected before and they work ok. We have done a
2960 complete review of the topmost algorithm in order to get a more
2963 * src/hildon-pannable-area.c,
2964 (hildon_pannable_area_get_topmost): Added a new parameter to
2965 filter the the windows that do not include those events.
2966 (hildon_pannable_area_button_press_cb),
2967 (hildon_pannable_area_button_release_cb),
2968 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2969 topmost function, we have added the new parameter.
2971 Fixes: NB#97458 (Pannable area prevents propagation of button
2974 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2977 if all columns in the selector have an item selected.
2978 (_on_dialog_response): Stop "response" signal emission if there is
2979 any selector column without selected items.
2981 Fixes: NB#101889 (Picker dialog should not close when nothing is
2982 selected in multiple selection list)
2984 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-font-selection-dialog.c
2987 (hildon_font_selection_dialog_class_init),
2988 (hildon_font_selection_dialog_init): Remove the preview
2989 button and dialog, since previewing with default theming is likely
2990 to be overcomplicated. The :preview property has now no effect.
2991 Update documentation blurbs to inform about this.
2993 Fixes: NB#92297 (Preview content is not clearly visible for
2994 default colour text)
2996 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2998 Reviewed the geometry that handles the children size and
2999 scrollbar, now it tries a size and reviews the results depending
3000 on the scrollbars visibility.
3002 * src/hildon-pannable-area.c,
3003 (hildon_pannable_area_realize): Fixed a typo.
3004 (hildon_pannable_area_child_allocate_calculate): Added this
3005 function to calculate the child allocation.
3006 (hildon_pannable_area_size_allocate): Reviewed the allocation
3008 (hildon_pannable_area_check_scrollbars),
3009 (hildon_pannable_area_refresh): Refactored refresh function, this
3010 way we can call the code handling the scrollbars without causing a
3011 size_request, it is interesting in the allocate.
3012 (hildon_pannable_area_init): Replace the callbacks of the
3013 value_changed and changed signals to propertly deal with the
3015 (hildon_pannable_area_grab_notify),
3016 (hildon_pannable_area_initial_effect),
3017 (hildon_pannable_area_launch_fade_timeout),
3018 (hildon_pannable_area_adjust_changed),
3019 (hildon_pannable_area_adjust_value_changed),
3020 (hildon_pannable_area_redraw),
3021 (hildon_pannable_area_button_press_cb),
3022 (hildon_pannable_area_button_release_cb),
3023 (hildon_pannable_area_scroll_cb),
3024 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3025 code and use the new functions adjust_changed and
3026 adjust_value_changed.
3028 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3029 Contact editor dialog)
3031 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3036 * configure.ac: Bump version.
3037 * debian/changelog: Updates.
3039 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3041 * src/hildon-pannable-area.c,
3042 (hildon_pannable_area_get_topmost),
3043 (hildon_pannable_area_button_press_cb),
3044 (hildon_pannable_area_button_release_cb),
3045 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3046 topmost function adding the event mask. We have to try a
3047 differente approach because it is still causing problems (NB#9745,
3050 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-banner.c:
3053 Update the maximum width of timed banners.
3054 (force_to_wrap_truncated): Enforce the maximum text width if the
3057 Fixes: NB#102413 (The text margins (wrapping) in information
3058 banner should be HILDON_MARGIN_TRIPLE)
3060 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3062 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3064 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3065 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3066 bound when calculating the scroll indicator position.
3068 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3069 treat ->lower correctly)
3071 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3074 expose event handling, since it is not necessary to draw the focus
3077 Fixes: NB#102467 (Do not show highlight on the text in
3080 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3083 full height of the toolbar for the button and the label.
3085 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3088 padding before the label and after the button.
3090 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3094 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3095 Add a GtkVSeparator between the button and the back arrow.
3096 Let the button have automatic size.
3097 Set a name to the widget for theming handling.
3099 Fixes: NB#101793 (Make edit toolbar the same height as window
3100 title bar (use title area theming))
3102 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3104 * src/hildon-helper.c (attach_new_color_element): Fix memory
3107 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3109 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3111 * examples/hildon-button-example.c (common_buttons_window): Don't
3114 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3117 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3119 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3121 * src/hildon-gtk.c: Check that the window is realized.
3123 Fixes: NB#102225 (Crash setting the progress indicator to a non
3126 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3129 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3130 instead of modifying the one in the widget style.
3132 Fixes: NB#101043 (Second row of all the command button are
3133 displayed in transparent mode.)
3135 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-date-button.c
3138 * src/hildon-time-button.c: Add gettext macros
3140 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-date-button.c (hildon_date_button_new):
3143 * src/hildon-time-button.c (hildon_time_button_new_step):
3144 Use new logical strings to set the button default title.
3146 Fixes: NB#99915 (Date and Time options are not localised in Date
3149 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3151 * src/hildon-pannable-area.c
3152 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3153 the PANNING_THRESHOLD.
3155 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3157 * src/hildon-pannable-area.c,
3158 (hildon_pannable_area_class_init): Increased the maximum speed.
3159 (hildon_pannable_area_get_property),
3160 (hildon_pannable_area_set_property),
3161 (hildon_pannable_area_timeout): Added a new low friction mode, it
3162 allows the user avoid friction when launching the widget fast
3163 enough. It is interesting to traverse long lists.
3165 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3167 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3168 (+hildon_stackable_window_delete_event): Ignore delete events if
3169 the window is not the topmost one.
3171 Fixes: NB#101698 (Back button long press and delete-event handling)
3173 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-pannable-area.c,
3176 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3177 gtk-dnd-drag-threshold, it was too big. We have defined our own
3178 dnd define and set a smaller value: PANNIG_THRESHOLD.
3180 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3183 user-defined icons, use always the default one.
3185 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3187 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3189 This patch was applied before but reverted because it caused
3190 problems, we have changed the main condition and tested the
3191 regressions we detected before and they work ok.
3193 * src/hildon-pannable-area.c,
3194 (hildon_pannable_area_get_topmost): Added a new parameter to
3195 filter the the windows that do not include those events. Added
3196 also a condition when finding the window to filter windows that do
3197 not ask for those events.
3198 (hildon_pannable_area_button_press_cb),
3199 (hildon_pannable_area_button_release_cb),
3200 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3201 topmost function, we have added the new parameter.
3203 Fixes: NB#97458 (Pannable area prevents propagation of button
3206 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3208 * tests/check-hildon-color-button.c (START_TEST): do not leak
3211 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3213 * src/hildon-font-selection-dialog.c
3214 (hildon_font_selection_dialog_get_preview_text): Return NULL
3215 instead of FALSE on the g_return_val_if_fail().
3217 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3219 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3220 * src/hildon-date-selector.c
3221 (hildon_date_selector_select_current_date):
3222 Do not compare unsigned integers to be greater than or equal 0,
3223 because it's always TRUE.
3225 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3227 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3228 (hildon_date_selector_constructor): Do not select the current
3229 date until we are handle the "changed" signal, to avoid having bogus
3230 elements in the days model.
3232 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3235 for num_days, since _month_days() can return a negative value.
3237 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-caption.c (hildon_caption_size_allocate):
3240 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3241 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3243 Initialize allocation variables to 0, to avoid eventually using
3244 unitialized variables.
3246 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-bread-crumb-trail.c
3249 (hildon_bread_crumb_trail_size_allocate):
3250 * src/hildon-calendar.c (hildon_calendar_set_background):
3251 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3252 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3253 * src/hildon-seekbar.c (hildon_seekbar_init):
3254 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3255 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3256 * src/hildon-touch-selector-entry.c
3257 (hildon_touch_selector_get_text_from_model):
3258 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3259 * src/hildon-window.c (hildon_window_finalize):
3261 Remove many unused variables.
3263 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-seekbar.c: (hildon_seekbar_init),
3266 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3268 Remove unnecessary g_assert() calls.
3270 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3272 * src/hildon-caption.c: (hildon_caption_expose),
3273 (hildon_caption_set_property), (hildon_caption_init),
3274 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3275 (hildon_caption_size_request), (hildon_caption_size_allocate),
3276 (hildon_caption_forall), (hildon_caption_set_separator),
3277 (hildon_caption_activate), (hildon_caption_set_child_expand),
3278 (hildon_caption_set_label_text),
3279 (hildon_caption_get_label_alignment):
3281 Remove unnecessary g_assert() calls.
3283 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-banner.c
3286 (hildon_banner_map, hildon_banner_init): Make banner temporary
3287 before mapping it to avoid closing other temporary windows, but
3288 make it non-temporary afterwards to avoid being closed by other
3289 non-temporary windows.
3290 (-hildon_banner_client_event, hildon_banner_init):
3291 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3293 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3296 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3301 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3303 * src/hildon-remote-texture.c
3304 * src/hildon-remote-texture.h
3305 * src/hildon-remote-texture-private.h
3306 * examples/hildon-remote-texture-example.c:
3307 Updates/fixes to remote-texture and its example.
3309 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3311 Patch by Mox Soini (ext-mox.soini@nokia.com)
3313 * src/hildon-code-dialog.c: Update logical id.
3314 * src/hildon-set-password-dialog.c: Update logical id.
3316 Fixes: NB#100646 (Logical strings is shown for ok in set
3317 password,Password needed dialogs)
3319 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3322 * src/hildon-remote-texture.c
3323 * src/hildon-remote-texture.h
3324 * src/hildon-remote-texture-private.h
3326 Added remote texture widget (for Clutter shared memory textures)
3328 * examples/hildon-remote-texture-example.c
3329 * examples/Makefile.am
3330 Added example file for remote texture usage
3332 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3334 * configure.ac: post release version bump.
3335 * debian/changelog: version bump.
3337 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3342 * configure.ac: Bump version.
3343 * debian/changelog: Updates.
3345 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3347 * src/hildon-date-selector.c (hildon_date_selector_init)
3348 (hildon_date_selector_constructor): Don't connect to the "changed"
3349 signal until the selector is completely constructed.
3351 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-touch-selector.c: (_create_new_column),
3354 (hildon_touch_selector_append_column),
3355 (hildon_touch_selector_set_column_selection_mode),
3356 (hildon_touch_selector_set_active),
3357 (hildon_touch_selector_select_iter):
3358 Emit the HildonTouchSelector::changed signal every time selection
3359 is changed in any of the methods above. This behavior was already
3360 documented but not fully functional.
3362 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3363 selection is programmatically changed)
3365 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3367 * doc/hildon-sections.txt: Remove obsolete icon
3368 sizes from here as well.
3370 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3372 * examples/hildon-stackable-window-example.c (add_window): Remove
3375 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3377 * src/hildon-app-menu.c
3378 (hildon_app_menu_show): Check whether the parent window of a menu
3379 is topmost before popping it up.
3381 Fixes: NB#100468 (Application menu window is launched even when a
3382 new secondary-window/dialog is pending to be shown/realized.)
3384 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3386 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3389 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3391 Patch by Mox Soini (ext-mox.soini@nokia.com)
3393 * src/hildon-banner.c: (hildon_banner_show_animation):
3394 use stylus size instead of obsolete note size.
3395 * src/hildon-defines.h: Update icon sizes.
3397 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-touch-selector-entry.c:
3400 (hildon_touch_selector_entry_init): Disable unsupported
3402 (hildon_touch_selector_entry_get_text_column): Emit a warning
3403 if an unsupported input modes is used and explicitile state
3404 these modes in the documentation.
3406 Fixes: NB#99802 (Hildon touch selector entry not working properly
3407 for some of the input modes)
3409 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3411 * src/hildon-pannable-area.c,
3412 (hildon_pannable_area_init): Added the changed signal handlers of
3415 Fixes: NB#100320 (HildonPannableArea does not listen to
3416 GtkAdjustment "change" signals)
3418 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3420 * doc/hildon-sections.txt
3421 * src/hildon-window-private.h
3422 * src/hildon-window.h
3423 * src/hildon-window.c (hildon_window_init)
3424 (hildon_window_realize, hildon_window_unrealize)
3425 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3426 (hildon_window_size_request, hildon_window_size_allocate)
3427 (hildon_window_forall, hildon_window_show_all)
3428 (hildon_window_destroy, +paint_edit_toolbar)
3429 (+hildon_window_set_edit_toolbar):
3430 New hildon_window_set_edit_toolbar() method, to add a
3431 HildonEditToolbar to a window without having to pack it manually.
3433 Reorganize hildon_window_size_allocate()
3435 * src/hildon-edit-toolbar.c: Update documentation.
3437 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3438 example to use the new API.
3440 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3442 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3445 Remove from stack before calling parent's hide.
3447 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3450 window is removed from the middle of the stack, update the
3451 transiency of the previous one.
3453 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3456 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3459 block/unblock the signal handler if it's not actually being used.
3460 Fixes some critical warnings.
3462 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3464 Based on a patch by Iván Gómez (igomez@igalia.com)
3466 * src/hildon-banner.c
3470 * src/hildon-pannable-area.c
3471 * src/hildon-picker-dialog.c
3472 * src/hildon-wizard-dialog.h
3473 * src/hildon-wizard-dialog.c: Documentation updates.
3475 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3476 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3478 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3480 * configure.ac: post release version bump.
3481 * debian/changelog: version bump.
3483 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3488 * configure.ac: Bump version.
3489 * debian/changelog: Updates.
3491 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3493 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3494 a stock icon nor change the relief of the back arrow.
3496 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3497 graphics from theme)
3499 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-button.c (hildon_button_set_alignment): Use
3502 priv->alignment if the button has no child yet.
3504 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-button.c: (hildon_button_init): Set the
3507 button style during initialization to give it the proper
3510 Fixes: NB#99713 (HildonButton value label color is wrong)
3512 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3514 * src/hildon-touch-selector.c: Document
3515 hildon_touch_selector_center_on_selected()
3517 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3519 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3520 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3521 all menu items, but not the menu itself.
3522 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3523 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3524 items after adding them to the menu so keyboard accelerators work.
3525 (hildon_app_menu_show): Don't show the menu if it contains items
3526 but none of them are visible.
3528 * examples/hildon-app-menu-example.c (create_menu): Use
3529 gtk_widget_show_all() to show all menu items.
3531 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-picker-dialog.c:
3534 (-_update_title_on_selector_changed_cb),
3535 (-_dialog_update_title): Removed.
3536 (_select_on_selector_changed_cb), (_on_dialog_response),
3537 (on_selector_columns_changed): Do not update the dialog title.
3538 (setup_interaction_mode): Do not connect to
3539 HildonTouchSelector::changed signal if there's a "done" button, as
3540 the dialog title doesn't need to be updated.
3542 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3545 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3547 Patch by Kristian Rietveld (kris@imendio.com)
3549 * src/hildon-touch-selector.c: (_create_new_column): Use new
3550 GtkTreeView::hildon-row-tapped signal to react to user interactions
3551 instead of ::changed.
3553 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3554 with some dynamic tree model)
3556 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3558 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3559 (+screen_size_changed, +label_size_request)
3560 (hildon_note_class_init): Make the Hildon information note have a
3561 minimum height, and make its text hvae a maximum width.
3563 Fixes: NB#98614 (Hildon information note (background) should have
3564 minimum height and maximum text width)
3566 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-banner.h
3569 * src/hildon-banner.c (hildon_banner_show_information)
3570 (hildon_banner_show_informationf)
3571 (hildon_banner_show_information_with_markup): Update documentation
3572 to reflect that the icon_name parameter is not used anymore.
3573 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3574 Remove all code from these functions and mark them as deprecated.
3575 (hildon_banner_show_progress): Mark as deprecated.
3577 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3579 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3581 * src/hildon-pannable-area.c,
3582 (hildon_pannable_area_class_init),
3583 (tranparency_color),
3584 (hildon_pannable_draw_vscroll),
3585 (hildon_pannable_draw_hscroll),
3586 (hildon_pannable_area_expose_event): Added a new way to render the
3587 scrollbars of the pannable area avoiding using cairo at all. This
3588 way we improve the performance of the pannable area rendering. The
3589 cairo rendering procedure is still in the code, we can control
3590 which one to use changing the value of the define
3591 USE_CAIRO_SCROLLBARS.
3593 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3595 * configure.ac: post release version bump.
3596 * debian/changelog: version bump.
3598 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3603 * configure.ac: Bump version.
3604 * debian/changelog: Updates.
3606 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3609 banners instead of destroying them when they receive a button
3612 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3614 Reverted commit 34028, it was causing regressions, probably the
3615 topmost condition is not correct, we have to check it in more
3616 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3617 propagation of button press events)
3619 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3621 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3622 that the selection is not empty before attempting to retrieve the
3623 current ampm selection.
3625 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3627 * src/hildon-picker-button.c:
3628 (hildon_picker_button_on_dialog_response): Directly update the
3629 button contents when required instead of calling _selection_changed.
3631 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3633 * src/hildon-program.c (hildon_program_update_top_most): Update
3634 'is-topmost' property also when wm_hints is not set.
3636 Fixes: NB#98383 (is-topmost signal is not emitted when task
3637 switcher is clicked.)
3639 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3641 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3645 * src/hildon-animation-actor.c,
3646 * src/hildon-animation-actor.h: Added the animation actor class,
3647 this widget represents an animation actor for WM-assisted
3648 animation effects in the Hildon framework.
3650 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-window-stack-private.h
3653 * src/hildon-window-stack.c
3654 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3655 Avoid calling gtk_widget_show() again indirectly from
3656 hildon_stackable_window_show()
3658 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3663 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3666 (hildon_time_selector_init): Move the construction of the hours and
3667 ampm columns to the constructor to preserve the order the columns
3670 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-picker-dialog.c:
3673 (hildon_picker_dialog_class_init): Connect a realize method.
3674 (+hildon_picker_dialog_realize): Setup the interaction mode here
3676 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3677 yet, do it during the realize instead.
3678 (_on_dialog_response):
3679 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3680 if the widget is not realized, to avoid the dialog response before it
3683 Avoid premature responses in the HildonPickerDialog that can cause it
3684 to be hidden before it's even shown.
3686 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3688 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3689 (on_selector_columns_changed), (requires_done_button),
3690 (+prepare_action_area), (setup_interaction_mode),
3691 (_hildon_picker_dialog_set_selector):
3693 Split the interaction mode setup into preparation of the
3694 action area (prepare_action_area()) and the connection of
3695 the signals in setup_interaction_mode() and update the code to
3698 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3700 * src/hildon-pannable-area.c,
3701 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3702 per second to 15, we will check if this is ok regarding
3705 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3707 * src/hildon-pannable-area.c,
3708 (hildon_pannable_axis_scroll): Avoid resize if we already have
3709 reached overshoot_max.
3711 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3713 * src/hildon-pannable-area.c,
3714 (hildon_pannable_area_init),
3715 (hildon_pannable_area_realize),
3716 (hildon_pannable_area_size_allocate),
3717 (hildon_pannable_area_map),
3718 (hildon_pannable_area_unmap),
3719 (hildon_pannable_draw_vscroll),
3720 (hildon_pannable_draw_hscroll),
3721 (hildon_pannable_area_expose_event),
3722 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3723 pannable are to avoid the expose events go to the window and
3724 redraw the window. We save this way that part of the stack and the
3725 paint_boxes. We had to change the positions of the elements when
3728 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3730 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3731 * src/hildon-color-chooser-dialog.c:
3732 (hildon_color_chooser_dialog_init):
3733 * src/hildon-font-selection-dialog.c:
3734 (hildon_font_selection_dialog_init),
3735 (hildon_font_selection_dialog_show_preview):
3736 * src/hildon-get-password-dialog.c:
3737 * src/hildon-login-dialog.c:
3738 * src/hildon-set-password-dialog.c:
3739 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3740 * src/hildon-time-picker.c: (hildon_time_picker_init):
3742 Remove obsolete logical string IDs and update to the appropriate ones.
3744 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3746 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3749 that happens if the window hasn't been realized yet.
3751 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3752 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3754 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3757 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3760 Fixes: NB#98537 (Device hangs in account settings dialog)
3762 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3764 * configure.ac: post release version bump.
3765 * debian/changelog: version bump
3767 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3772 * configure.ac: Bump version.
3773 * debian/changelog: Updates.
3775 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3777 Added a new function to the HildonTimeButton widget that allows to
3778 change the step of the minutes in the selector associated with the
3779 button: hildon_time_button_new_step
3781 * src/hildon-time-button.c,
3782 (hildon_time_button_init),
3783 (hildon_time_button_new),
3784 (hildon_time_button_new_step):
3785 * src/hildon-time-button.h: Added the new function and refactored
3787 * examples/hildon-time-button-example.c,
3788 (main): We have replaced the function without parameters with the
3789 function with the steps set to 5
3791 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3793 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3795 * src/hildon-time-selector.c,
3796 (hildon_time_selector_class_init),
3797 (hildon_time_selector_constructor),
3798 (hildon_time_selector_get_property),
3799 (hildon_time_selector_set_property),
3800 (_create_minutes_model),
3801 (hildon_time_selector_new_step),
3802 (hildon_time_selector_set_time),
3803 * src/hildon-time-selector.h: Added a new property to the
3804 HildonTimeSelector (minutes-step), we use that property to control
3805 the steps between the minutes in the list of the selector. We have
3806 added a new function to the API to create a widget changing the
3807 step: hildon_time_selector_new_step.
3809 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3811 * src/hildon-time-selector.c,
3812 (hildon_time_selector_class_init),
3813 (hildon_time_selector_constructor),
3814 (hildon_time_selector_init): Overrided the construct function when
3815 creating the time selector object. We have moved the minutes model
3816 handling code from the init to the new construction function:
3817 hildon_time_selector_constructor.
3819 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3821 * examples/hildon-date-button-example.c: (main): Use the new
3822 hildon_date_button_new_with_year_range() method in the example.
3823 * src/hildon-date-button.c:
3824 (+hildon_date_button_new_with_year_range): New public method
3825 to conveniently create a HildonDateButton with a custom year range
3826 in its HildonDateSelector.
3827 * src/hildon-date-button.h: Add the new public method definition.
3829 Fixes: NB#97908 (Not possible to change the year range in
3830 HildonDateSelector/HildonDateButton)
3832 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3834 * src/hildon-date-selector.c:
3835 (+hildon_date_selector_set_property),
3836 (+hildon_date_selector_get_property),
3837 (hildon_date_selector_class_init): Install new properties "min-year"
3838 and "max-year" to define boundaries for the year column.
3839 (_create_year_model): Use the boundary properties to populate the model.
3840 (+hildon_date_selector_new_with_year_range): New public method to
3841 create a HildonDateSelector with a user defined year range.
3842 (hildon_date_selector_select_current_date): Use the new boundaries to
3843 calculate the iterator of current year.
3844 * src/hildon-date-selector.h: Add the new public method definition.
3846 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3848 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3849 Install a constructor method.
3850 (+hildon_date_selector_construct_ui): construct the widget.
3851 (+hildon_date_selector_constructor): new constructor.
3852 (+hildon_date_selector_init): move out widget construction code to
3853 the new constructor.
3855 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3858 that there's actually a month or year selected before obtaining them.
3859 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3860 of the HildonTouchSelector::changed signal, as it was emitted on every
3861 single item selection.
3863 Fix some warnings and possible crashers due to the selection restoring.
3865 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3868 the signal handlers only after creating the dialog instead of on every
3871 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-button.c (hildon_button_init)
3874 * src/hildon-check-button.c (hildon_check_button_init)
3875 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3876 focus when clicked by default.
3878 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3883 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3885 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3886 Alejandro G. Castro (alex@igalia.com)
3888 * src/hildon-picker-dialog.c:
3889 (hildon_picker_dialog_class_init): install new "center-on-show"
3891 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3892 (hildon_picker_dialog_set_property): add setter code for the new
3894 (hildon_picker_dialog_get_property): add getter code for the new
3896 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3897 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3900 Fixes: NB#92849 (Selected item is not always visible when
3901 HildonTouchSelector is shown)
3903 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3905 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3906 Alejandro G. Castro (alex@igalia.com)
3908 * src/hildon-touch-selector.c:
3909 (_create_new_column): Do not connect to the "realize" signal of the
3911 (hildon_touch_selector_append_column): center on the selected items
3912 when a new column is appended.
3913 (hildon_touch_selector_select_iter): Factor out the code to select a
3914 column to hildon_touch_selector_scroll_to().
3915 (+search_nearest_element): Method to retrieve the nearest selected
3916 element to the visible area of the pannable area in a column.
3917 (+on_realize_cb): scroll to the initially selected item.
3918 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3919 the pannable area is realized, otherwise delay this until it is.
3920 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3921 selected items of a given column.
3922 (+hildon_touch_selector_center_on_selected): Public method to center
3923 all columns on the nearest selected item.
3924 * src/hildon-touch-selector.h: Add definition for
3925 hildon_touch_selector_center_on_selected().
3927 Implement public API to ensure visibility of all selected items in
3928 a HildonTouchSelector.
3930 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3932 Fixed a problem in the fading when calling the scroll_to API, and
3933 improve scrollbar fading handling.
3935 * src/hildon-pannable-area.c,
3936 (hildon_pannable_area_grab_notify): avoid the timeout when the
3938 (hildon_pannable_area_button_press_cb),
3939 (hildon_pannable_area_motion_notify_cb): Code style changes.
3940 (hildon_pannable_area_button_release_cb): Review the conditions
3941 when releasing the mouse button to avoid unrequired fading
3943 (hildon_pannable_area_scroll_to): Do not calculate and set the
3944 velocity if the scroll is not required.
3946 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3948 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3949 Don't check whether the new selector is NULL: it cannot be.
3950 Hold a reference to the selector while doing the replacement.
3952 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3955 unnecessary size_request in a removed widget.
3957 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3959 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3960 an unnecessary reference tracking that was leaking.
3962 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3964 Added delayed motion notify event handling, this way we can
3965 discard redrawing if more than 25 events arrive per second.
3967 * src/hildon-pannable-area.c,
3968 (hildon_pannable_area_init): Initialized the new private atributes
3969 controlling this timeout
3970 (hildon_pannable_area_dispose): Remove the timeout that controls
3971 the motion notify events.
3972 (hildon_pannable_area_scroll): Added a condition to control the
3973 use of the acceleration.
3974 (hildon_pannable_area_motion_event_scroll_timeout),
3975 (hildon_pannable_area_motion_event_scroll): Added this two
3976 functions, they handle the motion notify events inside the
3978 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3979 to the scroll method with the new function.
3980 (hildon_pannable_area_button_release_cb): We have to remove the
3981 timeout handler and move to the last position if the last motion
3982 events were not handled.
3984 Fixes: NB#97028 (Pannable area updates on every motion event)
3986 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3988 * src/hildon-pannable-area.c,
3989 (hildon_pannable_area_get_topmost): Added a new parameter to
3990 filter the the windows that do not include those events. Added
3991 also a condition when finding the window to filter windows that do
3992 not ask for those events.
3993 (hildon_pannable_area_button_press_cb),
3994 (hildon_pannable_area_button_release_cb),
3995 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3996 topmost function, we have added the new parameter.
3998 Fixes: NB#97458 (Pannable area prevents propagation of button
4001 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pannable-area.c,
4004 (hildon_pannable_area_initial_effect): Added controls before
4005 launching the timeout and the idle functions.
4006 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4007 of the method, in some situations it can return with TRUE and 0 in
4009 (hildon_pannable_area_button_press_cb): We do not need to set
4010 DELAY for fading out here.
4012 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4014 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4016 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4017 post-cleaning if the selection is not NULL.
4019 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4021 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4022 all items before restoring the selection.
4024 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-touch-selector.c:
4027 (+hildon_touch_selector_unselect_all):
4028 * src/hildon-touch-selector.h: New API to unselect all items in a
4029 column of the touch selector.
4031 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4033 * src/hildon-pannable-area.c,
4034 (hildon_pannable_area_redraw): Added a call to the refresh
4035 function inside the redraw because apparently in some cases the
4036 change in the adjustment does not imply a size allocate.
4038 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4039 despite the view not being scrollable)
4041 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4044 leak. Check for NULL before attempting to set the window title.
4046 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4048 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4049 whether to show or not the 'Done' button each time the dialog is
4050 shown, as it depends on the HildonTouchSelector selection mode.
4052 Fixes: NB#96226 (In multiple selection mode Done button is shown
4053 sometimes in listpicker)
4055 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4058 for the number of columns in the HildonTouchSelector more than once.
4060 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4062 * src/hildon-touch-selector.c: Minor documentation fixes.
4064 * src/hildon-picker-dialog.c (+_dialog_update_title)
4065 (_select_on_selector_changed_cb)
4066 (_update_title_on_selector_changed_cb)
4067 (on_selector_columns_changed): Update dialog title when there's no
4068 'Done' button and also when the number of columns in the selector
4072 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4073 (+_selection_changed, hildon_picker_button_on_dialog_response)
4074 (hildon_picker_button_selector_selection_changed)
4075 (+hildon_picker_button_selector_columns_changed)
4076 (hildon_picker_button_set_selector): Update button value and emit
4077 'value-changed' when the number of columns in the selector
4081 Fixes: NB#96225 (Dialog titles are not shown according to the
4082 values selected in the list picker)
4084 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4087 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4088 New "arrow-width" and "arrow-height" style properties to set the
4089 size of the arrow button.
4090 Set name of arrow button ("hildon-edit-toolbar-arrow").
4092 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4093 graphics from theme)
4095 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-picker-button.c:
4098 (hildon_picker_button_selector_selection_changed): Use
4099 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4100 the dialog is present.
4102 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4103 the selection is accepted in the dialog)
4105 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4107 * src/hildon-color-chooser.h
4108 * src/hildon-color-chooser-dialog.h:
4109 Added G_BEGIN_DECLS and G_END_DECLS
4111 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4113 (_clean_current_selection): plug a leak in the list.
4115 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-picker-dialog.c:
4118 (+free_path_list): Method to free a GList of GtkTreePaths.
4119 (_clean_current_selection), (_save_current_selection),
4120 (_restore_current_selection): Save the current selection in
4121 as a list of lists, to support multiple selection properly.
4123 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4125 patch by Claudio Saavedra (csaavedra@igalia.com)
4127 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4128 Store the press position.
4129 (+hildon_text_view_button_release_event): If the release position is
4130 close enough to the press position, move the cursor here. Otherwise,
4132 (hildon_text_view_class_init): Override GtkTextView press, release, and
4133 motion event handlers, disabling this way text selection through
4134 pointer interaction, and allowing the container widget to handle the
4137 Fixes: NB#95828 (HildonTextView functionality)
4139 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4141 Based on a patch by Iván Gómez (igomez@igalia.com)
4143 * src/hildon-button.[ch]
4144 * src/hildon-calendar.c
4145 * src/hildon-check-button.c
4146 * src/hildon-date-editor.c
4147 * src/hildon-date-selector.c
4148 * src/hildon-picker-button.c
4149 * src/hildon-time-editor.c
4150 * src/hildon-time-selector.c
4151 * src/hildon-touch-selector.[ch]:
4152 Documentation updates
4154 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4156 * src/hildon-pannable-area.c,
4157 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4158 threshold, it was required due to X events handling.
4160 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4162 * src/hildon-pannable-area.c,
4163 (hildon_pannable_area_grab_notify),
4164 (hildon_pannable_area_initial_effect),
4165 (hildon_pannable_area_button_press_cb),
4166 (hildon_pannable_area_button_release_cb),
4167 (hildon_pannable_area_scroll_cb),
4168 (hildon_pannable_area_scroll_to): Review the timeout management of
4169 the scrollbar, the frecuency was incorrectly set.
4171 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-picker-button.c:
4174 (+hildon_picker_button_on_dialog_response),
4175 (hildon_picker_button_clicked): Present the dialog instead of
4176 running it with gtk_dialog_run().
4178 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4181 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4183 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4184 (hildon_app_menu_finalize): When a window is hidden it doesn't
4185 emit notify::is-topmost, so make sure than the menu also
4186 disappears in that case.
4187 (parent_window_topmost_notify): Renamed from parent_window_hidden
4189 Fixes: NB#94460 (stackable window's menu is not closed when its
4192 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-touch-selector-entry.c:
4195 (+hildon_touch_selector_entry_set_input_mode),
4196 (+hildon_touch_selector_entry_get_input_mode):
4197 * src/hildon-touch-selector-entry.h: New methods to access the input
4198 mode in the selector's entry.
4200 Fixes: NB#93410 (API required for setting IM mode in
4201 HildonTouchSelectorEntry)
4203 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4205 * configure.ac: post release version bump.
4206 * debian/changelog: version bump
4208 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4213 * configure.ac: Bump version.
4214 * debian/changelog: Updates.
4216 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4218 * src/hildon-touch-selector.c:
4219 (_hildon_touch_selector_has_multiple_selection): No need
4220 to initialize the variables here.
4222 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-note-private.h
4225 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4226 (hildon_note_finalize, hildon_note_rebuild): Close information
4227 notes when they receive a button press.
4229 Fixes: NB#89890 (Information notes does not get disappeared after
4232 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4235 mark from the wizard title, as it's not really necessary. Also,
4236 do not display the page title if not set.
4238 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4240 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4241 (parent_window_hidden): Use the window's "is-topmost" property to
4242 detect when to hide the menu.
4244 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4246 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4247 (hildon_app_menu_finalize): If the parent window of the menu is
4248 hidden, hide the menu too.
4250 Fixes: NB#94460 (stackable window's menu is not closed when its
4253 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4256 * debian/libhildon1-examples.install
4258 * examples/Makefile.am:
4259 Use dh_install to install all examples.
4260 Use DEB_SRCDIR instead of defining SOURCE_DIR
4262 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4264 * configure.ac: post release version bump.
4265 * debian/changelog: version bump
4267 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4272 * configure.ac: bump version
4273 * debian/changelog: updates
4274 * debian/control: bump gtk+ dependency
4276 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4278 patch by Christian Dywan (christian@imendio.com)
4280 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4281 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4283 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-check-button.c (hildon_check_button_init)
4286 (hildon_check_button_class_init, hildon_check_button_style_set)
4287 (hildon_check_button_apply_style):
4288 New "checkbox-size" style property.
4290 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4291 larger / configurable size)
4293 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4295 * configure.ac: post release version bump.
4296 * debian/changelog: version bump
4298 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4303 * configure.ac: bump version
4304 * debian/changelog: updates
4306 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4308 * doc/hildon-sections.txt
4309 * src/hildon-pannable-area.c
4310 * src/hildon-program.c
4311 * src/hildon-time-editor.c
4312 * src/hildon-touch-selector-entry.c:
4314 More documentation updates.
4316 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4318 * doc/hildon-sections.txt
4319 * src/hildon-caption.c
4320 * src/hildon-code-dialog.c
4321 * src/hildon-color-button.c
4322 * src/hildon-controlbar.c
4323 * src/hildon-date-editor.c
4324 * src/hildon-date-selector.c
4325 * src/hildon-edit-toolbar.c
4326 * src/hildon-find-toolbar.c
4327 * src/hildon-font-selection-dialog.c
4329 * src/hildon-program.c
4330 * src/hildon-range-editor.c
4331 * src/hildon-seekbar.c
4332 * src/hildon-time-editor.c
4333 * src/hildon-time-selector.c
4334 * src/hildon-volumebar-range.c
4335 * src/hildon-volumebar.c
4336 * src/hildon-vvolumebar.c
4337 * src/hildon-weekday-picker.c
4338 * src/hildon-window.c
4339 * src/hildon-wizard-dialog.c:
4341 Lots of documentation fixes.
4343 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4345 Patch contributed by Iván Gómez (igomez@igalia.com)
4347 * src/hildon-check-button.c:
4348 * src/hildon-date-button.c:
4349 * src/hildon-date-selector.c:
4350 * src/hildon-dialog.c:
4351 * src/hildon-edit-toolbar.c:
4352 * src/hildon-entry.c:
4353 * src/hildon-picker-button.c:
4354 * src/hildon-program.c:
4355 * src/hildon-text-view.c:
4356 * src/hildon-time-button.c:
4357 * src/hildon-touch-selector-entry.c:
4358 * src/hildon-window-stack.c:
4360 Add more "since" tags to the new API.
4362 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4364 * doc/hildon-sections.txt: Add below method.
4365 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4366 version for the hildonized scale.
4367 * src/hildon-gtk.h: Add the definition.
4369 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4371 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4373 * doc/hildon-sections.txt: Add missing entries for new methods.
4375 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4377 Added API to pannable are in order to get its adjustments. We
4378 added two properties to manage the values we had in the private
4381 * src/hildon-pannable-area.c:
4382 (hildon_pannable_area_class_init): Added hadjustment and
4383 vadjustment properties in order to expose horizontal and vertical
4385 (hildon_pannable_area_get_property),
4386 (hildon_pannable_area_set_property): Added code to handle the new
4388 (hildon_pannable_area_get_hadjustment),
4389 (hildon_pannable_area_get_vadjustment): API functions to get the
4391 * src/hildon-pannable-area.h:
4392 (hildon_pannable_area_get_hadjustment),
4393 (hildon_pannable_area_get_vadjustment): API functions to get the
4396 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4398 Fixed some leaks, after valgrinding.
4400 * src/hildon-touch-selector.c:
4401 (_default_print_func): Fixed a leak.
4402 (hildon_touch_selector_append_column): Fixed a leak.
4403 * src/hildon-date-button.c:
4404 (hildon_date_button_init): Fixed a leak.
4405 * src/hildon-date-selector.c
4406 (hildon_date_selector_finalize): Fixed a leak.
4408 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4410 Based on a patch by Christian Dywan (christian@imendio.com)
4412 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4414 * src/hildon-gtk.h: Add definition.
4416 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4418 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4420 * src/hildon-picker-button.c: (hildon_picker_button_init),
4421 (hildon_picker_button_new): Set the HildonButton::style property
4422 in the init method, to propagate the value to the derived classes.
4424 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4426 * src/hildon-button.c: (hildon_button_class_init): Do not make
4427 the "style" property a construct property.
4429 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4431 * src/hildon-wizard-dialog.h
4432 * src/hildon-wizard-dialog.c
4433 (hildon_wizard_dialog_set_forward_page_func)
4434 * src/hildon-pannable-area.h
4435 * src/hildon-pannable-area.c
4436 (hildon_pannable_area_set_size_request_policy):
4437 Documentation fixes.
4439 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4441 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4443 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4445 * doc/hildon-sections.txt: Added sections file.
4447 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4450 * src/*.[ch]: Updates.
4452 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4454 * examples/hildon-progress-indicator-example.c: new file
4455 * examples/Makefile.am: include the new example program
4457 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4461 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4463 * configure.ac: post release version bump
4464 * debian/changelog: version bump
4466 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4471 * configure.ac: bump version
4472 * debian/changelog: updates
4473 * debian/control: bump gtk+ dependency
4475 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-dialog.c: Mark as deprecated.
4478 * src/hildon-dialog.h: Mark as deprecated.
4479 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4480 from HildonDialog and still work, even if
4481 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4482 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4484 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4485 maemo changes) instead)
4487 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4489 * src/hildon-pannable_area.h:
4490 * src/hildon-pannable_area.c:
4491 (hildon_pannable_area_class_init),
4492 (hildon_pannable_area_set_property),
4493 (hildon_pannable_area_get_property),
4494 (hildon_pannable_area_size_request),
4495 (hildon_pannable_area_get_size_request_policy),
4496 (hildon_pannable_area_set_size_request_policy): Added new API
4497 allowing applications to control the request policy. Now they can
4498 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4499 children allocation (HILDON_MOVEMENT_CHILDREN).
4501 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4505 (hildon_gtk_tree_view_set_ui_mode)
4506 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4507 mode of treeviews and iconviews.
4509 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-touch-selector-entry.c:
4512 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4513 of a GtkEntry to get proper theming.
4515 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4516 widget, not GtkEntry)
4518 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4520 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4521 no HildonWizardDialogPageFunc.
4523 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4525 Patch contributed by Iván Gómez (igomez@igalia.com)
4527 * src/hildon-app-menu.c:
4528 * src/hildon-button.c:
4529 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4530 * src/hildon-stackable-window.c:
4531 * src/hildon-time-selector.c:
4532 * src/hildon-touch-selector.c:
4533 * src/hildon-window.c:
4535 Add more "since" tags to the new API in hildon 2.2.
4537 2008-12-05 Tim Janik <timj@imendio.com>
4539 Patch contributed by Christian Dywan (christian@imendio.com)
4541 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4542 HildonSizeType, which are supplied by Gtk+ now.
4544 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4546 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4547 (with maemo changes) instead)
4549 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4551 Patch contributed by Iván Gómez (igomez@igalia.com)
4553 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4556 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4558 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4559 (some_page_func), (main): Update the example to use a
4560 HildonWizardDialogPageFunc function.
4562 * src/hildon-wizard-dialog-private.h: Add private data for
4563 the HildonWizardDialogPageFunc function usage.
4565 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4566 (destroy), (hildon_wizard_dialog_init), (response),
4567 (hildon_wizard_dialog_set_forward_page_func):
4568 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4569 that applications can use to stop a HildonWizardDialog to jump to
4572 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4575 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4577 * src/hildon-program.h
4578 * src/hildon-program-private.h
4579 * src/hildon-program.c (hildon_program_init)
4580 (hildon_program_set_common_app_menu)
4581 (hildon_program_get_common_app_menu):
4582 New API for setting a common HildonAppMenu for all
4583 HildonStackableWindows registered with the HildonProgram.
4585 * src/hildon-stackable-window.c
4586 (hildon_stackable_window_toggle_menu):
4587 Use the common HildonAppMenu if a window doesn't have a specific
4590 * src/hildon-app-menu-private.h
4591 * src/hildon-app-menu.c
4592 (hildon_app_menu_get_parent_window):
4593 Function to obtain the window a HildonAppMenu is attached to.
4594 (hildon_app_menu_set_parent_window):
4595 Hide the menu if the parent window is set to NULL.
4597 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4600 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4601 search widget to popup.
4603 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4605 * configure.ac: post release version bump
4606 * debian/changelog: version bump
4608 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4613 * configure.ac: bump version
4614 * debian/changelog: updates
4616 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4618 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4620 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4621 (hildon_window_stack_window_realized)
4622 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4623 Set the leader GdkWindow when a window is stacked and realized,
4624 unset it when it's unstacked.
4625 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4627 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4629 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-stackable-window.h
4632 * src/hildon-window-stack.h:
4633 Protect definition of HildonWindowStack using the preprocessor.
4635 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4637 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4638 Fix warning if all menu items are hidden.
4640 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4642 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4644 * src/hildon-controlbar.c:
4645 * src/hildon-hvolumebar.c:
4646 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4647 Multiple scale size defines updates.
4649 Fixes: NB#94322 (Scale Updates)
4651 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4653 * examples/hildon-app-menu-example.c (create_menu)
4654 Show items after adding them to the menu, as in the future the
4655 menu will no longer call gtk_widget_show() on the added items.
4657 * src/hildon-app-menu.c:
4658 Update example as explained above.
4660 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-app-menu.c
4663 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4664 Make sure that all menu items have finger height.
4666 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4668 * src/hildon-picker-dialog.c:
4669 (_on_dialog_response), (_save_current_selection),
4670 (_restore_current_selection), (_clean_current_selection),
4671 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4672 Defined new functions in order to save the current internal selector
4673 selection previous open the dialog, in case that the use cancel the
4674 interaction, so the widget restores the previous selection.
4676 Fixes: NB#92032 (In calendar application, date values in 'new event'
4679 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4681 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4683 * src/hildon-button.c: Add a reference to the button examples in
4684 hildon-button-example.c
4686 * examples/hildon-button-example.c: Added examples of the most
4687 common button layouts.
4689 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-app-menu.c (hildon_app_menu_show)
4692 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4694 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4696 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4698 * src/hildon-picker-dialog.c:
4699 (hildon_picker_dialog_init): Initialize the signal id for
4700 HildonTouchSelector::columns-changed.
4701 (+on_selector_columns_changed): Set up the interaction mode everytime a
4702 column is added or removed from the HildonTouchSelector.
4703 (_hildon_picker_dialog_set_selector): Connect to
4704 HildonTouchSelector::columns-changed and keep track of it.
4706 Make sure to update the interaction mode of the dialog everytime a
4707 column is added or removed in the HildonTouchSelector.
4709 Fixes: NB#93228 (Done button is not shown always in listpicker)
4711 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4714 a new ::columns-changed signal.
4715 (hildon_touch_selector_append_column): Emit ::columns-changed.
4716 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4718 Add a ::columns-changed signal, emitted when the number of columns in a
4719 HildonTouchSelector changes.
4721 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4724 (_hildon_picker_dialog_set_selector): Factor out the code
4725 to set up the dialog interaction mode.
4727 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4729 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4730 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4731 to signal_changed_id.
4733 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4735 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4738 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4740 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4741 Updated the logical ids related to ampm format, as now it is required to
4742 show it correctly localized even on languages with no default
4743 abbreviations for am or pm
4744 (_check_am_pm_format): check correctly the 24h format gconf property
4746 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4748 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4750 * src/hildon-button.c: Documentation updates.
4752 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4755 * src/hildon-caption.c: (hildon_caption_class_init):
4756 * src/hildon-color-button.c: (hildon_color_button_class_init):
4757 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4758 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4759 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4760 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4762 Remove deprecated GTK+ marshalers and replace them with the ones
4763 provided by GLib, for those available, add a marshaler for
4764 BOOLEAN:VOID, which is not available in GLib, and use it.
4766 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4768 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4769 the text from the previous column if there is no
4770 HildonTouchSelectorColumn::text-property set.
4772 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-button.h
4775 * src/hildon-button.c (hildon_button_set_property)
4776 (hildon_button_get_property, hildon_button_class_init)
4777 (hildon_button_set_style, hildon_button_get_style):
4778 New "style" property to change the visual appearance of the
4781 * src/hildon-picker-button.c (hildon_picker_button_new):
4782 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4784 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4785 HildonButton look like PickerButton)
4787 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4789 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4790 column while building the default string.
4792 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4794 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4795 scroll indicator by default.
4797 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4799 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-main.c: Fix the documentation for hildon_init()
4803 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4805 * doc/hildon-docs.sgml
4809 * src/hildon-window-stack-private.h
4810 * src/hildon-window-stack.h
4811 * src/hildon-window-stack.c:
4812 New HildonWindowStack object, that adds support for multiple
4813 stacks of windows per process.
4815 * src/hildon-stackable-window-private.h
4816 * src/hildon-stackable-window.h
4817 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4818 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4819 (hildon_stackable_window_show, hildon_stackable_window_hide)
4820 (hildon_stackable_window_class_init)
4821 (hildon_stackable_window_init):
4822 Use HildonWindowStack for stack management.
4824 * src/hildon-program.c (hildon_program_pop_window_stack)
4825 (hildon_program_peek_window_stack)
4826 (hildon_program_go_to_root_window):
4827 Add a fallback implementation to the deprecated functions using
4830 * examples/hildon-stackable-window-example.c:
4831 Use the new HildonWindowStack API.
4833 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-stackable-window-private.h
4836 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4837 (hildon_stackable_window_hide, hildon_stackable_window_init):
4838 Remove all window stack management.
4840 * src/hildon-program-private.h
4841 * src/hildon-program.h
4842 * src/hildon-program.c (hildon_program_init)
4843 (hildon_program_pop_window_stack)
4844 (hildon_program_peek_window_stack)
4845 (hildon_program_go_to_root_window):
4846 Remove all window stack management and mark functions as
4849 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-app-menu.c (hildon_app_menu_realize):
4852 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4854 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4856 * configure.ac: post release version bump
4857 * debian/changelog: version bump
4859 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4864 * configure.ac: bump version
4865 * debian/changelog: updates
4867 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4869 Based on initial code by Christian Dywan (christian@imendio.com)
4871 * doc/hildon-docs.sgml: Add section for hildon-main.
4872 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4873 * src/Makefile.am: Add new hildon-main.[ch]
4874 * src/hildon-defines.h: Update the icon sizes.
4875 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4876 new library initialization files and register icon sizes.
4877 * src/hildon-main.h: New declarations.
4878 * src/hildon.h: Include hildon-main.h
4880 Add new initialization functions to the library. These methods
4881 will register the hildon specific icon sizes and can be used in the
4882 future for other hildon specific bits.
4884 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4886 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-window.c: (hildon_window_realize),
4889 (hildon_window_notify), (-hildon_window_update_title): Do not set
4890 the application name in the window title.
4892 Fixes: NB#89754 (Applications shouldn't display their names in the
4895 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4897 * src/hildon-note-private.h:
4898 * src/hildon-note.c: (hildon_note_set_property),
4899 (hildon_note_get_property), (hildon_note_class_init),
4900 (hildon_note_init), (hildon_note_finalize),
4901 (hildon_note_new_confirmation_with_icon_name),
4902 (hildon_note_new_information_with_icon_name):
4904 No need to mark as deprecated the actual code. Revert
4905 to avoid missing symbols in widgets using deprecated API.
4907 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4909 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4911 * src/hildon-volumebar.h
4912 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4913 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4915 * src/hildon-helper.h
4916 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4917 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4919 * examples/Makefile.am:
4920 Deprecate hildon-insensitive-example
4922 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4924 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4926 * examples/hildon-pannable-area-buttons-scroll-example.c:
4927 Make all buttons finger height
4929 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4931 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4933 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4934 update the day model only if it is really required, and to avoid the
4935 full-reconstruction aproach. Now it only add or remove the required days.
4937 The purpose of this is avoid superfluous HildonTouchSelector::changed
4940 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4941 with strange parameters)
4943 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4945 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4947 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4948 the WINDOW_TYPE property.
4950 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4952 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4955 Fix dependency to allow parallel compilation with make -jX
4957 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4960 color frame and some minor tweaks to make it more consistent with
4963 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4964 highlighted but not visible)
4966 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4968 * examples/Makefile.am: Fixed typo in the Makefile.am.
4970 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4972 Reviewed the use of MAEMO_GTK define, now we add the define in the
4973 compilation line, and we also add it to the pc file.
4975 * configure.ac: Added MAEMO_GTK define to the compilation command
4976 and removed it from the config.h.
4978 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4979 do not have to take care about this define if the library was
4983 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4985 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4987 * examples/Makefile.am,
4988 * examples/hildon-pannable-area-buttons-scroll-example.c,
4989 * examples/hildon-pannable-area-gesture-signals-example.c,
4990 * examples/hildon-pannable-area-scroll-jump-example.c,
4991 * examples/hildon-pannable-area-tree-view-example.c:
4992 Renamed the pannable area examples, now they have more meaningful
4995 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4997 * src/hildon-touch-selector.c:
4998 (hildon_touch_selector_set_column_selection_mode): Used of
4999 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5000 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5001 to avoid re-seting the same selection mode.
5003 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5004 breaks HildonPickerDialog)
5006 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5008 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5009 conditional in the Makefile.am
5011 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5013 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5014 Remove unused methods.
5016 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5018 * src/hildon-button.c (hildon_button_init):
5019 Make button images center-aligned by default
5021 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5024 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5025 activated, we have to think about how to deal with both defines
5026 MAEMO_GTK and MAEMO_CHANGES.
5028 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5030 * examples/hildon-app-menu-example.c (create_menu): Make all
5031 buttons finger size.
5033 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5035 Fixed the compilation without maemo gtk adding ifdefs with
5036 MAEMO_GTK define to the code, we have to check this version more
5039 * examples/Makefile.am: Added control to avoid some examples that
5040 just make sense with maemo gtk.
5043 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5044 hildon modes with the define.
5046 * examples/hildon-edit-toolbar-example.c,
5047 (create_icon_view): Create the icon view without hildon-gtk
5048 helpers if we are not using maemo gtk.
5050 * src/hildon-touch-selector.c,
5051 (_create_new_column): Create the treeview without hildon-gtk
5052 helpers if we are not using maemo gtk.
5054 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5056 * src/hildon-pnnable-area.c,
5057 (hildon_pannable_area_dispose),
5058 (hildon_pannable_area_button_press_cb),
5059 (hildon_pannable_area_child_mapped),
5060 (hildon_pannable_area_add),
5061 (hildon_pannable_area_remove): Added code to control the position
5062 of the event_window when adding and removing children from the
5063 pannable. We have to raise the event window when the child is
5066 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5067 selection mode using custom widget inside pannable)
5069 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5071 * configure.ac: post release version bump
5072 * debian/changelog: version bump
5074 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5079 * configure.ac: bump version
5080 * debian/changelog: updates
5082 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5085 search mode, in order to avoid lose the focus on the treeview when
5086 a hw key (like enter) is pressed.
5088 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5089 in HildonDateSelector dialog)
5091 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5093 * debian/rules: Added --enable-maintainer-mode
5094 * Makefile.am: Added ACLOCAL_AMFLAGS
5096 This allows to properly regenerate the Makefiles if you modify the
5097 configure.ac or any Makefile.am.
5099 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5101 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5102 properties, not needed at all.
5104 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5106 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5108 * src/hildon-note.c: (hildon_note_set_property),
5109 (hildon_note_get_property), (hildon_note_class_init),
5110 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5111 (hildon_note_new_confirmation_add_buttons): Remove icons.
5112 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5113 (hildon_note_new_information_with_icon_name): Deprecate.
5114 (hildon_note_new_confirmation): Act directly, without calling
5115 the deprecated constructor.
5116 (hildon_note_new_information): Act directly, without calling
5117 the deprecated constructor.
5118 * src/hildon-note.h: Mark deprecate methods as such.
5119 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5120 not run tests on the deprecated methods if built with deprecation
5123 Fixes: NB#91688 (Never show icons in information notes/confirmation
5126 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5129 (hildon_app_menu_key_press): Remove leftover usage of the
5130 private structure in HildonAppMenu struct.
5131 * src/hildon-app-menu.h: Remove leftover private structure
5132 from the HildonAppMenu struct.
5134 Fixes a crasher when using the HildonAppMenu.
5136 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5138 * src/hildon-picker-dialog.c: Use appropriate logical id
5139 for the default "Done" text.
5141 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5143 * configure.ac: post release version bump
5144 * debian/changelog: version bump
5146 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5148 Modified the way to scroll to the current selection just when the touch
5149 selector is shown on the screen, avoiding a g_idle. Added too a property
5150 to configure this behaviour. See hildon_pannable_area_jump_to_child
5151 documentation for more information.
5153 * src/hildon-touch-selector.c
5154 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5155 Added 'initial-scroll' property
5156 (hildon_touch_selector_set_property): Added
5157 (hildon_touch_selector_map): Removed as not required anymore
5158 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5159 only a concrete column, instead of iterate along all the columns
5161 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5166 * configure.ac: bump version
5167 * debian/changelog: updates
5169 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5171 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5172 compilation time warnings.
5174 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5176 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5177 the default value for HildonPannableArea::mov-mode to
5178 HILDON_PANNABLE_AREA_MODE_VERT.
5180 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5182 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5184 Reverting following commit:
5186 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5188 * src/hildon-app-menu-private.h
5189 * src/hildon-app-menu.[ch]
5190 * src/hildon-button.[ch]
5191 * src/hildon-check-button.[ch]
5192 * src/hildon-entry.[ch]
5193 * src/hildon-pannable-area.[ch]
5194 * src/hildon-text-view.[ch]:
5195 Added private field to the object's structure.
5197 because it causes an ABI breakage. We will need to introduce these
5198 changes later at some point. See NB#91636 for an extensive
5199 explanation and status.
5201 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5203 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5205 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5206 remove special cases that are no longer necessary.
5208 Fixes: NB#91016 (Change toolbar sizes, simplification)
5210 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5212 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5213 is shown in the cancel note.
5215 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5218 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5219 (hildon_seekbar_init): Remove steppers, remove expose event.
5220 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5222 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5224 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5227 label font to "SmallSystemFont" for vertically arranged buttons.
5229 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5232 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5234 * src/hildon-check-button.c
5235 (hildon_check_button_set_active, hildon_check_button_clicked):
5236 Don't access private parts directly, use getters instead.
5238 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5240 * src/hildon-check-button.c (hildon_check_button_new):
5241 Align the contents of the check button to the left.
5243 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5245 * src/hildon-pannable-area.c,
5246 (hildon_pannable_area_scroll_to),
5247 (hildon_pannable_area_jump_to),
5248 (hildon_pannable_area_scroll_to_child),
5249 (hildon_pannable_area_jump_to_child): Replace the mapped
5250 precondition of these functions with the realized, it is the
5251 correct state of the widget in this case. Changed the
5252 documentation according to this modification.
5254 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5256 Added a new EXTRA_CFLAGS option to add the deprecated define to
5257 the compilation command. This way we can avoid using the define in
5258 the documentation compilation.
5260 * configure.ac: Defined EXTRA_CFLAGS.
5262 * examples/Makefile.am:
5264 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5266 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5268 * src/hildon-picker-dialog.c:
5269 Defined a utility macro with the desired touch selector height
5270 Removed currently unused separator, and title_label variables from
5272 (hildon_picker_dialog_init): Removed code related to the creation
5273 of unused private variables title_label and separator.
5274 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5275 to ensure correct visualization of the touch selector inside the dialog.
5276 * src/hildon-touch-selector.c
5277 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5278 ensure a concrete height of the widget.
5280 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5283 * tests/Makefile.am:
5285 Remove spurious whitespaces.
5287 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5290 compilation warning after the cancel button removal.
5292 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5294 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5296 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5297 Makefile.am, that way we can choose not to compile some examples
5298 and tests of the deprecated widgets.
5300 * examples/Makefile.am: Divided the sources in deprecated and
5303 * src/Makefile.am: Added undef statement of the deprecated
5304 symbol to the enums file generation process.
5306 * src/hildon-color-chooser-dialog.c
5307 * src/hildon-color-chooser-dialog.h
5308 * src/hildon-color-button.c
5309 * src/hildon-color-button.h
5310 * src/hildon-color-chooser.c
5311 * src/hildon-color-chooser.h
5312 * src/hildon-controlbar.c
5313 * src/hildon-controlbar.h
5314 * src/hildon-date-editor.c
5315 * src/hildon-date-editor.h
5316 * src/hildon-hvolumebar.c
5317 * src/hildon-hvolumebar.h
5318 * src/hildon-private.c
5319 * src/hildon-private.h
5320 * src/hildon-range-editor.c
5321 * src/hildon-range-editor.h
5322 * src/hildon-seekbar.c
5323 * src/hildon-seekbar.h
5324 * src/hildon-time-editor.c
5325 * src/hildon-time-editor.h
5326 * src/hildon-time-picker.c
5327 * src/hildon-time-picker.h
5328 * src/hildon-volumebar.c
5329 * src/hildon-volumebar.h
5330 * src/hildon-vvolumebar.c
5331 * src/hildon-vvolumebar.h
5332 * src/hildon-bread-crumb-trail.h
5333 * src/hildon-bread-crumb-trail.c
5334 * src/hildon-calendar-popup.c
5335 * src/hildon-calendar-popup.h
5336 * src/hildon-weekday-picker.c:
5337 * src/hildon-weekday-picker.h:
5338 * src/hildon-bread-crumb-widget.c:
5339 * src/hildon-bread-crumb-widget.h:
5340 * src/hildon-bread-crumb.c:
5341 * src/hildon-bread-crumb.h:
5342 * src/hildon-calendar.c:
5343 * src/hildon-calendar.h:
5344 * src/hildon-caption.c:
5345 * src/hildon-code-dialog.c:
5346 * src/hildon-code-dialog.h:
5347 * src/hildon-font-selection-dialog.c:
5348 * src/hildon-font-selection-dialog.h:
5349 * src/hildon-get-password-dialog.c:
5350 * src/hildon-get-password-dialog.h:
5351 * src/hildon-login-dialog.c:
5352 * src/hildon-login-dialog.h:
5353 * src/hildon-number-editor.c:
5354 * src/hildon-number-editor.h:
5355 * src/hildon-set-password-dialog.c:
5356 * src/hildon-set-password-dialog.h:
5357 * src/hildon-sort-dialog.c:
5358 * src/hildon-sort-dialog.h: This is the list of deprecated
5361 * src/hildon-touch-selector.c:
5362 * src/hildon-window.c: Added undef statement to avoid compilation
5365 * tests/Makefile.am: Divided the sources in deprecated and
5368 * tests/check_test.c,
5369 (configure_tests): Marked the deprecated code that was adding
5370 suites with deprecated tests.
5372 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5374 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-touch-selector.c: (_default_print_func): Do not
5377 duplicate a string returned by gtk_tree_model_get(), it is already
5380 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5383 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5385 * src/hildon-pannable-area.c
5386 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5387 method, it had problems when adding a widget with viewport the
5388 second time. Now checks if it already has a viewport and uses it.
5390 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5393 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5395 * src/hildon-pannable-area.c,
5396 (hildon_pannable_area_scroll_to),
5397 (hildon_pannable_area_jump_to),
5398 (hildon_pannable_area_scroll_to_child),
5399 (hildon_pannable_area_jump_to_child): Added a precondition to the
5400 scroll and jump to functions: the widget must be mapped before we
5401 can safely call these functions. We have also added documentation
5402 to the functions to explain how to use them in this situation.
5405 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5407 Reviewed the threading handling of the pannable widget, we have
5408 used the gdk_threads_add_timeout function instead of the usual
5409 glib handlers. This avoids some problems with the threads.
5411 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5412 (hildon_pannable_area_initial_effect),
5413 (hildon_pannable_area_scroll_indicator_fade),
5414 (hildon_pannable_area_button_press_cb),
5415 (hildon_pannable_area_timeout),
5416 (hildon_pannable_area_motion_notify_cb),
5417 (hildon_pannable_area_button_release_cb),
5418 (hildon_pannable_area_scroll_cb),
5419 (hildon_pannable_area_scroll_to): Removed the
5420 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5421 gdk_threads_add_timeout.
5423 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5425 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5430 * configure.ac: bump version
5431 * debian/changelog: updates
5433 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5436 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5437 * src/hildon-color-chooser-dialog.c:
5438 (hildon_color_chooser_dialog_init):
5439 * src/hildon-font-selection-dialog.c:
5440 (hildon_font_selection_dialog_init):
5441 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5443 Remove all cancel/close-like dialogs, as these are not going to be
5446 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5448 * src/hildon-note.c: (hildon_note_rebuild),
5449 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5452 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5454 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5457 sure all buttons are shown, even the Cancel/Close-like ones.
5459 Fixes: NB#90861 (Custom Confirmation dialogs should be
5460 protected from cancel button removal)
5462 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5464 * debian/control: Change libhildon1-examples dependency from libhildon1
5466 * debian/libhildon1-examples.install
5468 * Makefile.am: Modified the final install directory for the examples on
5469 package libhildon1-examples
5470 * Makefile.static: Update clean target in order to remove all the binary
5473 Changes suggested by Claudio after review new libhildon1-examples package
5475 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5477 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5478 * src/hildon-touch-selector.c: Ditto.
5480 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5482 * debian/control: Added new package libhildon1-examples, in order to pack
5483 the current hildon examples as documentation
5484 * debian/rules: Not to compress .c files, modify some includes on the
5485 examples (as normally are compiled locally, but when installed it will
5486 require to include the installed libhildon1 library), and rename
5488 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5489 install all the example files on the new example package
5490 * examples/Makefile.static: Added static makefile that can be used to
5491 compile the examples, once installed the new example package
5492 * examples: Most of the examples were modified in order to grant that
5493 all use only '#include "hildon.h"', in order to be easy to prepare
5494 it on the example package
5496 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5499 * debian/libhildon1-dev.install
5500 * debian/libhildon1-doc.install:
5501 Move all gtk-doc files to a separate libhildon1-doc package.
5503 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5505 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5507 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5509 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5511 * debian/rules: Fixed a error in order to avoid unnecessary calls
5512 to autogen.sh on package building
5514 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5516 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5518 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5520 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5523 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5525 * src/hildon-picker-button.c
5526 (hildon_picker_button_finalize):
5527 Free priv->done_button_text
5529 * src/hildon-time-button.c
5530 (hildon_time_button_set_time)
5531 * src/hildon-picker-button.c
5532 (hildon_picker_button_clicked)
5533 (hildon_picker_button_selector_selection_changed)
5534 (hildon_picker_button_set_selector)
5535 * src/hildon-date-button.c
5536 (hildon_date_button_set_date):
5537 Free strings returned by hildon_touch_selector_get_current_text()
5539 * src/hildon-button.c (hildon_button_construct_child):
5540 Fix leaks in priv->image and priv->label_box
5542 Fixes: NB#90535 (Memory leak in picker button)
5544 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5546 * src/hildon-button.c: (hildon_button_get_property): Do not access
5547 private elements directly, use getters instead.
5549 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5551 * src/hildon-app-menu-private.h
5552 * src/hildon-app-menu.c
5553 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5554 Store the menu's parent window.
5556 * src/hildon-stackable-window.c
5557 (hildon_stackable_window_toggle_menu)
5558 (hildon_stackable_window_finalize):
5559 Set the menu's parent window when the menu is shown, unset it when
5562 * src/hildon-app-menu.c
5563 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5564 (hildon_app_menu_class_init):
5565 Send unhandled keyboard accelerators to the parent window.
5567 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-stackable-window.c
5570 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5572 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5574 * configure.ac: post release version bump
5576 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5579 * configure.ac: Bump version
5580 * debian/changelog: Updates
5581 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5584 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5586 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5589 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5590 GtkMenu with Hildon style.
5592 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/hildon-picker-button.c:
5595 (hildon_picker_button_set_done_button_text): Set the dialog's
5596 done button text here as well.
5598 Fixes: NB#90232 (Picker button does not set the label on done button
5599 for the second time)
5601 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5606 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-app-menu.c (hildon_app_menu_insert)
5609 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5610 the HildonAppMenu to be activatable using keyboard accelerators
5611 when the menu is not being shown.
5613 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5615 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-stackable-window.c
5618 (hildon_stackable_window_show):
5619 Don't hide old windows automatically when new windows are shown:
5620 this is now a task for the window manager.
5621 (hildon_stackable_window_class_init)
5622 (hildon_stackable_window_hide):
5623 Remove windows from the stack everytime they're hidden.
5624 (hildon_stackable_window_realize):
5625 Don't change the _NET_WM_WINDOW_TYPE property. Use
5626 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5627 it as a stackable window.
5629 * src/hildon-program.c
5630 (hildon_program_pop_window_stack):
5631 Just hide the window to remove it from the stack.
5632 (hildon_program_go_to_root_window):
5633 Don't call gtk_widget_show(), this is now a task for the window
5636 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5638 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5640 * src/hildon-button.c
5641 (hildon_button_construct_child):
5642 Don't pack anything in the button until text or image are
5643 set. This allows adding a custom child after creating the button
5644 with hildon_button_new().
5645 (hildon_button_finalize, hildon_button_class_init)
5646 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5647 alignment and the label box even when they're not packed in the
5650 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5652 * src/hildon-touch-selector.h:
5653 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5654 currently the type definition was using GTK_TYPE_VBOX
5655 * src/hildon-touch-selector.c:
5656 Added some implementation notes in order to clarify that any other widget
5657 added without the column related API will not be included on the
5658 selection logic, and how the widget is freed, as some people ask about
5660 (hildon_touch_selector_remove): Reimplemented in order to free properly
5661 the column related data when you remove the private hbox.
5662 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5663 to get a proper HildonTouchSelectorColumn documentation
5665 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5667 * src/hildon-touch-selector-entry.c:
5668 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5669 text in the GtkEntry and there is no item selected. Fixes a
5672 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-app-menu-private.h
5675 * src/hildon-app-menu.[ch]
5676 * src/hildon-button.[ch]
5677 * src/hildon-check-button.[ch]
5678 * src/hildon-entry.[ch]
5679 * src/hildon-pannable-area.[ch]
5680 * src/hildon-text-view.[ch]:
5681 Added private field to the object's structure.
5683 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5685 * configure.ac: post-release version bump
5687 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5691 * configure.ac: pre-release version bump
5693 * debian/changelog: updates.
5695 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5697 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5698 Disconnect the handler for HildonTouchSelector::changed.
5700 (hildon_picker_button_selector_selection_changed): Update the button
5701 value if the selection change was not triggered by the
5704 (hildon_picker_button_set_selector): connect to
5705 HildonTouchSelector::changed.
5707 Fixes: NB#89650 (Picker button is not updated, when selection in
5708 selector has changed)
5710 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5712 * src/hildon-picker-dialog.c
5713 (hildon_picker_dialog_realize): Removed as not required
5714 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5715 * src/hildon-picker-button.c
5716 (_current_selector_empty): New function, checks if the selector is empty
5717 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5718 if the current selector is empty, in order to avoid to show the dialog
5719 close the dialog in this case (and shows a g_warning).
5721 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5723 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5725 * src/hildon-pannable-area.c,
5726 (hildon_pannable_area_scroll): Added clause to stop movement when
5727 the child of pannable is smaller than one page.
5728 (hildon_pannable_area_scroll_to): Added conditions to avoid
5729 starting the scrolling movement if the child is smaller than one
5730 page, the complete child is in the screen, we do not have to move.
5732 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5734 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5736 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5737 this is managed automatically by the widget when the size of the
5740 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-picker-button.c
5743 (hildon_picker_button_set_done_button_text): Make a copy of the
5744 text, and free the previous value.
5746 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-touch-selector-entry.c:
5749 (hildon_touch_selector_entry_print_func): Return the selected row's
5750 text if the entry is empty.
5752 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5755 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5757 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5759 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5762 * src/hildon-check-button.h
5763 * src/hildon-check-button.c
5764 * examples/hildon-check-button-example.c:
5765 HildonCheckButton is now a new widget. 'toggled' signal added.
5767 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-program-private.h
5770 * src/hildon-program.c (hildon_program_init)
5771 (hildon_program_finalize): Removed unused variables group_leader
5772 and name from HildonProgramPrivate.
5774 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-check-button.c (hildon_check_button_set_active)
5777 (hildon_check_button_get_active, hildon_check_button_new): Use
5778 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5780 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5782 * src/hildon-touch-selector.h
5783 (hildon_touch_selector_set_column_attributes): added deprecation
5784 guard HILDON_DISABLE_DEPRECATED
5785 * src/hildon-time-selector.c
5786 (hildon_time_selector_set_time)
5787 (hildon_time_selector_get_time): Fixed a typo on documentation
5788 * src/hildon-touch-selector.c: update HildonTouchSelector and
5789 HildonTouchSelectorColumn documentation
5790 * src/hildon-touch-selector-entry.c: update "text-column" property
5792 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5793 to be added to the general documentation.
5795 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5797 * examples/hildon-pannable-area-example-4.c,
5799 * examples/hildon-pannable-area-example.c,
5800 (main): Modified the code in order to use the container add, with
5801 viewport treeviews could have problems if they are really big.
5803 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5805 * src/hildon-weekday-picker.c,
5806 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5807 the agreement regarding deprecation in the library.
5809 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5811 * examples/hildon-picker-button-multicolumn-example.c:
5812 (main): Use custom "done" button text.
5814 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5815 (hildon_picker_button_set_property),
5816 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5817 (hildon_picker_button_init),
5818 (+hildon_picker_button_get_done_button_text),
5819 (+hildon_picker_button_set_done_button_text): New methods to customize
5820 the "done" button label in the launched HildonPickerDialog. Also,
5823 * src/hildon-picker-button.h: add the public API.
5825 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5827 * src/hildon-date-selector.h:
5828 * src/hildon-picker-dialog.h:
5829 * src/hildon-time-selector.h:
5830 * src/hildon-touch-selector-column.h:
5831 * src/hildon-touch-selector.h:
5833 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5834 declarations. Fixes gtk-doc warnings.
5836 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-picker-dialog.h
5839 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5840 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5842 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5843 long text is set as label for done button)
5845 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-dialog.c (hildon_dialog_add_button):
5848 Set fixed width to all buttons in the HildonDialog.
5850 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5852 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5854 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5855 Set widget name using class name plus "-finger" or "-thumb".
5857 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5859 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5860 'clicked' when the state of the button is manually changed.
5862 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5864 * src/hildon-app-menu.c (hildon_app_menu_realize)
5865 (hildon_app_menu_unrealize, hildon_app_menu_init)
5866 (hildon_app_menu_class_init, item_visibility_changed):
5867 Change the menu layout when the size of the screen changes.
5868 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5869 Show warning only when changing the number of colums using the
5872 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5874 * debian/compat: Set to 5
5875 * debian/control: Update dependencies.
5876 * debian/libhildon1-dbg.install: Remove.
5877 * debian/libhildon1-dev.install: Update according to cdbs paths.
5878 * debian/libhildon1.install: Update according to cdbs paths.
5879 * debian/rules: Switch to cdbs.
5881 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5884 'item' variable renamed to 'filter'
5886 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-app-menu.c (hildon_app_menu_insert)
5889 (hildon_app_menu_add_filter, remove_item_from_list)
5890 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5891 Don't leak hidden items when the menu is destroyed.
5893 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.c (hildon_app_menu_insert)
5896 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5897 (hildon_app_menu_set_columns, item_visibility_changed)
5898 (filter_visibility_changed, hildon_app_menu_repack_filters)
5899 (hildon_app_menu_repack_items):
5900 Repack items and filters separately.
5902 Don't repack all items, change only the ones that are needed to
5905 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5907 * src/Makefile.am: added hildon-touch-selector-column.h
5909 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5911 * src/hildon-touch-selector.c: added the property "text-column" to the
5912 class HildonTouchSelectorColumn, and related get/set functions
5913 (_default_printf_func): updated to use "text-column" property
5914 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5915 "text-column" in his documentation, as this is now included on
5916 HildonTouchSelectorColumn. The get/set_property can still be used,
5917 working as a wrapper to the concrete column "text-column" property
5918 (_text_column_modified): callback added in order to handle the signal
5919 "notify::text-column" of the concrete HildonTouchSelectorColumn
5920 (hildon_touch_selector_entry_get_text_column)
5921 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5922 modified in order to use the HildonTouchSelectorColumn "text-column"
5924 * src/hildon-time-selector.c:
5925 * src/hildon-date-selector.c:
5926 * examples/hildon-touch-selector-example.c
5927 * examples/hildon-touch-selector-multi-cells-example.c
5928 * examples/hildon-picker-button-multicolumn-example.c
5929 Set the right value to "text-column" property on the creation of a new
5930 column using hildon_touch_selector_append_column()
5932 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5934 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-app-menu.c
5937 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5938 updating the layout of the menu, don't create all widgets again,
5939 just repack the items in their new places.
5941 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5943 * src/hildon-time-selector.c
5944 (hildon_time_selector_get_time)
5945 (hildon_time_selector_set_time)
5946 Added documentation of these public methods
5948 * src/hildon-date-button.h
5949 * src/hildon-touch-selector-column.h
5950 * src/hildon-time-button.h
5951 * src/hildon-picker-dialog.h
5952 * src/hildon-time-selector.h
5953 * src/hildon-picker-button.h
5954 * src/hildon-touch-selector.h
5955 * src/hildon-time-picker.h
5956 * src/hildon-date-selector.h
5957 * src/hildon-touch-selector-entry.h
5958 Modified in order to use hildon-widgets code style
5960 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5962 Added deprecated support to the compilation process using
5963 HILDON_DISABLE_DEPRECATED
5965 * configure.ac: Added the --disable-deprecated to the configure
5968 * src/hildon-weekday-picker.c:
5969 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5970 to use the deprecated support. We will update the other deprecated
5971 widgets status in a new patch.
5973 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5975 * configure.ac: Fixed typo with fatal warnings support, the
5976 variable name was not correct
5978 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-app-menu.c
5981 * src/hildon-program.c: Update documentation.
5983 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5985 * configure.ac: Post-release version bump.
5987 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5992 * configure.ac: Pre-release version bump.
5993 * debian/changelog: Updates.
5995 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5997 * NEWS: Update news for previous releases.
5999 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6001 * examples/hildon-touch-selector-multi-cells-example.c:
6002 (create_selector): Update the example to use
6003 hildon_touch_selector_append_column() with a NULL renderer and set
6004 the renderers later.
6005 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6006 passed a NULL renderer. This is documented behavior now.
6008 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6009 This must be used if the developer wants full control on the layout of
6010 the renderers to be added to the column.
6012 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6014 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6016 * src/hildon-touch-selector.c: Documentation fixes.
6018 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6020 * src/hildon-wizard-dialog-private.h: Remove image and box.
6021 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6022 (hildon_wizard_dialog_set_property), (response): Completely remove
6023 image/icon support, and the containers required for the layout.
6025 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6027 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-app-menu.c: Updated documentation.
6031 * src/hildon-stackable-window.c
6032 (hildon_stackable_window_set_main_menu): Unref the old menu after
6033 ref'ing the new one.
6035 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6037 * src/hildon-stackable-window.c
6038 (hildon_stackable_window_set_main_menu): Unref the previous menu
6039 instead of destroying it.
6041 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6042 floating reference and set has_user_ref_count to FALSE to make
6043 HildonAppMenu act like a normal ref-counted widget and not a
6046 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6049 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6051 * src/hildon-touch-selector-column.h: new file
6052 * src/hildon-touch-selector.h
6053 * src/hildon-touch-selector.c
6054 Implemented GtkCellLayout interface, in order to allow to configure
6055 the cell layout on each individual selector column
6056 (hildon_touch_selector_set_column_attributes): marked as deprecated
6057 * examples/hildon-touch-selector-multi-cells-example.c
6058 Example of how to use the GtkCellLayout interface on the selector
6060 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6062 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-app-menu.h
6065 * src/hildon-app-menu.c
6066 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6067 (hildon_app_menu_append, hildon_app_menu_prepend):
6068 New methods to prepend, insert and move items in the menu.
6070 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-wizard-dialog.c:
6074 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6076 (create_title): Update logical IDs and related code.
6077 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6079 * src/hildon-wizard-dialog.h: Note that
6080 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6081 point, as it is not used anymore.
6083 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6085 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-note.c:
6088 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6089 shown. Do not display an icon in confirmation notes nor information
6091 (hildon_note_set_button_text): Update logical ID for cancel button.
6093 Fixes: NB#88850 (Update HildonNote button strings + signals)
6095 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6097 * src/hildon-stackable-window.c
6098 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6100 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-app-menu-private.h
6103 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6104 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6105 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6106 temporary property 'columns' to change the number of columns.
6108 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6110 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6112 * examples/hildon-note-example.c: (on_information_clicked),
6113 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6114 debugging information.
6115 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6117 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6118 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6119 in order to close: this will be handled by the WM from now on.
6121 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6123 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-app-menu-private.h
6126 * src/hildon-app-menu.c
6127 (hildon_app_menu_append, hildon_app_menu_add_filter)
6128 (button_visibility_changed, hildon_app_menu_apply_style)
6129 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6130 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6131 layout everytime a button (item or filter) is shown or hidden.
6133 * src/hildon-stackable-window.c
6134 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6137 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6139 * src/hildon-touch-selector.c:
6140 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6141 that the treeview inside the touch selector is in fremantle hildon mode
6142 * examples/hildon-date-button-example.c
6143 * examples/hildon-picker-button-multicolumn-example.c
6144 * examples/hildon-touch-selector-entry-example.c
6145 * examples/hildon-touch-selector-example.c
6146 * examples/hildon-time-button-example.c
6147 * examples/hildon-picker-button-example.c:
6148 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6150 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6152 * examples/hildon-text-view-example.c: (main): Remove the
6153 gtkrc bits, now handled by the theme.
6155 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6160 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6162 * po/Makefile.am: Install properly the mo files.
6163 * po/en_GB.po: Update translation, to ease testing purposes.
6165 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/hildon-picker-button-example.c: (main): Select an item
6168 in the selector before setting it to the button.
6170 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6172 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6173 Update button's value if the selector has an item active.
6175 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6176 'value' with the selector)
6178 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6180 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6181 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6182 (hildon_picker_button_class_init): Plug the finalize method.
6183 (hildon_picker_button_set_selector): If there's a previously set
6184 selector, unref'it before setting a new one.
6186 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6187 HildonTouchSelector)
6189 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6191 * src/hildon-touch-selector-entry.c:
6192 (hildon_touch_selector_entry_changed): Check if there is no text
6193 selected before setting the entry text.
6196 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6198 * src/hildon-touch-selector.h
6199 * src/hildon-touch-selector.c
6200 (hildon_touch_selector_get_active)
6201 (hildon_touch_selector_set_active): New methods to set/get the
6202 index of the selected item.
6204 * src/hildon-picker-button.h
6205 * src/hildon-picker-button.c
6206 (hildon_picker_button_get_active)
6207 (hildon_picker_button_set_active): New methods to set/get the
6208 index of the selected item.
6210 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6212 * configure.ac: post-release version bump.
6214 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6218 * configure.ac: Pre-release version bump.
6219 * debian/changelog: Updates.
6220 * debian/control: Add myself as maintainer and depend on l10n
6223 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-window.c
6226 (hildon_window_set_main_menu)
6227 * src/hildon-stackable-window.c
6228 (hildon_stackable_window_set_main_menu):
6229 Updated documentation.
6231 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6234 Don't free selector->priv manually.
6237 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6240 (hildon_gtk_window_set_progress_indicator):
6241 * src/hildon-gtk.h: Added the new API
6242 hildon_gtk_window_set_progress_indicator, it changes the state of
6243 the window progress hint.
6245 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6247 * src/hildon-button.c
6248 * src/hildon-stackable-window.c: Minor documentation updates.
6250 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6252 * src/hildon-stackable-window.c: Updated documentation.
6254 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/hildon-defines.h: Update margins definitions
6257 to the Fremantle sizes.
6260 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6262 * src/hildon-touch-selector.c,
6263 (_hildon_touch_selector_set_model): Cleaning the code after
6264 review, removed g_print and #if 0 from the code.
6266 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-edit-toolbar.c: Update documentation.
6270 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-check-button.h
6273 * src/hildon-check-button.c
6274 (hildon_check_button_set_label, hildon_check_button_get_label)
6275 * examples/hildon-check-button-example.c
6276 (button_clicked_cb):
6277 Removed deprecated methods.
6279 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6281 * src/hildon-text-view.c:
6282 Add sample code to the documentation.
6284 * src/hildon-entry.h
6285 * src/hildon-text-view.h:
6286 Minor cosmetic changes.
6288 * src/hildon-entry.c:
6289 Add sample code to the documentation.
6290 (hildon_entry_init, hildon_entry_refresh_contents):
6291 Don't allow NULL values in the placeholder.
6293 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6295 * doc/hildon-docs.sgml
6297 * examples/Makefile.am
6298 * examples/hildon-text-view-example.c
6300 * src/hildon-text-view.c
6301 * src/hildon-text-view.h
6303 New HildonTextView widget, with example.
6305 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6307 * po/POTFILES.in: Add missing files with translatable strings.
6308 Partially fixes NB#88287.
6310 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6312 * examples/hildon-pannable-area-example-2.c: (main): No need to
6313 set the cellrenderer height inside hildon touch lists, the theme does
6316 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6318 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6319 they are integrated in the theme.
6321 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6323 * examples/hildon-entry-example.c: Update the example adding
6324 widgets to modify the text and the placeholder of the HildonEntry.
6326 * src/hildon-entry.c: Show the placeholder everytime the widget
6327 is empty and loses the focus.
6329 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6331 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6333 * src/hildon-pannable-area.c,
6334 (hildon_pannable_area_size_request): Fixed bug in height
6335 requisition, avoid increasing size and add border twice.
6337 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6339 * configure.ac: postrelease version bump.
6341 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6345 * configure.ac: Prerelease version bump.
6346 * debian/changelog: update.
6347 * debian/rules: make -dbg package contain useful debugging symbols.
6349 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6351 * src/hildon-dialog.h
6352 * src/hildon-dialog.c
6353 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6354 New methods to add buttons with finger size.
6355 (hildon_dialog_new_with_buttons):
6356 Create buttons with finger size.
6358 * examples/hildon-dialog-example.c (main): Use HildonDialog
6359 methods to add buttons.
6361 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-entry.c: Updated HildonButton documentation.
6365 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6367 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6368 button value label with (FALSE, FALSE) to prevent NB#88126 from
6371 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6373 * examples/hildon-pannable-area-example.c,
6374 (main): Removed examples panning a vbox inside a pannable
6375 area. Check bug NB#87965
6377 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6379 Patch contributed by Kris Rietveld (kris@imendio.com)
6381 * src/hildon-pannable-area.c,
6382 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6383 get_size and get_position, this saves an X server roundtrip.
6385 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6387 * doc/hildon-docs.sgml
6389 * examples/Makefile.am
6390 * examples/hildon-entry-example.c
6392 * src/hildon-entry.c
6393 * src/hildon-entry.h
6395 New HildonEntry widget, with example.
6397 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6399 * src/hildon-button.c (hildon_button_construct_child): Pack the
6400 image with expand == fill == FALSE. This is a workaround for a bug
6403 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6405 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6406 labels for the text column, to make it more look more dynamic.
6408 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6410 * src/hildon-time-selector.c
6411 Define gettext auxiliar macro N_
6412 (_create_minutes_model)
6413 (_create_hours_model)
6414 (_create_ampm_model): use of strftime in order to fill the model
6415 * src/hildon-date-selector.c
6416 (hildon_date_selector_finalize):
6417 (_locales_init): remove the logic related to get the name of the months
6418 using nl_langinfo, as it is not required anymore
6420 (_create_year_model)
6421 (_create_month_model)
6422 (_update_day_model): use of strftime in order to fill the model properly
6425 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-button.h
6428 * src/hildon-button.c (hildon_button_get_image): New method to
6431 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6433 * src/hildon-touch-selector.c:
6434 (hildon_touch_selector_remove_column): Remove from the correct parent
6435 and also remove the list element and free it.
6438 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6440 * src/hildon-time-selector.c
6441 (_create_hours_model): change the range on 12h ampm format in order to use
6442 a 12-11 range instead of previous 01-12 range
6443 (hildon_time_selector_set_time): change the way to select the current time
6444 on 12h ampm format, due the change on the range
6445 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6448 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6450 * src/hildon-touch-selector.c
6451 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6452 in order to allow use this function on multiple row selection mode if
6453 the column is different that the first one
6456 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6458 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6459 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6461 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6463 * src/hildon-date-selector.h: clean some comments, now on the .c
6464 * src/hildon-date-selector.c
6465 (hildon_date_selector_select_month): first implementation
6466 (hildon_date_selector_select_day): added documentation, reimplemented
6467 using hildon_date_selector_select_current_date to avoid repeat code
6470 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6472 Reviewed interaction logic based on device experiences, refactored
6475 * src/hildon-pannable-area.c,
6476 (hildon_pannable_area_class_init): Updated default vmax speed.
6477 (hildon_pannable_area_calculate_velocity): Added this function, it
6478 avoids duplicate valocity calculation. Adjusted calculation to
6479 avoid problems with zero dist events.
6481 (hildon_pannable_area_motion_notify_cb): Now we use the
6482 calculate_velocity function.
6484 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6486 * src/hildon-date-selector.c
6487 (hildon_date_selector_select_current_date): fix the day range check
6488 as it failed using the last day of the current month
6491 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6493 * src/hildon-touch-selector.c
6494 (hildon_touch_selector_get_num_columns): added a parameter validation
6497 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6499 * examples/Makefile.am
6500 * examples/hildon-edit-toolbar-example.c: Example of the
6501 HildonEditToolbar widget.
6503 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6505 * configure.ac: postrelease version bump.
6507 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6511 * configure.ac: prerelease version bump.
6512 * debian/changelog: update.
6514 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6516 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6517 renderer to display stock icons in the touch list. Also, set the sizes
6518 to the recommended in the style guide.
6520 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6521 * src/hildon-touch-selector.h
6522 (hildon_touch_selector_set_active_iter): renamed, now is
6523 hildon_touch_selector_select_iter
6524 (hildon_touch_selector_get_active_iter): renamed, now is
6525 hildon_touch_selector_get_selected
6526 (hildon_touch_selector_unselect_iter): added
6527 * src/hildon-touch-selector.c
6528 Update after API modification (methods renamed)
6529 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6530 order to avoid problems selecting multiple elements on the column
6531 (hildon_touch_selector_unselect_iter): added the implementation
6532 * src/hildon-time-selector.c
6533 * src/hildon-date-selector.c
6534 * src/hildon-touch-selector-entry.c
6535 Update methods calls after hildon-touch-selector.h API modification (methods
6538 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6540 * src/hildon-stackable-window.c
6541 (hildon_stackable_window_finalize): Call the parent class's finalize.
6543 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6545 * examples/hildon-touch-selector-example.c: (create_selector): Use
6546 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6549 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6551 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6552 set a cell background color, to respect theming.
6554 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6556 * doc/hildon-docs.sgml
6559 * src/hildon-edit-toolbar.c
6560 * src/hildon-edit-toolbar.h
6561 * src/hildon.h: New HildonEditToolbar widget.
6563 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6565 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6568 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6569 * src/hildon-touch-selector.c
6570 (_create_new_column): use g_object_set instead of two g_object_set_property
6572 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6573 * src/hildon-touch-selector.c
6574 (_create_new_column): use of hildon_gtk_tree_view_new to create
6575 the treeview, instead of use directly g_object_new
6576 (_create_new_column): update the property name "vindicator-mode" for the
6577 new one "vscrollbar-policy"
6578 * examples/hildon-date-button-example.c
6579 * examples/hildon-picker-button-multicolumn-example.c
6580 * examples/hildon-touch-selector-entry-example.c
6581 * examples/hildon-touch-selector-example.c
6582 * examples/hildon-time-button-example.c
6583 * examples/hildon-picker-button-example.c
6584 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6585 to all the treeviews inside a pannable area.
6587 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6589 * src/hildon-button.h
6590 * src/hildon-button.c (hildon_button_init)
6591 (hildon_button_set_arrangement, hildon_button_set_alignment)
6592 (hildon_button_set_title_alignment)
6593 (hildon_button_set_value_alignment)
6594 (hildon_button_set_image_alignment)
6595 (hildon_button_construct_child): New methods to set the alignment
6596 of the individual components of the button (title, value,
6597 image). Also, new method to alter the xscale and yscale properties
6598 of the GtkAlignment inside the button, so more complex layouts can
6601 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6603 * src/hildon-button.c (hildon_button_style_set)
6604 (hildon_button_class_init, hildon_button_set_arrangement)
6605 (hildon_button_construct_child): Apply style properties
6606 correctly. Use the 'image-spacing' style property too.
6608 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6611 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6614 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6616 * src/hildon-pannable-area.c,
6617 (hildon_pannable_area_size_request): Fixed problem with
6618 pannable-area size_request.
6620 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6622 Added management for the grab-focus to a child widget, like a
6623 range, we need to fade out the scrollbar when releasing.
6625 * src/hildon-pannable-area.c,
6626 (hildon_pannable_area_init): Connected the grab-focus signal to
6628 (hildon_pannable_area_grab_notify): Added this function in order
6629 to manage the situation when the grab-focus ends. We have to
6630 fade-out the scrollbar.
6632 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-app-menu.c: Minor documentation update.
6636 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-app-menu.c
6639 * examples/hildon-app-menu-example.c (create_menu): Update
6640 examples and documentation to explain how to connect callbacks.
6642 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6644 * examples/hildon-button-example.c
6645 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6646 hildon_stackable_window_new instead of gtk_window_new
6648 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6650 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6651 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6652 (hildon_pannable_area_set_property),
6653 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6654 (hildon_pannable_area_unrealize),
6655 (hildon_pannable_area_size_request),
6656 (hildon_pannable_area_size_allocate),
6657 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6658 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6659 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6660 (hildon_pannable_area_initial_effect),
6661 (hildon_pannable_area_redraw),
6662 (hildon_pannable_area_scroll_indicator_fade),
6663 (hildon_pannable_area_expose_event),
6664 (hildon_pannable_area_get_topmost), (synth_crossing),
6665 (hildon_pannable_area_button_press_cb),
6666 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6667 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6668 (hildon_pannable_area_motion_notify_cb),
6669 (hildon_pannable_area_button_release_cb),
6670 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6671 (hildon_pannable_area_remove),
6672 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6673 chage the code layout to a more GtkWidget like. Review the use of
6676 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6678 * examples/hildon-pannable-area-example-4.c,
6679 (main): Modified the name of the hindicator_mode to
6682 * src/hildon-pannable-area.c,
6683 (hildon_pannable_area_class_init),
6684 (hildon_pannable_area_motion_notify_cb),
6685 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6686 we have reduced the amount of signals and managed reviewed its
6687 rationale. Changed the default decelerate value.
6689 (hildon_pannable_area_add),
6690 (hildon_pannable_area_redraw): Refactored functions.
6692 (hildon_pannable_area_init),
6693 (hildon_pannable_area_get_property),
6694 (hildon_pannable_area_set_property):
6695 (hildon_pannable_draw_vscroll),
6696 (hildon_pannable_draw_hscroll),
6697 (hildon_pannable_area_initial_effect),
6698 (hildon_pannable_area_expose_event),
6699 (hildon_pannable_area_scroll),
6700 (hildon_pannable_area_button_press_cb),
6701 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6702 and vindicator_mode with hscrollbar_policy and
6703 vscrollbar_policy. Replaced hscroll and vscroll with
6704 hscroll_visible and vscroll_visible.
6706 (hildon_pannable_area_refresh): Refactor the function, remove
6707 variables and check the calls to this function, added resize
6708 conditions in case the children change their layout.
6710 (hildon_pannable_area_size_request): Added more detailed
6711 size_request calculation.
6714 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6716 * src/hildon-color-chooser.c
6717 (init_borders): use the correct gtk_border_free instead of g_free, to
6718 avoid a crash when this widget is used (ie: the three color selection
6721 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6723 * src/hildon-check-button.c,
6724 (hildon_check_button_set_active): Fixed problem when setting the
6725 active value, the widget was not redrawn.
6727 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6729 * src/hildon-pannable-area.c,
6730 (hildon_pannable_area_refresh),
6731 (hildon_pannable_area_scroll),
6732 (hildon_pannable_area_motion_notify_cb): Small code style change.
6734 (hildon_pannable_area_class_init): Default initial_hint set to
6735 FALSE, it is not in the specs.
6737 (hildon_pannable_area_initial_effect),
6738 (hildon_pannable_area_expose_event),
6739 (hildon_pannable_area_map),
6740 (hildon_pannable_area_init): Moved the launching point of the
6741 initial effect, it was in map but the sizes where not correct in
6742 that method so we do not know if we have the reproduce it. Now it
6743 is placed in the expose_event method and uses a variable to
6744 reproduce it just once.
6746 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6748 * src/hildon-pannable-area.c,
6749 (hildon_pannable_draw_vscroll),
6750 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6751 position allowed for the scrollbars.
6753 (hildon_pannable_area_size_allocate): Small style change.
6755 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6757 * src/hildon-pannable-area.c,
6758 (hildon_pannable_area_scroll_indicator_fade),
6759 (hildon_pannable_area_button_press_cb),
6760 (hildon_pannable_area_button_release_cb),
6761 (hildon_pannable_area_scroll_cb),
6762 (hildon_pannable_area_expose_event),
6763 (hildon_pannable_area_init): Added the define parameter
6764 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6765 and refactor the fade variable.
6767 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6769 * src/hildon-pannable-area.c,
6770 (hildon_pannable_area_redraw),
6771 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6772 lines, we were reimplemeting the redraw code.
6774 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6776 * src/hildon-pannable-area.c,
6777 (hildon_pannable_area_scroll_cb),
6778 (hildon_pannable_area_realize),
6779 (hildon_pannable_area_class_init): Added scroll_event management
6780 for pannable area, now we can scroll the usual desktop method.
6782 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6783 initialization of the parameters should depend on idle_id.
6785 (hildon_pannable_area_init),
6786 (hildon_pannable_area_map): Small code style modifications
6788 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6790 * src/hildon-pannable-area.c
6791 (hildon_pannable_area_button_press_cb),
6792 (hildon_pannable_area_motion_notify_cb),
6793 (hildon_pannable_area_button_release_cb),
6794 (hildon_pannable_area_size_allocate),
6795 (hildon_pannable_area_scroll_to): Improved the timeouts
6796 management, we avoid creating them each time.
6798 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6800 * src/hildon-pannable-area.c:
6801 (hildon_pannable_area_refresh),
6802 (hildon_pannable_area_motion_notify_cb),
6803 (hildon_pannable_area_class_init):
6804 * src/hildon-pannable-area.h:
6805 * src/hildon-touch-selector.c
6806 (_create_new_column):
6807 * examples/hildon-pannable-area-example-4.c:
6808 (horizontal_movement),
6809 (vertical_movement),
6811 Replaced the names of enums in the HildonPannableArea:
6812 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6813 HILDON_MOVEMENT_MODE_*
6814 - HILDON_PANNABLE_AREA_MOV_* ->
6816 - Removed HildonPannableAreaIndicatorMode, now we
6819 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6821 * examples/hildon-pannable-area-touch-grid-example.c
6822 * examples/hildon-pannable-area-touch-list-example.c: Fix
6823 compilation warnings.
6825 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-gtk.c (hildon_gtk_button_new)
6828 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6829 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6830 images overriding the value of the "gtk-button-images" setting.
6832 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-check-button.c (hildon_check_button_new):
6835 Instead of using a custom container, display the label and the
6836 checkbox using the standard GtkButton API.
6838 * examples/hildon-check-button-example.c (main): Don't use
6839 hildon_check_button_set_label() anymore
6841 * src/hildon-check-button.h
6842 * src/hildon-check-button.c
6843 (hildon_check_button_set_label, hildon_check_button_get_label):
6844 Set as deprecated, now we're using gtk_button_{get,set}_label()
6846 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6848 * src/hildon-pannable-area.c,
6849 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6850 GtkTreeview first line we detected it after the inclusion of the
6851 GtkWindowImpl in gtk+. We now check if the window is visible, not
6852 just if the pointer is over the window.
6853 (hildon_pannable_axis_scroll),
6854 (hildon_pannable_area_expose_event): Small style changes.
6856 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-button.c: Update documentation.
6860 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6862 * examples/hildon-button-example.c: Add a switch to show images in
6865 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6867 * doc/hildon-docs.sgml: Some docs reorganization.
6869 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6871 * examples/hildon-pannable-area-touch-list-example.c
6873 * examples/hildon-pannable-area-touch-grid-example.c
6874 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6875 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6876 Fix memory leak when setting the tree model.
6878 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6882 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6884 * doc/hildon.types: Remove duplicated hildon_window_get_type
6885 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6886 documentation comment.
6888 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6890 * doc/Makefile.am: Complete list of private headers.
6892 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6894 * doc/hildon-docs.sgml
6895 * src/hildon-app-menu.c
6896 * src/hildon-bread-crumb.c
6897 * src/hildon-button.c
6899 * src/hildon-program.c
6900 * src/hildon-stackable-window.c
6901 * src/hildon-window.c: Lots of documentation updates.
6903 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6905 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6907 * configure.ac: Require Gtk+ 2.12.9 at least
6909 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6911 * src/hildon-pannable-area.c
6912 (hildon_pannable_area_scroll_indicator_fade),
6913 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6914 to protect the return of this timeout callbacks, avoiding deadlocks.
6916 2008-08-12 Christian Dywan <christian@imendio.com>
6919 * src/hildon-*.h: Ensure a consistent include order,
6920 include <gtk/gtk.h> instead of particular files and
6921 only include the topmost header in the gtk stack. See NB #39857
6923 2008-08-12 Christian Dywan <christian@imendio.com>
6925 * src/hildon-picker-dialog.c
6926 * src/hildon-touch-selector.c: Fix warnings about unused and
6927 uninitialized variables.
6929 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6931 * examples/Makefile.am
6932 * examples/hildon-check-button-example.c: Example of the hildon
6935 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6937 * src/hildon-window.h
6938 * src/hildon-window.c (hildon_window_class_init)
6939 (hildon_window_unset_program): Don't make
6940 hildon_window_unset_program a virtual function anymore.
6942 * src/hildon-stackable-window.c: Update documentation
6944 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6947 * doc/hildon-docs.sgml
6948 * doc/visual_index.xml
6949 * src/hildon-defines.c
6951 * src/hildon-helper.c
6952 * src/hildon-range-editor.c: Lots of documentation fixes.
6954 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6956 * examples/hildon-picker-button-multicolumn-example.c
6957 (create_touch_selector): Fix compilation warning.
6959 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6962 (hildon_pannable_area_button_release_cb)
6963 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6965 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6967 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6970 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6972 * src/hildon-bread-crumb-trail.h
6973 * src/hildon-date-editor.c
6974 * src/hildon-date-selector.c
6975 * src/hildon-pannable-area.c
6976 * src/hildon-picker-dialog.c
6977 * src/hildon-time-selector.c
6978 * src/hildon-touch-selector-entry.c
6979 * src/hildon-touch-selector.c
6980 * src/hildon-touch-selector.h: Misc documentation fixes
6982 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6984 * examples/hildon-date-editor-example.c (main): Updated date
6987 * examples/hildon-note-example.c (on_confirmation_clicked):
6988 Updated confirmation note example.
6990 * src/hildon-date-editor.c
6991 * src/hildon-note.c: Updated sample programs in documentation.
6994 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6996 * src/hildon-date-button.h:
6997 * src/hildon-picker-button.h:
6998 * src/hildon-time-button.c:
6999 * src/hildon-time-button.h:
7001 Some declarations changes to allow gtk-doc to document the widgets
7004 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7006 * src/hildon-date-button.c: Document the widget.
7007 * src/hildon-time-button.c: Document the widget.
7009 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7011 * src/hildon-picker-button.c: Document the widget.
7012 * src/hildon-touch-selector-entry.c: Document the widget.
7014 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7016 * doc/hildon-docs.sgml
7019 * src/hildon-check-button.h
7020 * src/hildon-check-button.c: New functions to create the Hildon
7024 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7026 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7028 * src/hildon-button.h
7029 * src/hildon-button.c
7030 (hildon_button_add_title_size_group)
7031 (hildon_button_add_value_size_group)
7032 (hildon_button_add_image_size_group)
7033 (hildon_button_add_size_groups): New functions to set size groups
7034 for the button labels and image.
7035 (hildon_button_new_full): Removed
7037 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7039 * src/hildon-time-selector.c
7040 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7041 in order to avoid a crash if gconf is not available
7043 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7045 * src/hildon-button.c (hildon_button_set_arrangement)
7046 (hildon_button_construct_child): Don't construct the button child
7047 before setting the arrangement.
7049 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7051 * src/hildon-program-private.h
7052 * src/hildon-program.c
7053 * src/hildon-program.h
7054 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7055 (hildon_program_peek_window_stack)
7056 (hildon_program_pop_window_stack)
7057 (hildon_program_go_to_root_window): HildonProgram now has a
7058 separate list for stackable windows. Functions are provided to
7059 manage that list with a stack-like API.
7061 * src/hildon-stackable-window.c: Stackable window management is
7062 now much simpler with the new HildonProgram API. Windows no
7063 longer need to be manually added to the program, they're
7064 automatically pushed to the top of the stack when shown.
7066 * examples/hildon-stackable-window-example.c: Updated example to
7067 reflect the API changes.
7069 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7071 * src/hildon-touch-selector.c: Comment out unimplemented
7072 hildon_touch_selector_insert_column() to avoid a compile warning.
7074 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7076 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7077 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7078 (hildon_touch_selector_set_column_selection_mode),
7079 (_hildon_touch_selector_set_model),
7080 (hildon_touch_selector_set_model):
7082 Complete review of HildonTouchSelector documentation.
7084 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7086 * doc/hildon-docs.sgml
7090 * src/hildon-gtk.c: Convenience functions for standard Gtk
7091 widgets, used to easily perform frequent operations.
7093 * src/hildon-button-helpers.h
7094 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7096 * src/hildon-helper.h
7097 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7098 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7100 * src/hildon-button.h
7101 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7103 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7105 * src/hildon-button.c (hildon_button_init)
7106 (hildon_button_set_arrangement, hildon_button_construct_child):
7107 Pack the image and the labels inside the same GtkAlignment so
7108 gtk_button_set_alignment() can be used
7110 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-button.h
7113 * src/hildon-button.c
7114 (hildon_button_init, hildon_button_set_image)
7115 (hildon_button_set_image_position)
7116 (hildon_button_construct_child): New functions to add an image to
7119 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-date-button.c
7122 * src/hildon-picker-button.c
7123 * src/hildon-time-button.c
7124 * src/hildon-button.c:
7125 (hildon_button_class_init): "size-flags" renamed to "size"
7126 (hildon_button_set_title): Hide the title label if set to NULL.
7128 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7130 HildonButtonFlags split into HildonButtonArrangement (to set the
7131 button layout) and HildonSizeType (which can be used for any
7134 * src/hildon-button.h
7135 * src/hildon-button.c
7136 (hildon_button_class_init)
7137 (hildon_button_set_arrangement)
7138 (hildon_button_set_property): New "size-flags"
7139 property. "arrangement-flags" renamed to "arrangement".
7140 (hildon_button_new, hildon_button_new_with_text)
7141 (hildon_button_new_full): Constructors updated to reflect type changes.
7143 * src/hildon-helper.h
7144 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7145 to set the size of a widget.
7149 * src/hildon-button-helpers.c
7150 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7152 * src/hildon-date-button.c
7153 * src/hildon-date-button.h
7154 * src/hildon-picker-button.c
7155 * src/hildon-picker-button.h
7156 * src/hildon-time-button.c
7157 * src/hildon-time-button.h: Updated widgets to reflect
7158 HildonButton API changes.
7160 * examples/hildon-button-example.c
7161 * examples/hildon-date-button-example.c
7162 * examples/hildon-picker-button-example.c
7163 * examples/hildon-picker-button-multicolumn-example.c
7164 * examples/hildon-time-button-example.c
7165 * examples/hildon-touch-selector-entry-example.c
7166 * examples/hildon-touch-selector-example.c: Updated examples to
7167 reflect HildonButton API changes.
7169 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7171 * doc/hildon-docs.sgml:
7173 * examples/Makefile.am:
7174 * examples/hildon-touch-selector-entry-example.c:
7176 * src/hildon-touch-selector-entry.c:
7177 * src/hildon-touch-selector-entry.h:
7180 Moved HildonTouchSelectorEntry from sandbox. Added its
7181 documentation and examples.
7183 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7185 * src/hildon-touch-selector.h:
7186 * examples/hildon-picker-button-multicolumn-example.c:
7187 (hildon_touch_selector_append_text_column): Add a gboolean
7188 parameter to determine if text must be centered in the column.
7190 * src/hildon-date-selector.c: (hildon_date_selector_init):
7191 * src/hildon-time-selector.c: (hildon_time_selector_init):
7192 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7193 (create_touch_selector): Update widgets and example to reflect
7196 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7198 * src/hildon-touch-selector.c:
7199 (hildon_touch_selector_set_active_iter): Set also the cursor in
7202 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7204 * doc/hildon-docs.sgml
7207 * src/hildon-toggle-button.c
7208 * src/hildon-toggle-button.h
7209 * src/hildon.h: Removed HildonToggleButton widget, a derived
7210 class is not necessary for this.
7212 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7214 * src/hildon-pannable-area.c,
7215 (hildon_pannable_area_realize),
7216 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7219 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7221 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7222 "done" button the default widget for the dialog.
7224 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7226 * src/hildon-touch-selector.c:
7227 (hildon_touch_selector_class_init),
7228 (hildon_touch_selector_get_property),
7229 (_hildon_touch_selector_set_model),
7230 (_hildon_touch_selector_has_multiple_selection),
7231 (hildon_touch_selector_has_multiple_selection):
7232 Add a "has-multiple-selection" property with a virtual
7233 has_multiple_selection() method to allow derived classes to
7234 override the default value for it. See the method and property
7235 documentation for details.
7237 * src/hildon-touch-selector.h: Add the new API.
7239 * src/hildon-picker-dialog.c: (requires_done_button): Call
7240 hildon_touch_selector_has_multiple_selection() instead of
7241 determining the need for a button itself.
7243 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7245 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7246 (_hildon_touch_selector_set_model),
7247 (hildon_touch_selector_set_model): Move working code to
7248 _hildon_touch_selector_set_mode(). Call the class method instead.
7250 * src/hildon-touch-selector.h: Add (*set_model) to
7251 HildonTouchSelectorClass.
7253 Make hildon_touch_selector_set_model() a virtual method, so that
7254 derived classes can extend it and do fancy stuff with the model.
7256 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7258 * configure.ac: Set back the tarname in AC_INIT to hildon.
7260 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7264 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7265 instead of libesd (NB#86876). Volume handling is still an open issue.
7267 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7270 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7272 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7273 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7274 derived class to ease placement of an entry widget in
7275 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7276 end, where the selector columns are packed now.
7278 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/hildon-picker-button.c: Removed the simple _text() API.
7281 * src/hildon-picker-button.h: Likewise.
7283 * src/hildon-touch-selector.h:
7284 * src/hildon-touch-selector.c:
7285 (hildon_touch_selector_new_text),
7286 (hildon_touch_selector_append_text),
7287 (hildon_touch_selector_prepend_text),
7288 (hildon_touch_selector_insert_text):
7290 Moved the simple _text() API from HildonPickerButton to
7291 HildonTouchPicker, to provide better escalability and not to tie
7292 that API to HildonPickerButton.
7294 * examples/hildon-picker-button-example.c: (main): Example updated.
7296 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7298 * src/hildon-button.c: Updated documentation.
7300 * examples/hildon-button-example.c: Add the posibility to create
7301 the buttons using horizontal layout for title and value.
7303 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7305 * src/hildon-app-menu-private.h
7306 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7307 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7308 GtkSizeGroup for the filters, use the 'homogeneous' property of
7311 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7313 * examples/hildon-button-example.c: Updated example.
7315 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7317 * doc/hildon-docs.sgml:
7320 Update documentation.
7322 * examples/Makefile.am: Update renamed examples.
7324 * examples/hildon-picker-button-multicolumn-example.c:
7325 (create_touch_selector), (main): Update after the rename.
7327 * examples/hildon-touch-picker-example.c: Removed.
7328 * examples/hildon-touch-selector-example.c: (value_changed),
7329 (create_selector), (get_visible_content), (main): Renamed from
7330 hildon-touch-picker-example.c
7332 * src/Makefile.am: Updated renamed files.
7334 * src/hildon-date-button.c: (hildon_date_button_init),
7335 (hildon_date_button_get_date), (hildon_date_button_set_date):
7336 * src/hildon-date-selector.c: (hildon_date_selector_init),
7337 (_custom_print_func), (_update_day_model),
7338 (_manage_selector_change_cb),
7339 (hildon_date_selector_select_current_date),
7340 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7341 * src/hildon-date-selector.h:
7342 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7343 (hildon_picker_button_set_property),
7344 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7345 (hildon_picker_button_init), (hildon_picker_button_new_text),
7346 (hildon_picker_button_append_text),
7347 (hildon_picker_button_prepend_text),
7348 (hildon_picker_button_insert_text),
7349 (hildon_picker_button_set_selector),
7350 (hildon_picker_button_get_selector):
7351 * src/hildon-picker-button.h:
7352 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7353 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7354 (_update_title_on_selector_changed_cb), (requires_done_button),
7355 (_hildon_picker_dialog_set_selector),
7356 (hildon_picker_dialog_set_selector),
7357 (hildon_picker_dialog_get_selector):
7358 * src/hildon-picker-dialog.h:
7359 * src/hildon-time-button.c: (hildon_time_button_init),
7360 (hildon_time_button_get_time), (hildon_time_button_set_time):
7361 * src/hildon-time-selector.c: (hildon_time_selector_init),
7362 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7363 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7364 * src/hildon-time-selector.h:
7367 Massive code updates after the rename.
7369 * src/hildon-touch-picker.c: Removed.
7370 * src/hildon-touch-picker.h: Removed.
7372 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7373 (hildon_touch_selector_init), (hildon_touch_selector_map),
7374 (hildon_touch_selector_remove), (_default_print_func),
7375 (_selection_changed_cb), (_create_new_column),
7376 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7377 (hildon_touch_selector_append_text_column),
7378 (hildon_touch_selector_remove_column),
7379 (hildon_touch_selector_set_column_attributes),
7380 (hildon_touch_selector_insert_column),
7381 (hildon_touch_selector_get_num_columns),
7382 (hildon_touch_selector_get_column_selection_mode),
7383 (hildon_touch_selector_set_column_selection_mode),
7384 (hildon_touch_selector_set_print_func),
7385 (hildon_touch_selector_get_print_func),
7386 (hildon_touch_selector_get_active_iter),
7387 (hildon_touch_selector_set_active_iter),
7388 (hildon_touch_selector_get_selected_rows),
7389 (hildon_touch_selector_get_model),
7390 (hildon_touch_selector_set_model),
7391 (hildon_touch_selector_get_current_text),
7392 (_hildon_touch_selector_center_on_selected_items):
7393 * src/hildon-touch-selector.h: Renamed from
7394 hildon-touch-picker.[ch]
7396 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7397 references, code examples, and related documentation.
7399 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7401 * doc/hildon-docs.sgml
7404 * src/hildon-toggle-button.c
7405 * src/hildon-toggle-button.h
7406 * src/hildon.h: New HildonToggleButton widget.
7408 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7410 * src/hildon-button.c: Add API documentation.
7411 (hildon_button_set_size_groups): Check input parameters
7413 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7415 * src/hildon-pannable-area.c
7416 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7417 effect after reaching the movement thredshold. This way we start
7418 using the distance after passing the thredshold.
7420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/hildon-button.c: (hildon_button_set_property): Use the
7423 appropriate g_value_get_flags() method.
7425 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7427 * doc/hildon-docs.sgml:
7430 Add the touch pickers, picker dialogs, and picker button widgets
7431 to the documentation.
7433 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7435 * src/hildon-button.c: (hildon_button_set_property),
7436 (hildon_button_class_init): Make "arrangement-flags" a proper
7437 G_TYPE_FLAGS derived property.
7439 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7441 * examples/Makefile.am: Add below examples.
7442 * examples/hildon-date-button-example.c:
7443 * examples/hildon-picker-button-example.c:
7444 * examples/hildon-picker-button-multicolumn-example.c:
7445 * examples/hildon-time-button-example.c:
7446 * examples/hildon-touch-picker-example.c:
7448 Add examples for the recently added touch pickers,
7449 picker dialogs, and picker button widgets.
7451 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7453 * src/hildon-button.c: Add some API documentation
7455 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7457 * src/hildon-button.h
7458 * src/hildon-button.c
7460 (hildon_button_new_with_text): New constructor to create a button
7461 with no text at all.
7462 (hildon_button_init, hildon_button_set_arrangement)
7463 (hildon_button_set_title, hildon_button_set_value)
7464 (hildon_button_set_text)
7465 (hildon_button_construct_child): Hide the value when it's not used
7466 so the rest of the text is properly aligned.
7467 Allow creating buttons with arbitrary widgets inside (not just
7468 title/value labels).
7470 * examples/hildon-button-example.c (vertical_buttons_window)
7471 (horizontal_buttons_window): Update example to use new API.
7473 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7475 * src/Makefile.am: Added HildonTimeButton.
7476 * src/hildon-time-button.c: Added missing LGPL header.
7477 * src/hildon-time-button.h: Added missing LGPL header.
7478 * src/hildon.h: Add hildon-time-button.h
7480 Copied HildonTimeButton from sandbox to trunk. Future work on this
7481 widget must take place in trunk.
7483 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7485 * src/Makefile.am: Added HildonDateButton.
7486 * src/hildon-date-button.c: Update includes.
7487 * src/hildon.h: Add hildon-date-button.h
7489 Copied HildonDateButton from sandbox to trunk. Future work on this
7490 widget must take place in trunk.
7492 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7494 * src/Makefile.am: Added HildonPickerButton.
7495 * src/hildon-picker-button.h: Update includes.
7496 * src/hildon.h: Add hildon-picker-button.h
7498 Copied HildonPickerButton from sandbox to trunk. Future work on
7499 this widget must take place in trunk.
7501 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7503 * src/Makefile.am: Added HildonPickerDialog.
7504 * src/hildon-picker-dialog.c: Update includes.
7505 * src/hildon.h: Add hildon-picker-dialog.h
7507 Copied HildonPickerDialog from sandbox to trunk. Future work
7508 on this widget must take place in trunk.
7510 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7512 * src/Makefile.am: Added HildonTimeSelector.
7513 * src/hildon.h: Add hildon-time-selector.h
7515 Copied HildonTimeSelector widget from sandbox to trunk. Future
7516 work on this widget must happen in trunk.
7518 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7520 * src/Makefile.am: Added HildonDateSelector.
7521 * src/hildon.h: Add hildon-date-selector.h
7523 Copied HildonDateSelector widget from sandbox to trunk. Future
7524 work on this widget must happen in trunk.
7526 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/Makefile.am: Added HildonTouchPicker.
7529 * src/hildon-touch-picker.c: Update includes.
7530 * src/hildon.h: Add hildon-touch-picker.h
7532 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7533 on this widget must happen in trunk.
7535 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7537 * src/hildon-pannable-area.c:
7538 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7540 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7542 * examples/hildon-app-menu-example.c (main): Let the window
7545 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7547 * src/hildon-pannable-area.c
7548 (hildon_pannable_area_class_init): Set the min value of the
7549 overshoot properties to zero, which points out that not
7550 overshooting allowed.
7552 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7554 Modified the procedure to get the widget at a point inside the
7555 pannable area when using the movement type signals. Now the user
7556 has to call a function to get the child, that way we just
7557 calculate the child in case the user really want to use it and not
7560 * src/hildon-marshalers.list: Modified the marshallers, now we do
7561 not have the widget as a parameter.
7563 * src/hildon-pannable-area.c
7564 (hildon_pannable_area_motion_notify_cb),
7565 (hildon_pannable_area_class_init),
7566 (hildon_pannable_get_child_widget_at): Removed the widget
7567 parameter from the signal callback. We have also refactored the
7568 emission of the signals.
7570 * src/hildon-pannable-area.h: Added a new method to the API to
7571 calculate a widget at a point inside the pannable area,
7572 hildon_pannable_get_child_widget_at.
7574 * examples/hildon-pannable-area-example-4.c
7575 (horizontal_movement): Modified the example to use the new API,
7576 added condition to control which widget is under the event. This
7577 way we can avoid scrolling laterally over other widgets.
7579 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7583 modes, we stop getting the pointer events due to returning the
7584 callback without properly calling the get pointer again. Fixed
7585 also an error using the hscroll and vscroll.
7587 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7589 * src/hildon-app-menu-private.h
7590 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7591 (hildon_app_menu_button_release, hildon_app_menu_init)
7592 (hildon_app_menu_class_init): Don't hide the menu on button
7593 release if the user didn't press outside first.
7595 * src/hildon-window.h
7596 * src/hildon-window.c (hildon_window_toggle_menu)
7597 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7598 hildon_window_toggle_menu a virtual function for the stackable
7599 window to override it.
7601 * src/hildon-stackable-window.h
7602 * src/hildon-stackable-window-private.h
7603 * src/hildon-stackable-window.c
7604 (hildon_stackable_window_realize)
7605 (hildon_stackable_window_finalize)
7606 (hildon_stackable_window_class_init)
7607 (hildon_stackable_window_init)
7608 (hildon_stackable_window_set_main_menu): New function to set the
7609 app menu of a HildonStackableWindow.
7611 * examples/hildon-app-menu-example.c: Remove the button to show
7612 the app menu, now it'll be shown when clicking on the title bar
7615 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7617 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7618 set the widget name if the arrangement flags do not specify
7621 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7623 * src/hildon-button.c: (hildon_button_set_property),
7624 (hildon_button_class_init), (hildon_button_new_full),
7625 (hildon_button_set_arrangement): Added "arrangement-flags"
7628 Make the HildonButtonFlags a construction-only property, to allow
7629 subclasses to set them properly.
7631 2008-07-21 Tim Janik <timj@imendio.com>
7633 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7634 insertion position after backspace, so additional digits are appended,
7637 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7639 * src/hildon-pannable-area.c,
7640 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7641 TODO list, it was complete and removed the g_debug and g_print
7644 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7646 Added the movement modes to the hildon-pannable-area, with this
7647 modes the developers can control in which directions the widget
7648 can scroll. They can also connect to signals in order to do
7649 something when that happens, allowing applications scroll. There
7650 is an example uploaded showing how to use it.
7652 * examples/Makefile.am:
7653 * examples/hildon-pannable-area-example-4.c: Added this example of
7654 an application using the modes.
7656 * src/hildon-marshalers.list: Added a new marshaller for the new
7659 * src/hildon-pannable-area.h: Added new enumerations and flags in
7660 order to control the movement modes and the new signals to warn
7661 about the movements in the area.
7663 * src/hildon-pannable-area.c:
7664 (hildon_pannable_axis_scroll),
7665 (hildon_pannable_area_scroll),
7666 (hildon_pannable_area_motion_notify_cb),
7667 (hildon_pannable_area_get_property),
7668 (hildon_pannable_area_set_property),
7669 (hildon_pannable_area_map),
7670 (hildon_pannable_area_class_init),
7671 (hildon_pannable_area_init),
7672 (hildon_pannable_area_jump_to): Added the modes to control the
7673 movement in the widget. We have added properties to control it,
7674 signals to warn about the movements and refactored some code.
7676 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7678 Changes required in order to allow vfast_factor set to zero to
7681 * src/hildon-pannable-area.c:
7682 (hildon_pannable_area_button_press_cb): Changed the condition, it
7683 is required for not allowing click when vfast_factor is zero.
7684 (hildon_pannable_area_timeout): Initialized velocity variables
7685 when we stop moving, it was less than 1 but not zero and we need
7686 to check zero in some situations.
7687 (hildon_pannable_area_class_init): Changed the default value of
7688 the speed factor, now the button_press is just sent in case the
7689 speed is 2 per cent of the max speed.
7690 (hildon_pannable_area_init): Initialization with 0.
7692 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7694 * src/hildon-pannable-area.c,
7695 (hildon_pannable_area_get_topmost): replaced
7696 gdk_window_get_children with gdk_window_peek_children, this way we
7697 do not have to free the list because it is not a copy.
7699 (hildon_pannable_axis_scroll),
7700 (hildon_pannable_area_scroll),
7701 (hildon_pannable_area_timeout),
7702 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7703 two parameters that were only used inside the
7704 hildon_pannable_area_scroll function.
7706 * examples/hildon-pannable-area-example.c,
7707 (get_sawtooth_label): Fixed small memory leak.
7709 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7711 More checks for the case where the overshoot is bigger than the
7714 * src/hildon-pannable-area.c:
7715 (hildon_pannable_draw_vscroll),
7716 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7717 to draw the slider of the scrollbar under the other scrollbar.
7718 (hildon_pannable_area_expose_event): added new checks to control
7719 the drawing of the overshooting area rectangle, in case it is too
7720 big for the area of the widget.
7721 (hildon_pannable_area_size_allocate): add more checks to avoid
7722 setting a position to the child widget outside the area.
7724 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7726 * src/hildon-pannable-area.c
7727 (hildon_pannable_area_size_allocate): Added conditions to control
7728 when overshooting is bigger than the allocated space for the
7729 children, this avoids negative allocations.
7731 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7733 * doc/hildon-docs.sgml
7735 * examples/Makefile.am
7736 * examples/hildon-button-example.c
7738 * src/hildon-button.c
7739 * src/hildon-button.h
7740 * src/hildon.h: Initial version of the new HildonButton widget,
7743 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7745 * src/hildon-pannable-area.c:
7746 (hildon_pannable_area_button_press_cb),
7747 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7748 (hildon_pannable_area_motion_notify_cb),
7749 (hildon_pannable_area_button_release_cb),
7750 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7751 (hildon_pannable_area_jump_to_child):
7753 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7755 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7757 * examples/Makefile.am
7758 * examples/hildon-pannable-area-touch-grid-example.c
7759 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7760 the Hildon Touch List and Hildon Touch Grid using the
7761 HildonPannableArea widget.
7763 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7765 * src/hildon-pannable-area.c,
7766 (hildon_pannable_area_button_press_cb),
7767 (hildon_pannable_area_refresh),
7768 (hildon_pannable_area_scroll),
7769 (hildon_pannable_area_motion_notify_cb),
7770 (hildon_pannable_area_button_release_cb),
7771 (hildon_pannable_area_expose_event),
7772 (hildon_pannable_area_add),
7773 (hildon_pannable_area_remove),
7774 (hildon_pannable_area_realize),
7775 (hildon_pannable_area_size_allocate),
7776 (hildon_pannable_area_class_init),
7777 (hildon_pannable_area_init),
7778 (hildon_pannable_area_scroll_to_child),
7779 (hildon_pannable_area_jump_to_child): Fixed the problem of
7780 removing the child from the GtkBin, we have rearranged the widget
7781 hierarchy, now there is no GtkAlignment which was not doing
7782 anything interesting but breaking some of the assumptions of
7783 GtkContainer. Now developers if they want to add a GtkAlignment
7784 they could, but it is not inside the area.
7786 We had to review the whole allocation/expose process, now it is
7787 improved and we save at least three signals which would be saving
7788 some time when rendering the widget. The allocation of the
7789 scrollbars is now made in the allocate method as usual.
7791 We have also added some conditions in order to control when there
7792 is no child of the pannable area. Maybe we will need more work
7795 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7797 * src/hildon-pannable-area.c,
7798 (hildon_pannable_area_dispose): Released the fade-out timeout when
7799 disposing the widget.
7801 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7803 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7804 zero, we are going to use that property in order to deactivate the
7806 (hildon_pannable_axis_scroll),
7807 (hildon_pannable_area_size_allocate): Added conditions to control
7808 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7809 call, now it is called in all situations and we can remove calls
7810 in the allocate method.
7811 (hildon_pannable_area_map): Control the situation when
7812 overshoot_max is zero, we do not need the timeout.
7813 (hildon_pannable_area_class_init): Added documentation in order to
7814 point out that setting zero to overshoot_max means deactivate
7817 NOTE: removed trailing whitespaces from my previous comments of
7820 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7822 * src/hildon-pannable-area.c
7823 (hildon_pannable_area_get_property),
7824 (hildon_pannable_area_set_property),
7825 (hildon_pannable_area_map),
7826 (hildon_pannable_area_class_init),
7827 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7828 to cause the widget give a hint about its panning abilities upon
7831 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7833 * src/hildon-pannable-area.c: Several documentation improvements.
7835 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7837 * src/hildon-program.c
7838 * src/hildon-stackable-window.c: Update documentation.
7840 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7842 * src/hildon-stackable-window.c (get_previous_window_if_last):
7843 Renamed get_last_window()
7844 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7845 (hildon_stackable_window_unset_program):
7847 (get_previous_window_if_last):
7848 Detect if the window hasn't been added to a HildonProgram.
7850 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7852 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7854 * src/hildon-pannable-area.c
7855 (hildon_pannable_area_button_press_cb),
7856 (hildon_pannable_axis_scroll),
7857 (hildon_pannable_area_scroll),
7858 (hildon_pannable_area_timeout),
7859 (hildon_pannable_calculate_vel_factor),
7860 (hildon_pannable_area_get_property),
7861 (hildon_pannable_area_set_property),
7862 (hildon_pannable_area_class_init),
7863 (hildon_pannable_area_init),
7864 (hildon_pannable_area_scroll_to),
7865 (hildon_pannable_area_jump_to),
7866 (hildon_pannable_area_scroll_to_child),
7867 (hildon_pannable_area_jump_to_child):
7868 * src/hildon-pannable-area.h: Added the new API functions:
7869 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7870 hildon_pannable_area_scroll_to_child,
7871 hildon_pannable_area_jump_to_child
7874 * examples/Makefile.am
7875 * examples/hildon-pannable-area-example-2.c
7876 * examples/hildon-pannable-area-example-3.c: Added these two new
7877 examples in order to test and show how the new APIs work.
7879 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7881 * examples/hildon-stackable-window-example.c (new_window):
7882 * src/Makefile.am (noinst_HEADERS):
7883 * src/hildon-program.c (hildon_program_go_to_root_window):
7884 * src/hildon-program.h:
7885 * src/hildon-stackable-window-private.h:
7886 * src/hildon-stackable-window.c:
7887 * src/hildon-stackable-window.h:
7888 Create hildon-stackable-window-private.h
7889 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7891 * examples/hildon-app-menu-example.c (create_menu):
7892 * examples/hildon-hvolumebar-insensitive-example.c (main):
7893 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7894 * examples/hildon-toolbar-seekbar-example.c (main):
7895 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7896 * src/hildon-banner.c (hildon_banner_set_property):
7897 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7898 Fix compilation warnings
7900 * src/hildon-window.c:
7903 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7905 * src/hildon-stackable-window.c
7906 (hildon_stackable_window_unset_program):
7907 Calculate correctly whether to show the previous window if the
7908 last one is removed from the stack.
7909 (hildon_stackable_window_go_to_root_window):
7910 Send delete events starting from the topmost window.
7911 Stop if one of the windows is not destroyed.
7913 (hildon_stackable_window_delete_event)
7914 (hildon_stackable_window_class_init):
7915 Ignore the delete event if the window is not the topmost one.
7917 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7919 * src/hildon-pannable-area.c
7920 (hildon_pannable_area_expose_event): Fixed a problem when
7921 selecting the background color of the scrollbars.
7923 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7925 * examples/hildon-stackable-window-example.c
7926 * src/hildon-stackable-window.c
7927 * src/hildon-stackable-window.h
7928 hildon_stackable_window_go_home() renamed to
7929 hildon_stackable_window_go_to_root_window()
7930 Send delete events to windows rather than closing them with
7931 gtk_widget_destroy()
7933 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7935 * src/hildon-pannable-area.c
7936 (hildon_pannable_area_button_release_cb): Fix overshooting in
7939 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7941 * src/hildon-pannable-area.c
7942 (hildon_pannable_area_init): Initially show the scroll indicators.
7943 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7945 Add initial effect showing the widget is pannable.
7947 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7949 * src/hildon-pannable-area.c
7950 (hildon_pannable_area_class_init)
7951 (hildon_pannable_area_set_property)
7952 (hildon_pannable_area_get_property)
7953 (hildon_pannable_area_button_press_cb):
7954 New 'velocity_fast_factor' property to decide which velocity is
7957 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7959 * src/hildon-pannable-area.c
7960 (hildon_pannable_draw_hscroll)
7961 (hildon_pannable_draw_vscroll):
7962 Use float variables to calculate the size of the scrollbars to
7963 avoid error propagation and resizing during scrolling.
7965 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7967 * src/hildon-pannable-area.c
7968 (hildon_pannable_draw_vscroll)
7969 (hildon_pannable_draw_hscroll):
7970 Define a minimum size for the scroll bars
7972 * src/hildon-stackable-window.c
7973 (hildon_stackable_window_go_home): Fix compilation warning
7974 (get_last_window): Minor optimizations
7975 (hildon_stackable_window_class_init): Fix initialization of
7978 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7980 * src/hildon-stackable-window.c: Fixed typos in doc
7982 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7984 * src/hildon-pannable-area.c
7985 (hildon_pannable_area_scroll):
7986 Calculate here whether we need to scroll instead of using the booleans
7987 that tell us whether to /draw/ the scrolling bars.
7989 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7991 * src/hildon-app-menu.h
7993 * src/hildon-app-menu.c
7994 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7995 multiple filter groups related code and API. Now we support only
7997 * examples/hildon-app-menu-example.c:
7999 Update to reflect API changes.
8001 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8003 * src/hildon-stackable-window.c
8004 (hildon_stackable_window_class_init):
8005 Add hildon_stackable_window_realize.
8006 (hildon_stackable_window_realize):
8007 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8008 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8009 to apply theming and behavior specific to HildonStackableWindow
8012 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8014 * src/hildon-note.c (hildon_note_button_release):
8015 Close information notes also when tapping on them
8017 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8019 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8020 ELASTICITY, refactor and review, fix some issues with drawing
8023 * src/hildon-pannable-area.c:
8024 (hildon_pannable_area_button_press_cb): removed the conditions to
8025 avoid clicks when overshooting. It is not required
8027 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8028 define. Refatored and reviewed the code, now we do not need to
8029 manage velocity in motion_notify.
8031 (hildon_pannable_area_motion_notify_cb): We have moved the code
8032 that controls the area_scroll to the axis_scroll function and get
8033 rid of duplicated code.
8035 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8037 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8039 (hildon_pannable_draw_vscroll),
8040 (hildon_pannable_draw_hscroll): Fixed the problems with the
8041 scrollbar drawing, now we do not use two surfaces, it is easier
8042 and saves resources.
8044 (hildon_pannable_area_get_property): Style modification.
8046 (hildon_pannable_area_class_init): Changed some default values.
8048 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8050 * src/hildon-stackable-window.c: Fix some typos in the
8053 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8055 * src/hildon-dialog.c:
8056 Change indentation style
8059 (hildon_note_button_release):
8060 Use root coordinates to check if the release event happened
8063 * src/hildon-app-menu.c
8064 (hildon_app_menu_button_release):
8065 Remove unnecessary check
8067 * examples/hildon-app-menu-example.c
8069 Add cast to fix warning
8071 * src/hildon-app-menu.c
8072 (hildon_app_menu_class_init):
8073 New inner-border style property.
8074 Set all default spacings to 16
8075 (hildon_app_menu_init):
8076 Use vertical-spacing to set the space between filter buttons and
8077 regular menu buttons.
8078 Set the default container border using the inner-border value.
8080 * examples/hildon-app-menu-example.c
8082 Don't set the menu border explicitly, now we have the inner-border
8083 style property for that.
8085 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8087 * src/hildon-app-menu.c (hildon_app_menu_init):
8088 Make the window modal
8090 * src/hildon-note.c (hildon_note_map)
8091 * src/hildon-app-menu.c (hildon_app_menu_map):
8092 Destroy the grab window if we're unable to grab the pointer
8094 * src/hildon-app-menu-private.h
8095 * src/hildon-app-menu.c
8096 (hildon_app_menu_init, hildon_app_menu_finalize)
8097 (hildon_app_menu_map, hildon_app_menu_unmap)
8098 (hildon_app_menu_button_release)
8099 (grab_transfer_window_get):
8100 Bring back the grab window
8101 (hildon_app_menu_realize):
8102 Decorate the window, set WM hint for Matchbox
8104 * src/hildon-note.c (hildon_note_realize):
8105 * src/hildon-banner.c (hildon_banner_realize):
8106 Add WM hints for Matchbox
8108 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8110 * src/hildon-app-menu-private.h
8111 * src/hildon-app-menu.c
8112 (hildon_app_menu_init, hildon_app_menu_finalize)
8113 (hildon_app_menu_map, hildon_app_menu_unmap)
8114 (hildon_app_menu_button_release):
8115 Remove the grab window, it's not needed anymore
8117 * src/hildon-program.c
8118 Fixed typo in documentation
8120 * src/hildon-app-menu.h
8121 * src/hildon-app-menu.c
8122 * examples/hildon-app-menu-example.c
8123 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8125 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8128 Added new transfer_window and close_if_pressed_outside private
8130 (hildon_note_rebuild):
8131 Don't add a cancel button to the information note. It will be
8132 closed when tapping outside
8133 Remove the comment about the OK button in the documentation
8134 (hildon_note_realize):
8135 Set the notification type hint
8136 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8137 Grab/ungrab pointer and keyboard if the note has to be closed when
8139 (hildon_note_button_release):
8140 Close the note when tapping outside (if applicable)
8142 * src/hildon-app-menu.c
8143 Grab/ungrab pointer and keyboard on map/unmap
8144 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8145 Close the menu on button release, not button press
8147 * src/hildon-banner.c
8148 (hildon_banner_set_property)
8149 (hildon_banner_check_position):
8150 Make the banner use the full width of the screen
8151 (hildon_banner_show_information)
8152 (hildon_banner_show_information_with_markup):
8153 Don't display an icon by default
8155 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8157 Added fading scrollbars and adapted all the overshooting code to
8158 horizontal scrolling. We have also fixed bugs with overshooting
8159 and current fading implementation.
8161 * src/hildon-pannable-area.c
8162 (hildon_pannable_area_scroll_indicator_fade): Time out function
8163 used to change the transparency of the scrollbars.
8165 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8166 control and fixed a problem with fading, we now remove the fade
8167 timeout before adding a new one.
8169 (hildon_pannable_axis_scroll):
8170 (hildon_pannable_area_scroll):
8171 (hildon_pannable_area_timeout): Added this functions so we can use
8172 the scroll code both for vertical and horizontal.
8174 (hildon_pannable_area_motion_notify_cb):
8175 (hildon_pannable_area_button_release_cb): Added the horizontal
8176 scrolling control, fixed a problem with the overshooting timeout.
8178 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8179 painting of the scrolls.
8181 (hildon_pannable_draw_vscroll):
8182 (hildon_pannable_draw_hscroll):
8183 (hildon_pannable_area_expose_event):
8184 Draw both scrollbars and rectangles in the overshooting area.
8186 (hildon_pannable_area_get_property):
8187 (hildon_pannable_area_set_property):
8188 Modified the overshoot property to overshoot_max
8190 (hildon_pannable_area_map):
8191 Replaced the comments symbols.
8193 (hildon_pannable_area_size_allocate):
8194 (hildon_pannable_area_class_init):
8195 (hildon_pannable_area_init): Added horizontal scroll, fading
8196 effect properties, fixed a problem when overshooting in the bottom
8199 * examples/hildon-pannable-area-example.c:
8200 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8201 looks better in the example.
8203 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8205 * src/hildon-window.c
8206 * src/hildon-window.h
8207 (hildon_window_class_init)
8208 (hildon_window_unset_program)
8209 (hildon_window_unset_program_real):
8210 Make unset_program a virtual function
8212 * src/hildon-stackable-window.c
8213 * src/hildon-stackable-window.h
8214 Added hildon_stackable_window_go_home()
8216 * examples/Makefile.am
8217 * examples/hildon-stackable-window-example.c
8218 HildonStackableWindow example
8220 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8222 * hildon-pannable-area.c: Added the overshoot property and removed
8223 the OVERSHOOT define. Fixed an indent style error.
8224 (hildon_pannable_area_motion_notify_cb):
8225 (hildon_pannable_area_get_property):
8226 (hildon_pannable_area_set_property): Add overshoot property.
8228 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8231 (hildon_pannable_area_class_init): Installed the new property.
8233 * hildon-pannable-area-example.c: Added a sawtooth function, this
8234 way it is easier to check the movement in the pannable.
8235 (get_sawtooth_label): Added this function.
8236 (main): Now we get the labels from the new get_sawtooth_label
8239 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8241 * src/hildon-app-menu.h
8242 * src/hildon-app-menu.c
8243 Renamed API variables for consistency
8245 (hildon_app_menu_popup): Use also the default window size to
8246 decide where to place the menu
8248 (hildon_app_menu_init, hildon_app_menu_class_init): New
8249 external-border style property
8251 2008-05-26 Michael Natterer <mitch@imendio.com>
8253 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8254 widget_class->tap_and_hold_setup signal slot doesn't exist any
8255 longer, stop overriding it.
8257 (hildon_time_editor_init): g_signal_connect() to the
8258 tap-and-hold-setup signal instead.
8260 (hildon_time_editor_entry_keypress): add cast to fix warning.
8262 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8264 * doc/hildon-docs.sgml
8266 * examples/Makefile.am
8267 * examples/hildon-app-menu-example.c
8269 * src/hildon-app-menu-private.h
8270 * src/hildon-app-menu.c
8271 * src/hildon-app-menu.h
8273 New HildonAppMenu widget
8275 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8277 Rearranged the inheritance of the pannable area, now it inherits
8278 from GtkBin. This will allow us to control the event_window and
8279 the allocation process of the widget, required for some effects.
8281 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8282 GtkBin structures. * src/hildon-pannable-area.c: Added the
8283 event_window variable.
8284 (hildon_pannable_area_button_press_cb):
8285 (hildon_pannable_area_button_release_cb):
8286 (hildon_pannable_area_motion_notify_cb):
8287 Changed the signature of the method, now we override the event
8288 callback instead of connecting to the signal.
8290 (hildon_pannable_area_realize):
8291 (hildon_pannable_area_unrealize):
8292 (hildon_pannable_area_map):
8293 (hildon_pannable_area_unmap):
8294 (hildon_pannable_area_size_allocate):
8295 Added functions to control the widget construction. We add a
8296 INPUT_ONLY window and we put it over the widgets inside the
8297 container, this event_window handles the events.
8299 (hildon_pannable_area_class_init):
8300 Replaced the signal connections with overrides of the event
8303 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8305 Bouncing effect added when touching the borders, you can change
8306 the elasticity of the border changing the ELASTICITY define.
8308 * src/hildon-pannable-area.c: Added ELASTICITY define.
8309 (hildon_pannable_area_timeout): Added inverse velocity when
8310 touching the border of the child widget, that causes a bounce.
8312 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8314 Improved performance, we now do not go to the X server in order to
8315 get the list of window children. Apparently the effect is the
8316 same, we have to be careful and check if this breaks something in
8319 * src/hildon-pannable-area.c:
8320 (get_ordered_children): Removed this function.
8321 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8322 the children windows function with gdk_window_get_children.
8324 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8326 * src/hildon-pannable-area.c:
8327 (hildon_pannable_area_dispose): Fixed a crash when closing the
8328 window and kinetics is activated.
8330 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8332 * src/hildon-pannable-area.h
8333 * src/hildon-pannable-area.c
8334 Changed indentation style to meet the one used in Hildon
8336 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8338 Reviewed the interaction of the AUTO mode, now we use the time
8339 attribute of the events and calculate the velocity in the motion,
8340 doing a gimp like calculation. The velocity is calculated in each
8341 motion event using the last velocity and the current one, the
8342 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8344 * src/hildon-pannable-area.c: Replaced the time based algorithm
8346 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8347 timeout for the AUTO mode when we are still moving the cursor. We
8348 added also the velocity calculation in this function.
8349 (hildon_pannable_area_button_release_cb): launch the timeout in
8350 case we are in AUTO mode. There are still some constants here that
8351 come from the old implementation that should be reviewed and
8354 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8356 * doc/hildon-docs.sgml
8359 * src/hildon-stackable-window.c
8360 * src/hildon-stackable-window.h
8362 New HildonStackableWindow widget
8364 * examples/hildon-dialog-example.c
8365 * examples/hildon-pannable-area-example.c
8368 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8370 * src/hildon-dialog.c
8371 (hildon_dialog_new_with_buttons): New constructor.
8373 * examples/hildon-dialog-example.c
8374 (main): Update the example to use the new
8375 hildon_dialog_new_with_buttons().
8377 * examples/hildon-pannable-area-example.c
8378 (main): Update example.
8380 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8382 * doc/hildon-docs.sgml
8384 Added HildonPannableArea to the documentation.
8386 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8388 * doc/visual_index.xml
8389 Fix reference to HildonLoginDialog in documentation
8391 * doc/hildon-docs.sgml
8393 * examples/Makefile.am
8394 * examples/hildon-dialog-example.c
8396 * src/hildon-dialog.c
8397 * src/hildon-dialog.h
8399 New HildonDialog widget.
8401 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8403 * src/hildon-pannable-area.c
8404 Merge latest changes (r4318, r4342) from libmokoui trunk
8406 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8408 * examples/Makefile.am
8409 * examples/hildon-pannable-area-example.c
8411 * src/hildon-pannable-area.c
8412 * src/hildon-pannable-area.h
8414 New HildonPannableArea widget.
8416 2008-04-15 18:05:19 <timj@imendio.com>
8418 * src/hildon-banner.c: revert the recent change, that introduced
8419 gtk_window_present() calls. this reopens:
8420 Bug 78481 - [freetest] information banners are hidden under browser menu
8421 But resolves another variant of:
8422 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8424 2008-04-15 13:21:13 <timj@imendio.com>
8426 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8427 recreated its layout, spotted by Kris. this fixes all remaining
8428 artefacts and stability issues with the banner code. in particular:
8429 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8431 2008-04-14 16:52:59 <timj@imendio.com>
8433 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8434 operating on unrealized widgets, fixes:
8435 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8437 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8439 2008-04-09 Kristian Rietveld <kris@imendio.com>
8441 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8442 makes banner disappear.
8443 Fixes: NB#79182: info banner flickering with certain message lengts.
8445 * src/hildon-banner.c (hildon_banner_constructor),
8446 (hildon_banner_init), (hildon_banner_set_text),
8447 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8448 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8449 FALSE, reset size requests of label and banner,
8450 (force_to_wrap_truncated): when the text is too wide, always enforce
8451 the maximum possible width instead of recalculating it from the
8452 layout; enforce the maximum banner height of 3 lines,
8453 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8454 nicer wrapping and no truncated chars if space gets tight.
8456 * src/hildon-banner-private.h: add has_been_wrapped and
8457 has_been_truncated fields.
8459 2008-04-07 Sven Herzberg <sven@imendio.com>
8461 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8462 local values in hildon_date_editor_size_allocate
8464 * src/hildon-date-editor.c: moved the real allocation code into the
8467 2008-04-07 Sven Herzberg <sven@imendio.com>
8469 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8470 local values in hildon_date_editor_size_allocate
8472 * src/hildon-date-editor.c: merged the two if() branches together
8474 2008-04-07 Sven Herzberg <sven@imendio.com>
8476 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8477 local values in hildon_date_editor_size_allocate
8479 * src/hildon-date-editor.c: changed the arguments of the if()
8482 2008-04-07 Sven Herzberg <sven@imendio.com>
8484 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8485 local values in hildon_date_editor_size_allocate
8487 * src/hildon-date-editor.c: split the calculation of the allocation
8488 from the real allocation
8490 2008-03-27 Michael Natterer <mitch@imendio.com>
8492 Fixes: NB#81696: The passcode is not overwritten even after
8495 * src/hildon-code-dialog.c
8496 (hildon_code_dialog_button_clicked)
8497 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8498 because that doesn't overwrite selected text. Instead, emit the
8499 "commit" signal on the entry's im_context so the entry's normal
8500 insert logic is triggered. Set the cursor to the end of the entry
8501 after each insert operation so that we *only* insert in the middle
8502 of the text if something was selected.
8504 2008-03-27 Michael Natterer <mitch@imendio.com>
8506 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8507 selector cannot be opened
8509 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8510 when the popup color selector is created. Please connect to this
8511 signal in order to set the dialog's help ID.
8513 2008-03-25 Sven Herzberg <sven@imendio.com>
8515 Fixes: MB#1212: Hide info banners (infoprints) on click
8517 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8518 extracted the close event simulation into an extra function
8519 (hildon_banner_button_press_event): simulate a close event and destroy
8520 the widget if the event wasn't handled
8521 (hildon_banner_class_init): added the button_press_event handler
8522 (hildon_banner_init): added button-press events to the widget
8524 2008-03-25 Sven Herzberg <sven@imendio.com>
8526 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8527 Patch from: Mohammad Anwari <mdamt@maemo.org>
8529 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8530 instead of the right in RTL mode
8531 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8532 breadcrumb button list in RTL mode
8533 * src/hildon-caption.c: mirror the appearance of the caption widget in
8535 * src/hildon-date-editor.c: mirror appearance of the date editor in
8537 * src/hildon-time-editor.c: mirror appearance of the time editor in
8539 * src/hildon-window.c: fix the position of the popup in RTL mode
8541 2008-03-25 Sven Herzberg <sven@imendio.com>
8543 Amendment to the fix of NB#22072. Fix compilation.
8545 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8547 2008-03-19 Sven Herzberg <sven@imendio.com>
8549 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8552 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8553 timeout id properly when the timeout will disappear this leaves no
8554 artifacts around in the destroy(); there will only be the timeout
8555 created by hildon_banner_ensure_timeout() and adding a new timeout
8556 will also work if the timeout gets removed because the timeout_handler
8559 2008-03-19 Michael Natterer <mitch@imendio.com>
8561 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8563 * src/hildon-volumebar.c
8564 * src/hildon-vvolumebar.c
8565 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8566 the widget becomes focussable at all.
8568 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8569 set the focus to wither the mute button or the volumebar.
8571 Remove own "can-focus" property and instead listen to
8572 notify::can-focus in order to update the widget's state.
8574 Implement GtkWidget::focus() and make sure we can also *leave* the
8575 widget, not only enter it, depending on volumebar orientation and
8576 requested focus direction.
8578 Clean up set_mute() to cooperate nicely with all the above.
8580 2008-03-04 Michael Natterer <mitch@imendio.com>
8582 Fixes: NB#78481: information banners are hidden under browser menu
8584 * src/hildon-banner.c: call gtk_window_present() on the banners so
8585 they are risen if they are already visible.
8587 2008-03-03 Sven Herzberg <sven@imendio.com>
8589 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8591 * examples/hildon-window-menu-example.c: (main): extended the window
8592 menu example to serve as a testcase for automatically added
8593 accelerator groups, too
8594 * src/hildon-window.c: (hildon_window_add_accel_group),
8595 (hildon_window_set_menu): added patch by Tommi Komulainen
8597 2008-03-03 Sven Herzberg <sven@imendio.com>
8599 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8601 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8602 knowledge about the border allocators used within GTK+
8604 2008-02-26 Sven Herzberg <sven@imendio.com>
8606 Fixes: MB#2981: Build with asserts broken
8608 * src/hildon-date-editor.c,
8609 * src/hildon-number-editor.c,
8610 * src/hildon-time-editor.c,
8611 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8612 the proper GType instance check
8614 2008-02-25 Sven Herzberg <sven@imendio.com>
8616 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8618 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8619 * examples/hildon-window-menu-example.c: (main): explicitly show
8621 * src/hildon-window.c:
8622 (hildon_window_set_main_menu): moved most of the code from set_menu()
8623 to this place; skipped the call to gtk_widget_show_all(); also didn't
8624 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8625 (hildon_window_set_menu): removed most of the code, just keep the
8626 questionable gtk_widget_show_all()
8627 * src/hildon-window.h: added the new function and deprecate the old
8630 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8636 * debian/changelog: Updating.
8638 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8641 * pkgconfig/Makefile.am:
8642 * pkgconfig/hildon.pc.in:
8645 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8646 use newly created API_MAJOR_VERSION.
8648 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8654 * debian/changelog: Updating.
8656 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8658 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8660 Add outer_border style property, we use it but don't define it (!).
8664 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8666 * examples/hildon-bread-crumb-trail-example.c (main):
8670 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8672 Fix logic for the bread crumb trail node removal.
8676 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * debian/changelog: Updating.
8684 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 Patch by Alejandro to get/set passwords dialogs accesibility.
8688 * hildon-1/src/hildon-get-password-dialog.c:
8689 * hildon-1/src/hildon-set-password-dialog.c:
8690 Set atk_set_name to the passwd entries in order to allow
8691 accessibility by name on this entries.
8693 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * debian/control: Updating gtk dep.
8700 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8702 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8703 USE_MAEMO_GTK is enabled.
8705 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8707 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8708 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8710 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * debian/changelog: Updating.
8718 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8720 * examples/Makefile.am:
8721 * examples/hildon-logical-color-example.c:
8722 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8723 applied + adding a test case. Fixes: NB#71660.
8725 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8727 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8728 to be visible, fixes warning on map for windows without toolbars.
8730 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8732 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8733 2.11.0, add a check for that besides the MAEMO_GTK check.
8735 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * debian/changelog: Updating.
8743 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8745 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8746 visibility. Fixes: NB#70842 and MB#615.
8748 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8750 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8751 set the separator as no-show-all so it doesn't unintentionally appear when
8752 someone does a show_all.
8754 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8756 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8757 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8758 toplevel item. Fixes: NB#62031
8760 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8762 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8763 fix the name of the function in the docs.
8765 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * debian/changelog: Updating.
8773 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * examples/hildon-banner-long-example.c: Adding a test-case for long
8778 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8780 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * src/hildon-color-chooser-dialog.c:
8783 * src/hildon-color-chooser.c:
8784 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8785 memory leaks in font selector and color selector. Fixes: NB#70499 and
8788 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8790 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8792 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8795 little bit bigger. Fixes: #NB63694.
8797 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8803 * debian/changelog: Updating.
8805 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8808 * doc/hildon-docs.sgml:
8809 * doc/images/bread-crumb-trail.png:
8810 * doc/images/calendar-popup.png:
8811 * doc/images/caption.png:
8812 * doc/images/code-dialog.png:
8813 * doc/images/color-button.png:
8814 * doc/images/color-chooser-dialog.png:
8815 * doc/images/color-chooser.png:
8816 * doc/images/controlbar.png:
8817 * doc/images/date-editor.png:
8818 * doc/images/font-selection-dialog.png:
8819 * doc/images/get-password-dialog.png:
8820 * doc/images/hvolumebar.png:
8821 * doc/images/login-dialog.png:
8822 * doc/images/note.png:
8823 * doc/images/number-editor.png:
8824 * doc/images/range-editor.png:
8825 * doc/images/seekbar.png:
8826 * doc/images/set-password-dialog.png:
8827 * doc/images/sort-dialog.png:
8828 * doc/images/time-editor.png:
8829 * doc/images/time-picker.png:
8830 * doc/images/vvolumebar.png:
8831 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8832 Adding the bread-crumb-trial and helpers to the documentation.
8834 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * examples/hildon-find-toolbar-example.c:
8837 * src/hildon-find-toolbar.c:
8838 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8839 actually continue firing the other handlers if connected. Adding a new
8841 hildon_find_toolbar_get_last_index that gets the index of the most
8842 recently added (last) item. Fixes: NB#52301.
8844 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8846 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8847 behaviour. Fixes: NB#68610.
8849 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8854 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8856 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8857 when realizing the banner. Should make the infonbanner effect a bit more
8860 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * src/hildon-volumebar.c:
8863 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8864 hildon_volumebar_set_range_insensitive_message and
8865 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8867 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-window.c: Fixing the border freeing on destroy.
8871 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * src/hildon-code-dialog-private.h:
8874 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8875 kw keyboard support in HildonCodeDialog.
8877 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * debian/changelog: Updating.
8885 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * src/hildon-date-editor.c:
8888 * src/hildon-number-editor.c:
8889 * src/hildon-private.c:
8890 * src/hildon-private.h:
8891 * src/hildon-time-editor.c:
8892 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8893 handling in subclassed composite widgets. Fixes: NB#66628.
8895 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8897 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8898 from destroy_ callback as it introduces problems in async dbus signal
8899 handlers. Fixes NB#66673.
8901 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * examples/hildon-hvolumebar-example.c:
8904 * src/hildon-volumebar.c: Improving the focus handling in the
8905 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8906 set_property accessor so that "mute" property can be actually set. I'm
8907 scared that nobody noticed it's totally broken.
8909 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8914 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * src/hildon-calendar.c:
8917 * src/hildon-number-editor.c:
8918 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8919 matches the spec of 6 chars per second. Fixes: NB#60489.
8921 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8924 gtk_style_lookup_color sometime returns FALSE even though color was
8925 found and values were filled properly. Weird. Removing the warning for the
8928 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8931 expand vertically. Adding some extra space to the find toolbar buttons to
8932 make them thumbable. Fixes NB#66060.
8934 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8936 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8937 popup with "Ok" and "Cancel". Fixes NB#59299.
8939 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * src/hildon-calendar.c: Process all window updates before executing next
8942 timeout. Fixes: NB#54146.
8944 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * debian/changelog: Updating.
8952 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8954 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8955 the client event and ignore it, since we use the delete event to close
8958 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-helper.c: Remove the bogus warning about color not being
8961 found. Fixes NB#58352.
8963 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * examples/Makefile.am:
8966 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8967 HildonSeekbar widget inside a toolbar.
8969 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8971 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8972 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8973 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8974 don't want to be closed by non-temporary windows on map.
8976 Also use G_DEFINE_TYPE instead of manually typed code.
8978 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * debian/rules: Updating.
8987 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * examples/Makefile.am:
8990 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8991 bug NB#61128. Strangely it works.
8993 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * src/hildon-date-editor.c: When the date editor entry has been changed
8996 but the numbers of characters < max, turn off the skip validation flag.
8997 Prevents a situation when we enter first a valid year and later re-write
8998 it with an invalid one. Fixes NB#60154.
9000 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9003 code dialog. Fixes NB#64355.
9005 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9008 switching the page. Fixes NB#49374.
9010 * examples/Makefile.am:
9011 * examples/hildon-wizard-dialog-example.c: Adding an example for
9012 HildonWizardDialog that shows how to handle manual sensitivity setting on
9015 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * src/hildon-version.h.in:
9020 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9022 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9024 * src/hildon-volumebar.c: Updating the docs.
9026 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * debian/changelog: Updating.
9034 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-find-toolbar.c:
9037 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9038 selected item: hildon_find_toolbar_set_active,
9039 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9040 hildon_find_toolbar_get_active_iter . They correspond to respective
9041 GtkComboBox functions.
9043 * examples/Makefile.am:
9044 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9047 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * examples/Makefile.am:
9050 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9053 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9054 when font size > 32 and we pack a focusable widget inside. Actually using
9055 the default response would work too, but since we don't show default
9056 response state in any way (no theming) it would not be visible to the
9057 user. Fixes NB#63430.
9059 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * src/hildon-date-editor.c: Adding the missing variable setter in the
9062 set_property handler. Fixes NB#54182.
9064 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * src/hildon-window.h: Changing the long key press time from 1500ms to
9067 800ms as requested in NB#63700. I have a bad feeling about this, let's
9068 see... Fixes NB#63700.
9070 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9072 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9073 hildon_time_picker_map, hildon_time_picker_realize,
9074 hildon_time_picker_style_set): Split the contents of map to more
9075 appropriate functions; set window decorations on realize and update
9076 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9078 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9083 * debian/changelog: Updating.
9085 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9087 * src/Makefile.am: fixed installation of the header files
9089 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * debian/changelog: Updating.
9097 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * configure.ac: Removing some remaining of --enable-xan.
9101 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9103 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9104 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9106 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9107 2.10.12-osso6 because the move-focus signal needs to be available in
9110 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * examples/Makefile.am:
9113 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9114 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9115 fine. Prolly NB#61128 is fixed now.
9117 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-volumebar.c:
9120 * src/hildon-volumebar.h: Adding the
9121 hildon_volumebar_set_range_insensitive_message and
9122 hildon_volumebar_set_range_insensitive_messagef functions to set
9123 insensitive message on the slider of the volumebar. Fixes NB#61129.
9125 * examples/Makefile.am:
9126 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9127 test the new insensitive messsage functionality on HildonVolumebar.
9129 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9131 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9134 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9136 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9137 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9138 button on after clearing the trail.
9140 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9144 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9146 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9147 by splitting the installed headers in generated and non-generated groups. Use
9148 only the non-generated headers to create the hildon-enum-types.h file.
9150 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9152 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9154 * src/hildon-window.c: Hide the window before performing the destroy.
9155 Should make the app closing a little tiny bit more snappy.
9157 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9159 * src/hildon-seekbar.c: add gtkrange.h header
9160 * src/hildon-caption.c: remove unused variable
9162 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9164 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9167 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * debian/changelog: Updating.
9175 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9177 * src/hildon-window.c (hildon_window_window_state_event,
9178 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9179 escape timeout on focus-out-event rather than notify::is-topmost; the
9180 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9182 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9184 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9185 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9187 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9189 * src/hildon-window: actually, you need to use the macro always, there's
9190 no private pointer in the instance structure. We should have cleaned this up
9191 when we had the chance...
9193 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9195 * src/hildon-window.c: do not get the private date from HildonWindow before
9196 it passes the g_return_if_fail check. Once it's passed the test, there's no
9197 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9198 if you are only going to access the data once. Whitespace cleanups.
9200 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9202 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9203 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9205 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * debian/changelog: Updating.
9213 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-window.c: When destroying the window, remove (if exists) the
9216 escape timeout handler. Fixes #NB59276.
9218 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9220 * src/hildon-banner.c: When realizing the widget, set the window
9221 transiency. Setting the transiency in the gobject constructor is not
9222 good, as the widget is not realized at that point. Fixes: #NB56624.
9224 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9226 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9227 Add padding for future expansions.
9229 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9231 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9232 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9233 will fake an activation on the previous to the last item of the trail, so
9234 the effect can be overrided by the developer as usual.
9235 Also change the callback for the back button to do the same thing, so its
9236 effect can be overrided too. Fixes: NB#58982
9238 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9241 HildonCaption. Fixes NB#52379.
9243 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9245 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9246 the internal state of the trail after the user has had the chance of executing
9247 his handler for the signal. Specifically, it may happen that the activated button
9248 is removed and the user still lets the default handler run. This would segfault
9251 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9254 scrollbar to the preview dialog. Fixes NB#54147.
9256 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9258 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9259 max/min year properties can be altered, so the client can modify it
9260 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9262 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9264 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9265 hildonlike by default. Fixing a problem with disappearing arrows when
9266 scrolling through months and years. Fixes NB#54127.
9268 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * examples/hildon-date-editor-example.c: Adding error callback to the date
9273 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9279 * configure.ac: Updating.
9281 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9283 * configure.ac: Adding a special '--enable-xan' configure option that
9284 turns off the -Werror compilation setting. Usefull for development.
9286 * src/hildon-calendar.c:
9287 * src/hildon-number-editor.c:
9288 * src/hildon-time-picker.c: Adding the 5* multiplier to
9291 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9293 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9294 instead of g_object_ref + gtk_object_sink.
9296 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * debian/changelog: Updating.
9304 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 * src/hildon-color-chooser-dialog.c:
9307 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9308 straight from Tommi labs.
9310 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * examples/hildon-finger-example.c: Correcting the header file path.
9314 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9315 the changed signal. Fixes a small memory leak.
9317 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9321 * src/hildon-banner.c: Importing several usefull fixes from the
9322 ubuntu-mobile branch.
9324 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * examples/Makefile.am:
9327 * examples/hildon-finger-example.c: Adding a finger-checking code
9330 * src/hildon-font-selection-dialog.c: Do not allocate the color
9331 structure using the g_new. Fixes NB#54061.
9333 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9335 * src/hildon-helper.c: Correcting tabs in file.
9337 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9339 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9340 control the visibility of the children.
9342 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9344 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * debian/changelog: Updating.
9352 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9354 * src/hildon-bread-crumb-trail.c:
9355 (hildon_bread_crumb_trail_size_allocate):
9357 Make the back button always a square.
9359 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9361 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9362 from the .c file as it's a private file.
9364 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9367 uses slightly bigger height.
9369 * src/hildon-font-selection-dialog.c: Adding some checks before
9370 freeing memory in the font selection dialog.
9372 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9374 * src/hildon-font-selection-dialog.c: Adding a small check when
9377 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9378 buttons sensitivity on page switching.
9380 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9382 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9383 internal details of adding a bread crumb to the trail.
9385 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * debian/changelog: Updating.
9393 * src/hildon-bread-crumb-trail.h:
9394 * src/hildon-bread-crumb.h: Changing the API guard to
9395 HILDON_ENABLE_UNSTABLE_API.
9397 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9405 * src/hildon-helper.h: Updating.
9407 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * src/hildon-helper.h: Small fix to make the package actually compile.
9421 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9423 * src/hildon-bread-crumb-trail.h:
9424 * src/hildon-bread-crumb.h:
9426 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9427 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9429 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9431 * examples/hildon-bread-crumb-trail-example.c:
9433 * src/hildon-bread-crumb-trail.c:
9434 * src/hildon-bread-crumb-trail.h:
9435 * src/hildon-bread-crumb.c:
9436 * src/hildon-bread-crumb.h:
9437 * src/hildon-marshalers.list:
9438 * src/hildon-bread-crumb-widget.c:
9439 * src/hildon-bread-crumb-widget.h:
9441 Slight change in the widget design. The bread crumb trail API is
9442 unchanged, but HildonBreadCrumb is now an interface. A *private*
9443 implementation, hildon-bread-crumb-widget, is provided and used
9444 internally by the trail for the push_text/push_icon functions.
9446 The generic push API is still available, so anyone can implement
9447 and use its own bread crumb widget.
9449 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * debian/rules: Fixing the shlibs.
9453 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * src/hildon-banner.c: Fixing a problem with timed banners having
9456 their parrent destroyed before they are.
9458 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9460 * src/hildon-bread-crumb.c:
9461 * src/hildon-bread-crumb.h:
9463 Make the get_natural_size function a vfunc.
9465 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9467 * src/hildon-bread-crumb.c:
9468 * src/hildon-bread-crumb-trail.c:
9472 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9479 * debian/changelog: Updating for release.
9481 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9483 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9484 don't leak the pango layout.
9486 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9489 * examples/hildon-bread-crumb-trail-example.c:
9493 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9495 * debian/changelog: Removing the bug-fixed entries that were actually
9496 resolved as WONTFIX.
9498 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9501 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9503 * src/hildon-bread-crumb-trail.c:
9504 * src/hildon-bread-crumb-trail.h:
9505 * src/hildon-bread-crumb.c:
9506 * src/hildon-bread-crumb.h:
9510 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9512 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9513 until it's passed the type check.
9515 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9517 * examples/hildon-bread-crumb-trail-example.c
9521 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9523 * examples/Makefile.am
9524 * examples/hildon-bread-crumb-trail-example.c
9526 * src/hildon-bread-crumb-trail.c
9527 * src/hildon-bread-crumb-trail.h
9528 * src/hildon-bread-crumb.c
9529 * src/hildon-bread-crumb.h
9531 New HildonBreadCrumbTrail widget.
9533 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9535 * src/hildon-range-editor.c (hildon_range_editor_init),
9536 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9537 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9538 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9539 hildon_time_editor_class_init, hildon_time_editor_init),
9540 src/hildon-get-password-dialog.c (invalid_input,
9541 hildon_get_password_set_property, hildon_get_password_get_property,
9542 create_contents, hildon_get_password_dialog_set_max_characters),
9543 src/hildon-set-password-dialog.c (create_contents),
9544 src/hildon-date-editor.c (hildon_date_editor_init),
9545 src/hildon-login-dialog.c (hildon_login_dialog_init),
9546 src/hildon-number-editor.c (hildon_number_editor_init),
9547 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9548 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9549 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9550 configure option and adding the respective checks in the code.
9551 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9552 hildon_calendar_drag_data_received): fixed some build warnings.
9554 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9556 * debian/changelog: A 1.0.0 release notes.