1 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
3 * examples/hildon-check-button-example.c: (button_toggled_cb):
4 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
5 (hildon_check_button_set_active), (hildon_check_button_new),
6 (hildon_check_button_clicked), (hildon_check_button_class_init):
7 * hildon/hildon-check-button.h:
8 * hildon/hildon-set-password-dialog.c: (create_contents),
9 (hildon_set_password_response_change), (hildon_checkbox_toggled):
11 Revert "Make HildonCheckButton derive from GtkToggleButton"
13 2009-08-21 Alberto Garcia <agarcia@igalia.com>
17 * configure.ac: bump version
19 * debian/changelog: updates
21 2009-08-21 Alberto Garcia <agarcia@igalia.com>
23 * hildon/hildon-check-button.h
24 * hildon/hildon-check-button.c
25 (hildon_check_button_clicked, hildon_check_button_class_init):
26 Make HildonCheckButton derive from GtkToggleButton
27 (hildon_check_button_toggled, hildon_check_button_set_active)
28 (hildon_check_button_get_active):
29 Deprecate unnecessary HildonCheckButton API and use the
30 one from GtkToggleButton instead.
32 * hildon/hildon-set-password-dialog.c (create_contents)
33 (hildon_set_password_response_change, hildon_checkbox_toggled)
34 * examples/hildon-check-button-example.c (button_toggled_cb):
35 Update to use the GtkToggleButton API
37 Fixes: MB#4739 (HildonCheckButton should inherit from
40 Fixes: NB#132661 (HildonCheckButton should inherit from
43 2009-08-20 Alberto Garcia <agarcia@igalia.com>
45 * hildon/hildon-pannable-area.c
46 (hildon_pannable_area_class_init):
47 Increase default value of HildonPannableArea:velocity_max to 2000
49 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
51 2009-08-18 Alberto Garcia <agarcia@igalia.com>
55 * configure.ac: bump version
57 * debian/changelog: updates
59 2009-08-11 Alejandro G. Castro <alex@igalia.com>
61 * hildon/hildon-pannable-area.c
62 (hildon_pannable_area_size_allocate): Checked the scrollbars
63 before the first try when defining the layout, avoids two
64 allocations in some situations.
66 Fixes: NB#131794 (pannable area produces unnecessary allocations
67 causing performance problems)
69 2009-08-11 Alejandro G. Castro <alex@igalia.com>
71 * hildon/hildon-pannable-area.c
72 (hildon_pannable_area_button_press_cb),
73 (hildon_pannable_area_motion_notify_cb),
74 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
75 the spurious ref added in the copy, fixes leak of window.
77 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
78 if it's realized without showing and then deleted)
80 2009-08-10 Alberto Garcia <agarcia@igalia.com>
84 * configure.ac: bump version
86 * debian/changelog: updates
88 2009-08-06 Alberto Garcia <agarcia@igalia.com>
90 * examples/hildon-hvolumebar-timer-example.c
92 * hildon/hildon-banner.c
93 (hildon_banner_timeout, hildon_banner_ensure_timeout)
94 * hildon/hildon-calendar.c
95 (calendar_timer, start_spinning)
96 * hildon/hildon-color-chooser.c
97 (inline_limited_expose)
98 * hildon/hildon-date-editor.c
99 (hildon_date_editor_entry_focus_in)
100 (hildon_date_editor_entry_validate)
101 (hildon_date_editor_entry_select_all)
102 * hildon/hildon-note.c
104 * hildon/hildon-number-editor.c
105 (hildon_number_editor_button_pressed)
106 (hildon_number_editor_start_timer, do_mouse_timeout),
107 (add_select_all_idle, hildon_number_editor_select_all)
108 * hildon/hildon-time-editor.c
109 (hildon_time_editor_entry_focus_in)
110 (highlight_callback, hildon_time_editor_validate)
111 (hildon_time_editor_entry_select_all)
112 * hildon/hildon-time-picker.c
113 (hildon_time_picker_arrow_press)
114 (hildon_time_picker_key_repeat_timeout)
115 * hildon/hildon-window.c
116 (hildon_window_key_press_event)
117 (hildon_window_escape_timeout):
118 Replace all calls to g_idle_add/g_timeout_add with their
119 gdk_threads counterparts.
121 Fixes: NB#126198 (gdk-threads API should be used to install idle
122 and timeout handlers)
124 2009-08-06 Alejandro G. Castro <alex@igalia.com>
126 * hildon/hildon-pannable-area.c,
127 (hildon_pannable_area_class_init): Increased the overshooting max
128 speed to get a faster effect.
129 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
130 deceleration of the overshooting
131 (hildon_pannable_area_button_release_cb): Calculate initial
132 overshooting speed when finger on the screen using the distance to
133 launch the effect faster.
135 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
136 lists with slow row renderers)
138 2009-08-05 Alberto Garcia <agarcia@igalia.com>
140 * doc/hildon-sections.txt: Add new functions
142 2009-08-05 Alberto Garcia <agarcia@igalia.com>
144 * hildon/hildon-text-view.[ch]
145 * hildon/hildon-entry.[ch]:
146 Add deprecation guards around deprecated functions.
148 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
150 * hildon/hildon-app-menu.c: Remove leftover function declaration.
152 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
154 Remove the grab from HildonAppMenu
156 * hildon/hildon-app-menu.c:
157 Now hildon-desktop places a blocker window behind the menu to handle
158 its closing, so the grab is no longer needed. This simplifies its
159 implementation and allows the system blanking to succeed.
161 Fixes: NB#130910 (Screen gets unlocked when menu is open)
163 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
167 * configure.ac: bump version
169 * debian/changelog: updates
170 * debian/control: raise debian dependency on GTK+
172 2009-08-04 Alberto Garcia <agarcia@igalia.com>
174 * hildon/hildon-text-view.c
175 * hildon/hildon-entry.c:
176 Remove all placeholder code from HildonEntry and HildonTextView
177 and use the API in GtkEntry and GtkTextView instead.
179 * examples/hildon-entry-example.c
180 * examples/hildon-text-view-example.c
181 * examples/hildon-wizard-dialog-example.c
182 * hildon/hildon-get-password-dialog.c
183 * hildon/hildon-login-dialog.c
184 * hildon/hildon-picker-dialog.c
185 * hildon/hildon-set-password-dialog.c
186 * hildon/hildon-touch-selector-entry.c:
187 Replace all deprecated calls to HildonEntry and HildonTextView
188 with their Gtk counterparts.
190 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
193 2009-08-03 Alejandro G. Castro <alex@igalia.com>
195 * hildon/hildon-pannable-area.c,
196 (hildon_pannable_area_check_move),
197 (hildon_pannable_area_button_release_cb),
198 (hildon_pannable_area_scroll_to): Reverted the priority change of
199 the timeout, in some situations, slow renderers, the click do not
200 make it to the mainloop on time.
202 Fixes NB#131013 (unable to stop panning file manager by tapping on
205 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: bump version
209 * debian/changelog: updates
211 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
213 * hildon/hildon-touch-selector.[ch]
214 (hildon_touch_selector_center_on_index): New method that allows to center
215 on a item not selected
217 Fixes NB#130291 (New HildonTouchSelector API is required to center on
220 2009-07-29 Alberto Garcia <agarcia@igalia.com>
222 * hildon/hildon-text-view.c
223 (+set_logical_color, +hildon_text_view_style_set)
224 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
225 (hildon_text_view_init)
226 * hildon/hildon-entry.c
227 (+set_logical_color, +hildon_entry_style_set)
228 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
229 (hildon_entry_class_init, hildon_entry_init)
230 * hildon/hildon-button.c
231 (+set_logical_font, +set_logical_color)
232 (hildon_button_style_set, hildon_button_init)
233 (hildon_button_set_arrangement, hildon_button_set_style):
234 Remove all calls to hildon_helper_set_logical_font() and
235 hildon_helper_set_logical_color(), which are recursive, from
238 Fixes: NB#123409 (Showing dialog consumes significant amount of
241 2009-07-29 Alejandro G. Castro <alex@igalia.com>
243 * hildon/hildon-pannable-area.c,
244 (hildon_pannable_area_timeout): Added the process updates of the
245 scrollbars window in the pannable.
247 Fixes: NB#130043 (scrollindicator not smooth while panning)
249 2009-07-23 Alejandro G. Castro <alex@igalia.com>
251 * hildon/hildon-pannable-area.c,
252 (hildon_pannable_area_check_move),
253 (hildon_pannable_area_button_release_cb),
254 (hildon_pannable_area_scroll_to): Increased the priority of the
255 timeout this way it is going to be handled before the events.
257 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: bump version
262 * debian/changelog: updates
264 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
266 * hildon/hildon-entry.c: (set_property): Do not allow to set
267 automatic height and use finger height instead, to prevent an to
268 have a smaller size than than its theme pixbuf.
270 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
272 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
274 * configure.ac: postrelease version bump.
275 * debian/changelog: post release version bump
277 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: Bump version.
283 * debian/changelog: Updates.
285 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
287 * hildon/hildon-note.c: (label_size_request): Take the note
288 padding into account when setting the size request.
290 Fixes: NB#127896 (Information notes text truncated)
292 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
294 * configure.ac: postrelease version bump.
295 * debian/changelog: post release version bump
297 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
302 * configure.ac: Bump version.
303 * debian/changelog: Updates.
305 2009-07-16 Alejandro G. Castro <alex@igalia.com>
308 * hildon/hildon-text-view.c,
309 (hildon_text_view_button_press_event): Grabbed the focus in button
310 press, this way we are sure the widget has the focus in the
311 release event, required for HIM.
313 Fixes: NB#121445 (Virtual keyboard opening is not working in same
314 way for each text entry field)
316 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
318 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
319 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
320 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
321 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
322 (hildon_pannable_area_[gs]et_center_on_child_focus)
323 Redefined GtkContainer set-focus-child signal, in order to center
324 properly on a child when it receives the focus. Defined a new property
325 "center-on-child-focus" in order to activate this feature (deactivated
326 by default). Public get/set methods defined to manage the property.
328 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
330 2009-07-14 László Pere <lpere@blumsoft.eu>
332 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
333 the new size is applied.
335 Fixes: NB#124510 (The Application Menu is distorted when switched
336 between portrait and landscape mode)
337 Fixes: NB#115388 (Power key menu does not resize itself)
339 2009-07-01 Alberto Garcia <agarcia@igalia.com>
341 * hildon/hildon-banner.c (hildon_banner_map):
342 Set banner position after mapping.
344 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
346 * configure.ac: postrelease version bump.
347 * debian/changelog: post release version bump
349 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
354 * configure.ac: Bump version.
355 * debian/changelog: Updates.
357 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
359 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
362 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
364 * tests/check-hildon-banner.c
366 * tests/test_suites.h
367 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
368 were testing deprecated functions.
369 * examples/hildon-banner-example.c: typo on button3 type, that causes
370 a fail compiling with --with-examples but without --disable-deprecated
372 Missed commit in order to fix compilation using '--enable-fatal' and
373 '--disable-deprecated' (see previous commit)
375 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
377 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
378 functions with #ifndef HILDON_DISABLE_DEPRECATED
379 * examples/hildon-find-toolbar.c: Protect deprecated
380 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
381 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
382 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
383 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
385 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
386 to allow proper compilation of deprecated functions defined on the header
388 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
390 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
392 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
393 Cache the panning indicator color.,
394 (hildon_pannable_area_style_set): Query the color on style changes.
395 (hildon_pannable_draw_vscroll),
396 (hildon_pannable_draw_hscroll),
397 (hildon_pannable_area_expose_event): Use the cached panning indicator
398 color instead of looking it up on every expose and more.
400 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
402 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
403 (hildon_pannable_draw_hscroll),
404 (hildon_pannable_area_expose_event): Fix the panning indicator color,
405 so that it's "SecondaryTextColor", as desired.
407 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
409 * hildon/hildon-picker-dialog.c:
410 (selection_completed): take into account HILDON_UI_MODE_NORMAL
411 * hildon/hildon-touch-selector.c
412 (hildon_touch_selector_init): Initialize hildon-ui-mode
413 (hildon_touch_selector_row_activated): new callback for the
414 "row-activated" signal, in order to save the last activated
415 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
416 if the current hildon-ui-mode is coherent with the touch selector
417 (hildon_touch_selector_class_init)
418 (hildon_touch_selector_get_property)
419 (hildon_touch_selector_set_property)
420 Added "hildon-ui-mode" property
421 (disconnect_model_handlers): renamed to clean_column
422 (hildon_touch_selector_remove): use clean_column function
423 (_create_new_column): use the hildon-ui-mode to create the treeview, and
424 only select the first element on HILDON_UI_MODE_EDIT
425 (hildon_touch_selector_column_init): Initialize last_activate
426 (hildon_touch_selector_append_column): check that the touch selector
427 is coherent with the current hildon-ui-mode
428 (hildon_touch_selector_get_hildon_ui_mode)
429 (hildon_touch_selector_set_hildon_ui_mode)
430 Added a getter/setter for the hildon-ui-mode property
431 (hildon_touch_selector_get_last_activated_row): Added this method in
432 order to get the last activated row.
433 * examples/hildon-touch-selector-normal-mode-example.c
434 New example, that shows how to use the HildonTouchSelector in
435 HILDON_UI_MODE_NORMAL
437 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
438 Kristian Rietveld <kris@lanedo.com> advices
440 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
442 * hildon/hildon-time-selector.c: (update_format_policy): Do
443 not call update_format_dependant_columns() if not necessary.
444 (update_format_dependant_columns): Remove unnecessary check for
445 the number of columns.
447 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-note.c (+hildon_note_constructor),
450 (hildon_note_class_init), (+hildon_note_set_padding),
451 (hildon_note_rebuild): Install a constructor where to set the
452 padding properties in the note, so that it actually works fine.
453 Use hildon_note_set_padding() for this, and also to set it during
456 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: Bump GTK+ requirement to 2.14.3.
459 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
460 when using maemo-gtk to define proper margins for the notes.
462 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
463 with the dialog edge)
465 2009-06-24 Alberto Garcia <agarcia@igalia.com>
467 * hildon/hildon-banner.c
468 (hildon_banner_class_init):
470 (+hildon_banner_size_request):
471 Request always the full width of the screen.
472 (hildon_banner_realize)
473 (-hildon_banner_check_position, hildon_banner_map):
474 hildon_banner_check_position() is not needed in Hildon 2.2.
475 (-hildon_banner_reset_wrap_state)
476 (hildon_banner_constructor, hildon_banner_init):
477 Remove unnecessary calls to hildon_banner_reset_wrap_state()
478 (+banner_do_set_text)
479 (force_to_wrap_truncated):
480 Remove has_been_wrapped and has_been_truncated attributes.
481 (+reshow_banner, hildon_banner_real_show_information)
482 (hildon_banner_show_information_with_markup)
483 (hildon_banner_show_animation, hildon_banner_show_progress)
484 (hildon_banner_set_text, hildon_banner_set_markup):
485 Refactor code. Shrink banner vertically to use the minimum space
486 necessary everytime the text of the label is updated.
487 (screen_size_changed):
488 Call force_to_wrap_truncated() when the size of the screen
491 Fixes: NB#120500 (only device memory connect mmc in use info
492 banner is left aligned)
494 Fixes: NB#120613 (Size of HildonBanner varies depending on
495 previously opened banners)
497 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
499 * hildon/hildon-color-chooser.c
500 (hildon_color_chooser_pointer_motion): Take the widget allocation
503 Fixes: NB#124385 (Unable to select exact point in color mixing box
504 in color palette dialog)
506 2009-06-23 Alejandro G. Castro <alex@igalia.com>
508 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
509 (hildon_pannable_area_dispose)
510 (hildon_pannable_area_button_press_cb)
511 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
512 (hildon_pannable_area_button_release_cb)
513 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
514 New 'panning-started' and 'panning-finished' signals.
516 Fixes: NB#121732 (New feature request: Signal to pannable area
517 that informs when panning is stopped.)
519 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
521 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
522 instead of hardcoded colon.
524 Fixes: NB#124090 (New calendar wizard title is not using
525 ecdg_ti_caption_separator)
527 2009-06-22 David King <davidk@openismus.com>
529 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
530 constants and functions, as well as correct many typos throughout the
533 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
536 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
538 * configure.ac: postrelease version bump.
539 * debian/changelog: post release version bump
541 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
546 * configure.ac: Bump version.
547 * debian/changelog: Updates.
549 2009-06-18 Alberto Garcia <agarcia@igalia.com>
551 * hildon/hildon-window-stack.c
552 (hildon_window_stack_pop_and_push_list):
553 Prevent windows from having the same stack index
555 2009-06-18 Alberto Garcia <agarcia@igalia.com>
557 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
558 Use the index of the previous window rather than the stack length
559 to calculate the new index.
563 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
565 * hildon/hildon-date-selector.c
566 (hildon_date_selector_select_current_date)
567 (hildon_date_selector_get_date)
568 (hildon_date_selector_select_day):
569 Update the documentation: uses always the range (1-31), as it is obvious
570 that the final one will depend on the month and the year, but globally
571 the range is this, in a similar GtkCalendar approach
572 (hildon_date_selector_get_date):
573 Update the documentation: add NULL as a valid value for the day, month
576 Fix some details, after talk with David King on bug MB#4698
578 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
580 * hildon/hildon-touch-selector-entry.c
581 * hildon/hildon-touch-selector.c
582 Update the documentation of the "text-column" property
584 2009-06-18 David King <davidk@openismus.com>
586 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
587 several typos and errors throughout the documentation.
589 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
592 2009-06-18 Alberto Garcia <agarcia@igalia.com>
594 * hildon/hildon-note.c (hildon_note_realize):
595 Make HildonNote support portrait mode.
597 Fixes: NB#123448 (HildonNote is not portrait-friendly)
599 2009-06-17 Alberto Garcia <agarcia@igalia.com>
601 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
602 Document this function
604 2009-06-17 David King <davidk@openismus.com>
606 * hildon/hildon-date-selector.c
607 (hildon_date_selector_select_current_date)
608 (hildon_date_selector_get_date): Update documentation regarding days,
609 as the day of the month is dependent on both the month and the year.
610 (hildon_date_selector_get_date): Fix documentation of output arguments.
612 Fixes: MB#4698 (DateSelector documentation has bad output argument
613 description, and the day depends on both the month and the year)
615 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-caption.c: Other documentation fixes to
620 2009-06-17 David King <davidk@openismus.com>
622 * hildon/hildon-caption.c: Minor documentation updates for
623 HildonCaption. Fixes MB#4697.
625 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
627 * doc/hildon-docs.sgml: Add hildon-version section.
628 * doc/hildon-sections.txt:
629 * hildon/hildon-version.h.in: Document versioning macros and
632 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
634 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
635 from HildonPickerDialog section.
637 2009-06-16 Alberto Garcia <agarcia@igalia.com>
639 * hildon/hildon-banner.c (hildon_banner_bind_style)
640 (screen_size_changed, hildon_banner_init)
641 (hildon_banner_real_show_information)
642 (hildon_banner_show_information_with_markup)
643 (hildon_banner_show_animation, hildon_banner_show_progress):
644 Set a different widget name to banners in portrait mode, for them
645 to be themed correctly.
647 2009-06-16 Alberto Garcia <agarcia@igalia.com>
649 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
650 Set a different widget name to notes in portrait mode, for them to
653 Partially fixes: NB#118401 (HildonNote causes unnecessary
656 2009-06-16 Alberto Garcia <agarcia@igalia.com>
658 * hildon/hildon-note.c (hildon_note_class_init)
659 (+hildon_note_size_request, screen_size_changed):
660 Always request the full width of the screen.
662 Fixes: NB#118375 (unnecessary rescaling of images)
664 2009-06-16 Alejandro G. Castro <alex@igalia.com>
666 * hildon/hildon-pannable-area.c,
667 (hildon_pannable_area_init),
668 (hildon_pannable_area_realize): Replaced old code adding flags in
669 the object init, now we add it with the other flags in the realize
672 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
674 * hildon/hildon-note.c: (hildon_note_class_init): Several
675 documentation improvements to the HildonNote widget.
677 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
681 Fixes: MB#4556 (HildonNoteType is undocumented)
683 2009-06-15 Alberto Garcia <agarcia@igalia.com>
685 * hildon/hildon-picker-button.c:
686 Explain how HildonPickerButton sets the title of its dialog
688 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
689 the title of its dialog)
691 2009-06-15 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-check-button.c:
694 Documentation updates
696 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
699 2009-06-15 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-edit-toolbar-private.h
703 * hildon/hildon-edit-toolbar.c
704 (+hildon_edit_toolbar_set_progress_indicator)
705 (hildon_edit_toolbar_init): Add progress indicator to the
708 * hildon/hildon-gtk.c
709 (hildon_gtk_window_set_progress_indicator):
710 If the window contains a HildonEditToolbar, enable the progress
713 * hildon/hildon-private.h
714 * hildon/hildon-private.c
715 (+hildon_private_create_animation)
716 * hildon/hildon-banner.c
717 (-hildon_banner_create_animation):
718 Moved to hildon-private.c
720 Fixes: NB#102373 (Progress indicator also for the Edit mode
723 2009-06-15 Alberto Garcia <agarcia@igalia.com>
725 * hildon/hildon-app-menu-private.h
726 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
727 (hildon_app_menu_add_filter, +menu_item_button_event)
728 (hildon_app_menu_button_release, hildon_app_menu_init):
729 Make sure that buttons receive 'button-release-event' in spite of
730 the grab held by HildonAppMenu
732 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
734 2009-06-15 Alberto Garcia <agarcia@igalia.com>
736 * hildon/hildon-app-menu.c
737 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
738 New style property to set the size of the group of filter buttons.
740 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
742 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
747 * configure.ac: Bump version.
748 * debian/changelog: Updates.
750 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
752 * hildon/hildon-main.c: Minor documentation fixes.
754 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
756 * doc/hildon-sections.txt:
757 * hildon/hildon-defines.h: Document the defines, organize them,
758 and mark deprecations as such.
760 Fixes: MB#4463 (Hildon size #defines are undocumented)
762 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
764 * hildon/hildon-animation-actor.c:
765 * hildon/hildon-app-menu.c:
766 * hildon/hildon-button.c:
767 * hildon/hildon-date-editor.c:
768 * hildon/hildon-dialog.c:
769 * hildon/hildon-edit-toolbar.c:
770 * hildon/hildon-entry.c:
771 * hildon/hildon-program.c:
772 * hildon/hildon-remote-texture.c:
773 * hildon/hildon-stackable-window.c:
774 * hildon/hildon-text-view.c:
775 * hildon/hildon-touch-selector.c:
776 * hildon/hildon-window-stack.c:
777 * hildon/hildon-window.c:
779 Remove redundant "represents" wording from most of the documentation.
781 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
783 2009-06-12 Alberto Garcia <agarcia@igalia.com>
788 * hildon/hildon-banner-private.h
789 * hildon/hildon-banner.c:
790 Move HildonBannerPrivate to hildon-banner.c and remove
791 hildon-banner-private.h
792 Use a bit field to store private booleans.
794 2009-06-12 Alberto Garcia <agarcia@igalia.com>
796 * hildon/hildon-app-menu.c (hildon_app_menu_map):
797 Don't install a new idle function if there's already one
802 2009-06-11 Alberto Garcia <agarcia@igalia.com>
804 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
805 (+legacy_menu_realized, +legacy_menu_unmapped)
806 (+set_legacy_menu_type):
807 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
808 they can be identified by the window manager.
810 Fixes: NB#101437 (Invoking CSM on the left side of page area is
811 displayed in wrong location)
813 Fixes: MB#4563 (Popup menu won't locate at the left side of the
816 2009-06-11 Alberto Garcia <agarcia@igalia.com>
818 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
820 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
823 2009-06-11 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-code-dialog.c
826 * hildon/hildon-date-editor.c
827 * hildon/hildon-number-editor.c
828 * hildon/hildon-seekbar.c
829 * hildon/hildon-stackable-window.c
830 * hildon/hildon-window.c:
831 Misc documentation updates
833 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
835 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
836 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
838 Fixes: NB#117931 (Theming issues in accounts dialogs)
840 2009-06-09 Alejandro G. Castro <alex@igalia.com>
842 * hildon/hildon-pannable-area.c,
843 (hildon_pannable_area_button_release_cb): Changed the coordinates
844 of the original release in case we want to discard the release,
845 some widgets in Fremantle do not handle the leave-notify.
847 2009-06-09 Alejandro G. Castro <alex@igalia.com>
849 * hildon/hildon-pannable-area.c,
850 (hildon_pannable_area_button_release_cb): Reviewed the logic of
851 the release using the last refactored functions and avoiding the
852 movement if an element was selected.
854 2009-06-09 Alejandro G. Castro <alex@igalia.com>
856 * hildon/hildon-pannable-area.c,
857 (hildon_pannable_area_check_move),
858 (hildon_pannable_area_handle_move),
859 (hildon_pannable_area_motion_notify_cb): Refactored the
860 motion_notify method using a couple of new functions.
862 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
864 * hildon/hildon-date-selector.c:
865 (hildon_date_selector_construct_ui):
866 * hildon/hildon-time-selector.c:
867 (hildon_time_selector_constructor):
868 * hildon/hildon-touch-selector-entry.c:
869 (hildon_touch_selector_entry_set_text_column),
870 (hildon_touch_selector_entry_get_text_column):
871 * hildon/hildon-touch-selector.c: (_default_print_func),
872 (hildon_touch_selector_new_text): Use
873 hildon_touch_selector_set/get_text_column() instead of
874 setting/getting the "text-column" property.
876 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
878 * doc/hildon-sections.txt: Add the new public methods below.
880 * examples/hildon-picker-button-multicolumn-example.c:
881 (create_touch_selector):
882 * examples/hildon-touch-selector-example.c: (create_selector):
883 * examples/hildon-touch-selector-multi-cells-example.c:
885 Use hildon_touch_selector_column_set_text_column()
887 * hildon/hildon-touch-selector-column.h:
888 * hildon/hildon-touch-selector.c:
889 (hildon_touch_selector_column_set_text_column),
890 (hildon_touch_selector_column_get_text_column):
891 Make hildon_touch_selector_column_set/get_column() public, use
892 them in the inline example, document them, and reference to them
895 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
897 * hildon/hildon-time-selector.c: Fix the docs for
898 hildon_time_selector_new_step().
900 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
902 * hildon/hildon-touch-selector.c: Improve the documentation for
903 hildon_touch_selector_append_column().
905 Fixes MB#4641 (Documentation:
906 hildon_touch_selector_append_column() ref-counting)
908 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
910 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
911 Comment out test 5, since the hildon_controlbar_set_range() range
912 check is broken and fixing it would have side effects. Also,
913 this finally fixes make distcheck.
915 Fixes: NB#101420 (Update unit tests and fix make distcheck)
917 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
919 * tests/TEST-CASES.txt: Remove other bogus test.
920 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
921 Remove bogus test that was setting/retrieving a valid value.
923 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
925 * tests/TEST-CASES.txt: Remove bogus tests.
926 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
927 Remove three bogus tests that were actually setting valid colors.
929 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
931 * configure.ac: post release version bump
932 * debian/changelog: post release version bump
934 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
939 * configure.ac: Bump version.
940 * debian/changelog: Updates.
942 2009-06-08 Christian Dywan <christian@lanedo.com>
946 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
947 Correct errors in hildon_format_file-size_for_display and use
948 translations from the hildon-fm package instead of osso-filemanager.
950 2009-06-08 Alejandro G. Castro <alex@igalia.com>
952 * hildon/hildon-pannable-area.c,
953 (hildon_pannable_area_init): Initialized new values to handle the
955 (hildon_pannable_area_adjust_value_changed): Check if the values
956 changed before even call the redraw function.
957 (hildon_pannable_area_size_allocate),
958 (hildon_pannable_axis_scroll),
959 (hildon_pannable_area_scroll),
960 (hildon_pannable_area_jump_to): Improved the diagonal movement
963 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
966 2009-06-08 Alberto Garcia <agarcia@igalia.com>
968 * examples/hildon-banner-example.c:
969 Several style updates
970 (on_animation_clicked, on_animation_idle)
971 (on_progress_clicked, on_progress_idle):
972 Add additional reference for the cases when the parent window is
975 2009-06-08 Alberto Garcia <agarcia@igalia.com>
977 * doc/hildon-sections.txt
978 * hildon/hildon-pannable-area.c
979 * hildon/hildon-banner.h
980 * hildon/hildon-banner.c: Documentation updates.
982 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
985 2009-06-05 Alejandro G. Castro <alex@igalia.com>
987 * hildon/hildon-calendar-popup.h:
988 * hildon/hildon-caption.h:
989 * hildon/hildon-code-dialog.h:
990 * hildon/hildon-controlbar.h:
991 * hildon/hildon-date-editor.h:
992 * hildon/hildon-dialog.h:
993 * hildon/hildon-get-password-dialog.h:
994 * hildon/hildon-hvolumebar.h:
995 * hildon/hildon-login-dialog.h:
996 * hildon/hildon-note.h:
997 * hildon/hildon-number-editor.h:
998 * hildon/hildon-range-editor.h:
999 * hildon/hildon-seekbar.h:
1000 * hildon/hildon-set-password-dialog.h:
1001 * hildon/hildon-sort-dialog.h:
1002 * hildon/hildon-time-editor.h:
1003 * hildon/hildon-time-picker.h:
1004 * hildon/hildon-volumebar-range.h:
1005 * hildon/hildon-volumebar.h:
1006 * hildon/hildon-vvolumebar.h:
1007 * hildon/hildon-weekday-picker.h:
1008 * hildon/hildon-window.h:
1009 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1010 macros with the current replacements
1012 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1014 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1016 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1017 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1018 itself, to make it fit better with Fremantle style.
1020 Fixes: NB#109878 (height and width of focus on color icon is not
1021 consistent with other item in the application tool bar)
1023 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1025 * hildon/hildon-touch-selector.c:
1026 (hildon_touch_selector_optimal_size_request): use the current requisition
1027 as the base, in order to include any possible extra widget, like the
1028 hildon entry on HildonTouchSelectorEntry
1030 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1032 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1034 * configure.ac: post release version bump
1035 * debian/changelog: post release version bump
1037 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1042 * configure.ac: Bump version.
1043 * debian/changelog: Updates.
1045 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1047 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1049 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1050 to ensure the banner contents are centered, instead of relying on
1051 the expand and fill properties in GtkHBox.
1052 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1054 Fixes: NB#108265 (Animation banner not properly centered)
1056 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1058 * hildon/hildon-pannable-area.c
1059 (hildon_pannable_area_initial_effect): Remove the initial_effect
1060 management, check initial_hint
1061 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1062 set initial_effect to FALSE
1063 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1064 by launching the fade_timeout if the scrollbars state has changed and are
1066 * examples/hildon-pannable-area-initial-hint-example.c
1067 Modified to allow to remove rows too. Add and remove rows one by one.
1069 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1072 Don't close the menu if there's an animation actor below it.
1074 Fixes: NB#117927 (Application menu not usable with animation
1077 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1079 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1080 "focus-on-click" from the dialog button, to avoid stealing the
1081 focus from the entry.
1083 Fixes: NB#118903 (Account setup wizard: Text in Search field
1084 should be focused when "Region" touch list picker is reopened
1087 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1089 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1090 (prepare_action_area): Completely hide the dialog separator.
1092 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1094 * hildon/hildon-touch-selector-entry.c
1095 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1096 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1097 now that the entry is exposed.
1099 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1101 * hildon/hildon-touch-selector-entry.c
1102 (hildon_touch_selector_entry_init): Change the entry's size
1103 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1105 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1107 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1108 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1109 avoid unnecessary scaling.
1111 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1113 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1114 Create grab transfer window before calling parent's map function.
1116 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1117 "crushed" button(s) in the top left corner)
1119 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1121 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1122 Check if the window is already realized when pushing it.
1124 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1126 * configure.ac: post release version bump
1127 * debian/changelog: post release version bump
1129 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1134 * configure.ac: Bump version.
1135 * debian/changelog: Updates.
1137 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1139 * hildon/hildon-app-menu.c: Doc updates.
1141 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1143 * hildon/hildon-banner.c: Remove leftover macro.
1145 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1147 * hildon/hildon-pannable-area.c,
1148 (hildon_pannable_area_scroll_indicator_fade),
1149 (hildon_pannable_area_button_release_cb): Reviewed vmin
1150 conditions, it could cause problems in the fadeout procedure.
1152 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1154 * hildon/hildon-pannable-area.c
1155 (hildon_pannable_area_button_release_cb): Added a threshold to
1156 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1158 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1160 * hildon/hildon-pannable-area.c,
1161 (hildon_pannable_area_set_property): Added code to sync the gtk
1162 dnd threshold with the panning threshold.
1164 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1166 * hildon/hildon-pannable-area.c,
1167 (hildon_pannable_area_class_init): Changed some of the default
1168 values, now it should be less responsive and more accurate.
1170 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1172 * hildon/hildon-pannable-area.c,
1173 (hildon_pannable_area_init),
1174 (hildon_pannable_area_scroll_indicator_fade),
1175 (hildon_pannable_area_button_press_cb),
1176 (hildon_pannable_axis_scroll),
1177 (hildon_pannable_area_timeout),
1178 (hildon_pannable_area_motion_notify_cb),
1179 (hildon_pannable_area_button_release_cb): Changed the name of the
1180 clicked attribute to button_pressed, it is more clear about its use.
1182 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1184 * src/hildon-pannable-area.c
1185 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1187 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1188 vertical scrollbar visibility, and use the data on private section instead,
1189 remove the initial_hint check
1190 (hildon_pannable_area_expose_event): add the initial_hint check here
1192 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1194 * src/hildon-pannable-area.c
1195 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1196 if the fadeout effect was used
1197 (hildon_pannable_area_expose_event): check if it is required to
1198 manage the initial effect on the begining of the function. Previously
1199 it was made at the end, but this doesn't ensure that the scrollbars
1200 will be painted on the first show. Do not set to FALSE initial_effect,
1201 to ensure that the initial hint is showed the first time the pannable
1203 * examples/Makefile.am
1204 * examples/hildon-pannable-area-initial-hint-example.c:
1205 New example, to show that the initial-hint is showed when the widget
1208 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1209 initially if the application can be scrolled)
1211 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1213 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1214 Resize table before adding new items to make sure that
1215 gtk_table_resize() is called just once.
1217 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1219 * hildon/hildon-app-menu-private.h
1220 * hildon/hildon-app-menu.c (item_visibility_changed)
1221 (filter_visibility_changed, hildon_app_menu_show_all)
1222 (hildon_app_menu_hide_all, hildon_app_menu_init):
1223 Rearrange items just once when gtk_widget_show_all()/hide_all()
1226 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1228 * hildon/hildon-app-menu.c
1229 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1230 Don't call gtk_widget_show() on added items.
1232 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1233 automatically when they're added)
1235 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1237 * hildon/hildon-banner.c
1238 (hildon_banner_realize, +hildon_banner_unrealize)
1239 (+screen_size_changed, hildon_banner_class_init):
1240 Redisplay the banner if the screen is rotated.
1242 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1243 on transition from landscape to portrait)
1245 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1247 * hildon/hildon-banner.[ch]:
1248 (hildon_banner_show_information_override_dnd): remove icon_name from the
1249 method definition as it is ignored.
1250 * examples/hildon-banner-dnd-example.c: updated with the change on
1253 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1255 * hildon/hildon-banner-private.h: new require_override_dnd and
1256 overrides_dnd variables
1257 * hildon/hildon-banner.h:
1258 (hildon_banner_show_information_override_dnd): new method, that shows
1259 the information but sets the override flag, in order to show important
1261 * hildon/hildon-banner.c
1262 (hildon_banner_show_information_override_dnd): new method
1263 (hildon_banner_set_override_flag): new utility function
1264 (hildon_banner_real_show_information): new utility function, in order to
1265 generalize the current hildon_banner_show_information_override_dnd and
1266 hildon_banner_show_information_override_dnd
1267 * examples/Makefile.am
1268 * examples/hildon-banner-dnd-example.c: New example that show how to
1269 use the new hildon_banner_show_information_override_dnd
1271 Fixes: NB#114874 (There is no possibility to show hildon banners with
1274 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1276 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1277 behind hildon_pannable_calculate_vel_factor().
1279 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1281 * hildon/hildon-pannable-area.c
1282 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1283 deceleration factors.
1285 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1287 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1288 Reduce the default value for 'scroll_time' to 1 second, since the
1289 current initial scrolling takes too much time.
1291 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1293 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1294 calculate velocity factor during initialization, since the properties
1297 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1299 * hildon/hildon-pannable-area.c
1300 (hildon_pannable_area_set_property): Calculate the velocity factor
1301 after setting the deceleration property and not after.
1303 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1305 * hildon/hildon-entry.c
1306 (hildon_entry_class_init, +set_property, hildon_entry_new)
1307 * hildon/hildon-check-button.c
1308 (hildon_check_button_class_init)
1309 (+set_property, hildon_check_button_new):
1310 Make the theme size a property.
1312 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1313 others) do too much in the _new function)
1315 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1317 * configure.ac: post release version bump
1318 * debian/changelog: post release version bump
1320 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1325 * configure.ac: Bump version.
1326 * debian/changelog: Updates.
1328 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1330 * hildon/hildon-gtk.h
1331 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1332 New API function to take a screenshot of a window
1334 Fixes: NB#106374 (Need API to take a loading screenshot)
1336 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1338 * hildon/hildon-time-selector.c
1339 (update_format_policy): prevent to use hours and minutes unitialized
1341 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1343 * hildon/hildon-window.c (hildon_window_size_request):
1344 Always request the full size of the screen (minus the title bar if
1345 not in fullscreen mode).
1347 Fixes: NB#107486 (HildonWindow should size itself properly)
1349 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1351 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1352 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1353 (on_show_cb), (sound_handling): Disconnect the idle handler for
1354 the sound when the note is finalized to avoid possible crashes.
1356 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1359 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1361 * src/hildon-animation-actor.c,
1362 * src/hildon-remote-texture.c:
1363 Added proper object cleanup to remove signal handler and object
1364 references as HildonAnimationActor and HildonRemoteTexture
1365 objects get destroyed.
1367 Fixes: NB#116682 (Destroying parented animation actors when
1368 parent in unmapped leads to crash)
1370 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1372 Based on a patch by Christian Dywan (christian@imendio.com)
1374 * doc/hildon-sections.txt:
1375 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1376 * hildon/hildon-helper.h: New file size formatting method.
1378 * debian/control: Depend on osso-filemanager l10n package for
1379 proper localization strings.
1381 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1383 * tests/Makefile.am: Include top_srcdir to make possible to build
1384 tests in a different builddir.
1385 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1386 on a different builddir.
1388 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1390 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1391 (hildon_touch_selector_remove): Disconnect model's signal handler
1394 Fixes: NB#116289 (Hildon home crashes while adding task
1397 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1399 * hildon/hildon-button.c
1400 (hildon_button_set_title, hildon_button_set_value):
1401 Hide labels containing an empty string.
1403 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1405 * configure.ac: post release version bump
1406 * debian/changelog: post release version bump
1408 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1413 * configure.ac: Bump version.
1414 * debian/changelog: Updates.
1416 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1418 * hildon/hildon-note-private.h: Removed sound_signal_handler
1419 * hildon/hildon-note.c
1420 (on_show_cb): new callback on note "show" event, this simply adds
1421 a idle, with the function sound_handling
1422 (sound_handling): removed the sound_signal_handler management
1423 (hildon_note_init): connect note "show" event to on_show_cb
1424 (hildon_note_realize): remove the connection to "expose-event"
1426 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1427 device?' confirmation note)
1429 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1431 * hildon/hildon-note.c
1432 (hildon_note_new_information_with_icon_name)
1433 (hildon_note_new_confirmation_with_icon_name):
1434 Terminate the list of parameters in g_object_set() calls
1436 Fixes: NB#115166 (Formatting memory card is not taking place)
1438 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1440 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1441 "dialog-information" role for the sound being played.
1443 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1445 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1446 Don't make the menu a modal window, it causes strange interactions
1447 with the pointer grab and it's not really needed.
1449 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1451 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1453 * hildon/hildon-touch-selector.[ch]
1454 (hildon_touch_selector_optimal_size_request): function added to get a
1455 optimal size request from the touch selector, when you want a dialog to
1456 show as much of the selector
1457 * hildon/hildon-picker-dialog.c:
1458 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1459 (hildon_app_menu_class_init):
1460 New "max-height-landscape" and "max-height-portrait" style properties
1461 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1462 (hildon_picker_dialog_get_max_height): returns the maximum height using
1463 the style properties defined and checking the current portrait/landscape
1465 (_hildon_picker_dialog_set_selector): removed the set_size_request
1467 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1469 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1471 * hildon/hildon-bread-crumb-trail.c:
1472 * hildon/hildon-bread-crumb.c:
1473 * hildon/hildon-seekbar.c:
1474 Add reference to replacements for these deprecated widgets.
1476 Fixes: MB#4461 (Documentation: All deprecations should mention
1479 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1481 * examples/hildon-remote-texture-example.c
1483 Change the include to the hildon-remote-texture in order to compile
1484 properly the examples on the installed libhildon1-examples package
1486 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1488 * tests/Makefile.am: Add check for HildonPickerButton.
1489 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1490 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1491 checks for the HildonPickerButton.
1492 * tests/check_test.c (configure_tests): Add the test suite.
1493 * tests/test_suites.h: likewise.
1495 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1497 * hildon/hildon-touch-selector.c
1498 (+on_row_changed): Emit HildonTouchSelector:changed when the
1499 contents of a selected row change.
1500 (_create_new_column), (_hildon_touch_selector_set_model): connect
1501 to GtkTreeModel:row-changed on a newly set model.
1503 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1505 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1507 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1509 * hildon/hildon-banner.c (hildon_banner_destroy)
1510 (hildon_banner_show_progress, hildon_banner_set_fraction):
1511 Remove the progress bar from HildonBanner and use a progress
1514 Fixes: NB#113761 (Update progress banner to use progress
1517 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1519 * hildon/hildon-banner.c:
1520 Calculate size of the banner label using the actual screen width
1521 rather than using a fixed value.
1523 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1526 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1528 * hildon/hildon-pannable-area.c,
1529 (hildon_pannable_area_class_init): Fixed signals documentation
1532 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1534 * configure.ac: post release version bump
1535 * debian/changelog: post release version bump
1537 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1542 * configure.ac: Bump version.
1543 * debian/changelog: Updates.
1545 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1547 * hildon/hildon-edit-toolbar.c
1548 (hildon_edit_toolbar_init):
1549 Don't let buttons in HildonEditToolbar receive focus.
1551 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1552 typing on an HW arrows key)
1554 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1556 * doc/Makefile.am: Fix build.
1558 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1560 * doc/Makefile.am: Do not redefine content_files.
1562 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1570 Renamed src/ to hildon/
1575 Include <hildon/hildon.h> directly in all examples.
1577 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1579 * src/hildon-sort-dialog.c
1580 (hildon_sort_dialog_add_sort_key_with_sorting)
1584 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1587 make distcheck passes.
1589 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1591 * Makefile.am: Enable gtk-doc during distcheck.
1593 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1595 * Makefile.am: Do not distribute the debian/ directory.
1597 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1599 * doc/Makefile.am: Add the extra SGML files to content_files,
1600 so that they are distributed properly.
1602 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1604 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1607 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1610 (hildon_note_new_information_with_icon_name): Set the "icon" property
1611 to preserve soundness.
1613 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-font-selection-dialog.c
1616 (hildon_font_selection_dialog_set_property): Fail when the "family"
1617 property is set to NULL.
1619 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1624 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1626 * src/hildon-time-selector.h:
1627 Added HildonTimeSelectorFormatPolicy
1628 * src/hildon-time-selector.c:
1629 Added PROP_TIME_FORMAT_POLICY
1630 (_check_ampm_format): renamed to check_automatic_ampm_format
1631 (update_format_policy), (update_format_dependant_columns): new functions
1632 (hildon_time_selector_class_init)
1633 (hildon_time_selector_contructor)
1634 (hildon_time_selector_init)
1635 (hildon_time_selector_get_property)
1636 (hildon_time_selector_set_property)
1637 (hildon_time_selector_get_time)
1638 (hildon_time_selector_set_time)
1639 * src/hildon-touch-selector.h: new file
1640 * src/hildon-touch-selector.c
1641 (hildon_touch_selector_emit_changed)
1642 (hildon_touch_selector_block_changed)
1643 (hildon_touch_selector_unblock_changed)
1644 Added functions to allow to block the emission of the "changed" signal
1645 * src/hildon-picker-dialog.c
1646 (hildon_picker_dialog_show): call the parent show before the custom code
1647 * examples/hildon-time-button-example.c
1648 Modified, so now you can configure the time format using the new property
1650 Added a new property "time-format-policy" that allow to choose the time
1651 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1652 case it uses gconf in order to check if the time selector must use
1655 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1658 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1660 * src/hildon-note.c (hildon_note_init):
1661 Label in HildonNote must be left aligned, not centered. This
1662 reverts the last commit in HildonNote.
1664 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1665 is connectivity dialog)
1667 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1672 * doc/hildon-sections.txt:
1673 Added hildon_gtk_window_set_do_not_disturb()
1675 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1677 * src/hildon-note.c (hildon_note_init): Center label.
1679 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1682 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1687 * configure.ac: Bump version.
1688 * debian/changelog: Updates.
1690 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-note-private.h: Add button-width to the private data.
1693 * src/hildon-note.c (+resize_button),
1694 (+hildon_note_orientation_update): methods to repack widgets on orientation
1696 (screen_size_changed): Call above method for confirmation notes.
1697 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1698 (hildon_note_rebuild): Store the original width request from buttons.
1700 Fixes: NB#109635 (Confirmation notes do not support portrait)
1702 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1704 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1705 when it is a progress note.
1707 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1710 in the note, since there are no horizontally arranged contents.
1712 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-gtk.c (+set_flag): new generic method to
1715 set/delay a flag setting in a window.
1716 (hildon_gtk_window_set_progress_indicator):
1717 (hildon_gtk_window_set_do_not_disturb),
1718 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1719 avoid code redundance.
1721 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1723 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1725 * src/hildon-gtk.c (set_clear_window_flag),
1726 (do_set_progress_indicator), (do_set_do_not_disturb),
1727 (do_set_portrait_flags),
1728 (hildon_gtk_window_set_progress_indicator),
1729 (hildon_gtk_window_set_do_not_disturb),
1730 (hildon_gtk_window_set_portrait_flags):
1731 Allow setting dnd-flag, progress indicator, and portrait flags
1732 when the window is not realized.
1734 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1736 * src/hildon-pannable-area.c,
1737 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1738 the size request policy function and defines.
1740 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1742 * doc/hildon-sections.txt: Add the new API.
1743 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1744 method to set the portrait flags.
1745 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1747 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1749 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1752 to allow using this method with other flags.
1753 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1754 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1756 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-touch-selector.c
1759 (hildon_touch_selector_append_text_column):
1760 Make the cell renderer use the smallest width possible.
1762 Fixes: NB#108470 (Selected items in multiple selection are either
1763 having a tick that is cut or not visible at all.)
1765 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1767 * src/hildon-touch-selector.c
1768 (hildon_touch_selector_append_text_column):
1771 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1774 Use g_strdup_printf() instead of a fixed size buffer.
1776 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1779 Close banners when a HildonAppMenu is popped up.
1781 Fixes: NB#111027 (Title menu closed immediately if activated when
1782 "Invalid e-mail address" banner is shown)
1784 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1789 * configure.ac: Bump version.
1790 * debian/changelog: Updates.
1792 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-banner.c (hildon_banner_realize):
1795 Mark HildonBanner as supporting portrait mode.
1796 Use GDK to set window properties insetad of direct Xlib calls.
1798 Fixes: NB#111830 (HildonBanner should be marked as supporting
1801 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-note.c (hildon_note_rebuild):
1804 Hide action area in information notes. Prevents text from being
1805 slightly aligned to the left.
1807 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1810 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1812 Patch by Mox Soini (ext-mox.soini@nokia.com)
1814 * src/hildon-banner.c (hildon_banner_create_animation):
1815 Use stylus-sized icons in animation banner.
1817 Fixes: NB#111206 (stylus sized icon for animation banner)
1819 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1823 (+hildon_gtk_window_set_do_not_disturb):
1824 New API to set the do-not-disturb flag.
1826 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1828 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1830 * examples/hildon-progress-indicator-example.c: Fix example
1832 * src/hildon-gtk.c (set_clear_window_flag)
1833 (hildon_gtk_window_set_progress_indicator):
1834 Create a generic function for setting flags to a window.
1835 Use GDK instead of direct Xlib calls.
1837 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-button.c (hildon_button_set_arrangement):
1840 Due to NB#88126, if one of the labels is too long it will be
1841 painted outside the button. The 'value' label is more likely to be
1842 the longest one, so we change its packing options in order to
1843 truncate it if necessary. As a side effect, the 'title' label will
1844 no longer be truncated.
1846 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1848 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: Bump version.
1854 * debian/changelog: Updates.
1856 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1858 Deprecation of the hildon_pannable_area_set_size_request_policy
1859 API, the only policy properly supported in gtk+ nowadays is the
1862 * src/hildon-pannable-area.c,
1863 (hildon_pannable_area_size_request): Added a workaround for the
1864 size_request to avoid the problems of huge pixmaps in case someone
1865 is still using the function.
1866 * src/hildon-pannable-area.h: Deprecated the enum with the
1869 Fixes: NB#110244 (Problems with the
1870 hildon_pannable_area_set_size_request_policy API)
1872 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1874 * src/hildon-pannable-area.c,
1875 (hildon_pannable_area_init),
1876 (hildon_pannable_area_size_request),
1877 (hildon_pannable_area_style_set),
1878 (hildon_pannable_draw_vscroll),
1879 (hildon_pannable_draw_hscroll),
1880 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1881 indicator_width to clarify the use of the attribute.
1883 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1888 * configure.ac: Bump version.
1889 * debian/changelog: Updates.
1891 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1893 * src/hildon-picker-dialog.c
1894 * src/hildon-touch-selector.c
1895 Reverting the change that tried to avoid the hardcoded height on
1896 the picker dialog, as causes problems on the hildon-touch-selector
1899 Fixes: NB#110029 (selectors not scrolling to selected value)
1901 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1903 * src/hildon-touch-selector.c: Fix typos
1905 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1908 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1909 request more motions after using it.
1911 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1913 * src/hildon-calendar.c (hildon_calendar_expose),
1914 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1915 Remove unused variables.
1917 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1919 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1920 variable assignment.
1922 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1925 Check the return value of gtk_tree_selection_get_selected()
1928 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-animation-actor.c
1931 * src/hildon-button.c
1933 * src/hildon-pannable-area.c
1934 * src/hildon-picker-button.c
1935 * src/hildon-program.c
1936 * src/hildon-remote-texture.c
1937 * src/hildon-text-view.c
1938 * src/hildon-touch-selector.c
1939 * src/hildon-window-stack.c
1940 * src/hildon-window.c:
1941 Add missing 'Since: 2.2' tags.
1943 * doc/hildon-sections.txt:
1944 Add some missing symbols.
1946 * doc/hildon-docs.sgml:
1947 New 'Other' section for HildonAnimationActor and
1950 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1952 Patch by Iván Gómez (igomez@igalia.com)
1955 * doc/compiling.sgml
1956 * doc/hildon-docs.sgml
1957 * doc/hildon-sections.txt
1958 * doc/migration.sgml
1959 * doc/resources.sgml
1961 New chapters on using the Hildon library.
1962 Updated the general structure of the reference manual.
1963 Other minor documentation fixes.
1965 * src/hildon-calendar-popup.c
1966 * src/hildon-calendar.c
1967 * src/hildon-controlbar.c
1968 * src/hildon-date-editor.c
1969 * src/hildon-dialog.c
1970 * src/hildon-hvolumebar.c
1971 * src/hildon-number-editor.c
1972 * src/hildon-range-editor.c
1973 * src/hildon-sort-dialog.c
1974 * src/hildon-time-editor.c
1975 * src/hildon-time-picker.c
1976 * src/hildon-volumebar-range.c
1977 * src/hildon-volumebar.c
1978 * src/hildon-vvolumebar.c
1979 * src/hildon-weekday-picker.c:
1980 Add deprecation notes
1982 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1983 Document 'horizontal-movement' and 'vertical-movement' signals.
1985 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1990 * configure.ac: Bump version.
1991 * debian/changelog: Updates.
1993 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1995 * src/hildon-pannable-area.c,
1996 (hildon_pannable_area_class_init): increased the minimum velocity.
1997 (hildon_pannable_area_button_release_cb): Updated the
1998 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1999 setup. Review the code to control that last event.
2001 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2004 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2006 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2008 * src/hildon-get-password-dialog.c
2009 (hildon_get_password_set_property),
2010 (hildon_get_password_get_property), (create_contents):
2011 * src/hildon-login-dialog-private.h:
2012 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2013 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2014 (hildon_login_dialog_get_password):
2015 * src/hildon-set-password-dialog-private.h:
2016 * src/hildon-set-password-dialog.c
2017 (hildon_set_password_set_property),
2018 (hildon_set_password_get_property), (create_contents),
2019 (hildon_set_password_response_change),
2020 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2022 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2023 instead and look more Fremantle style.
2025 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2027 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2029 * doc/hildon-sections.txt
2030 * src/hildon-window-stack.h
2031 * src/hildon-window-stack.c
2032 (+hildon_window_stack_get_windows):
2033 New API to obtain the list of windows on a stack.
2035 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-app-menu.c (hildon_app_menu_popup)
2038 (hildon_app_menu_class_init, -hildon_app_menu_show):
2039 Remove hildon_app_menu_show() and move all its checks to
2040 hildon_app_menu_popup()
2042 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2044 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2045 (_hildon_picker_dialog_set_selector): removed call to
2046 gtk_widget_set_size_request
2047 * src/hildon-touch-selector.c
2048 (_create_new_column): change the pannable size request policy
2050 Avoid to use a hardcoded height for the hildon picker dialog. In order
2051 to get that, we needed to change the hildon pannable size request
2053 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2055 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2058 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2061 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2063 * debian/control: Depend on osso-system-lock localization package.
2064 * src/hildon-code-dialog.c: Obtain the secu_application_title
2065 translation from osso-system-lock.
2066 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2067 for translation the atk related strings, that's not necessary.
2068 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2069 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2070 cancel button, it is not required.
2072 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 (hildon_pannable_area_class_init): Modified the default value of
2076 the overshooting max speed, we have reduced it.
2078 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2080 * doc/hildon-sections.txt
2081 * src/hildon-window-private.h
2082 * src/hildon-window.h
2083 * src/hildon-window.c (hildon_window_class_init)
2084 (hildon_window_init, hildon_window_finalize)
2085 (hildon_window_realize, hildon_window_get_property)
2086 (hildon_window_set_property, hildon_window_update_markup)
2087 (hildon_window_get_markup, hildon_window_set_markup):
2088 New "markup" property and hildon_window_{get,set}_markup() methods.
2090 * examples/hildon-stackable-window-example.c (new_window):
2091 Update example to use hildon_window_set_markup()
2093 Fixes: NB#106375 (Need API to retitle a window with a title
2096 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2098 * src/hildon-pannable-area.c,
2099 (hildon_pannable_area_class_init): Changed the default value of
2100 the initial_hint to TRUE.
2101 (hildon_pannable_area_initial_effect): Changed the initial effect,
2102 not the effect is just the fade-out of the scrollbars.
2104 Fixes: NB#107775 (No scrollbars can be seen when several items are
2105 available in a dialog)
2107 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-program.c (hildon_program_update_top_most):
2112 Fixes: NB#109179 (Memory leak in Hildon program)
2114 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-banner.c (-get_current_app_window):
2117 Remove unused function.
2119 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2121 * src/hildon-pannable-area.c: Modified the documentation of the
2122 get adjustments functions to explain the problem of using the
2123 adjustment directly.
2124 (hildon_pannable_area_class_init): Improved the explanation about
2127 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-app-menu-private.h
2130 * src/hildon-app-menu.c
2131 (hildon_app_menu_class_init):
2132 Bring back the 'external-border' style property
2133 (hildon_app_menu_class_init, hildon_app_menu_init)
2134 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2135 Set a fixed width-request for the menu, independent of the number
2138 Fixes: NB#94957 (Smoothly opened application menu)
2140 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2144 * src/hildon-banner.c
2145 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2147 Make sure that the banner is correctly placed the first time it's
2149 (hildon_banner_check_position, -check_fullscreen_state):
2150 Show the banner in the same place no matter if the window is in
2151 fullscreen mode or not.
2153 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2155 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2157 * src/hildon-touch-selector.c (_default_print_func): reorder
2158 concatenation for clarity.
2160 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2163 for multicolumn selectors.
2165 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2167 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2172 * configure.ac: Bump version.
2173 * debian/changelog: Updates.
2175 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2180 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2182 * configure.ac: removed libcangerra-gtk dependency
2183 * debian/control: removed libcanberra-gtk dependency
2184 * src/Makefile.am: removed libcanberra gtk related flags
2185 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2186 context, and manage a global canberra context instead
2188 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2190 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2192 Patch by Daniel Borgmann (danielb@openismus.com)
2194 * src/hildon-edit-toolbar.c:
2195 Adjust the left padding.
2196 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2197 Paint background of the edit toolbar.
2199 Fixes: NB#107897 (Patch to make editmodetoolbar background
2200 themeable and adjust margin)
2202 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2204 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2206 * src/hildon-program.c (hildon_program_update_top_most):
2207 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2209 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2210 change when the user tasks in/out of an application)
2212 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2214 * configure.ac: added libcangerra-gtk dependency
2215 * debian/control: added libcanberra-gtk dependency
2216 * src/Makefile.am: added libcanberra gtk related flags
2217 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2220 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2222 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-program.c (hildon_program_remove_window)
2225 (hildon_program_add_window): Add checks for the window
2226 parameter. Don't decrease the window counter if the window is not
2229 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2231 * src/hildon-pannable-area.c,
2232 (hildon_pannable_area_realize): Fixed position of the event_window
2233 in the realize method.
2235 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-app-menu-private.h
2238 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2239 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2240 (hildon_app_menu_key_press, hildon_app_menu_init)
2241 (hildon_app_menu_finalize):
2242 Make sure that all idle functions are removed when the widget is
2245 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2247 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2252 * configure.ac: Bump version.
2253 * debian/changelog: Updates.
2255 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2257 * src/hildon-entry.c
2258 (+hildon_entry_show_placeholder),
2259 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2260 that replace hildon_entry_update_contents().
2261 (hildon_entry_set_text),
2262 (hildon_entry_set_placeholder),
2263 (hildon_entry_focus_in_event),
2264 (hildon_entry_focus_out_event): Determine when it is needed
2265 either to show or hide the placeholder and call the above methods.
2267 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2268 when the placeholder text is already set)
2270 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2273 simple GdkPixbufAnim using the new icons for the banner.
2274 (hildon_banner_show_animation): Use the above mentioned method to
2275 create the animation widget.
2277 Fixes: NB#103564 (Make hildon animation banner use individual
2278 image files as the animation)
2280 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2282 * src/hildon-pannable-area.c,
2283 (hildon_pannable_leave_notify_event): Check if the child is NULL
2284 to avoid sending the leave.
2286 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2288 * src/hildon-pannable-area.c,
2289 (hildon_pannable_area_class_init),
2290 (hildon_pannable_leave_notify_event): Added a handler of the
2291 leave-notify-signal to consider when no motion notify before
2294 Fixes: NB#107494 (Items stay selected when clicking and moving
2295 away when inside pannable area)
2297 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2302 * configure.ac: Bump version.
2303 * debian/changelog: Updates.
2305 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2307 Patch by Alberto Garcia (agarcia@igalia.com)
2309 * src/hildon-date-button.c,
2310 (hildon_date_button_class_init),
2311 (hildon_date_button_init): Removed the construct property handling
2312 and created a default selector in the init method.
2313 * src/hildon-picker-button.c,
2314 (hildon_picker_button_class_init): Removed the construct flag of the
2317 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-main.c (hildon_init):
2320 Don't allow hildon_init() to be called more than once.
2322 Fixes: NB#106607 (hildon_init should issue error message upon
2325 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2327 * examples/hildon-pannable-area-touch-list-example.c
2328 * examples/hildon-pannagle-area-touch-grid-example.c
2329 * examples/hildon-edit-toolbar-example.c
2330 * examples/hildon-touch-selector-multi-cells-example.c
2331 Removed the call to gtk_rc_parse_string, as it is not required since
2334 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2336 * src/hildon-pannable-area.c,
2337 (hildon_pannable_area_class_init): Modified the default panning
2338 threshold of the widget to 6px.
2340 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2341 than the threshold value ) within the button is not sending the
2344 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2347 for the treeview in the new column. This way, the touch list will never
2350 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2351 be selected manually for the HW keys to work)
2353 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2356 comparison instead of using strcmp(). Fixes a compiler warning as well.
2358 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2360 * doc/hildon-docs.sgml: Do not set the library version in the
2361 document title, use the releaseinfo tag for that purpose instead.
2363 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2366 Do not jump to the first item if the text in the entry is removed.
2368 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2373 * configure.ac: Bump version.
2374 * debian/changelog: Updates.
2376 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2378 * src/hildon-entry.c (hildon_entry_refresh_contents):
2379 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2380 Use "ReversedSecondaryTextColor" for the placeholder text.
2382 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-text-view.c: Fix compilation warning.
2386 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-button.c (hildon_button_class_init): Don't make
2389 "title" and "value" construction properties, to prevent them from
2390 overwriting labels set from derived classes.
2392 * src/hildon-picker-button.c
2393 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2394 (hildon_picker_button_class_init): Make touch-selector a
2395 construction property.
2397 * src/hildon-date-button.c (hildon_date_button_class_init)
2398 (+hildon_date_button_constructed): Add a default date selector if
2401 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-touch-selector.c: Small documentation fixes.
2405 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2407 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2409 * src/hildon-entry.c (hildon_entry_refresh_contents),
2410 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2411 widget name, set the logical color directly instead and a boolean
2412 showing_placeholder instead.
2413 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2414 use the widget name here either.
2416 Fixes: NB#105678 (HildonTextView should use logical colours
2417 instead of setting widget name)
2419 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2421 Patch by Daniel Elster (danielk@openismus.com)
2423 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2424 Add user_data parameter.
2425 (hildon_touch_selector_set_print_func_full): New function akin
2426 hildon_touch_selector_set_print_func() but with support for user
2427 data and a destroy callback.
2428 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2429 to clean up the print function user data.
2430 (hildon_touch_selector_class_init): Install dispose function.
2431 (HildonTouchSelectorPrivate::print_user_data),
2432 (HildonTouchSelectorPrivate::print_destroy_func): New private
2434 (hildon_touch_selector_init): Initialize new private members.
2435 (hildon_touch_selector_get_current_text): Pass along user data
2436 to the print function.
2437 (_default_print_func): Add dummy user_data to parameter list.
2438 * hildon-date-selector.c (_custom_print_func): ditto,
2439 * hildon-time-selector.c (_custom_print_func): ditto,
2440 * hildon-touch-selector-entry.c
2441 (hildon_touch_selector_entry_print_func): ditto.
2443 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2445 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2447 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2449 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2451 * src/hildon-pannable-area.c,
2452 (hildon_pannable_area_init),
2453 (hildon_pannable_area_button_press_cb),
2454 (hildon_pannable_area_motion_notify_cb): We have added code to
2455 handle the leave and enter events when using the motion events.
2457 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2459 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-date-button.c (hildon_date_button_get_date)
2462 (hildon_date_button_set_date): Make sure that the button has a
2465 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2467 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2469 * src/hildon-pannable-area.c,
2470 (hildon_pannable_area_class_init),
2471 (hildon_pannable_area_calculate_velocity): Modify the use of the
2472 force and adapt the value.
2474 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2477 (hildon_app_menu_class_init): Hide the menu if it receives a
2478 delete-event, but don't destroy it
2480 Fixes: NB#104485 (Not able to address the call when application
2481 menu is opened at background)
2483 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2485 * src/hildon-app-menu.c
2486 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2487 Remove the "external-border" style property, let the menu take its
2488 natural size (or the one set by the window manager)
2489 (hildon_app_menu_repack_items):
2490 Don't reshow the menu, avoid flickers.
2492 Partially fixes NB#94957 (Smoothly opened application menu)
2494 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2499 * configure.ac: Bump version.
2500 * debian/changelog: Updates.
2502 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2504 * src/hildon-pannable-area.c,
2505 (hildon_pannable_area_motion_notify_cb): We control that the
2506 direction error margin is used just in case the movement is
2507 allowed in the other direction.
2509 Fixes: NB#105012 (buttons inside a pannable area not getting
2510 release event when dragging/releasing)
2512 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2514 * src/hildon-pannable-area.c,
2515 (hildon_pannable_area_class_init),
2516 (hildon_pannable_area_get_property),
2517 (hildon_pannable_area_set_property),
2518 (hildon_pannable_area_initial_effect),
2519 (hildon_pannable_axis_scroll),
2520 (hildon_pannable_area_button_release_cb): Reviewed the
2521 overshooting effect, now it has its own max
2522 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2523 speed when bouncing.
2525 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2530 * configure.ac: Bump version.
2531 * debian/changelog: Updates.
2533 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2535 * src/hildon-pannable-area.c,
2536 (hildon_pannable_area_class_init): Changed the max speed, now
2537 users can launch the widget very fast. Reduced the default force,
2538 that way it is easier to control the launch speed.
2540 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2542 * src/hildon-pannable-area.c,
2543 (hildon_pannable_area_button_release_cb): Removed this check
2544 because it causes problems when the device is overloaded.
2546 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2548 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2549 add a current_text field to store the text entered in the
2550 touch selector entry.
2551 (_clean_current_selection): clean up the current text as well.
2552 (_save_current_selection), (_restore_current_selection):
2553 Save/restore the text in the entry if the selector is a
2554 HildonTouchSelectorEntry.
2556 Fixes: NB#102541 (value entered in the touch selector entry is not
2557 shown when opened for second time)
2559 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2561 * doc/hildon-sections.txt:
2562 * src/hildon-touch-selector-entry.c
2563 (+hildon_touch_selector_entry_get_entry):
2564 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2566 Fixes: NB#104815 (I need accessor to the entry inside
2567 HildonTouchSelectorEntry)
2569 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2571 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2572 (hildon_app_menu_class_init):
2573 New "filter-vertical-spacing" style property.
2575 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2577 * src/hildon-find-toolbar.c
2578 (hildon_find_toolbar_emit_close)
2579 (hildon_find_toolbar_emit_invalid_input)
2580 (hildon_find_toolbar_entry_activate):
2581 Use g_signal_emit() instead of g_signal_emit_by_name()
2583 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2585 Patch by Mox Soini (ext-mox.soini@nokia.com)
2587 * tests/TEST-CASES.txt
2588 * tests/check-hildon-banner.c
2589 * tests/check-hildon-note.c
2590 * src/hildon-banner.c
2591 * src/hildon-code-dialog.c
2592 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2593 * src/hildon-time-editor.c
2594 * examples/hildon-lookup-example.c (main):
2595 Replace obsolete icon names with new ones.
2597 * src/hildon-find-toolbar-private.h:
2598 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2599 (-hildon_find_toolbar_emit_search):
2600 Remove find button and change icon of close button.
2602 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2604 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-time-button.c (hildon_time_button_new_step):
2607 Use the "touch-selector" property to set the selector directly
2608 when creating the object.
2610 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2612 Added a new example application that allows tuning the pannable
2613 area and replaced defines with properties in order to simplify the
2614 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2615 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2616 PROP_DIRECTION_ERROR_MARGIN.
2618 * examples/hildon-pannable-area-tuning-example.c: New example
2620 * src/hildon-pannable-area.c,
2621 (hildon_pannable_area_class_init),
2622 (hildon_pannable_area_init),
2623 (hildon_pannable_area_get_property),
2624 (hildon_pannable_area_set_property),
2625 (hildon_pannable_area_launch_fade_timeout),
2626 (hildon_pannable_area_adjust_value_changed),
2627 (hildon_pannable_axis_scroll),
2628 (hildon_pannable_area_motion_notify_cb),
2629 (hildon_pannable_area_scroll_cb),
2630 (hildon_pannable_area_button_release_cb): We have converted some
2631 of the defines that control the widget to properties to simplify
2634 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-app-menu.c (hildon_app_menu_map)
2637 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2638 so it's closed if a new window appears.
2640 Fixes: NB#104485 (Not able to address the call when application
2641 menu is opened at background)
2643 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2646 missing 'break' statement in in 'case' construct to avoid
2649 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2651 * src/hildon-touch-selector-entry.c
2652 (hildon_touch_selector_entry_get_property),
2653 (hildon_touch_selector_entry_set_property): Add missing 'break'
2654 statements in in 'case' constructs to avoid incorrect warnings.
2656 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-time-editor.c
2659 (hildon_time_editor_get_time_separators): Do not crash if
2660 the first label is NULL.
2662 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-date-selector.c (_month_days): Check for month to be
2665 strictly less than 12, since otherwise we may overrun the array.
2667 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2669 * src/hildon-date-button.c (+hildon_date_button_new_full)
2670 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2671 (hildon_date_button_init): Set the date selector using a
2672 construction property, to make it happen after HildonButton's
2673 "value" property is set.
2675 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2676 current date by default)
2678 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2680 * doc/hildon-sections.txt
2681 * src/hildon-program.c
2682 * src/hildon-stackable-window.c
2683 * src/hildon-window.c:
2684 Documentation updates
2686 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2688 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2689 (hildon_window_stack_new, +hildon_window_stack_set_property)
2690 (+hildon_window_stack_get_property)
2691 (hildon_window_stack_class_init)
2692 (+hildon_window_stack_set_window_group)
2693 (+hildon_window_stack_get_window_group):
2694 Make the window group a construction property.
2696 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2698 * doc/hildon-sections.txt
2699 * src/hildon-stackable-window-private.h
2700 * src/hildon-stackable-window.h
2701 * src/hildon-stackable-window.c
2702 (-hildon_stackable_window_set_app_menu)
2703 (-hildon_stackable_window_get_app_menu)
2704 (-hildon_stackable_window_toggle_menu)
2705 (-hildon_stackable_window_finalize)
2706 (hildon_stackable_window_class_init)
2707 (hildon_stackable_window_init)
2708 * src/hildon-window-private.h
2709 * src/hildon-window.h
2710 * src/hildon-window.c (hildon_window_init)
2711 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2712 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2713 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2714 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2715 Moved all HildonAppMenu code to HildonWindow. The menu does not
2716 require a HildonStackableWindow anymore.
2718 * src/hildon-app-menu.c
2719 * src/hildon-program.c
2720 * examples/hildon-app-menu-example.c (main):
2721 Update examples and documentation to reflect HildonAppMenu
2724 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-remote-texture.c
2727 * src/hildon-animation-actor.c:
2728 Don't include unused private headers.
2730 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-program-private.h
2733 * src/hildon-program.c
2734 (hildon_program_set_common_menu)
2735 (hildon_program_get_common_menu)
2736 (hildon_program_set_common_app_menu)
2737 (hildon_program_get_common_app_menu):
2738 Change common menu pointers from GtkWidget* to GtkMenu* and
2739 HildonAppMenu* to avoid unnecessary casts.
2741 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2743 * src/hildon-window.c (hildon_window_set_main_menu):
2744 Removed incorrect 'Since:' tag
2746 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2748 * src/hildon-pannable-area.c,
2749 (hildon_pannable_area_calculate_velocity): We use now the
2750 RATIO_TOLERANCE here to check the distance, fixed typo in the
2752 (hildon_pannable_area_motion_notify_cb): We have to set the type
2753 and time even if we are not sending the motion.
2755 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2757 * doc/hildon-sections.txt
2758 * src/hildon-app-menu.h
2759 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2760 (+hildon_app_menu_get_filters): New methods to get the contents of
2763 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2766 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-app-menu.c (hildon_app_menu_popup):
2771 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-window.h
2774 * src/hildon-window.c (+hildon_window_get_main_menu)
2775 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2776 and deprecated hildon_window_get_menu().
2778 * src/hildon-stackable-window.h
2779 * src/hildon-stackable-window.c
2780 (+hildon_stackable_window_set_app_menu)
2781 (+hildon_stackable_window_get_app_menu)
2782 (hildon_stackable_window_set_main_menu): Created
2783 hildon_stackable_window_{get,set}_app_menu() and deprecated
2784 hildon_stackable_window_set_main_menu().
2786 * doc/hildon-sections.txt
2787 * examples/hildon-app-menu-example.c (main)
2788 * src/hildon-app-menu.c
2789 * src/hildon-program.c:
2790 Updated examples and documentation.
2792 Fixes: NB#103758 (No way to obtain a menu from a
2793 HildonStackableWindow)
2795 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2800 * configure.ac: Bump version.
2801 * debian/changelog: Updates.
2803 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2805 * examples/hildon-remote-texture-example.c: Include
2806 hildon-remote-texture.h explicitely.
2807 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2808 applications not defining _XOPEN_SOURCE which don't require this header.
2810 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2812 * doc/hildon-sections.txt
2813 * src/hildon-app-menu.h
2814 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2815 New function to pop up a HildonAppMenu
2817 * src/hildon-stackable-window.c
2818 (hildon_stackable_window_toggle_menu):
2819 Use hildon_app_menu_popup() to show the menu.
2821 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-app-menu.c (hildon_app_menu_show)
2824 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2825 menu if there's another window between it and its parent window.
2827 Fixes: NB#100468 (Application menu window is launched even when a
2828 new secondary-window/dialog is pending to be shown/realized)
2830 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-window-stack.c (hildon_window_stack_push)
2833 (hildon_window_stack_pop_and_push):
2834 Don't forget to push/pop the first window.
2835 Reverse the window list before calling _push_list()
2837 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-picker-button.h
2840 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2841 Remove "value_changed" slot to avoid ABI breakage
2843 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2845 * src/hildon-pannable-area.c,
2846 (hildon_pannable_area_realize),
2847 (hildon_pannable_area_unrealize),
2848 (hildon_pannable_draw_vscroll),
2849 (hildon_pannable_draw_hscroll): Changed the method to handle the
2850 GC used to draw the transparent scrollbar, this way we avoid
2851 creating the GC all the time when drawing the scrollbars.
2853 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2855 * src/hildon-pannable-area.c,
2856 (hildon_pannable_area_init),
2857 (hildon_pannable_area_remove): Removed some unnecessary casts.
2858 (hildon_pannable_area_dispose): Disconnected some signals before
2859 releasing the adjustments.
2861 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2864 Make sure that all widgets contained in the toolbar are shown.
2866 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2868 * doc/hildon-sections.txt
2869 * src/hildon-picker-button.h
2870 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2871 (_selection_changed, hildon_picker_button_on_dialog_response)
2872 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2873 New hildon_picker_button_value_changed() method.
2876 * src/hildon-picker-button-private.h
2877 * src/hildon-picker-button.c (hildon_picker_button_init)
2878 (+hildon_picker_button_disable_value_changed): Add protected
2879 function for disabling the "value-changed" signal.
2881 * src/hildon-date-button.c (hildon_date_button_set_date):
2882 Don't emit "value-changed" for each one of the three columns.
2884 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2885 before actual change of values)
2887 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2889 * src/hildon-pannable-area.c,
2890 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2891 for the treeview overshooting.
2893 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2895 * src/hildon-banner.c (+hildon_banner_bind_style):
2896 Renamed from hildon_banner_bind_label_style(), now naming the
2897 banner itself as well.
2898 (hildon_banner_show_information),
2899 (hildon_banner_show_information_with_markup),
2900 (hildon_banner_show_animation), (hildon_banner_show_progress):
2901 Name the widgets and labels, based on their type.
2903 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2906 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-note.c (hildon_note_set_property): call
2909 hildon_note_rename() on HildonNote:note-type set.
2910 (hildon_note_rename): Name the note and its label, based on the
2911 HildonNote:note-type property.
2913 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2916 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-pannable-area.c,
2919 (hildon_pannable_area_class_init),
2920 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2921 panning parameters, increased SPS and deceleration factor. Added
2922 also a margin to control fake directions.
2924 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2926 Patch by Sven Herzberg (sven@imendio.com)
2928 * configure.ac: Add missing AM_PROG_CC_C_0
2929 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2931 See NB#101420 (Update unit tests and fix make check)
2933 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2935 This patch was applied before but reverted because it caused
2936 problems, we have changed the main condition and tested the
2937 regressions we detected before and they work ok. We have done a
2938 complete review of the topmost algorithm in order to get a more
2941 * src/hildon-pannable-area.c,
2942 (hildon_pannable_area_get_topmost): Added a new parameter to
2943 filter the the windows that do not include those events.
2944 (hildon_pannable_area_button_press_cb),
2945 (hildon_pannable_area_button_release_cb),
2946 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2947 topmost function, we have added the new parameter.
2949 Fixes: NB#97458 (Pannable area prevents propagation of button
2952 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2955 if all columns in the selector have an item selected.
2956 (_on_dialog_response): Stop "response" signal emission if there is
2957 any selector column without selected items.
2959 Fixes: NB#101889 (Picker dialog should not close when nothing is
2960 selected in multiple selection list)
2962 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2964 * src/hildon-font-selection-dialog.c
2965 (hildon_font_selection_dialog_class_init),
2966 (hildon_font_selection_dialog_init): Remove the preview
2967 button and dialog, since previewing with default theming is likely
2968 to be overcomplicated. The :preview property has now no effect.
2969 Update documentation blurbs to inform about this.
2971 Fixes: NB#92297 (Preview content is not clearly visible for
2972 default colour text)
2974 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2976 Reviewed the geometry that handles the children size and
2977 scrollbar, now it tries a size and reviews the results depending
2978 on the scrollbars visibility.
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_realize): Fixed a typo.
2982 (hildon_pannable_area_child_allocate_calculate): Added this
2983 function to calculate the child allocation.
2984 (hildon_pannable_area_size_allocate): Reviewed the allocation
2986 (hildon_pannable_area_check_scrollbars),
2987 (hildon_pannable_area_refresh): Refactored refresh function, this
2988 way we can call the code handling the scrollbars without causing a
2989 size_request, it is interesting in the allocate.
2990 (hildon_pannable_area_init): Replace the callbacks of the
2991 value_changed and changed signals to propertly deal with the
2993 (hildon_pannable_area_grab_notify),
2994 (hildon_pannable_area_initial_effect),
2995 (hildon_pannable_area_launch_fade_timeout),
2996 (hildon_pannable_area_adjust_changed),
2997 (hildon_pannable_area_adjust_value_changed),
2998 (hildon_pannable_area_redraw),
2999 (hildon_pannable_area_button_press_cb),
3000 (hildon_pannable_area_button_release_cb),
3001 (hildon_pannable_area_scroll_cb),
3002 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3003 code and use the new functions adjust_changed and
3004 adjust_value_changed.
3006 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3007 Contact editor dialog)
3009 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3014 * configure.ac: Bump version.
3015 * debian/changelog: Updates.
3017 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3019 * src/hildon-pannable-area.c,
3020 (hildon_pannable_area_get_topmost),
3021 (hildon_pannable_area_button_press_cb),
3022 (hildon_pannable_area_button_release_cb),
3023 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3024 topmost function adding the event mask. We have to try a
3025 differente approach because it is still causing problems (NB#9745,
3028 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3030 * src/hildon-banner.c:
3031 Update the maximum width of timed banners.
3032 (force_to_wrap_truncated): Enforce the maximum text width if the
3035 Fixes: NB#102413 (The text margins (wrapping) in information
3036 banner should be HILDON_MARGIN_TRIPLE)
3038 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3040 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3042 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3043 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3044 bound when calculating the scroll indicator position.
3046 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3047 treat ->lower correctly)
3049 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3052 expose event handling, since it is not necessary to draw the focus
3055 Fixes: NB#102467 (Do not show highlight on the text in
3058 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3060 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3061 full height of the toolbar for the button and the label.
3063 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3066 padding before the label and after the button.
3068 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3072 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3073 Add a GtkVSeparator between the button and the back arrow.
3074 Let the button have automatic size.
3075 Set a name to the widget for theming handling.
3077 Fixes: NB#101793 (Make edit toolbar the same height as window
3078 title bar (use title area theming))
3080 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-helper.c (attach_new_color_element): Fix memory
3085 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3087 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3089 * examples/hildon-button-example.c (common_buttons_window): Don't
3092 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3095 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3097 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-gtk.c: Check that the window is realized.
3101 Fixes: NB#102225 (Crash setting the progress indicator to a non
3104 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3107 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3108 instead of modifying the one in the widget style.
3110 Fixes: NB#101043 (Second row of all the command button are
3111 displayed in transparent mode.)
3113 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-date-button.c
3116 * src/hildon-time-button.c: Add gettext macros
3118 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-date-button.c (hildon_date_button_new):
3121 * src/hildon-time-button.c (hildon_time_button_new_step):
3122 Use new logical strings to set the button default title.
3124 Fixes: NB#99915 (Date and Time options are not localised in Date
3127 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3129 * src/hildon-pannable-area.c
3130 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3131 the PANNING_THRESHOLD.
3133 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3135 * src/hildon-pannable-area.c,
3136 (hildon_pannable_area_class_init): Increased the maximum speed.
3137 (hildon_pannable_area_get_property),
3138 (hildon_pannable_area_set_property),
3139 (hildon_pannable_area_timeout): Added a new low friction mode, it
3140 allows the user avoid friction when launching the widget fast
3141 enough. It is interesting to traverse long lists.
3143 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3146 (+hildon_stackable_window_delete_event): Ignore delete events if
3147 the window is not the topmost one.
3149 Fixes: NB#101698 (Back button long press and delete-event handling)
3151 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-pannable-area.c,
3154 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3155 gtk-dnd-drag-threshold, it was too big. We have defined our own
3156 dnd define and set a smaller value: PANNIG_THRESHOLD.
3158 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3161 user-defined icons, use always the default one.
3163 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3165 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3167 This patch was applied before but reverted because it caused
3168 problems, we have changed the main condition and tested the
3169 regressions we detected before and they work ok.
3171 * src/hildon-pannable-area.c,
3172 (hildon_pannable_area_get_topmost): Added a new parameter to
3173 filter the the windows that do not include those events. Added
3174 also a condition when finding the window to filter windows that do
3175 not ask for those events.
3176 (hildon_pannable_area_button_press_cb),
3177 (hildon_pannable_area_button_release_cb),
3178 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3179 topmost function, we have added the new parameter.
3181 Fixes: NB#97458 (Pannable area prevents propagation of button
3184 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3186 * tests/check-hildon-color-button.c (START_TEST): do not leak
3189 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3191 * src/hildon-font-selection-dialog.c
3192 (hildon_font_selection_dialog_get_preview_text): Return NULL
3193 instead of FALSE on the g_return_val_if_fail().
3195 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3198 * src/hildon-date-selector.c
3199 (hildon_date_selector_select_current_date):
3200 Do not compare unsigned integers to be greater than or equal 0,
3201 because it's always TRUE.
3203 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3205 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3206 (hildon_date_selector_constructor): Do not select the current
3207 date until we are handle the "changed" signal, to avoid having bogus
3208 elements in the days model.
3210 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3213 for num_days, since _month_days() can return a negative value.
3215 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-caption.c (hildon_caption_size_allocate):
3218 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3219 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3221 Initialize allocation variables to 0, to avoid eventually using
3222 unitialized variables.
3224 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-bread-crumb-trail.c
3227 (hildon_bread_crumb_trail_size_allocate):
3228 * src/hildon-calendar.c (hildon_calendar_set_background):
3229 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3230 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3231 * src/hildon-seekbar.c (hildon_seekbar_init):
3232 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3233 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3234 * src/hildon-touch-selector-entry.c
3235 (hildon_touch_selector_get_text_from_model):
3236 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3237 * src/hildon-window.c (hildon_window_finalize):
3239 Remove many unused variables.
3241 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-seekbar.c: (hildon_seekbar_init),
3244 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3246 Remove unnecessary g_assert() calls.
3248 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-caption.c: (hildon_caption_expose),
3251 (hildon_caption_set_property), (hildon_caption_init),
3252 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3253 (hildon_caption_size_request), (hildon_caption_size_allocate),
3254 (hildon_caption_forall), (hildon_caption_set_separator),
3255 (hildon_caption_activate), (hildon_caption_set_child_expand),
3256 (hildon_caption_set_label_text),
3257 (hildon_caption_get_label_alignment):
3259 Remove unnecessary g_assert() calls.
3261 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3263 * src/hildon-banner.c
3264 (hildon_banner_map, hildon_banner_init): Make banner temporary
3265 before mapping it to avoid closing other temporary windows, but
3266 make it non-temporary afterwards to avoid being closed by other
3267 non-temporary windows.
3268 (-hildon_banner_client_event, hildon_banner_init):
3269 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3271 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3274 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3279 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3281 * src/hildon-remote-texture.c
3282 * src/hildon-remote-texture.h
3283 * src/hildon-remote-texture-private.h
3284 * examples/hildon-remote-texture-example.c:
3285 Updates/fixes to remote-texture and its example.
3287 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3289 Patch by Mox Soini (ext-mox.soini@nokia.com)
3291 * src/hildon-code-dialog.c: Update logical id.
3292 * src/hildon-set-password-dialog.c: Update logical id.
3294 Fixes: NB#100646 (Logical strings is shown for ok in set
3295 password,Password needed dialogs)
3297 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3300 * src/hildon-remote-texture.c
3301 * src/hildon-remote-texture.h
3302 * src/hildon-remote-texture-private.h
3304 Added remote texture widget (for Clutter shared memory textures)
3306 * examples/hildon-remote-texture-example.c
3307 * examples/Makefile.am
3308 Added example file for remote texture usage
3310 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3312 * configure.ac: post release version bump.
3313 * debian/changelog: version bump.
3315 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3320 * configure.ac: Bump version.
3321 * debian/changelog: Updates.
3323 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-date-selector.c (hildon_date_selector_init)
3326 (hildon_date_selector_constructor): Don't connect to the "changed"
3327 signal until the selector is completely constructed.
3329 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3331 * src/hildon-touch-selector.c: (_create_new_column),
3332 (hildon_touch_selector_append_column),
3333 (hildon_touch_selector_set_column_selection_mode),
3334 (hildon_touch_selector_set_active),
3335 (hildon_touch_selector_select_iter):
3336 Emit the HildonTouchSelector::changed signal every time selection
3337 is changed in any of the methods above. This behavior was already
3338 documented but not fully functional.
3340 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3341 selection is programmatically changed)
3343 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3345 * doc/hildon-sections.txt: Remove obsolete icon
3346 sizes from here as well.
3348 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3350 * examples/hildon-stackable-window-example.c (add_window): Remove
3353 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-app-menu.c
3356 (hildon_app_menu_show): Check whether the parent window of a menu
3357 is topmost before popping it up.
3359 Fixes: NB#100468 (Application menu window is launched even when a
3360 new secondary-window/dialog is pending to be shown/realized.)
3362 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3364 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3367 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3369 Patch by Mox Soini (ext-mox.soini@nokia.com)
3371 * src/hildon-banner.c: (hildon_banner_show_animation):
3372 use stylus size instead of obsolete note size.
3373 * src/hildon-defines.h: Update icon sizes.
3375 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-touch-selector-entry.c:
3378 (hildon_touch_selector_entry_init): Disable unsupported
3380 (hildon_touch_selector_entry_get_text_column): Emit a warning
3381 if an unsupported input modes is used and explicitile state
3382 these modes in the documentation.
3384 Fixes: NB#99802 (Hildon touch selector entry not working properly
3385 for some of the input modes)
3387 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3389 * src/hildon-pannable-area.c,
3390 (hildon_pannable_area_init): Added the changed signal handlers of
3393 Fixes: NB#100320 (HildonPannableArea does not listen to
3394 GtkAdjustment "change" signals)
3396 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3398 * doc/hildon-sections.txt
3399 * src/hildon-window-private.h
3400 * src/hildon-window.h
3401 * src/hildon-window.c (hildon_window_init)
3402 (hildon_window_realize, hildon_window_unrealize)
3403 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3404 (hildon_window_size_request, hildon_window_size_allocate)
3405 (hildon_window_forall, hildon_window_show_all)
3406 (hildon_window_destroy, +paint_edit_toolbar)
3407 (+hildon_window_set_edit_toolbar):
3408 New hildon_window_set_edit_toolbar() method, to add a
3409 HildonEditToolbar to a window without having to pack it manually.
3411 Reorganize hildon_window_size_allocate()
3413 * src/hildon-edit-toolbar.c: Update documentation.
3415 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3416 example to use the new API.
3418 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3420 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3423 Remove from stack before calling parent's hide.
3425 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3428 window is removed from the middle of the stack, update the
3429 transiency of the previous one.
3431 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3434 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3436 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3437 block/unblock the signal handler if it's not actually being used.
3438 Fixes some critical warnings.
3440 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3442 Based on a patch by Iván Gómez (igomez@igalia.com)
3444 * src/hildon-banner.c
3448 * src/hildon-pannable-area.c
3449 * src/hildon-picker-dialog.c
3450 * src/hildon-wizard-dialog.h
3451 * src/hildon-wizard-dialog.c: Documentation updates.
3453 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3454 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3456 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: post release version bump.
3459 * debian/changelog: version bump.
3461 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3466 * configure.ac: Bump version.
3467 * debian/changelog: Updates.
3469 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3472 a stock icon nor change the relief of the back arrow.
3474 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3475 graphics from theme)
3477 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3479 * src/hildon-button.c (hildon_button_set_alignment): Use
3480 priv->alignment if the button has no child yet.
3482 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-button.c: (hildon_button_init): Set the
3485 button style during initialization to give it the proper
3488 Fixes: NB#99713 (HildonButton value label color is wrong)
3490 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3492 * src/hildon-touch-selector.c: Document
3493 hildon_touch_selector_center_on_selected()
3495 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3497 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3498 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3499 all menu items, but not the menu itself.
3500 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3501 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3502 items after adding them to the menu so keyboard accelerators work.
3503 (hildon_app_menu_show): Don't show the menu if it contains items
3504 but none of them are visible.
3506 * examples/hildon-app-menu-example.c (create_menu): Use
3507 gtk_widget_show_all() to show all menu items.
3509 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-picker-dialog.c:
3512 (-_update_title_on_selector_changed_cb),
3513 (-_dialog_update_title): Removed.
3514 (_select_on_selector_changed_cb), (_on_dialog_response),
3515 (on_selector_columns_changed): Do not update the dialog title.
3516 (setup_interaction_mode): Do not connect to
3517 HildonTouchSelector::changed signal if there's a "done" button, as
3518 the dialog title doesn't need to be updated.
3520 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3523 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3525 Patch by Kristian Rietveld (kris@imendio.com)
3527 * src/hildon-touch-selector.c: (_create_new_column): Use new
3528 GtkTreeView::hildon-row-tapped signal to react to user interactions
3529 instead of ::changed.
3531 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3532 with some dynamic tree model)
3534 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3537 (+screen_size_changed, +label_size_request)
3538 (hildon_note_class_init): Make the Hildon information note have a
3539 minimum height, and make its text hvae a maximum width.
3541 Fixes: NB#98614 (Hildon information note (background) should have
3542 minimum height and maximum text width)
3544 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-banner.h
3547 * src/hildon-banner.c (hildon_banner_show_information)
3548 (hildon_banner_show_informationf)
3549 (hildon_banner_show_information_with_markup): Update documentation
3550 to reflect that the icon_name parameter is not used anymore.
3551 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3552 Remove all code from these functions and mark them as deprecated.
3553 (hildon_banner_show_progress): Mark as deprecated.
3555 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3557 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3559 * src/hildon-pannable-area.c,
3560 (hildon_pannable_area_class_init),
3561 (tranparency_color),
3562 (hildon_pannable_draw_vscroll),
3563 (hildon_pannable_draw_hscroll),
3564 (hildon_pannable_area_expose_event): Added a new way to render the
3565 scrollbars of the pannable area avoiding using cairo at all. This
3566 way we improve the performance of the pannable area rendering. The
3567 cairo rendering procedure is still in the code, we can control
3568 which one to use changing the value of the define
3569 USE_CAIRO_SCROLLBARS.
3571 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3573 * configure.ac: post release version bump.
3574 * debian/changelog: version bump.
3576 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3581 * configure.ac: Bump version.
3582 * debian/changelog: Updates.
3584 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3586 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3587 banners instead of destroying them when they receive a button
3590 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3592 Reverted commit 34028, it was causing regressions, probably the
3593 topmost condition is not correct, we have to check it in more
3594 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3595 propagation of button press events)
3597 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3600 that the selection is not empty before attempting to retrieve the
3601 current ampm selection.
3603 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-picker-button.c:
3606 (hildon_picker_button_on_dialog_response): Directly update the
3607 button contents when required instead of calling _selection_changed.
3609 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-program.c (hildon_program_update_top_most): Update
3612 'is-topmost' property also when wm_hints is not set.
3614 Fixes: NB#98383 (is-topmost signal is not emitted when task
3615 switcher is clicked.)
3617 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3619 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3623 * src/hildon-animation-actor.c,
3624 * src/hildon-animation-actor.h: Added the animation actor class,
3625 this widget represents an animation actor for WM-assisted
3626 animation effects in the Hildon framework.
3628 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3630 * src/hildon-window-stack-private.h
3631 * src/hildon-window-stack.c
3632 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3633 Avoid calling gtk_widget_show() again indirectly from
3634 hildon_stackable_window_show()
3636 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3638 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3641 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3644 (hildon_time_selector_init): Move the construction of the hours and
3645 ampm columns to the constructor to preserve the order the columns
3648 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-picker-dialog.c:
3651 (hildon_picker_dialog_class_init): Connect a realize method.
3652 (+hildon_picker_dialog_realize): Setup the interaction mode here
3654 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3655 yet, do it during the realize instead.
3656 (_on_dialog_response):
3657 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3658 if the widget is not realized, to avoid the dialog response before it
3661 Avoid premature responses in the HildonPickerDialog that can cause it
3662 to be hidden before it's even shown.
3664 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3667 (on_selector_columns_changed), (requires_done_button),
3668 (+prepare_action_area), (setup_interaction_mode),
3669 (_hildon_picker_dialog_set_selector):
3671 Split the interaction mode setup into preparation of the
3672 action area (prepare_action_area()) and the connection of
3673 the signals in setup_interaction_mode() and update the code to
3676 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3678 * src/hildon-pannable-area.c,
3679 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3680 per second to 15, we will check if this is ok regarding
3683 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3685 * src/hildon-pannable-area.c,
3686 (hildon_pannable_axis_scroll): Avoid resize if we already have
3687 reached overshoot_max.
3689 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3691 * src/hildon-pannable-area.c,
3692 (hildon_pannable_area_init),
3693 (hildon_pannable_area_realize),
3694 (hildon_pannable_area_size_allocate),
3695 (hildon_pannable_area_map),
3696 (hildon_pannable_area_unmap),
3697 (hildon_pannable_draw_vscroll),
3698 (hildon_pannable_draw_hscroll),
3699 (hildon_pannable_area_expose_event),
3700 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3701 pannable are to avoid the expose events go to the window and
3702 redraw the window. We save this way that part of the stack and the
3703 paint_boxes. We had to change the positions of the elements when
3706 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3708 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3709 * src/hildon-color-chooser-dialog.c:
3710 (hildon_color_chooser_dialog_init):
3711 * src/hildon-font-selection-dialog.c:
3712 (hildon_font_selection_dialog_init),
3713 (hildon_font_selection_dialog_show_preview):
3714 * src/hildon-get-password-dialog.c:
3715 * src/hildon-login-dialog.c:
3716 * src/hildon-set-password-dialog.c:
3717 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3718 * src/hildon-time-picker.c: (hildon_time_picker_init):
3720 Remove obsolete logical string IDs and update to the appropriate ones.
3722 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3724 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3726 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3727 that happens if the window hasn't been realized yet.
3729 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3730 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3732 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3735 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3738 Fixes: NB#98537 (Device hangs in account settings dialog)
3740 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3742 * configure.ac: post release version bump.
3743 * debian/changelog: version bump
3745 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3750 * configure.ac: Bump version.
3751 * debian/changelog: Updates.
3753 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3755 Added a new function to the HildonTimeButton widget that allows to
3756 change the step of the minutes in the selector associated with the
3757 button: hildon_time_button_new_step
3759 * src/hildon-time-button.c,
3760 (hildon_time_button_init),
3761 (hildon_time_button_new),
3762 (hildon_time_button_new_step):
3763 * src/hildon-time-button.h: Added the new function and refactored
3765 * examples/hildon-time-button-example.c,
3766 (main): We have replaced the function without parameters with the
3767 function with the steps set to 5
3769 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3771 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3773 * src/hildon-time-selector.c,
3774 (hildon_time_selector_class_init),
3775 (hildon_time_selector_constructor),
3776 (hildon_time_selector_get_property),
3777 (hildon_time_selector_set_property),
3778 (_create_minutes_model),
3779 (hildon_time_selector_new_step),
3780 (hildon_time_selector_set_time),
3781 * src/hildon-time-selector.h: Added a new property to the
3782 HildonTimeSelector (minutes-step), we use that property to control
3783 the steps between the minutes in the list of the selector. We have
3784 added a new function to the API to create a widget changing the
3785 step: hildon_time_selector_new_step.
3787 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3789 * src/hildon-time-selector.c,
3790 (hildon_time_selector_class_init),
3791 (hildon_time_selector_constructor),
3792 (hildon_time_selector_init): Overrided the construct function when
3793 creating the time selector object. We have moved the minutes model
3794 handling code from the init to the new construction function:
3795 hildon_time_selector_constructor.
3797 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3799 * examples/hildon-date-button-example.c: (main): Use the new
3800 hildon_date_button_new_with_year_range() method in the example.
3801 * src/hildon-date-button.c:
3802 (+hildon_date_button_new_with_year_range): New public method
3803 to conveniently create a HildonDateButton with a custom year range
3804 in its HildonDateSelector.
3805 * src/hildon-date-button.h: Add the new public method definition.
3807 Fixes: NB#97908 (Not possible to change the year range in
3808 HildonDateSelector/HildonDateButton)
3810 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-date-selector.c:
3813 (+hildon_date_selector_set_property),
3814 (+hildon_date_selector_get_property),
3815 (hildon_date_selector_class_init): Install new properties "min-year"
3816 and "max-year" to define boundaries for the year column.
3817 (_create_year_model): Use the boundary properties to populate the model.
3818 (+hildon_date_selector_new_with_year_range): New public method to
3819 create a HildonDateSelector with a user defined year range.
3820 (hildon_date_selector_select_current_date): Use the new boundaries to
3821 calculate the iterator of current year.
3822 * src/hildon-date-selector.h: Add the new public method definition.
3824 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3827 Install a constructor method.
3828 (+hildon_date_selector_construct_ui): construct the widget.
3829 (+hildon_date_selector_constructor): new constructor.
3830 (+hildon_date_selector_init): move out widget construction code to
3831 the new constructor.
3833 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3836 that there's actually a month or year selected before obtaining them.
3837 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3838 of the HildonTouchSelector::changed signal, as it was emitted on every
3839 single item selection.
3841 Fix some warnings and possible crashers due to the selection restoring.
3843 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3846 the signal handlers only after creating the dialog instead of on every
3849 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3851 * src/hildon-button.c (hildon_button_init)
3852 * src/hildon-check-button.c (hildon_check_button_init)
3853 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3854 focus when clicked by default.
3856 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3861 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3863 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3864 Alejandro G. Castro (alex@igalia.com)
3866 * src/hildon-picker-dialog.c:
3867 (hildon_picker_dialog_class_init): install new "center-on-show"
3869 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3870 (hildon_picker_dialog_set_property): add setter code for the new
3872 (hildon_picker_dialog_get_property): add getter code for the new
3874 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3875 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3878 Fixes: NB#92849 (Selected item is not always visible when
3879 HildonTouchSelector is shown)
3881 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3883 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3884 Alejandro G. Castro (alex@igalia.com)
3886 * src/hildon-touch-selector.c:
3887 (_create_new_column): Do not connect to the "realize" signal of the
3889 (hildon_touch_selector_append_column): center on the selected items
3890 when a new column is appended.
3891 (hildon_touch_selector_select_iter): Factor out the code to select a
3892 column to hildon_touch_selector_scroll_to().
3893 (+search_nearest_element): Method to retrieve the nearest selected
3894 element to the visible area of the pannable area in a column.
3895 (+on_realize_cb): scroll to the initially selected item.
3896 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3897 the pannable area is realized, otherwise delay this until it is.
3898 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3899 selected items of a given column.
3900 (+hildon_touch_selector_center_on_selected): Public method to center
3901 all columns on the nearest selected item.
3902 * src/hildon-touch-selector.h: Add definition for
3903 hildon_touch_selector_center_on_selected().
3905 Implement public API to ensure visibility of all selected items in
3906 a HildonTouchSelector.
3908 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3910 Fixed a problem in the fading when calling the scroll_to API, and
3911 improve scrollbar fading handling.
3913 * src/hildon-pannable-area.c,
3914 (hildon_pannable_area_grab_notify): avoid the timeout when the
3916 (hildon_pannable_area_button_press_cb),
3917 (hildon_pannable_area_motion_notify_cb): Code style changes.
3918 (hildon_pannable_area_button_release_cb): Review the conditions
3919 when releasing the mouse button to avoid unrequired fading
3921 (hildon_pannable_area_scroll_to): Do not calculate and set the
3922 velocity if the scroll is not required.
3924 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3926 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3927 Don't check whether the new selector is NULL: it cannot be.
3928 Hold a reference to the selector while doing the replacement.
3930 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3932 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3933 unnecessary size_request in a removed widget.
3935 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3938 an unnecessary reference tracking that was leaking.
3940 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3942 Added delayed motion notify event handling, this way we can
3943 discard redrawing if more than 25 events arrive per second.
3945 * src/hildon-pannable-area.c,
3946 (hildon_pannable_area_init): Initialized the new private atributes
3947 controlling this timeout
3948 (hildon_pannable_area_dispose): Remove the timeout that controls
3949 the motion notify events.
3950 (hildon_pannable_area_scroll): Added a condition to control the
3951 use of the acceleration.
3952 (hildon_pannable_area_motion_event_scroll_timeout),
3953 (hildon_pannable_area_motion_event_scroll): Added this two
3954 functions, they handle the motion notify events inside the
3956 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3957 to the scroll method with the new function.
3958 (hildon_pannable_area_button_release_cb): We have to remove the
3959 timeout handler and move to the last position if the last motion
3960 events were not handled.
3962 Fixes: NB#97028 (Pannable area updates on every motion event)
3964 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3966 * src/hildon-pannable-area.c,
3967 (hildon_pannable_area_get_topmost): Added a new parameter to
3968 filter the the windows that do not include those events. Added
3969 also a condition when finding the window to filter windows that do
3970 not ask for those events.
3971 (hildon_pannable_area_button_press_cb),
3972 (hildon_pannable_area_button_release_cb),
3973 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3974 topmost function, we have added the new parameter.
3976 Fixes: NB#97458 (Pannable area prevents propagation of button
3979 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3981 * src/hildon-pannable-area.c,
3982 (hildon_pannable_area_initial_effect): Added controls before
3983 launching the timeout and the idle functions.
3984 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3985 of the method, in some situations it can return with TRUE and 0 in
3987 (hildon_pannable_area_button_press_cb): We do not need to set
3988 DELAY for fading out here.
3990 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3992 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3994 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3995 post-cleaning if the selection is not NULL.
3997 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3999 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4000 all items before restoring the selection.
4002 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-touch-selector.c:
4005 (+hildon_touch_selector_unselect_all):
4006 * src/hildon-touch-selector.h: New API to unselect all items in a
4007 column of the touch selector.
4009 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4011 * src/hildon-pannable-area.c,
4012 (hildon_pannable_area_redraw): Added a call to the refresh
4013 function inside the redraw because apparently in some cases the
4014 change in the adjustment does not imply a size allocate.
4016 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4017 despite the view not being scrollable)
4019 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4021 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4022 leak. Check for NULL before attempting to set the window title.
4024 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4027 whether to show or not the 'Done' button each time the dialog is
4028 shown, as it depends on the HildonTouchSelector selection mode.
4030 Fixes: NB#96226 (In multiple selection mode Done button is shown
4031 sometimes in listpicker)
4033 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4036 for the number of columns in the HildonTouchSelector more than once.
4038 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-touch-selector.c: Minor documentation fixes.
4042 * src/hildon-picker-dialog.c (+_dialog_update_title)
4043 (_select_on_selector_changed_cb)
4044 (_update_title_on_selector_changed_cb)
4045 (on_selector_columns_changed): Update dialog title when there's no
4046 'Done' button and also when the number of columns in the selector
4050 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4051 (+_selection_changed, hildon_picker_button_on_dialog_response)
4052 (hildon_picker_button_selector_selection_changed)
4053 (+hildon_picker_button_selector_columns_changed)
4054 (hildon_picker_button_set_selector): Update button value and emit
4055 'value-changed' when the number of columns in the selector
4059 Fixes: NB#96225 (Dialog titles are not shown according to the
4060 values selected in the list picker)
4062 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4065 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4066 New "arrow-width" and "arrow-height" style properties to set the
4067 size of the arrow button.
4068 Set name of arrow button ("hildon-edit-toolbar-arrow").
4070 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4071 graphics from theme)
4073 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-picker-button.c:
4076 (hildon_picker_button_selector_selection_changed): Use
4077 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4078 the dialog is present.
4080 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4081 the selection is accepted in the dialog)
4083 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4085 * src/hildon-color-chooser.h
4086 * src/hildon-color-chooser-dialog.h:
4087 Added G_BEGIN_DECLS and G_END_DECLS
4089 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4091 (_clean_current_selection): plug a leak in the list.
4093 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4095 * src/hildon-picker-dialog.c:
4096 (+free_path_list): Method to free a GList of GtkTreePaths.
4097 (_clean_current_selection), (_save_current_selection),
4098 (_restore_current_selection): Save the current selection in
4099 as a list of lists, to support multiple selection properly.
4101 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4103 patch by Claudio Saavedra (csaavedra@igalia.com)
4105 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4106 Store the press position.
4107 (+hildon_text_view_button_release_event): If the release position is
4108 close enough to the press position, move the cursor here. Otherwise,
4110 (hildon_text_view_class_init): Override GtkTextView press, release, and
4111 motion event handlers, disabling this way text selection through
4112 pointer interaction, and allowing the container widget to handle the
4115 Fixes: NB#95828 (HildonTextView functionality)
4117 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4119 Based on a patch by Iván Gómez (igomez@igalia.com)
4121 * src/hildon-button.[ch]
4122 * src/hildon-calendar.c
4123 * src/hildon-check-button.c
4124 * src/hildon-date-editor.c
4125 * src/hildon-date-selector.c
4126 * src/hildon-picker-button.c
4127 * src/hildon-time-editor.c
4128 * src/hildon-time-selector.c
4129 * src/hildon-touch-selector.[ch]:
4130 Documentation updates
4132 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4134 * src/hildon-pannable-area.c,
4135 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4136 threshold, it was required due to X events handling.
4138 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4140 * src/hildon-pannable-area.c,
4141 (hildon_pannable_area_grab_notify),
4142 (hildon_pannable_area_initial_effect),
4143 (hildon_pannable_area_button_press_cb),
4144 (hildon_pannable_area_button_release_cb),
4145 (hildon_pannable_area_scroll_cb),
4146 (hildon_pannable_area_scroll_to): Review the timeout management of
4147 the scrollbar, the frecuency was incorrectly set.
4149 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/hildon-picker-button.c:
4152 (+hildon_picker_button_on_dialog_response),
4153 (hildon_picker_button_clicked): Present the dialog instead of
4154 running it with gtk_dialog_run().
4156 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4159 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4161 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4162 (hildon_app_menu_finalize): When a window is hidden it doesn't
4163 emit notify::is-topmost, so make sure than the menu also
4164 disappears in that case.
4165 (parent_window_topmost_notify): Renamed from parent_window_hidden
4167 Fixes: NB#94460 (stackable window's menu is not closed when its
4170 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4172 * src/hildon-touch-selector-entry.c:
4173 (+hildon_touch_selector_entry_set_input_mode),
4174 (+hildon_touch_selector_entry_get_input_mode):
4175 * src/hildon-touch-selector-entry.h: New methods to access the input
4176 mode in the selector's entry.
4178 Fixes: NB#93410 (API required for setting IM mode in
4179 HildonTouchSelectorEntry)
4181 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4183 * configure.ac: post release version bump.
4184 * debian/changelog: version bump
4186 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4191 * configure.ac: Bump version.
4192 * debian/changelog: Updates.
4194 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-touch-selector.c:
4197 (_hildon_touch_selector_has_multiple_selection): No need
4198 to initialize the variables here.
4200 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4202 * src/hildon-note-private.h
4203 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4204 (hildon_note_finalize, hildon_note_rebuild): Close information
4205 notes when they receive a button press.
4207 Fixes: NB#89890 (Information notes does not get disappeared after
4210 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4213 mark from the wizard title, as it's not really necessary. Also,
4214 do not display the page title if not set.
4216 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4218 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4219 (parent_window_hidden): Use the window's "is-topmost" property to
4220 detect when to hide the menu.
4222 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4225 (hildon_app_menu_finalize): If the parent window of the menu is
4226 hidden, hide the menu too.
4228 Fixes: NB#94460 (stackable window's menu is not closed when its
4231 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4234 * debian/libhildon1-examples.install
4236 * examples/Makefile.am:
4237 Use dh_install to install all examples.
4238 Use DEB_SRCDIR instead of defining SOURCE_DIR
4240 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4242 * configure.ac: post release version bump.
4243 * debian/changelog: version bump
4245 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4250 * configure.ac: bump version
4251 * debian/changelog: updates
4252 * debian/control: bump gtk+ dependency
4254 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4256 patch by Christian Dywan (christian@imendio.com)
4258 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4259 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4261 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4263 * src/hildon-check-button.c (hildon_check_button_init)
4264 (hildon_check_button_class_init, hildon_check_button_style_set)
4265 (hildon_check_button_apply_style):
4266 New "checkbox-size" style property.
4268 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4269 larger / configurable size)
4271 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4273 * configure.ac: post release version bump.
4274 * debian/changelog: version bump
4276 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4281 * configure.ac: bump version
4282 * debian/changelog: updates
4284 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4286 * doc/hildon-sections.txt
4287 * src/hildon-pannable-area.c
4288 * src/hildon-program.c
4289 * src/hildon-time-editor.c
4290 * src/hildon-touch-selector-entry.c:
4292 More documentation updates.
4294 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4296 * doc/hildon-sections.txt
4297 * src/hildon-caption.c
4298 * src/hildon-code-dialog.c
4299 * src/hildon-color-button.c
4300 * src/hildon-controlbar.c
4301 * src/hildon-date-editor.c
4302 * src/hildon-date-selector.c
4303 * src/hildon-edit-toolbar.c
4304 * src/hildon-find-toolbar.c
4305 * src/hildon-font-selection-dialog.c
4307 * src/hildon-program.c
4308 * src/hildon-range-editor.c
4309 * src/hildon-seekbar.c
4310 * src/hildon-time-editor.c
4311 * src/hildon-time-selector.c
4312 * src/hildon-volumebar-range.c
4313 * src/hildon-volumebar.c
4314 * src/hildon-vvolumebar.c
4315 * src/hildon-weekday-picker.c
4316 * src/hildon-window.c
4317 * src/hildon-wizard-dialog.c:
4319 Lots of documentation fixes.
4321 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4323 Patch contributed by Iván Gómez (igomez@igalia.com)
4325 * src/hildon-check-button.c:
4326 * src/hildon-date-button.c:
4327 * src/hildon-date-selector.c:
4328 * src/hildon-dialog.c:
4329 * src/hildon-edit-toolbar.c:
4330 * src/hildon-entry.c:
4331 * src/hildon-picker-button.c:
4332 * src/hildon-program.c:
4333 * src/hildon-text-view.c:
4334 * src/hildon-time-button.c:
4335 * src/hildon-touch-selector-entry.c:
4336 * src/hildon-window-stack.c:
4338 Add more "since" tags to the new API.
4340 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4342 * doc/hildon-sections.txt: Add below method.
4343 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4344 version for the hildonized scale.
4345 * src/hildon-gtk.h: Add the definition.
4347 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4349 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4351 * doc/hildon-sections.txt: Add missing entries for new methods.
4353 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4355 Added API to pannable are in order to get its adjustments. We
4356 added two properties to manage the values we had in the private
4359 * src/hildon-pannable-area.c:
4360 (hildon_pannable_area_class_init): Added hadjustment and
4361 vadjustment properties in order to expose horizontal and vertical
4363 (hildon_pannable_area_get_property),
4364 (hildon_pannable_area_set_property): Added code to handle the new
4366 (hildon_pannable_area_get_hadjustment),
4367 (hildon_pannable_area_get_vadjustment): API functions to get the
4369 * src/hildon-pannable-area.h:
4370 (hildon_pannable_area_get_hadjustment),
4371 (hildon_pannable_area_get_vadjustment): API functions to get the
4374 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4376 Fixed some leaks, after valgrinding.
4378 * src/hildon-touch-selector.c:
4379 (_default_print_func): Fixed a leak.
4380 (hildon_touch_selector_append_column): Fixed a leak.
4381 * src/hildon-date-button.c:
4382 (hildon_date_button_init): Fixed a leak.
4383 * src/hildon-date-selector.c
4384 (hildon_date_selector_finalize): Fixed a leak.
4386 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4388 Based on a patch by Christian Dywan (christian@imendio.com)
4390 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4392 * src/hildon-gtk.h: Add definition.
4394 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4396 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-picker-button.c: (hildon_picker_button_init),
4399 (hildon_picker_button_new): Set the HildonButton::style property
4400 in the init method, to propagate the value to the derived classes.
4402 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-button.c: (hildon_button_class_init): Do not make
4405 the "style" property a construct property.
4407 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-wizard-dialog.h
4410 * src/hildon-wizard-dialog.c
4411 (hildon_wizard_dialog_set_forward_page_func)
4412 * src/hildon-pannable-area.h
4413 * src/hildon-pannable-area.c
4414 (hildon_pannable_area_set_size_request_policy):
4415 Documentation fixes.
4417 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4419 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4421 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4423 * doc/hildon-sections.txt: Added sections file.
4425 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/*.[ch]: Updates.
4430 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4432 * examples/hildon-progress-indicator-example.c: new file
4433 * examples/Makefile.am: include the new example program
4435 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4439 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4441 * configure.ac: post release version bump
4442 * debian/changelog: version bump
4444 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4449 * configure.ac: bump version
4450 * debian/changelog: updates
4451 * debian/control: bump gtk+ dependency
4453 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/hildon-dialog.c: Mark as deprecated.
4456 * src/hildon-dialog.h: Mark as deprecated.
4457 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4458 from HildonDialog and still work, even if
4459 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4460 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4462 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4463 maemo changes) instead)
4465 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4467 * src/hildon-pannable_area.h:
4468 * src/hildon-pannable_area.c:
4469 (hildon_pannable_area_class_init),
4470 (hildon_pannable_area_set_property),
4471 (hildon_pannable_area_get_property),
4472 (hildon_pannable_area_size_request),
4473 (hildon_pannable_area_get_size_request_policy),
4474 (hildon_pannable_area_set_size_request_policy): Added new API
4475 allowing applications to control the request policy. Now they can
4476 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4477 children allocation (HILDON_MOVEMENT_CHILDREN).
4479 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4483 (hildon_gtk_tree_view_set_ui_mode)
4484 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4485 mode of treeviews and iconviews.
4487 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-touch-selector-entry.c:
4490 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4491 of a GtkEntry to get proper theming.
4493 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4494 widget, not GtkEntry)
4496 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4499 no HildonWizardDialogPageFunc.
4501 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4503 Patch contributed by Iván Gómez (igomez@igalia.com)
4505 * src/hildon-app-menu.c:
4506 * src/hildon-button.c:
4507 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4508 * src/hildon-stackable-window.c:
4509 * src/hildon-time-selector.c:
4510 * src/hildon-touch-selector.c:
4511 * src/hildon-window.c:
4513 Add more "since" tags to the new API in hildon 2.2.
4515 2008-12-05 Tim Janik <timj@imendio.com>
4517 Patch contributed by Christian Dywan (christian@imendio.com)
4519 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4520 HildonSizeType, which are supplied by Gtk+ now.
4522 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4524 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4525 (with maemo changes) instead)
4527 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4529 Patch contributed by Iván Gómez (igomez@igalia.com)
4531 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4534 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4536 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4537 (some_page_func), (main): Update the example to use a
4538 HildonWizardDialogPageFunc function.
4540 * src/hildon-wizard-dialog-private.h: Add private data for
4541 the HildonWizardDialogPageFunc function usage.
4543 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4544 (destroy), (hildon_wizard_dialog_init), (response),
4545 (hildon_wizard_dialog_set_forward_page_func):
4546 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4547 that applications can use to stop a HildonWizardDialog to jump to
4550 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4553 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-program.h
4556 * src/hildon-program-private.h
4557 * src/hildon-program.c (hildon_program_init)
4558 (hildon_program_set_common_app_menu)
4559 (hildon_program_get_common_app_menu):
4560 New API for setting a common HildonAppMenu for all
4561 HildonStackableWindows registered with the HildonProgram.
4563 * src/hildon-stackable-window.c
4564 (hildon_stackable_window_toggle_menu):
4565 Use the common HildonAppMenu if a window doesn't have a specific
4568 * src/hildon-app-menu-private.h
4569 * src/hildon-app-menu.c
4570 (hildon_app_menu_get_parent_window):
4571 Function to obtain the window a HildonAppMenu is attached to.
4572 (hildon_app_menu_set_parent_window):
4573 Hide the menu if the parent window is set to NULL.
4575 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4577 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4578 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4579 search widget to popup.
4581 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4583 * configure.ac: post release version bump
4584 * debian/changelog: version bump
4586 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4591 * configure.ac: bump version
4592 * debian/changelog: updates
4594 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4596 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4598 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4599 (hildon_window_stack_window_realized)
4600 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4601 Set the leader GdkWindow when a window is stacked and realized,
4602 unset it when it's unstacked.
4603 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4605 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4607 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-stackable-window.h
4610 * src/hildon-window-stack.h:
4611 Protect definition of HildonWindowStack using the preprocessor.
4613 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4616 Fix warning if all menu items are hidden.
4618 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4620 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4622 * src/hildon-controlbar.c:
4623 * src/hildon-hvolumebar.c:
4624 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4625 Multiple scale size defines updates.
4627 Fixes: NB#94322 (Scale Updates)
4629 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4631 * examples/hildon-app-menu-example.c (create_menu)
4632 Show items after adding them to the menu, as in the future the
4633 menu will no longer call gtk_widget_show() on the added items.
4635 * src/hildon-app-menu.c:
4636 Update example as explained above.
4638 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4640 * src/hildon-app-menu.c
4641 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4642 Make sure that all menu items have finger height.
4644 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4646 * src/hildon-picker-dialog.c:
4647 (_on_dialog_response), (_save_current_selection),
4648 (_restore_current_selection), (_clean_current_selection),
4649 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4650 Defined new functions in order to save the current internal selector
4651 selection previous open the dialog, in case that the use cancel the
4652 interaction, so the widget restores the previous selection.
4654 Fixes: NB#92032 (In calendar application, date values in 'new event'
4657 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4659 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4661 * src/hildon-button.c: Add a reference to the button examples in
4662 hildon-button-example.c
4664 * examples/hildon-button-example.c: Added examples of the most
4665 common button layouts.
4667 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4669 * src/hildon-app-menu.c (hildon_app_menu_show)
4670 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4672 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4674 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4676 * src/hildon-picker-dialog.c:
4677 (hildon_picker_dialog_init): Initialize the signal id for
4678 HildonTouchSelector::columns-changed.
4679 (+on_selector_columns_changed): Set up the interaction mode everytime a
4680 column is added or removed from the HildonTouchSelector.
4681 (_hildon_picker_dialog_set_selector): Connect to
4682 HildonTouchSelector::columns-changed and keep track of it.
4684 Make sure to update the interaction mode of the dialog everytime a
4685 column is added or removed in the HildonTouchSelector.
4687 Fixes: NB#93228 (Done button is not shown always in listpicker)
4689 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4692 a new ::columns-changed signal.
4693 (hildon_touch_selector_append_column): Emit ::columns-changed.
4694 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4696 Add a ::columns-changed signal, emitted when the number of columns in a
4697 HildonTouchSelector changes.
4699 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4702 (_hildon_picker_dialog_set_selector): Factor out the code
4703 to set up the dialog interaction mode.
4705 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4708 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4709 to signal_changed_id.
4711 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4716 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4718 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4719 Updated the logical ids related to ampm format, as now it is required to
4720 show it correctly localized even on languages with no default
4721 abbreviations for am or pm
4722 (_check_am_pm_format): check correctly the 24h format gconf property
4724 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4726 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-button.c: Documentation updates.
4730 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4732 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4733 * src/hildon-caption.c: (hildon_caption_class_init):
4734 * src/hildon-color-button.c: (hildon_color_button_class_init):
4735 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4736 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4737 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4738 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4740 Remove deprecated GTK+ marshalers and replace them with the ones
4741 provided by GLib, for those available, add a marshaler for
4742 BOOLEAN:VOID, which is not available in GLib, and use it.
4744 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4747 the text from the previous column if there is no
4748 HildonTouchSelectorColumn::text-property set.
4750 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4752 * src/hildon-button.h
4753 * src/hildon-button.c (hildon_button_set_property)
4754 (hildon_button_get_property, hildon_button_class_init)
4755 (hildon_button_set_style, hildon_button_get_style):
4756 New "style" property to change the visual appearance of the
4759 * src/hildon-picker-button.c (hildon_picker_button_new):
4760 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4762 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4763 HildonButton look like PickerButton)
4765 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4767 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4768 column while building the default string.
4770 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4772 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4773 scroll indicator by default.
4775 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4777 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4779 * src/hildon-main.c: Fix the documentation for hildon_init()
4781 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4783 * doc/hildon-docs.sgml
4787 * src/hildon-window-stack-private.h
4788 * src/hildon-window-stack.h
4789 * src/hildon-window-stack.c:
4790 New HildonWindowStack object, that adds support for multiple
4791 stacks of windows per process.
4793 * src/hildon-stackable-window-private.h
4794 * src/hildon-stackable-window.h
4795 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4796 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4797 (hildon_stackable_window_show, hildon_stackable_window_hide)
4798 (hildon_stackable_window_class_init)
4799 (hildon_stackable_window_init):
4800 Use HildonWindowStack for stack management.
4802 * src/hildon-program.c (hildon_program_pop_window_stack)
4803 (hildon_program_peek_window_stack)
4804 (hildon_program_go_to_root_window):
4805 Add a fallback implementation to the deprecated functions using
4808 * examples/hildon-stackable-window-example.c:
4809 Use the new HildonWindowStack API.
4811 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-stackable-window-private.h
4814 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4815 (hildon_stackable_window_hide, hildon_stackable_window_init):
4816 Remove all window stack management.
4818 * src/hildon-program-private.h
4819 * src/hildon-program.h
4820 * src/hildon-program.c (hildon_program_init)
4821 (hildon_program_pop_window_stack)
4822 (hildon_program_peek_window_stack)
4823 (hildon_program_go_to_root_window):
4824 Remove all window stack management and mark functions as
4827 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-app-menu.c (hildon_app_menu_realize):
4830 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4832 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4834 * configure.ac: post release version bump
4835 * debian/changelog: version bump
4837 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4842 * configure.ac: bump version
4843 * debian/changelog: updates
4845 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4847 Based on initial code by Christian Dywan (christian@imendio.com)
4849 * doc/hildon-docs.sgml: Add section for hildon-main.
4850 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4851 * src/Makefile.am: Add new hildon-main.[ch]
4852 * src/hildon-defines.h: Update the icon sizes.
4853 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4854 new library initialization files and register icon sizes.
4855 * src/hildon-main.h: New declarations.
4856 * src/hildon.h: Include hildon-main.h
4858 Add new initialization functions to the library. These methods
4859 will register the hildon specific icon sizes and can be used in the
4860 future for other hildon specific bits.
4862 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4864 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-window.c: (hildon_window_realize),
4867 (hildon_window_notify), (-hildon_window_update_title): Do not set
4868 the application name in the window title.
4870 Fixes: NB#89754 (Applications shouldn't display their names in the
4873 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-note-private.h:
4876 * src/hildon-note.c: (hildon_note_set_property),
4877 (hildon_note_get_property), (hildon_note_class_init),
4878 (hildon_note_init), (hildon_note_finalize),
4879 (hildon_note_new_confirmation_with_icon_name),
4880 (hildon_note_new_information_with_icon_name):
4882 No need to mark as deprecated the actual code. Revert
4883 to avoid missing symbols in widgets using deprecated API.
4885 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4887 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4889 * src/hildon-volumebar.h
4890 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4891 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4893 * src/hildon-helper.h
4894 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4895 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4897 * examples/Makefile.am:
4898 Deprecate hildon-insensitive-example
4900 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4902 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4904 * examples/hildon-pannable-area-buttons-scroll-example.c:
4905 Make all buttons finger height
4907 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4909 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4911 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4912 update the day model only if it is really required, and to avoid the
4913 full-reconstruction aproach. Now it only add or remove the required days.
4915 The purpose of this is avoid superfluous HildonTouchSelector::changed
4918 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4919 with strange parameters)
4921 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4923 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4925 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4926 the WINDOW_TYPE property.
4928 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4930 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4933 Fix dependency to allow parallel compilation with make -jX
4935 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4938 color frame and some minor tweaks to make it more consistent with
4941 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4942 highlighted but not visible)
4944 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4946 * examples/Makefile.am: Fixed typo in the Makefile.am.
4948 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4950 Reviewed the use of MAEMO_GTK define, now we add the define in the
4951 compilation line, and we also add it to the pc file.
4953 * configure.ac: Added MAEMO_GTK define to the compilation command
4954 and removed it from the config.h.
4956 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4957 do not have to take care about this define if the library was
4961 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4963 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4965 * examples/Makefile.am,
4966 * examples/hildon-pannable-area-buttons-scroll-example.c,
4967 * examples/hildon-pannable-area-gesture-signals-example.c,
4968 * examples/hildon-pannable-area-scroll-jump-example.c,
4969 * examples/hildon-pannable-area-tree-view-example.c:
4970 Renamed the pannable area examples, now they have more meaningful
4973 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4975 * src/hildon-touch-selector.c:
4976 (hildon_touch_selector_set_column_selection_mode): Used of
4977 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4978 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4979 to avoid re-seting the same selection mode.
4981 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4982 breaks HildonPickerDialog)
4984 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4986 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4987 conditional in the Makefile.am
4989 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4991 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4992 Remove unused methods.
4994 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-button.c (hildon_button_init):
4997 Make button images center-aligned by default
4999 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5002 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5003 activated, we have to think about how to deal with both defines
5004 MAEMO_GTK and MAEMO_CHANGES.
5006 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5008 * examples/hildon-app-menu-example.c (create_menu): Make all
5009 buttons finger size.
5011 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5013 Fixed the compilation without maemo gtk adding ifdefs with
5014 MAEMO_GTK define to the code, we have to check this version more
5017 * examples/Makefile.am: Added control to avoid some examples that
5018 just make sense with maemo gtk.
5021 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5022 hildon modes with the define.
5024 * examples/hildon-edit-toolbar-example.c,
5025 (create_icon_view): Create the icon view without hildon-gtk
5026 helpers if we are not using maemo gtk.
5028 * src/hildon-touch-selector.c,
5029 (_create_new_column): Create the treeview without hildon-gtk
5030 helpers if we are not using maemo gtk.
5032 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5034 * src/hildon-pnnable-area.c,
5035 (hildon_pannable_area_dispose),
5036 (hildon_pannable_area_button_press_cb),
5037 (hildon_pannable_area_child_mapped),
5038 (hildon_pannable_area_add),
5039 (hildon_pannable_area_remove): Added code to control the position
5040 of the event_window when adding and removing children from the
5041 pannable. We have to raise the event window when the child is
5044 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5045 selection mode using custom widget inside pannable)
5047 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5049 * configure.ac: post release version bump
5050 * debian/changelog: version bump
5052 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5057 * configure.ac: bump version
5058 * debian/changelog: updates
5060 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5063 search mode, in order to avoid lose the focus on the treeview when
5064 a hw key (like enter) is pressed.
5066 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5067 in HildonDateSelector dialog)
5069 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5071 * debian/rules: Added --enable-maintainer-mode
5072 * Makefile.am: Added ACLOCAL_AMFLAGS
5074 This allows to properly regenerate the Makefiles if you modify the
5075 configure.ac or any Makefile.am.
5077 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5079 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5080 properties, not needed at all.
5082 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5086 * src/hildon-note.c: (hildon_note_set_property),
5087 (hildon_note_get_property), (hildon_note_class_init),
5088 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5089 (hildon_note_new_confirmation_add_buttons): Remove icons.
5090 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5091 (hildon_note_new_information_with_icon_name): Deprecate.
5092 (hildon_note_new_confirmation): Act directly, without calling
5093 the deprecated constructor.
5094 (hildon_note_new_information): Act directly, without calling
5095 the deprecated constructor.
5096 * src/hildon-note.h: Mark deprecate methods as such.
5097 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5098 not run tests on the deprecated methods if built with deprecation
5101 Fixes: NB#91688 (Never show icons in information notes/confirmation
5104 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5106 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5107 (hildon_app_menu_key_press): Remove leftover usage of the
5108 private structure in HildonAppMenu struct.
5109 * src/hildon-app-menu.h: Remove leftover private structure
5110 from the HildonAppMenu struct.
5112 Fixes a crasher when using the HildonAppMenu.
5114 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-picker-dialog.c: Use appropriate logical id
5117 for the default "Done" text.
5119 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5121 * configure.ac: post release version bump
5122 * debian/changelog: version bump
5124 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5126 Modified the way to scroll to the current selection just when the touch
5127 selector is shown on the screen, avoiding a g_idle. Added too a property
5128 to configure this behaviour. See hildon_pannable_area_jump_to_child
5129 documentation for more information.
5131 * src/hildon-touch-selector.c
5132 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5133 Added 'initial-scroll' property
5134 (hildon_touch_selector_set_property): Added
5135 (hildon_touch_selector_map): Removed as not required anymore
5136 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5137 only a concrete column, instead of iterate along all the columns
5139 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5144 * configure.ac: bump version
5145 * debian/changelog: updates
5147 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5149 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5150 compilation time warnings.
5152 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5155 the default value for HildonPannableArea::mov-mode to
5156 HILDON_PANNABLE_AREA_MODE_VERT.
5158 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5160 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5162 Reverting following commit:
5164 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-app-menu-private.h
5167 * src/hildon-app-menu.[ch]
5168 * src/hildon-button.[ch]
5169 * src/hildon-check-button.[ch]
5170 * src/hildon-entry.[ch]
5171 * src/hildon-pannable-area.[ch]
5172 * src/hildon-text-view.[ch]:
5173 Added private field to the object's structure.
5175 because it causes an ABI breakage. We will need to introduce these
5176 changes later at some point. See NB#91636 for an extensive
5177 explanation and status.
5179 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5181 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5183 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5184 remove special cases that are no longer necessary.
5186 Fixes: NB#91016 (Change toolbar sizes, simplification)
5188 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5190 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5191 is shown in the cancel note.
5193 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5196 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5197 (hildon_seekbar_init): Remove steppers, remove expose event.
5198 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5200 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5202 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5205 label font to "SmallSystemFont" for vertically arranged buttons.
5207 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5210 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5212 * src/hildon-check-button.c
5213 (hildon_check_button_set_active, hildon_check_button_clicked):
5214 Don't access private parts directly, use getters instead.
5216 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-check-button.c (hildon_check_button_new):
5219 Align the contents of the check button to the left.
5221 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5223 * src/hildon-pannable-area.c,
5224 (hildon_pannable_area_scroll_to),
5225 (hildon_pannable_area_jump_to),
5226 (hildon_pannable_area_scroll_to_child),
5227 (hildon_pannable_area_jump_to_child): Replace the mapped
5228 precondition of these functions with the realized, it is the
5229 correct state of the widget in this case. Changed the
5230 documentation according to this modification.
5232 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5234 Added a new EXTRA_CFLAGS option to add the deprecated define to
5235 the compilation command. This way we can avoid using the define in
5236 the documentation compilation.
5238 * configure.ac: Defined EXTRA_CFLAGS.
5240 * examples/Makefile.am:
5242 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5244 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5246 * src/hildon-picker-dialog.c:
5247 Defined a utility macro with the desired touch selector height
5248 Removed currently unused separator, and title_label variables from
5250 (hildon_picker_dialog_init): Removed code related to the creation
5251 of unused private variables title_label and separator.
5252 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5253 to ensure correct visualization of the touch selector inside the dialog.
5254 * src/hildon-touch-selector.c
5255 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5256 ensure a concrete height of the widget.
5258 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5261 * tests/Makefile.am:
5263 Remove spurious whitespaces.
5265 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5268 compilation warning after the cancel button removal.
5270 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5272 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5274 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5275 Makefile.am, that way we can choose not to compile some examples
5276 and tests of the deprecated widgets.
5278 * examples/Makefile.am: Divided the sources in deprecated and
5281 * src/Makefile.am: Added undef statement of the deprecated
5282 symbol to the enums file generation process.
5284 * src/hildon-color-chooser-dialog.c
5285 * src/hildon-color-chooser-dialog.h
5286 * src/hildon-color-button.c
5287 * src/hildon-color-button.h
5288 * src/hildon-color-chooser.c
5289 * src/hildon-color-chooser.h
5290 * src/hildon-controlbar.c
5291 * src/hildon-controlbar.h
5292 * src/hildon-date-editor.c
5293 * src/hildon-date-editor.h
5294 * src/hildon-hvolumebar.c
5295 * src/hildon-hvolumebar.h
5296 * src/hildon-private.c
5297 * src/hildon-private.h
5298 * src/hildon-range-editor.c
5299 * src/hildon-range-editor.h
5300 * src/hildon-seekbar.c
5301 * src/hildon-seekbar.h
5302 * src/hildon-time-editor.c
5303 * src/hildon-time-editor.h
5304 * src/hildon-time-picker.c
5305 * src/hildon-time-picker.h
5306 * src/hildon-volumebar.c
5307 * src/hildon-volumebar.h
5308 * src/hildon-vvolumebar.c
5309 * src/hildon-vvolumebar.h
5310 * src/hildon-bread-crumb-trail.h
5311 * src/hildon-bread-crumb-trail.c
5312 * src/hildon-calendar-popup.c
5313 * src/hildon-calendar-popup.h
5314 * src/hildon-weekday-picker.c:
5315 * src/hildon-weekday-picker.h:
5316 * src/hildon-bread-crumb-widget.c:
5317 * src/hildon-bread-crumb-widget.h:
5318 * src/hildon-bread-crumb.c:
5319 * src/hildon-bread-crumb.h:
5320 * src/hildon-calendar.c:
5321 * src/hildon-calendar.h:
5322 * src/hildon-caption.c:
5323 * src/hildon-code-dialog.c:
5324 * src/hildon-code-dialog.h:
5325 * src/hildon-font-selection-dialog.c:
5326 * src/hildon-font-selection-dialog.h:
5327 * src/hildon-get-password-dialog.c:
5328 * src/hildon-get-password-dialog.h:
5329 * src/hildon-login-dialog.c:
5330 * src/hildon-login-dialog.h:
5331 * src/hildon-number-editor.c:
5332 * src/hildon-number-editor.h:
5333 * src/hildon-set-password-dialog.c:
5334 * src/hildon-set-password-dialog.h:
5335 * src/hildon-sort-dialog.c:
5336 * src/hildon-sort-dialog.h: This is the list of deprecated
5339 * src/hildon-touch-selector.c:
5340 * src/hildon-window.c: Added undef statement to avoid compilation
5343 * tests/Makefile.am: Divided the sources in deprecated and
5346 * tests/check_test.c,
5347 (configure_tests): Marked the deprecated code that was adding
5348 suites with deprecated tests.
5350 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5352 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5354 * src/hildon-touch-selector.c: (_default_print_func): Do not
5355 duplicate a string returned by gtk_tree_model_get(), it is already
5358 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5361 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5363 * src/hildon-pannable-area.c
5364 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5365 method, it had problems when adding a widget with viewport the
5366 second time. Now checks if it already has a viewport and uses it.
5368 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5371 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5373 * src/hildon-pannable-area.c,
5374 (hildon_pannable_area_scroll_to),
5375 (hildon_pannable_area_jump_to),
5376 (hildon_pannable_area_scroll_to_child),
5377 (hildon_pannable_area_jump_to_child): Added a precondition to the
5378 scroll and jump to functions: the widget must be mapped before we
5379 can safely call these functions. We have also added documentation
5380 to the functions to explain how to use them in this situation.
5383 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5385 Reviewed the threading handling of the pannable widget, we have
5386 used the gdk_threads_add_timeout function instead of the usual
5387 glib handlers. This avoids some problems with the threads.
5389 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5390 (hildon_pannable_area_initial_effect),
5391 (hildon_pannable_area_scroll_indicator_fade),
5392 (hildon_pannable_area_button_press_cb),
5393 (hildon_pannable_area_timeout),
5394 (hildon_pannable_area_motion_notify_cb),
5395 (hildon_pannable_area_button_release_cb),
5396 (hildon_pannable_area_scroll_cb),
5397 (hildon_pannable_area_scroll_to): Removed the
5398 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5399 gdk_threads_add_timeout.
5401 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5403 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5408 * configure.ac: bump version
5409 * debian/changelog: updates
5411 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5414 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5415 * src/hildon-color-chooser-dialog.c:
5416 (hildon_color_chooser_dialog_init):
5417 * src/hildon-font-selection-dialog.c:
5418 (hildon_font_selection_dialog_init):
5419 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5421 Remove all cancel/close-like dialogs, as these are not going to be
5424 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-note.c: (hildon_note_rebuild),
5427 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5430 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5432 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5435 sure all buttons are shown, even the Cancel/Close-like ones.
5437 Fixes: NB#90861 (Custom Confirmation dialogs should be
5438 protected from cancel button removal)
5440 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5442 * debian/control: Change libhildon1-examples dependency from libhildon1
5444 * debian/libhildon1-examples.install
5446 * Makefile.am: Modified the final install directory for the examples on
5447 package libhildon1-examples
5448 * Makefile.static: Update clean target in order to remove all the binary
5451 Changes suggested by Claudio after review new libhildon1-examples package
5453 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5455 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5456 * src/hildon-touch-selector.c: Ditto.
5458 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5460 * debian/control: Added new package libhildon1-examples, in order to pack
5461 the current hildon examples as documentation
5462 * debian/rules: Not to compress .c files, modify some includes on the
5463 examples (as normally are compiled locally, but when installed it will
5464 require to include the installed libhildon1 library), and rename
5466 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5467 install all the example files on the new example package
5468 * examples/Makefile.static: Added static makefile that can be used to
5469 compile the examples, once installed the new example package
5470 * examples: Most of the examples were modified in order to grant that
5471 all use only '#include "hildon.h"', in order to be easy to prepare
5472 it on the example package
5474 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5477 * debian/libhildon1-dev.install
5478 * debian/libhildon1-doc.install:
5479 Move all gtk-doc files to a separate libhildon1-doc package.
5481 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5483 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5485 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5487 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5489 * debian/rules: Fixed a error in order to avoid unnecessary calls
5490 to autogen.sh on package building
5492 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5494 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5496 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5498 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5501 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5503 * src/hildon-picker-button.c
5504 (hildon_picker_button_finalize):
5505 Free priv->done_button_text
5507 * src/hildon-time-button.c
5508 (hildon_time_button_set_time)
5509 * src/hildon-picker-button.c
5510 (hildon_picker_button_clicked)
5511 (hildon_picker_button_selector_selection_changed)
5512 (hildon_picker_button_set_selector)
5513 * src/hildon-date-button.c
5514 (hildon_date_button_set_date):
5515 Free strings returned by hildon_touch_selector_get_current_text()
5517 * src/hildon-button.c (hildon_button_construct_child):
5518 Fix leaks in priv->image and priv->label_box
5520 Fixes: NB#90535 (Memory leak in picker button)
5522 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5524 * src/hildon-button.c: (hildon_button_get_property): Do not access
5525 private elements directly, use getters instead.
5527 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5529 * src/hildon-app-menu-private.h
5530 * src/hildon-app-menu.c
5531 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5532 Store the menu's parent window.
5534 * src/hildon-stackable-window.c
5535 (hildon_stackable_window_toggle_menu)
5536 (hildon_stackable_window_finalize):
5537 Set the menu's parent window when the menu is shown, unset it when
5540 * src/hildon-app-menu.c
5541 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5542 (hildon_app_menu_class_init):
5543 Send unhandled keyboard accelerators to the parent window.
5545 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5547 * src/hildon-stackable-window.c
5548 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5550 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5552 * configure.ac: post release version bump
5554 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5557 * configure.ac: Bump version
5558 * debian/changelog: Updates
5559 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5562 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5564 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5567 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5568 GtkMenu with Hildon style.
5570 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-picker-button.c:
5573 (hildon_picker_button_set_done_button_text): Set the dialog's
5574 done button text here as well.
5576 Fixes: NB#90232 (Picker button does not set the label on done button
5577 for the second time)
5579 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5581 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5584 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5586 * src/hildon-app-menu.c (hildon_app_menu_insert)
5587 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5588 the HildonAppMenu to be activatable using keyboard accelerators
5589 when the menu is not being shown.
5591 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5593 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5595 * src/hildon-stackable-window.c
5596 (hildon_stackable_window_show):
5597 Don't hide old windows automatically when new windows are shown:
5598 this is now a task for the window manager.
5599 (hildon_stackable_window_class_init)
5600 (hildon_stackable_window_hide):
5601 Remove windows from the stack everytime they're hidden.
5602 (hildon_stackable_window_realize):
5603 Don't change the _NET_WM_WINDOW_TYPE property. Use
5604 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5605 it as a stackable window.
5607 * src/hildon-program.c
5608 (hildon_program_pop_window_stack):
5609 Just hide the window to remove it from the stack.
5610 (hildon_program_go_to_root_window):
5611 Don't call gtk_widget_show(), this is now a task for the window
5614 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5616 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-button.c
5619 (hildon_button_construct_child):
5620 Don't pack anything in the button until text or image are
5621 set. This allows adding a custom child after creating the button
5622 with hildon_button_new().
5623 (hildon_button_finalize, hildon_button_class_init)
5624 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5625 alignment and the label box even when they're not packed in the
5628 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5630 * src/hildon-touch-selector.h:
5631 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5632 currently the type definition was using GTK_TYPE_VBOX
5633 * src/hildon-touch-selector.c:
5634 Added some implementation notes in order to clarify that any other widget
5635 added without the column related API will not be included on the
5636 selection logic, and how the widget is freed, as some people ask about
5638 (hildon_touch_selector_remove): Reimplemented in order to free properly
5639 the column related data when you remove the private hbox.
5640 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5641 to get a proper HildonTouchSelectorColumn documentation
5643 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-touch-selector-entry.c:
5646 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5647 text in the GtkEntry and there is no item selected. Fixes a
5650 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-app-menu-private.h
5653 * src/hildon-app-menu.[ch]
5654 * src/hildon-button.[ch]
5655 * src/hildon-check-button.[ch]
5656 * src/hildon-entry.[ch]
5657 * src/hildon-pannable-area.[ch]
5658 * src/hildon-text-view.[ch]:
5659 Added private field to the object's structure.
5661 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5663 * configure.ac: post-release version bump
5665 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5669 * configure.ac: pre-release version bump
5671 * debian/changelog: updates.
5673 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5675 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5676 Disconnect the handler for HildonTouchSelector::changed.
5678 (hildon_picker_button_selector_selection_changed): Update the button
5679 value if the selection change was not triggered by the
5682 (hildon_picker_button_set_selector): connect to
5683 HildonTouchSelector::changed.
5685 Fixes: NB#89650 (Picker button is not updated, when selection in
5686 selector has changed)
5688 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5690 * src/hildon-picker-dialog.c
5691 (hildon_picker_dialog_realize): Removed as not required
5692 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5693 * src/hildon-picker-button.c
5694 (_current_selector_empty): New function, checks if the selector is empty
5695 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5696 if the current selector is empty, in order to avoid to show the dialog
5697 close the dialog in this case (and shows a g_warning).
5699 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5701 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5703 * src/hildon-pannable-area.c,
5704 (hildon_pannable_area_scroll): Added clause to stop movement when
5705 the child of pannable is smaller than one page.
5706 (hildon_pannable_area_scroll_to): Added conditions to avoid
5707 starting the scrolling movement if the child is smaller than one
5708 page, the complete child is in the screen, we do not have to move.
5710 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5712 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5715 this is managed automatically by the widget when the size of the
5718 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5720 * src/hildon-picker-button.c
5721 (hildon_picker_button_set_done_button_text): Make a copy of the
5722 text, and free the previous value.
5724 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/hildon-touch-selector-entry.c:
5727 (hildon_touch_selector_entry_print_func): Return the selected row's
5728 text if the entry is empty.
5730 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5733 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5737 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5740 * src/hildon-check-button.h
5741 * src/hildon-check-button.c
5742 * examples/hildon-check-button-example.c:
5743 HildonCheckButton is now a new widget. 'toggled' signal added.
5745 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5747 * src/hildon-program-private.h
5748 * src/hildon-program.c (hildon_program_init)
5749 (hildon_program_finalize): Removed unused variables group_leader
5750 and name from HildonProgramPrivate.
5752 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5754 * src/hildon-check-button.c (hildon_check_button_set_active)
5755 (hildon_check_button_get_active, hildon_check_button_new): Use
5756 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5758 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5760 * src/hildon-touch-selector.h
5761 (hildon_touch_selector_set_column_attributes): added deprecation
5762 guard HILDON_DISABLE_DEPRECATED
5763 * src/hildon-time-selector.c
5764 (hildon_time_selector_set_time)
5765 (hildon_time_selector_get_time): Fixed a typo on documentation
5766 * src/hildon-touch-selector.c: update HildonTouchSelector and
5767 HildonTouchSelectorColumn documentation
5768 * src/hildon-touch-selector-entry.c: update "text-column" property
5770 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5771 to be added to the general documentation.
5773 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5775 * examples/hildon-pannable-area-example-4.c,
5777 * examples/hildon-pannable-area-example.c,
5778 (main): Modified the code in order to use the container add, with
5779 viewport treeviews could have problems if they are really big.
5781 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5783 * src/hildon-weekday-picker.c,
5784 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5785 the agreement regarding deprecation in the library.
5787 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5789 * examples/hildon-picker-button-multicolumn-example.c:
5790 (main): Use custom "done" button text.
5792 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5793 (hildon_picker_button_set_property),
5794 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5795 (hildon_picker_button_init),
5796 (+hildon_picker_button_get_done_button_text),
5797 (+hildon_picker_button_set_done_button_text): New methods to customize
5798 the "done" button label in the launched HildonPickerDialog. Also,
5801 * src/hildon-picker-button.h: add the public API.
5803 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-date-selector.h:
5806 * src/hildon-picker-dialog.h:
5807 * src/hildon-time-selector.h:
5808 * src/hildon-touch-selector-column.h:
5809 * src/hildon-touch-selector.h:
5811 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5812 declarations. Fixes gtk-doc warnings.
5814 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5816 * src/hildon-picker-dialog.h
5817 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5818 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5820 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5821 long text is set as label for done button)
5823 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5825 * src/hildon-dialog.c (hildon_dialog_add_button):
5826 Set fixed width to all buttons in the HildonDialog.
5828 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5830 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5832 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5833 Set widget name using class name plus "-finger" or "-thumb".
5835 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5837 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5838 'clicked' when the state of the button is manually changed.
5840 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5842 * src/hildon-app-menu.c (hildon_app_menu_realize)
5843 (hildon_app_menu_unrealize, hildon_app_menu_init)
5844 (hildon_app_menu_class_init, item_visibility_changed):
5845 Change the menu layout when the size of the screen changes.
5846 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5847 Show warning only when changing the number of colums using the
5850 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5852 * debian/compat: Set to 5
5853 * debian/control: Update dependencies.
5854 * debian/libhildon1-dbg.install: Remove.
5855 * debian/libhildon1-dev.install: Update according to cdbs paths.
5856 * debian/libhildon1.install: Update according to cdbs paths.
5857 * debian/rules: Switch to cdbs.
5859 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5862 'item' variable renamed to 'filter'
5864 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-app-menu.c (hildon_app_menu_insert)
5867 (hildon_app_menu_add_filter, remove_item_from_list)
5868 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5869 Don't leak hidden items when the menu is destroyed.
5871 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5873 * src/hildon-app-menu.c (hildon_app_menu_insert)
5874 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5875 (hildon_app_menu_set_columns, item_visibility_changed)
5876 (filter_visibility_changed, hildon_app_menu_repack_filters)
5877 (hildon_app_menu_repack_items):
5878 Repack items and filters separately.
5880 Don't repack all items, change only the ones that are needed to
5883 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5885 * src/Makefile.am: added hildon-touch-selector-column.h
5887 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5889 * src/hildon-touch-selector.c: added the property "text-column" to the
5890 class HildonTouchSelectorColumn, and related get/set functions
5891 (_default_printf_func): updated to use "text-column" property
5892 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5893 "text-column" in his documentation, as this is now included on
5894 HildonTouchSelectorColumn. The get/set_property can still be used,
5895 working as a wrapper to the concrete column "text-column" property
5896 (_text_column_modified): callback added in order to handle the signal
5897 "notify::text-column" of the concrete HildonTouchSelectorColumn
5898 (hildon_touch_selector_entry_get_text_column)
5899 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5900 modified in order to use the HildonTouchSelectorColumn "text-column"
5902 * src/hildon-time-selector.c:
5903 * src/hildon-date-selector.c:
5904 * examples/hildon-touch-selector-example.c
5905 * examples/hildon-touch-selector-multi-cells-example.c
5906 * examples/hildon-picker-button-multicolumn-example.c
5907 Set the right value to "text-column" property on the creation of a new
5908 column using hildon_touch_selector_append_column()
5910 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5912 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-app-menu.c
5915 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5916 updating the layout of the menu, don't create all widgets again,
5917 just repack the items in their new places.
5919 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5921 * src/hildon-time-selector.c
5922 (hildon_time_selector_get_time)
5923 (hildon_time_selector_set_time)
5924 Added documentation of these public methods
5926 * src/hildon-date-button.h
5927 * src/hildon-touch-selector-column.h
5928 * src/hildon-time-button.h
5929 * src/hildon-picker-dialog.h
5930 * src/hildon-time-selector.h
5931 * src/hildon-picker-button.h
5932 * src/hildon-touch-selector.h
5933 * src/hildon-time-picker.h
5934 * src/hildon-date-selector.h
5935 * src/hildon-touch-selector-entry.h
5936 Modified in order to use hildon-widgets code style
5938 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5940 Added deprecated support to the compilation process using
5941 HILDON_DISABLE_DEPRECATED
5943 * configure.ac: Added the --disable-deprecated to the configure
5946 * src/hildon-weekday-picker.c:
5947 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5948 to use the deprecated support. We will update the other deprecated
5949 widgets status in a new patch.
5951 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5953 * configure.ac: Fixed typo with fatal warnings support, the
5954 variable name was not correct
5956 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5958 * src/hildon-app-menu.c
5959 * src/hildon-program.c: Update documentation.
5961 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5963 * configure.ac: Post-release version bump.
5965 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5970 * configure.ac: Pre-release version bump.
5971 * debian/changelog: Updates.
5973 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5975 * NEWS: Update news for previous releases.
5977 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5979 * examples/hildon-touch-selector-multi-cells-example.c:
5980 (create_selector): Update the example to use
5981 hildon_touch_selector_append_column() with a NULL renderer and set
5982 the renderers later.
5983 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5984 passed a NULL renderer. This is documented behavior now.
5986 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5987 This must be used if the developer wants full control on the layout of
5988 the renderers to be added to the column.
5990 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5992 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-touch-selector.c: Documentation fixes.
5996 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5998 * src/hildon-wizard-dialog-private.h: Remove image and box.
5999 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6000 (hildon_wizard_dialog_set_property), (response): Completely remove
6001 image/icon support, and the containers required for the layout.
6003 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6005 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-app-menu.c: Updated documentation.
6009 * src/hildon-stackable-window.c
6010 (hildon_stackable_window_set_main_menu): Unref the old menu after
6011 ref'ing the new one.
6013 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6015 * src/hildon-stackable-window.c
6016 (hildon_stackable_window_set_main_menu): Unref the previous menu
6017 instead of destroying it.
6019 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6020 floating reference and set has_user_ref_count to FALSE to make
6021 HildonAppMenu act like a normal ref-counted widget and not a
6024 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6027 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6029 * src/hildon-touch-selector-column.h: new file
6030 * src/hildon-touch-selector.h
6031 * src/hildon-touch-selector.c
6032 Implemented GtkCellLayout interface, in order to allow to configure
6033 the cell layout on each individual selector column
6034 (hildon_touch_selector_set_column_attributes): marked as deprecated
6035 * examples/hildon-touch-selector-multi-cells-example.c
6036 Example of how to use the GtkCellLayout interface on the selector
6038 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6040 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6042 * src/hildon-app-menu.h
6043 * src/hildon-app-menu.c
6044 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6045 (hildon_app_menu_append, hildon_app_menu_prepend):
6046 New methods to prepend, insert and move items in the menu.
6048 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6050 * src/hildon-wizard-dialog.c:
6052 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6054 (create_title): Update logical IDs and related code.
6055 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6057 * src/hildon-wizard-dialog.h: Note that
6058 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6059 point, as it is not used anymore.
6061 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6063 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6065 * src/hildon-note.c:
6066 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6067 shown. Do not display an icon in confirmation notes nor information
6069 (hildon_note_set_button_text): Update logical ID for cancel button.
6071 Fixes: NB#88850 (Update HildonNote button strings + signals)
6073 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-stackable-window.c
6076 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6078 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6080 * src/hildon-app-menu-private.h
6081 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6082 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6083 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6084 temporary property 'columns' to change the number of columns.
6086 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6088 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6090 * examples/hildon-note-example.c: (on_information_clicked),
6091 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6092 debugging information.
6093 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6095 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6096 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6097 in order to close: this will be handled by the WM from now on.
6099 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6101 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6103 * src/hildon-app-menu-private.h
6104 * src/hildon-app-menu.c
6105 (hildon_app_menu_append, hildon_app_menu_add_filter)
6106 (button_visibility_changed, hildon_app_menu_apply_style)
6107 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6108 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6109 layout everytime a button (item or filter) is shown or hidden.
6111 * src/hildon-stackable-window.c
6112 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6115 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6117 * src/hildon-touch-selector.c:
6118 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6119 that the treeview inside the touch selector is in fremantle hildon mode
6120 * examples/hildon-date-button-example.c
6121 * examples/hildon-picker-button-multicolumn-example.c
6122 * examples/hildon-touch-selector-entry-example.c
6123 * examples/hildon-touch-selector-example.c
6124 * examples/hildon-time-button-example.c
6125 * examples/hildon-picker-button-example.c:
6126 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6128 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6130 * examples/hildon-text-view-example.c: (main): Remove the
6131 gtkrc bits, now handled by the theme.
6133 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6138 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6140 * po/Makefile.am: Install properly the mo files.
6141 * po/en_GB.po: Update translation, to ease testing purposes.
6143 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6145 * examples/hildon-picker-button-example.c: (main): Select an item
6146 in the selector before setting it to the button.
6148 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6150 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6151 Update button's value if the selector has an item active.
6153 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6154 'value' with the selector)
6156 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6158 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6159 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6160 (hildon_picker_button_class_init): Plug the finalize method.
6161 (hildon_picker_button_set_selector): If there's a previously set
6162 selector, unref'it before setting a new one.
6164 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6165 HildonTouchSelector)
6167 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6169 * src/hildon-touch-selector-entry.c:
6170 (hildon_touch_selector_entry_changed): Check if there is no text
6171 selected before setting the entry text.
6174 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6176 * src/hildon-touch-selector.h
6177 * src/hildon-touch-selector.c
6178 (hildon_touch_selector_get_active)
6179 (hildon_touch_selector_set_active): New methods to set/get the
6180 index of the selected item.
6182 * src/hildon-picker-button.h
6183 * src/hildon-picker-button.c
6184 (hildon_picker_button_get_active)
6185 (hildon_picker_button_set_active): New methods to set/get the
6186 index of the selected item.
6188 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6190 * configure.ac: post-release version bump.
6192 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6196 * configure.ac: Pre-release version bump.
6197 * debian/changelog: Updates.
6198 * debian/control: Add myself as maintainer and depend on l10n
6201 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-window.c
6204 (hildon_window_set_main_menu)
6205 * src/hildon-stackable-window.c
6206 (hildon_stackable_window_set_main_menu):
6207 Updated documentation.
6209 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6211 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6212 Don't free selector->priv manually.
6215 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6218 (hildon_gtk_window_set_progress_indicator):
6219 * src/hildon-gtk.h: Added the new API
6220 hildon_gtk_window_set_progress_indicator, it changes the state of
6221 the window progress hint.
6223 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-button.c
6226 * src/hildon-stackable-window.c: Minor documentation updates.
6228 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6230 * src/hildon-stackable-window.c: Updated documentation.
6232 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6234 * src/hildon-defines.h: Update margins definitions
6235 to the Fremantle sizes.
6238 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6240 * src/hildon-touch-selector.c,
6241 (_hildon_touch_selector_set_model): Cleaning the code after
6242 review, removed g_print and #if 0 from the code.
6244 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6246 * src/hildon-edit-toolbar.c: Update documentation.
6248 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-check-button.h
6251 * src/hildon-check-button.c
6252 (hildon_check_button_set_label, hildon_check_button_get_label)
6253 * examples/hildon-check-button-example.c
6254 (button_clicked_cb):
6255 Removed deprecated methods.
6257 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-text-view.c:
6260 Add sample code to the documentation.
6262 * src/hildon-entry.h
6263 * src/hildon-text-view.h:
6264 Minor cosmetic changes.
6266 * src/hildon-entry.c:
6267 Add sample code to the documentation.
6268 (hildon_entry_init, hildon_entry_refresh_contents):
6269 Don't allow NULL values in the placeholder.
6271 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6273 * doc/hildon-docs.sgml
6275 * examples/Makefile.am
6276 * examples/hildon-text-view-example.c
6278 * src/hildon-text-view.c
6279 * src/hildon-text-view.h
6281 New HildonTextView widget, with example.
6283 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6285 * po/POTFILES.in: Add missing files with translatable strings.
6286 Partially fixes NB#88287.
6288 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6290 * examples/hildon-pannable-area-example-2.c: (main): No need to
6291 set the cellrenderer height inside hildon touch lists, the theme does
6294 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6296 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6297 they are integrated in the theme.
6299 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6301 * examples/hildon-entry-example.c: Update the example adding
6302 widgets to modify the text and the placeholder of the HildonEntry.
6304 * src/hildon-entry.c: Show the placeholder everytime the widget
6305 is empty and loses the focus.
6307 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6309 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6311 * src/hildon-pannable-area.c,
6312 (hildon_pannable_area_size_request): Fixed bug in height
6313 requisition, avoid increasing size and add border twice.
6315 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6317 * configure.ac: postrelease version bump.
6319 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6323 * configure.ac: Prerelease version bump.
6324 * debian/changelog: update.
6325 * debian/rules: make -dbg package contain useful debugging symbols.
6327 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-dialog.h
6330 * src/hildon-dialog.c
6331 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6332 New methods to add buttons with finger size.
6333 (hildon_dialog_new_with_buttons):
6334 Create buttons with finger size.
6336 * examples/hildon-dialog-example.c (main): Use HildonDialog
6337 methods to add buttons.
6339 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-entry.c: Updated HildonButton documentation.
6343 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6346 button value label with (FALSE, FALSE) to prevent NB#88126 from
6349 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6351 * examples/hildon-pannable-area-example.c,
6352 (main): Removed examples panning a vbox inside a pannable
6353 area. Check bug NB#87965
6355 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6357 Patch contributed by Kris Rietveld (kris@imendio.com)
6359 * src/hildon-pannable-area.c,
6360 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6361 get_size and get_position, this saves an X server roundtrip.
6363 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6365 * doc/hildon-docs.sgml
6367 * examples/Makefile.am
6368 * examples/hildon-entry-example.c
6370 * src/hildon-entry.c
6371 * src/hildon-entry.h
6373 New HildonEntry widget, with example.
6375 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-button.c (hildon_button_construct_child): Pack the
6378 image with expand == fill == FALSE. This is a workaround for a bug
6381 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6383 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6384 labels for the text column, to make it more look more dynamic.
6386 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6388 * src/hildon-time-selector.c
6389 Define gettext auxiliar macro N_
6390 (_create_minutes_model)
6391 (_create_hours_model)
6392 (_create_ampm_model): use of strftime in order to fill the model
6393 * src/hildon-date-selector.c
6394 (hildon_date_selector_finalize):
6395 (_locales_init): remove the logic related to get the name of the months
6396 using nl_langinfo, as it is not required anymore
6398 (_create_year_model)
6399 (_create_month_model)
6400 (_update_day_model): use of strftime in order to fill the model properly
6403 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-button.h
6406 * src/hildon-button.c (hildon_button_get_image): New method to
6409 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6411 * src/hildon-touch-selector.c:
6412 (hildon_touch_selector_remove_column): Remove from the correct parent
6413 and also remove the list element and free it.
6416 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6418 * src/hildon-time-selector.c
6419 (_create_hours_model): change the range on 12h ampm format in order to use
6420 a 12-11 range instead of previous 01-12 range
6421 (hildon_time_selector_set_time): change the way to select the current time
6422 on 12h ampm format, due the change on the range
6423 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6426 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6428 * src/hildon-touch-selector.c
6429 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6430 in order to allow use this function on multiple row selection mode if
6431 the column is different that the first one
6434 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6436 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6437 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6439 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6441 * src/hildon-date-selector.h: clean some comments, now on the .c
6442 * src/hildon-date-selector.c
6443 (hildon_date_selector_select_month): first implementation
6444 (hildon_date_selector_select_day): added documentation, reimplemented
6445 using hildon_date_selector_select_current_date to avoid repeat code
6448 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6450 Reviewed interaction logic based on device experiences, refactored
6453 * src/hildon-pannable-area.c,
6454 (hildon_pannable_area_class_init): Updated default vmax speed.
6455 (hildon_pannable_area_calculate_velocity): Added this function, it
6456 avoids duplicate valocity calculation. Adjusted calculation to
6457 avoid problems with zero dist events.
6459 (hildon_pannable_area_motion_notify_cb): Now we use the
6460 calculate_velocity function.
6462 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6464 * src/hildon-date-selector.c
6465 (hildon_date_selector_select_current_date): fix the day range check
6466 as it failed using the last day of the current month
6469 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6471 * src/hildon-touch-selector.c
6472 (hildon_touch_selector_get_num_columns): added a parameter validation
6475 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6477 * examples/Makefile.am
6478 * examples/hildon-edit-toolbar-example.c: Example of the
6479 HildonEditToolbar widget.
6481 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6483 * configure.ac: postrelease version bump.
6485 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6489 * configure.ac: prerelease version bump.
6490 * debian/changelog: update.
6492 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6494 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6495 renderer to display stock icons in the touch list. Also, set the sizes
6496 to the recommended in the style guide.
6498 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6499 * src/hildon-touch-selector.h
6500 (hildon_touch_selector_set_active_iter): renamed, now is
6501 hildon_touch_selector_select_iter
6502 (hildon_touch_selector_get_active_iter): renamed, now is
6503 hildon_touch_selector_get_selected
6504 (hildon_touch_selector_unselect_iter): added
6505 * src/hildon-touch-selector.c
6506 Update after API modification (methods renamed)
6507 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6508 order to avoid problems selecting multiple elements on the column
6509 (hildon_touch_selector_unselect_iter): added the implementation
6510 * src/hildon-time-selector.c
6511 * src/hildon-date-selector.c
6512 * src/hildon-touch-selector-entry.c
6513 Update methods calls after hildon-touch-selector.h API modification (methods
6516 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-stackable-window.c
6519 (hildon_stackable_window_finalize): Call the parent class's finalize.
6521 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6523 * examples/hildon-touch-selector-example.c: (create_selector): Use
6524 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6527 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6529 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6530 set a cell background color, to respect theming.
6532 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6534 * doc/hildon-docs.sgml
6537 * src/hildon-edit-toolbar.c
6538 * src/hildon-edit-toolbar.h
6539 * src/hildon.h: New HildonEditToolbar widget.
6541 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6543 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6546 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6547 * src/hildon-touch-selector.c
6548 (_create_new_column): use g_object_set instead of two g_object_set_property
6550 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6551 * src/hildon-touch-selector.c
6552 (_create_new_column): use of hildon_gtk_tree_view_new to create
6553 the treeview, instead of use directly g_object_new
6554 (_create_new_column): update the property name "vindicator-mode" for the
6555 new one "vscrollbar-policy"
6556 * examples/hildon-date-button-example.c
6557 * examples/hildon-picker-button-multicolumn-example.c
6558 * examples/hildon-touch-selector-entry-example.c
6559 * examples/hildon-touch-selector-example.c
6560 * examples/hildon-time-button-example.c
6561 * examples/hildon-picker-button-example.c
6562 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6563 to all the treeviews inside a pannable area.
6565 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6567 * src/hildon-button.h
6568 * src/hildon-button.c (hildon_button_init)
6569 (hildon_button_set_arrangement, hildon_button_set_alignment)
6570 (hildon_button_set_title_alignment)
6571 (hildon_button_set_value_alignment)
6572 (hildon_button_set_image_alignment)
6573 (hildon_button_construct_child): New methods to set the alignment
6574 of the individual components of the button (title, value,
6575 image). Also, new method to alter the xscale and yscale properties
6576 of the GtkAlignment inside the button, so more complex layouts can
6579 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-button.c (hildon_button_style_set)
6582 (hildon_button_class_init, hildon_button_set_arrangement)
6583 (hildon_button_construct_child): Apply style properties
6584 correctly. Use the 'image-spacing' style property too.
6586 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6589 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6592 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6594 * src/hildon-pannable-area.c,
6595 (hildon_pannable_area_size_request): Fixed problem with
6596 pannable-area size_request.
6598 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6600 Added management for the grab-focus to a child widget, like a
6601 range, we need to fade out the scrollbar when releasing.
6603 * src/hildon-pannable-area.c,
6604 (hildon_pannable_area_init): Connected the grab-focus signal to
6606 (hildon_pannable_area_grab_notify): Added this function in order
6607 to manage the situation when the grab-focus ends. We have to
6608 fade-out the scrollbar.
6610 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6612 * src/hildon-app-menu.c: Minor documentation update.
6614 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6616 * src/hildon-app-menu.c
6617 * examples/hildon-app-menu-example.c (create_menu): Update
6618 examples and documentation to explain how to connect callbacks.
6620 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6622 * examples/hildon-button-example.c
6623 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6624 hildon_stackable_window_new instead of gtk_window_new
6626 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6628 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6629 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6630 (hildon_pannable_area_set_property),
6631 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6632 (hildon_pannable_area_unrealize),
6633 (hildon_pannable_area_size_request),
6634 (hildon_pannable_area_size_allocate),
6635 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6636 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6637 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6638 (hildon_pannable_area_initial_effect),
6639 (hildon_pannable_area_redraw),
6640 (hildon_pannable_area_scroll_indicator_fade),
6641 (hildon_pannable_area_expose_event),
6642 (hildon_pannable_area_get_topmost), (synth_crossing),
6643 (hildon_pannable_area_button_press_cb),
6644 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6645 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6646 (hildon_pannable_area_motion_notify_cb),
6647 (hildon_pannable_area_button_release_cb),
6648 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6649 (hildon_pannable_area_remove),
6650 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6651 chage the code layout to a more GtkWidget like. Review the use of
6654 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6656 * examples/hildon-pannable-area-example-4.c,
6657 (main): Modified the name of the hindicator_mode to
6660 * src/hildon-pannable-area.c,
6661 (hildon_pannable_area_class_init),
6662 (hildon_pannable_area_motion_notify_cb),
6663 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6664 we have reduced the amount of signals and managed reviewed its
6665 rationale. Changed the default decelerate value.
6667 (hildon_pannable_area_add),
6668 (hildon_pannable_area_redraw): Refactored functions.
6670 (hildon_pannable_area_init),
6671 (hildon_pannable_area_get_property),
6672 (hildon_pannable_area_set_property):
6673 (hildon_pannable_draw_vscroll),
6674 (hildon_pannable_draw_hscroll),
6675 (hildon_pannable_area_initial_effect),
6676 (hildon_pannable_area_expose_event),
6677 (hildon_pannable_area_scroll),
6678 (hildon_pannable_area_button_press_cb),
6679 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6680 and vindicator_mode with hscrollbar_policy and
6681 vscrollbar_policy. Replaced hscroll and vscroll with
6682 hscroll_visible and vscroll_visible.
6684 (hildon_pannable_area_refresh): Refactor the function, remove
6685 variables and check the calls to this function, added resize
6686 conditions in case the children change their layout.
6688 (hildon_pannable_area_size_request): Added more detailed
6689 size_request calculation.
6692 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6694 * src/hildon-color-chooser.c
6695 (init_borders): use the correct gtk_border_free instead of g_free, to
6696 avoid a crash when this widget is used (ie: the three color selection
6699 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6701 * src/hildon-check-button.c,
6702 (hildon_check_button_set_active): Fixed problem when setting the
6703 active value, the widget was not redrawn.
6705 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6707 * src/hildon-pannable-area.c,
6708 (hildon_pannable_area_refresh),
6709 (hildon_pannable_area_scroll),
6710 (hildon_pannable_area_motion_notify_cb): Small code style change.
6712 (hildon_pannable_area_class_init): Default initial_hint set to
6713 FALSE, it is not in the specs.
6715 (hildon_pannable_area_initial_effect),
6716 (hildon_pannable_area_expose_event),
6717 (hildon_pannable_area_map),
6718 (hildon_pannable_area_init): Moved the launching point of the
6719 initial effect, it was in map but the sizes where not correct in
6720 that method so we do not know if we have the reproduce it. Now it
6721 is placed in the expose_event method and uses a variable to
6722 reproduce it just once.
6724 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6726 * src/hildon-pannable-area.c,
6727 (hildon_pannable_draw_vscroll),
6728 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6729 position allowed for the scrollbars.
6731 (hildon_pannable_area_size_allocate): Small style change.
6733 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6735 * src/hildon-pannable-area.c,
6736 (hildon_pannable_area_scroll_indicator_fade),
6737 (hildon_pannable_area_button_press_cb),
6738 (hildon_pannable_area_button_release_cb),
6739 (hildon_pannable_area_scroll_cb),
6740 (hildon_pannable_area_expose_event),
6741 (hildon_pannable_area_init): Added the define parameter
6742 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6743 and refactor the fade variable.
6745 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-pannable-area.c,
6748 (hildon_pannable_area_redraw),
6749 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6750 lines, we were reimplemeting the redraw code.
6752 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6754 * src/hildon-pannable-area.c,
6755 (hildon_pannable_area_scroll_cb),
6756 (hildon_pannable_area_realize),
6757 (hildon_pannable_area_class_init): Added scroll_event management
6758 for pannable area, now we can scroll the usual desktop method.
6760 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6761 initialization of the parameters should depend on idle_id.
6763 (hildon_pannable_area_init),
6764 (hildon_pannable_area_map): Small code style modifications
6766 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6768 * src/hildon-pannable-area.c
6769 (hildon_pannable_area_button_press_cb),
6770 (hildon_pannable_area_motion_notify_cb),
6771 (hildon_pannable_area_button_release_cb),
6772 (hildon_pannable_area_size_allocate),
6773 (hildon_pannable_area_scroll_to): Improved the timeouts
6774 management, we avoid creating them each time.
6776 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6778 * src/hildon-pannable-area.c:
6779 (hildon_pannable_area_refresh),
6780 (hildon_pannable_area_motion_notify_cb),
6781 (hildon_pannable_area_class_init):
6782 * src/hildon-pannable-area.h:
6783 * src/hildon-touch-selector.c
6784 (_create_new_column):
6785 * examples/hildon-pannable-area-example-4.c:
6786 (horizontal_movement),
6787 (vertical_movement),
6789 Replaced the names of enums in the HildonPannableArea:
6790 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6791 HILDON_MOVEMENT_MODE_*
6792 - HILDON_PANNABLE_AREA_MOV_* ->
6794 - Removed HildonPannableAreaIndicatorMode, now we
6797 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6799 * examples/hildon-pannable-area-touch-grid-example.c
6800 * examples/hildon-pannable-area-touch-list-example.c: Fix
6801 compilation warnings.
6803 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6805 * src/hildon-gtk.c (hildon_gtk_button_new)
6806 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6807 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6808 images overriding the value of the "gtk-button-images" setting.
6810 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6812 * src/hildon-check-button.c (hildon_check_button_new):
6813 Instead of using a custom container, display the label and the
6814 checkbox using the standard GtkButton API.
6816 * examples/hildon-check-button-example.c (main): Don't use
6817 hildon_check_button_set_label() anymore
6819 * src/hildon-check-button.h
6820 * src/hildon-check-button.c
6821 (hildon_check_button_set_label, hildon_check_button_get_label):
6822 Set as deprecated, now we're using gtk_button_{get,set}_label()
6824 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c,
6827 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6828 GtkTreeview first line we detected it after the inclusion of the
6829 GtkWindowImpl in gtk+. We now check if the window is visible, not
6830 just if the pointer is over the window.
6831 (hildon_pannable_axis_scroll),
6832 (hildon_pannable_area_expose_event): Small style changes.
6834 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6836 * src/hildon-button.c: Update documentation.
6838 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6840 * examples/hildon-button-example.c: Add a switch to show images in
6843 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6845 * doc/hildon-docs.sgml: Some docs reorganization.
6847 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6849 * examples/hildon-pannable-area-touch-list-example.c
6851 * examples/hildon-pannable-area-touch-grid-example.c
6852 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6853 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6854 Fix memory leak when setting the tree model.
6856 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6860 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6862 * doc/hildon.types: Remove duplicated hildon_window_get_type
6863 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6864 documentation comment.
6866 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6868 * doc/Makefile.am: Complete list of private headers.
6870 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6872 * doc/hildon-docs.sgml
6873 * src/hildon-app-menu.c
6874 * src/hildon-bread-crumb.c
6875 * src/hildon-button.c
6877 * src/hildon-program.c
6878 * src/hildon-stackable-window.c
6879 * src/hildon-window.c: Lots of documentation updates.
6881 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6883 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6885 * configure.ac: Require Gtk+ 2.12.9 at least
6887 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6889 * src/hildon-pannable-area.c
6890 (hildon_pannable_area_scroll_indicator_fade),
6891 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6892 to protect the return of this timeout callbacks, avoiding deadlocks.
6894 2008-08-12 Christian Dywan <christian@imendio.com>
6897 * src/hildon-*.h: Ensure a consistent include order,
6898 include <gtk/gtk.h> instead of particular files and
6899 only include the topmost header in the gtk stack. See NB #39857
6901 2008-08-12 Christian Dywan <christian@imendio.com>
6903 * src/hildon-picker-dialog.c
6904 * src/hildon-touch-selector.c: Fix warnings about unused and
6905 uninitialized variables.
6907 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6909 * examples/Makefile.am
6910 * examples/hildon-check-button-example.c: Example of the hildon
6913 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6915 * src/hildon-window.h
6916 * src/hildon-window.c (hildon_window_class_init)
6917 (hildon_window_unset_program): Don't make
6918 hildon_window_unset_program a virtual function anymore.
6920 * src/hildon-stackable-window.c: Update documentation
6922 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6925 * doc/hildon-docs.sgml
6926 * doc/visual_index.xml
6927 * src/hildon-defines.c
6929 * src/hildon-helper.c
6930 * src/hildon-range-editor.c: Lots of documentation fixes.
6932 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6934 * examples/hildon-picker-button-multicolumn-example.c
6935 (create_touch_selector): Fix compilation warning.
6937 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6939 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6940 (hildon_pannable_area_button_release_cb)
6941 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6943 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6945 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6948 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6950 * src/hildon-bread-crumb-trail.h
6951 * src/hildon-date-editor.c
6952 * src/hildon-date-selector.c
6953 * src/hildon-pannable-area.c
6954 * src/hildon-picker-dialog.c
6955 * src/hildon-time-selector.c
6956 * src/hildon-touch-selector-entry.c
6957 * src/hildon-touch-selector.c
6958 * src/hildon-touch-selector.h: Misc documentation fixes
6960 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6962 * examples/hildon-date-editor-example.c (main): Updated date
6965 * examples/hildon-note-example.c (on_confirmation_clicked):
6966 Updated confirmation note example.
6968 * src/hildon-date-editor.c
6969 * src/hildon-note.c: Updated sample programs in documentation.
6972 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6974 * src/hildon-date-button.h:
6975 * src/hildon-picker-button.h:
6976 * src/hildon-time-button.c:
6977 * src/hildon-time-button.h:
6979 Some declarations changes to allow gtk-doc to document the widgets
6982 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6984 * src/hildon-date-button.c: Document the widget.
6985 * src/hildon-time-button.c: Document the widget.
6987 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6989 * src/hildon-picker-button.c: Document the widget.
6990 * src/hildon-touch-selector-entry.c: Document the widget.
6992 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6994 * doc/hildon-docs.sgml
6997 * src/hildon-check-button.h
6998 * src/hildon-check-button.c: New functions to create the Hildon
7002 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7004 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7006 * src/hildon-button.h
7007 * src/hildon-button.c
7008 (hildon_button_add_title_size_group)
7009 (hildon_button_add_value_size_group)
7010 (hildon_button_add_image_size_group)
7011 (hildon_button_add_size_groups): New functions to set size groups
7012 for the button labels and image.
7013 (hildon_button_new_full): Removed
7015 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7017 * src/hildon-time-selector.c
7018 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7019 in order to avoid a crash if gconf is not available
7021 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7023 * src/hildon-button.c (hildon_button_set_arrangement)
7024 (hildon_button_construct_child): Don't construct the button child
7025 before setting the arrangement.
7027 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7029 * src/hildon-program-private.h
7030 * src/hildon-program.c
7031 * src/hildon-program.h
7032 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7033 (hildon_program_peek_window_stack)
7034 (hildon_program_pop_window_stack)
7035 (hildon_program_go_to_root_window): HildonProgram now has a
7036 separate list for stackable windows. Functions are provided to
7037 manage that list with a stack-like API.
7039 * src/hildon-stackable-window.c: Stackable window management is
7040 now much simpler with the new HildonProgram API. Windows no
7041 longer need to be manually added to the program, they're
7042 automatically pushed to the top of the stack when shown.
7044 * examples/hildon-stackable-window-example.c: Updated example to
7045 reflect the API changes.
7047 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7049 * src/hildon-touch-selector.c: Comment out unimplemented
7050 hildon_touch_selector_insert_column() to avoid a compile warning.
7052 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7055 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7056 (hildon_touch_selector_set_column_selection_mode),
7057 (_hildon_touch_selector_set_model),
7058 (hildon_touch_selector_set_model):
7060 Complete review of HildonTouchSelector documentation.
7062 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7064 * doc/hildon-docs.sgml
7068 * src/hildon-gtk.c: Convenience functions for standard Gtk
7069 widgets, used to easily perform frequent operations.
7071 * src/hildon-button-helpers.h
7072 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7074 * src/hildon-helper.h
7075 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7076 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7078 * src/hildon-button.h
7079 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7081 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7083 * src/hildon-button.c (hildon_button_init)
7084 (hildon_button_set_arrangement, hildon_button_construct_child):
7085 Pack the image and the labels inside the same GtkAlignment so
7086 gtk_button_set_alignment() can be used
7088 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7090 * src/hildon-button.h
7091 * src/hildon-button.c
7092 (hildon_button_init, hildon_button_set_image)
7093 (hildon_button_set_image_position)
7094 (hildon_button_construct_child): New functions to add an image to
7097 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7099 * src/hildon-date-button.c
7100 * src/hildon-picker-button.c
7101 * src/hildon-time-button.c
7102 * src/hildon-button.c:
7103 (hildon_button_class_init): "size-flags" renamed to "size"
7104 (hildon_button_set_title): Hide the title label if set to NULL.
7106 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7108 HildonButtonFlags split into HildonButtonArrangement (to set the
7109 button layout) and HildonSizeType (which can be used for any
7112 * src/hildon-button.h
7113 * src/hildon-button.c
7114 (hildon_button_class_init)
7115 (hildon_button_set_arrangement)
7116 (hildon_button_set_property): New "size-flags"
7117 property. "arrangement-flags" renamed to "arrangement".
7118 (hildon_button_new, hildon_button_new_with_text)
7119 (hildon_button_new_full): Constructors updated to reflect type changes.
7121 * src/hildon-helper.h
7122 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7123 to set the size of a widget.
7127 * src/hildon-button-helpers.c
7128 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7130 * src/hildon-date-button.c
7131 * src/hildon-date-button.h
7132 * src/hildon-picker-button.c
7133 * src/hildon-picker-button.h
7134 * src/hildon-time-button.c
7135 * src/hildon-time-button.h: Updated widgets to reflect
7136 HildonButton API changes.
7138 * examples/hildon-button-example.c
7139 * examples/hildon-date-button-example.c
7140 * examples/hildon-picker-button-example.c
7141 * examples/hildon-picker-button-multicolumn-example.c
7142 * examples/hildon-time-button-example.c
7143 * examples/hildon-touch-selector-entry-example.c
7144 * examples/hildon-touch-selector-example.c: Updated examples to
7145 reflect HildonButton API changes.
7147 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7149 * doc/hildon-docs.sgml:
7151 * examples/Makefile.am:
7152 * examples/hildon-touch-selector-entry-example.c:
7154 * src/hildon-touch-selector-entry.c:
7155 * src/hildon-touch-selector-entry.h:
7158 Moved HildonTouchSelectorEntry from sandbox. Added its
7159 documentation and examples.
7161 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7163 * src/hildon-touch-selector.h:
7164 * examples/hildon-picker-button-multicolumn-example.c:
7165 (hildon_touch_selector_append_text_column): Add a gboolean
7166 parameter to determine if text must be centered in the column.
7168 * src/hildon-date-selector.c: (hildon_date_selector_init):
7169 * src/hildon-time-selector.c: (hildon_time_selector_init):
7170 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7171 (create_touch_selector): Update widgets and example to reflect
7174 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/hildon-touch-selector.c:
7177 (hildon_touch_selector_set_active_iter): Set also the cursor in
7180 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7182 * doc/hildon-docs.sgml
7185 * src/hildon-toggle-button.c
7186 * src/hildon-toggle-button.h
7187 * src/hildon.h: Removed HildonToggleButton widget, a derived
7188 class is not necessary for this.
7190 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7192 * src/hildon-pannable-area.c,
7193 (hildon_pannable_area_realize),
7194 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7197 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7199 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7200 "done" button the default widget for the dialog.
7202 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7204 * src/hildon-touch-selector.c:
7205 (hildon_touch_selector_class_init),
7206 (hildon_touch_selector_get_property),
7207 (_hildon_touch_selector_set_model),
7208 (_hildon_touch_selector_has_multiple_selection),
7209 (hildon_touch_selector_has_multiple_selection):
7210 Add a "has-multiple-selection" property with a virtual
7211 has_multiple_selection() method to allow derived classes to
7212 override the default value for it. See the method and property
7213 documentation for details.
7215 * src/hildon-touch-selector.h: Add the new API.
7217 * src/hildon-picker-dialog.c: (requires_done_button): Call
7218 hildon_touch_selector_has_multiple_selection() instead of
7219 determining the need for a button itself.
7221 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7223 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7224 (_hildon_touch_selector_set_model),
7225 (hildon_touch_selector_set_model): Move working code to
7226 _hildon_touch_selector_set_mode(). Call the class method instead.
7228 * src/hildon-touch-selector.h: Add (*set_model) to
7229 HildonTouchSelectorClass.
7231 Make hildon_touch_selector_set_model() a virtual method, so that
7232 derived classes can extend it and do fancy stuff with the model.
7234 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7236 * configure.ac: Set back the tarname in AC_INIT to hildon.
7238 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7242 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7243 instead of libesd (NB#86876). Volume handling is still an open issue.
7245 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7248 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7250 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7251 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7252 derived class to ease placement of an entry widget in
7253 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7254 end, where the selector columns are packed now.
7256 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7258 * src/hildon-picker-button.c: Removed the simple _text() API.
7259 * src/hildon-picker-button.h: Likewise.
7261 * src/hildon-touch-selector.h:
7262 * src/hildon-touch-selector.c:
7263 (hildon_touch_selector_new_text),
7264 (hildon_touch_selector_append_text),
7265 (hildon_touch_selector_prepend_text),
7266 (hildon_touch_selector_insert_text):
7268 Moved the simple _text() API from HildonPickerButton to
7269 HildonTouchPicker, to provide better escalability and not to tie
7270 that API to HildonPickerButton.
7272 * examples/hildon-picker-button-example.c: (main): Example updated.
7274 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7276 * src/hildon-button.c: Updated documentation.
7278 * examples/hildon-button-example.c: Add the posibility to create
7279 the buttons using horizontal layout for title and value.
7281 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7283 * src/hildon-app-menu-private.h
7284 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7285 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7286 GtkSizeGroup for the filters, use the 'homogeneous' property of
7289 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7291 * examples/hildon-button-example.c: Updated example.
7293 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7295 * doc/hildon-docs.sgml:
7298 Update documentation.
7300 * examples/Makefile.am: Update renamed examples.
7302 * examples/hildon-picker-button-multicolumn-example.c:
7303 (create_touch_selector), (main): Update after the rename.
7305 * examples/hildon-touch-picker-example.c: Removed.
7306 * examples/hildon-touch-selector-example.c: (value_changed),
7307 (create_selector), (get_visible_content), (main): Renamed from
7308 hildon-touch-picker-example.c
7310 * src/Makefile.am: Updated renamed files.
7312 * src/hildon-date-button.c: (hildon_date_button_init),
7313 (hildon_date_button_get_date), (hildon_date_button_set_date):
7314 * src/hildon-date-selector.c: (hildon_date_selector_init),
7315 (_custom_print_func), (_update_day_model),
7316 (_manage_selector_change_cb),
7317 (hildon_date_selector_select_current_date),
7318 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7319 * src/hildon-date-selector.h:
7320 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7321 (hildon_picker_button_set_property),
7322 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7323 (hildon_picker_button_init), (hildon_picker_button_new_text),
7324 (hildon_picker_button_append_text),
7325 (hildon_picker_button_prepend_text),
7326 (hildon_picker_button_insert_text),
7327 (hildon_picker_button_set_selector),
7328 (hildon_picker_button_get_selector):
7329 * src/hildon-picker-button.h:
7330 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7331 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7332 (_update_title_on_selector_changed_cb), (requires_done_button),
7333 (_hildon_picker_dialog_set_selector),
7334 (hildon_picker_dialog_set_selector),
7335 (hildon_picker_dialog_get_selector):
7336 * src/hildon-picker-dialog.h:
7337 * src/hildon-time-button.c: (hildon_time_button_init),
7338 (hildon_time_button_get_time), (hildon_time_button_set_time):
7339 * src/hildon-time-selector.c: (hildon_time_selector_init),
7340 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7341 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7342 * src/hildon-time-selector.h:
7345 Massive code updates after the rename.
7347 * src/hildon-touch-picker.c: Removed.
7348 * src/hildon-touch-picker.h: Removed.
7350 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7351 (hildon_touch_selector_init), (hildon_touch_selector_map),
7352 (hildon_touch_selector_remove), (_default_print_func),
7353 (_selection_changed_cb), (_create_new_column),
7354 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7355 (hildon_touch_selector_append_text_column),
7356 (hildon_touch_selector_remove_column),
7357 (hildon_touch_selector_set_column_attributes),
7358 (hildon_touch_selector_insert_column),
7359 (hildon_touch_selector_get_num_columns),
7360 (hildon_touch_selector_get_column_selection_mode),
7361 (hildon_touch_selector_set_column_selection_mode),
7362 (hildon_touch_selector_set_print_func),
7363 (hildon_touch_selector_get_print_func),
7364 (hildon_touch_selector_get_active_iter),
7365 (hildon_touch_selector_set_active_iter),
7366 (hildon_touch_selector_get_selected_rows),
7367 (hildon_touch_selector_get_model),
7368 (hildon_touch_selector_set_model),
7369 (hildon_touch_selector_get_current_text),
7370 (_hildon_touch_selector_center_on_selected_items):
7371 * src/hildon-touch-selector.h: Renamed from
7372 hildon-touch-picker.[ch]
7374 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7375 references, code examples, and related documentation.
7377 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7379 * doc/hildon-docs.sgml
7382 * src/hildon-toggle-button.c
7383 * src/hildon-toggle-button.h
7384 * src/hildon.h: New HildonToggleButton widget.
7386 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7388 * src/hildon-button.c: Add API documentation.
7389 (hildon_button_set_size_groups): Check input parameters
7391 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7393 * src/hildon-pannable-area.c
7394 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7395 effect after reaching the movement thredshold. This way we start
7396 using the distance after passing the thredshold.
7398 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7400 * src/hildon-button.c: (hildon_button_set_property): Use the
7401 appropriate g_value_get_flags() method.
7403 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7405 * doc/hildon-docs.sgml:
7408 Add the touch pickers, picker dialogs, and picker button widgets
7409 to the documentation.
7411 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7413 * src/hildon-button.c: (hildon_button_set_property),
7414 (hildon_button_class_init): Make "arrangement-flags" a proper
7415 G_TYPE_FLAGS derived property.
7417 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7419 * examples/Makefile.am: Add below examples.
7420 * examples/hildon-date-button-example.c:
7421 * examples/hildon-picker-button-example.c:
7422 * examples/hildon-picker-button-multicolumn-example.c:
7423 * examples/hildon-time-button-example.c:
7424 * examples/hildon-touch-picker-example.c:
7426 Add examples for the recently added touch pickers,
7427 picker dialogs, and picker button widgets.
7429 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7431 * src/hildon-button.c: Add some API documentation
7433 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7435 * src/hildon-button.h
7436 * src/hildon-button.c
7438 (hildon_button_new_with_text): New constructor to create a button
7439 with no text at all.
7440 (hildon_button_init, hildon_button_set_arrangement)
7441 (hildon_button_set_title, hildon_button_set_value)
7442 (hildon_button_set_text)
7443 (hildon_button_construct_child): Hide the value when it's not used
7444 so the rest of the text is properly aligned.
7445 Allow creating buttons with arbitrary widgets inside (not just
7446 title/value labels).
7448 * examples/hildon-button-example.c (vertical_buttons_window)
7449 (horizontal_buttons_window): Update example to use new API.
7451 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7453 * src/Makefile.am: Added HildonTimeButton.
7454 * src/hildon-time-button.c: Added missing LGPL header.
7455 * src/hildon-time-button.h: Added missing LGPL header.
7456 * src/hildon.h: Add hildon-time-button.h
7458 Copied HildonTimeButton from sandbox to trunk. Future work on this
7459 widget must take place in trunk.
7461 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7463 * src/Makefile.am: Added HildonDateButton.
7464 * src/hildon-date-button.c: Update includes.
7465 * src/hildon.h: Add hildon-date-button.h
7467 Copied HildonDateButton from sandbox to trunk. Future work on this
7468 widget must take place in trunk.
7470 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7472 * src/Makefile.am: Added HildonPickerButton.
7473 * src/hildon-picker-button.h: Update includes.
7474 * src/hildon.h: Add hildon-picker-button.h
7476 Copied HildonPickerButton from sandbox to trunk. Future work on
7477 this widget must take place in trunk.
7479 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7481 * src/Makefile.am: Added HildonPickerDialog.
7482 * src/hildon-picker-dialog.c: Update includes.
7483 * src/hildon.h: Add hildon-picker-dialog.h
7485 Copied HildonPickerDialog from sandbox to trunk. Future work
7486 on this widget must take place in trunk.
7488 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7490 * src/Makefile.am: Added HildonTimeSelector.
7491 * src/hildon.h: Add hildon-time-selector.h
7493 Copied HildonTimeSelector widget from sandbox to trunk. Future
7494 work on this widget must happen in trunk.
7496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7498 * src/Makefile.am: Added HildonDateSelector.
7499 * src/hildon.h: Add hildon-date-selector.h
7501 Copied HildonDateSelector widget from sandbox to trunk. Future
7502 work on this widget must happen in trunk.
7504 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7506 * src/Makefile.am: Added HildonTouchPicker.
7507 * src/hildon-touch-picker.c: Update includes.
7508 * src/hildon.h: Add hildon-touch-picker.h
7510 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7511 on this widget must happen in trunk.
7513 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7515 * src/hildon-pannable-area.c:
7516 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7518 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7520 * examples/hildon-app-menu-example.c (main): Let the window
7523 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7525 * src/hildon-pannable-area.c
7526 (hildon_pannable_area_class_init): Set the min value of the
7527 overshoot properties to zero, which points out that not
7528 overshooting allowed.
7530 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7532 Modified the procedure to get the widget at a point inside the
7533 pannable area when using the movement type signals. Now the user
7534 has to call a function to get the child, that way we just
7535 calculate the child in case the user really want to use it and not
7538 * src/hildon-marshalers.list: Modified the marshallers, now we do
7539 not have the widget as a parameter.
7541 * src/hildon-pannable-area.c
7542 (hildon_pannable_area_motion_notify_cb),
7543 (hildon_pannable_area_class_init),
7544 (hildon_pannable_get_child_widget_at): Removed the widget
7545 parameter from the signal callback. We have also refactored the
7546 emission of the signals.
7548 * src/hildon-pannable-area.h: Added a new method to the API to
7549 calculate a widget at a point inside the pannable area,
7550 hildon_pannable_get_child_widget_at.
7552 * examples/hildon-pannable-area-example-4.c
7553 (horizontal_movement): Modified the example to use the new API,
7554 added condition to control which widget is under the event. This
7555 way we can avoid scrolling laterally over other widgets.
7557 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7559 * src/hildon-pannable-area.c
7560 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7561 modes, we stop getting the pointer events due to returning the
7562 callback without properly calling the get pointer again. Fixed
7563 also an error using the hscroll and vscroll.
7565 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7567 * src/hildon-app-menu-private.h
7568 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7569 (hildon_app_menu_button_release, hildon_app_menu_init)
7570 (hildon_app_menu_class_init): Don't hide the menu on button
7571 release if the user didn't press outside first.
7573 * src/hildon-window.h
7574 * src/hildon-window.c (hildon_window_toggle_menu)
7575 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7576 hildon_window_toggle_menu a virtual function for the stackable
7577 window to override it.
7579 * src/hildon-stackable-window.h
7580 * src/hildon-stackable-window-private.h
7581 * src/hildon-stackable-window.c
7582 (hildon_stackable_window_realize)
7583 (hildon_stackable_window_finalize)
7584 (hildon_stackable_window_class_init)
7585 (hildon_stackable_window_init)
7586 (hildon_stackable_window_set_main_menu): New function to set the
7587 app menu of a HildonStackableWindow.
7589 * examples/hildon-app-menu-example.c: Remove the button to show
7590 the app menu, now it'll be shown when clicking on the title bar
7593 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7595 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7596 set the widget name if the arrangement flags do not specify
7599 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/hildon-button.c: (hildon_button_set_property),
7602 (hildon_button_class_init), (hildon_button_new_full),
7603 (hildon_button_set_arrangement): Added "arrangement-flags"
7606 Make the HildonButtonFlags a construction-only property, to allow
7607 subclasses to set them properly.
7609 2008-07-21 Tim Janik <timj@imendio.com>
7611 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7612 insertion position after backspace, so additional digits are appended,
7615 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7617 * src/hildon-pannable-area.c,
7618 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7619 TODO list, it was complete and removed the g_debug and g_print
7622 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7624 Added the movement modes to the hildon-pannable-area, with this
7625 modes the developers can control in which directions the widget
7626 can scroll. They can also connect to signals in order to do
7627 something when that happens, allowing applications scroll. There
7628 is an example uploaded showing how to use it.
7630 * examples/Makefile.am:
7631 * examples/hildon-pannable-area-example-4.c: Added this example of
7632 an application using the modes.
7634 * src/hildon-marshalers.list: Added a new marshaller for the new
7637 * src/hildon-pannable-area.h: Added new enumerations and flags in
7638 order to control the movement modes and the new signals to warn
7639 about the movements in the area.
7641 * src/hildon-pannable-area.c:
7642 (hildon_pannable_axis_scroll),
7643 (hildon_pannable_area_scroll),
7644 (hildon_pannable_area_motion_notify_cb),
7645 (hildon_pannable_area_get_property),
7646 (hildon_pannable_area_set_property),
7647 (hildon_pannable_area_map),
7648 (hildon_pannable_area_class_init),
7649 (hildon_pannable_area_init),
7650 (hildon_pannable_area_jump_to): Added the modes to control the
7651 movement in the widget. We have added properties to control it,
7652 signals to warn about the movements and refactored some code.
7654 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7656 Changes required in order to allow vfast_factor set to zero to
7659 * src/hildon-pannable-area.c:
7660 (hildon_pannable_area_button_press_cb): Changed the condition, it
7661 is required for not allowing click when vfast_factor is zero.
7662 (hildon_pannable_area_timeout): Initialized velocity variables
7663 when we stop moving, it was less than 1 but not zero and we need
7664 to check zero in some situations.
7665 (hildon_pannable_area_class_init): Changed the default value of
7666 the speed factor, now the button_press is just sent in case the
7667 speed is 2 per cent of the max speed.
7668 (hildon_pannable_area_init): Initialization with 0.
7670 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7672 * src/hildon-pannable-area.c,
7673 (hildon_pannable_area_get_topmost): replaced
7674 gdk_window_get_children with gdk_window_peek_children, this way we
7675 do not have to free the list because it is not a copy.
7677 (hildon_pannable_axis_scroll),
7678 (hildon_pannable_area_scroll),
7679 (hildon_pannable_area_timeout),
7680 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7681 two parameters that were only used inside the
7682 hildon_pannable_area_scroll function.
7684 * examples/hildon-pannable-area-example.c,
7685 (get_sawtooth_label): Fixed small memory leak.
7687 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7689 More checks for the case where the overshoot is bigger than the
7692 * src/hildon-pannable-area.c:
7693 (hildon_pannable_draw_vscroll),
7694 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7695 to draw the slider of the scrollbar under the other scrollbar.
7696 (hildon_pannable_area_expose_event): added new checks to control
7697 the drawing of the overshooting area rectangle, in case it is too
7698 big for the area of the widget.
7699 (hildon_pannable_area_size_allocate): add more checks to avoid
7700 setting a position to the child widget outside the area.
7702 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7704 * src/hildon-pannable-area.c
7705 (hildon_pannable_area_size_allocate): Added conditions to control
7706 when overshooting is bigger than the allocated space for the
7707 children, this avoids negative allocations.
7709 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7711 * doc/hildon-docs.sgml
7713 * examples/Makefile.am
7714 * examples/hildon-button-example.c
7716 * src/hildon-button.c
7717 * src/hildon-button.h
7718 * src/hildon.h: Initial version of the new HildonButton widget,
7721 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7723 * src/hildon-pannable-area.c:
7724 (hildon_pannable_area_button_press_cb),
7725 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7726 (hildon_pannable_area_motion_notify_cb),
7727 (hildon_pannable_area_button_release_cb),
7728 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7729 (hildon_pannable_area_jump_to_child):
7731 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7733 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7735 * examples/Makefile.am
7736 * examples/hildon-pannable-area-touch-grid-example.c
7737 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7738 the Hildon Touch List and Hildon Touch Grid using the
7739 HildonPannableArea widget.
7741 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7743 * src/hildon-pannable-area.c,
7744 (hildon_pannable_area_button_press_cb),
7745 (hildon_pannable_area_refresh),
7746 (hildon_pannable_area_scroll),
7747 (hildon_pannable_area_motion_notify_cb),
7748 (hildon_pannable_area_button_release_cb),
7749 (hildon_pannable_area_expose_event),
7750 (hildon_pannable_area_add),
7751 (hildon_pannable_area_remove),
7752 (hildon_pannable_area_realize),
7753 (hildon_pannable_area_size_allocate),
7754 (hildon_pannable_area_class_init),
7755 (hildon_pannable_area_init),
7756 (hildon_pannable_area_scroll_to_child),
7757 (hildon_pannable_area_jump_to_child): Fixed the problem of
7758 removing the child from the GtkBin, we have rearranged the widget
7759 hierarchy, now there is no GtkAlignment which was not doing
7760 anything interesting but breaking some of the assumptions of
7761 GtkContainer. Now developers if they want to add a GtkAlignment
7762 they could, but it is not inside the area.
7764 We had to review the whole allocation/expose process, now it is
7765 improved and we save at least three signals which would be saving
7766 some time when rendering the widget. The allocation of the
7767 scrollbars is now made in the allocate method as usual.
7769 We have also added some conditions in order to control when there
7770 is no child of the pannable area. Maybe we will need more work
7773 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7775 * src/hildon-pannable-area.c,
7776 (hildon_pannable_area_dispose): Released the fade-out timeout when
7777 disposing the widget.
7779 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7781 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7782 zero, we are going to use that property in order to deactivate the
7784 (hildon_pannable_axis_scroll),
7785 (hildon_pannable_area_size_allocate): Added conditions to control
7786 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7787 call, now it is called in all situations and we can remove calls
7788 in the allocate method.
7789 (hildon_pannable_area_map): Control the situation when
7790 overshoot_max is zero, we do not need the timeout.
7791 (hildon_pannable_area_class_init): Added documentation in order to
7792 point out that setting zero to overshoot_max means deactivate
7795 NOTE: removed trailing whitespaces from my previous comments of
7798 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7800 * src/hildon-pannable-area.c
7801 (hildon_pannable_area_get_property),
7802 (hildon_pannable_area_set_property),
7803 (hildon_pannable_area_map),
7804 (hildon_pannable_area_class_init),
7805 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7806 to cause the widget give a hint about its panning abilities upon
7809 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7811 * src/hildon-pannable-area.c: Several documentation improvements.
7813 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7815 * src/hildon-program.c
7816 * src/hildon-stackable-window.c: Update documentation.
7818 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7820 * src/hildon-stackable-window.c (get_previous_window_if_last):
7821 Renamed get_last_window()
7822 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7823 (hildon_stackable_window_unset_program):
7825 (get_previous_window_if_last):
7826 Detect if the window hasn't been added to a HildonProgram.
7828 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7830 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7832 * src/hildon-pannable-area.c
7833 (hildon_pannable_area_button_press_cb),
7834 (hildon_pannable_axis_scroll),
7835 (hildon_pannable_area_scroll),
7836 (hildon_pannable_area_timeout),
7837 (hildon_pannable_calculate_vel_factor),
7838 (hildon_pannable_area_get_property),
7839 (hildon_pannable_area_set_property),
7840 (hildon_pannable_area_class_init),
7841 (hildon_pannable_area_init),
7842 (hildon_pannable_area_scroll_to),
7843 (hildon_pannable_area_jump_to),
7844 (hildon_pannable_area_scroll_to_child),
7845 (hildon_pannable_area_jump_to_child):
7846 * src/hildon-pannable-area.h: Added the new API functions:
7847 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7848 hildon_pannable_area_scroll_to_child,
7849 hildon_pannable_area_jump_to_child
7852 * examples/Makefile.am
7853 * examples/hildon-pannable-area-example-2.c
7854 * examples/hildon-pannable-area-example-3.c: Added these two new
7855 examples in order to test and show how the new APIs work.
7857 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7859 * examples/hildon-stackable-window-example.c (new_window):
7860 * src/Makefile.am (noinst_HEADERS):
7861 * src/hildon-program.c (hildon_program_go_to_root_window):
7862 * src/hildon-program.h:
7863 * src/hildon-stackable-window-private.h:
7864 * src/hildon-stackable-window.c:
7865 * src/hildon-stackable-window.h:
7866 Create hildon-stackable-window-private.h
7867 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7869 * examples/hildon-app-menu-example.c (create_menu):
7870 * examples/hildon-hvolumebar-insensitive-example.c (main):
7871 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7872 * examples/hildon-toolbar-seekbar-example.c (main):
7873 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7874 * src/hildon-banner.c (hildon_banner_set_property):
7875 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7876 Fix compilation warnings
7878 * src/hildon-window.c:
7881 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7883 * src/hildon-stackable-window.c
7884 (hildon_stackable_window_unset_program):
7885 Calculate correctly whether to show the previous window if the
7886 last one is removed from the stack.
7887 (hildon_stackable_window_go_to_root_window):
7888 Send delete events starting from the topmost window.
7889 Stop if one of the windows is not destroyed.
7891 (hildon_stackable_window_delete_event)
7892 (hildon_stackable_window_class_init):
7893 Ignore the delete event if the window is not the topmost one.
7895 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7897 * src/hildon-pannable-area.c
7898 (hildon_pannable_area_expose_event): Fixed a problem when
7899 selecting the background color of the scrollbars.
7901 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7903 * examples/hildon-stackable-window-example.c
7904 * src/hildon-stackable-window.c
7905 * src/hildon-stackable-window.h
7906 hildon_stackable_window_go_home() renamed to
7907 hildon_stackable_window_go_to_root_window()
7908 Send delete events to windows rather than closing them with
7909 gtk_widget_destroy()
7911 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7913 * src/hildon-pannable-area.c
7914 (hildon_pannable_area_button_release_cb): Fix overshooting in
7917 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7919 * src/hildon-pannable-area.c
7920 (hildon_pannable_area_init): Initially show the scroll indicators.
7921 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7923 Add initial effect showing the widget is pannable.
7925 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7927 * src/hildon-pannable-area.c
7928 (hildon_pannable_area_class_init)
7929 (hildon_pannable_area_set_property)
7930 (hildon_pannable_area_get_property)
7931 (hildon_pannable_area_button_press_cb):
7932 New 'velocity_fast_factor' property to decide which velocity is
7935 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7937 * src/hildon-pannable-area.c
7938 (hildon_pannable_draw_hscroll)
7939 (hildon_pannable_draw_vscroll):
7940 Use float variables to calculate the size of the scrollbars to
7941 avoid error propagation and resizing during scrolling.
7943 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7945 * src/hildon-pannable-area.c
7946 (hildon_pannable_draw_vscroll)
7947 (hildon_pannable_draw_hscroll):
7948 Define a minimum size for the scroll bars
7950 * src/hildon-stackable-window.c
7951 (hildon_stackable_window_go_home): Fix compilation warning
7952 (get_last_window): Minor optimizations
7953 (hildon_stackable_window_class_init): Fix initialization of
7956 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7958 * src/hildon-stackable-window.c: Fixed typos in doc
7960 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7962 * src/hildon-pannable-area.c
7963 (hildon_pannable_area_scroll):
7964 Calculate here whether we need to scroll instead of using the booleans
7965 that tell us whether to /draw/ the scrolling bars.
7967 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7969 * src/hildon-app-menu.h
7971 * src/hildon-app-menu.c
7972 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7973 multiple filter groups related code and API. Now we support only
7975 * examples/hildon-app-menu-example.c:
7977 Update to reflect API changes.
7979 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7981 * src/hildon-stackable-window.c
7982 (hildon_stackable_window_class_init):
7983 Add hildon_stackable_window_realize.
7984 (hildon_stackable_window_realize):
7985 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7986 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7987 to apply theming and behavior specific to HildonStackableWindow
7990 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7992 * src/hildon-note.c (hildon_note_button_release):
7993 Close information notes also when tapping on them
7995 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7997 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7998 ELASTICITY, refactor and review, fix some issues with drawing
8001 * src/hildon-pannable-area.c:
8002 (hildon_pannable_area_button_press_cb): removed the conditions to
8003 avoid clicks when overshooting. It is not required
8005 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8006 define. Refatored and reviewed the code, now we do not need to
8007 manage velocity in motion_notify.
8009 (hildon_pannable_area_motion_notify_cb): We have moved the code
8010 that controls the area_scroll to the axis_scroll function and get
8011 rid of duplicated code.
8013 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8015 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8017 (hildon_pannable_draw_vscroll),
8018 (hildon_pannable_draw_hscroll): Fixed the problems with the
8019 scrollbar drawing, now we do not use two surfaces, it is easier
8020 and saves resources.
8022 (hildon_pannable_area_get_property): Style modification.
8024 (hildon_pannable_area_class_init): Changed some default values.
8026 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8028 * src/hildon-stackable-window.c: Fix some typos in the
8031 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8033 * src/hildon-dialog.c:
8034 Change indentation style
8037 (hildon_note_button_release):
8038 Use root coordinates to check if the release event happened
8041 * src/hildon-app-menu.c
8042 (hildon_app_menu_button_release):
8043 Remove unnecessary check
8045 * examples/hildon-app-menu-example.c
8047 Add cast to fix warning
8049 * src/hildon-app-menu.c
8050 (hildon_app_menu_class_init):
8051 New inner-border style property.
8052 Set all default spacings to 16
8053 (hildon_app_menu_init):
8054 Use vertical-spacing to set the space between filter buttons and
8055 regular menu buttons.
8056 Set the default container border using the inner-border value.
8058 * examples/hildon-app-menu-example.c
8060 Don't set the menu border explicitly, now we have the inner-border
8061 style property for that.
8063 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8065 * src/hildon-app-menu.c (hildon_app_menu_init):
8066 Make the window modal
8068 * src/hildon-note.c (hildon_note_map)
8069 * src/hildon-app-menu.c (hildon_app_menu_map):
8070 Destroy the grab window if we're unable to grab the pointer
8072 * src/hildon-app-menu-private.h
8073 * src/hildon-app-menu.c
8074 (hildon_app_menu_init, hildon_app_menu_finalize)
8075 (hildon_app_menu_map, hildon_app_menu_unmap)
8076 (hildon_app_menu_button_release)
8077 (grab_transfer_window_get):
8078 Bring back the grab window
8079 (hildon_app_menu_realize):
8080 Decorate the window, set WM hint for Matchbox
8082 * src/hildon-note.c (hildon_note_realize):
8083 * src/hildon-banner.c (hildon_banner_realize):
8084 Add WM hints for Matchbox
8086 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8088 * src/hildon-app-menu-private.h
8089 * src/hildon-app-menu.c
8090 (hildon_app_menu_init, hildon_app_menu_finalize)
8091 (hildon_app_menu_map, hildon_app_menu_unmap)
8092 (hildon_app_menu_button_release):
8093 Remove the grab window, it's not needed anymore
8095 * src/hildon-program.c
8096 Fixed typo in documentation
8098 * src/hildon-app-menu.h
8099 * src/hildon-app-menu.c
8100 * examples/hildon-app-menu-example.c
8101 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8103 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8106 Added new transfer_window and close_if_pressed_outside private
8108 (hildon_note_rebuild):
8109 Don't add a cancel button to the information note. It will be
8110 closed when tapping outside
8111 Remove the comment about the OK button in the documentation
8112 (hildon_note_realize):
8113 Set the notification type hint
8114 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8115 Grab/ungrab pointer and keyboard if the note has to be closed when
8117 (hildon_note_button_release):
8118 Close the note when tapping outside (if applicable)
8120 * src/hildon-app-menu.c
8121 Grab/ungrab pointer and keyboard on map/unmap
8122 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8123 Close the menu on button release, not button press
8125 * src/hildon-banner.c
8126 (hildon_banner_set_property)
8127 (hildon_banner_check_position):
8128 Make the banner use the full width of the screen
8129 (hildon_banner_show_information)
8130 (hildon_banner_show_information_with_markup):
8131 Don't display an icon by default
8133 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8135 Added fading scrollbars and adapted all the overshooting code to
8136 horizontal scrolling. We have also fixed bugs with overshooting
8137 and current fading implementation.
8139 * src/hildon-pannable-area.c
8140 (hildon_pannable_area_scroll_indicator_fade): Time out function
8141 used to change the transparency of the scrollbars.
8143 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8144 control and fixed a problem with fading, we now remove the fade
8145 timeout before adding a new one.
8147 (hildon_pannable_axis_scroll):
8148 (hildon_pannable_area_scroll):
8149 (hildon_pannable_area_timeout): Added this functions so we can use
8150 the scroll code both for vertical and horizontal.
8152 (hildon_pannable_area_motion_notify_cb):
8153 (hildon_pannable_area_button_release_cb): Added the horizontal
8154 scrolling control, fixed a problem with the overshooting timeout.
8156 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8157 painting of the scrolls.
8159 (hildon_pannable_draw_vscroll):
8160 (hildon_pannable_draw_hscroll):
8161 (hildon_pannable_area_expose_event):
8162 Draw both scrollbars and rectangles in the overshooting area.
8164 (hildon_pannable_area_get_property):
8165 (hildon_pannable_area_set_property):
8166 Modified the overshoot property to overshoot_max
8168 (hildon_pannable_area_map):
8169 Replaced the comments symbols.
8171 (hildon_pannable_area_size_allocate):
8172 (hildon_pannable_area_class_init):
8173 (hildon_pannable_area_init): Added horizontal scroll, fading
8174 effect properties, fixed a problem when overshooting in the bottom
8177 * examples/hildon-pannable-area-example.c:
8178 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8179 looks better in the example.
8181 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8183 * src/hildon-window.c
8184 * src/hildon-window.h
8185 (hildon_window_class_init)
8186 (hildon_window_unset_program)
8187 (hildon_window_unset_program_real):
8188 Make unset_program a virtual function
8190 * src/hildon-stackable-window.c
8191 * src/hildon-stackable-window.h
8192 Added hildon_stackable_window_go_home()
8194 * examples/Makefile.am
8195 * examples/hildon-stackable-window-example.c
8196 HildonStackableWindow example
8198 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8200 * hildon-pannable-area.c: Added the overshoot property and removed
8201 the OVERSHOOT define. Fixed an indent style error.
8202 (hildon_pannable_area_motion_notify_cb):
8203 (hildon_pannable_area_get_property):
8204 (hildon_pannable_area_set_property): Add overshoot property.
8206 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8209 (hildon_pannable_area_class_init): Installed the new property.
8211 * hildon-pannable-area-example.c: Added a sawtooth function, this
8212 way it is easier to check the movement in the pannable.
8213 (get_sawtooth_label): Added this function.
8214 (main): Now we get the labels from the new get_sawtooth_label
8217 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8219 * src/hildon-app-menu.h
8220 * src/hildon-app-menu.c
8221 Renamed API variables for consistency
8223 (hildon_app_menu_popup): Use also the default window size to
8224 decide where to place the menu
8226 (hildon_app_menu_init, hildon_app_menu_class_init): New
8227 external-border style property
8229 2008-05-26 Michael Natterer <mitch@imendio.com>
8231 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8232 widget_class->tap_and_hold_setup signal slot doesn't exist any
8233 longer, stop overriding it.
8235 (hildon_time_editor_init): g_signal_connect() to the
8236 tap-and-hold-setup signal instead.
8238 (hildon_time_editor_entry_keypress): add cast to fix warning.
8240 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8242 * doc/hildon-docs.sgml
8244 * examples/Makefile.am
8245 * examples/hildon-app-menu-example.c
8247 * src/hildon-app-menu-private.h
8248 * src/hildon-app-menu.c
8249 * src/hildon-app-menu.h
8251 New HildonAppMenu widget
8253 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8255 Rearranged the inheritance of the pannable area, now it inherits
8256 from GtkBin. This will allow us to control the event_window and
8257 the allocation process of the widget, required for some effects.
8259 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8260 GtkBin structures. * src/hildon-pannable-area.c: Added the
8261 event_window variable.
8262 (hildon_pannable_area_button_press_cb):
8263 (hildon_pannable_area_button_release_cb):
8264 (hildon_pannable_area_motion_notify_cb):
8265 Changed the signature of the method, now we override the event
8266 callback instead of connecting to the signal.
8268 (hildon_pannable_area_realize):
8269 (hildon_pannable_area_unrealize):
8270 (hildon_pannable_area_map):
8271 (hildon_pannable_area_unmap):
8272 (hildon_pannable_area_size_allocate):
8273 Added functions to control the widget construction. We add a
8274 INPUT_ONLY window and we put it over the widgets inside the
8275 container, this event_window handles the events.
8277 (hildon_pannable_area_class_init):
8278 Replaced the signal connections with overrides of the event
8281 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8283 Bouncing effect added when touching the borders, you can change
8284 the elasticity of the border changing the ELASTICITY define.
8286 * src/hildon-pannable-area.c: Added ELASTICITY define.
8287 (hildon_pannable_area_timeout): Added inverse velocity when
8288 touching the border of the child widget, that causes a bounce.
8290 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8292 Improved performance, we now do not go to the X server in order to
8293 get the list of window children. Apparently the effect is the
8294 same, we have to be careful and check if this breaks something in
8297 * src/hildon-pannable-area.c:
8298 (get_ordered_children): Removed this function.
8299 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8300 the children windows function with gdk_window_get_children.
8302 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8304 * src/hildon-pannable-area.c:
8305 (hildon_pannable_area_dispose): Fixed a crash when closing the
8306 window and kinetics is activated.
8308 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8310 * src/hildon-pannable-area.h
8311 * src/hildon-pannable-area.c
8312 Changed indentation style to meet the one used in Hildon
8314 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8316 Reviewed the interaction of the AUTO mode, now we use the time
8317 attribute of the events and calculate the velocity in the motion,
8318 doing a gimp like calculation. The velocity is calculated in each
8319 motion event using the last velocity and the current one, the
8320 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8322 * src/hildon-pannable-area.c: Replaced the time based algorithm
8324 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8325 timeout for the AUTO mode when we are still moving the cursor. We
8326 added also the velocity calculation in this function.
8327 (hildon_pannable_area_button_release_cb): launch the timeout in
8328 case we are in AUTO mode. There are still some constants here that
8329 come from the old implementation that should be reviewed and
8332 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8334 * doc/hildon-docs.sgml
8337 * src/hildon-stackable-window.c
8338 * src/hildon-stackable-window.h
8340 New HildonStackableWindow widget
8342 * examples/hildon-dialog-example.c
8343 * examples/hildon-pannable-area-example.c
8346 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8348 * src/hildon-dialog.c
8349 (hildon_dialog_new_with_buttons): New constructor.
8351 * examples/hildon-dialog-example.c
8352 (main): Update the example to use the new
8353 hildon_dialog_new_with_buttons().
8355 * examples/hildon-pannable-area-example.c
8356 (main): Update example.
8358 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8360 * doc/hildon-docs.sgml
8362 Added HildonPannableArea to the documentation.
8364 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8366 * doc/visual_index.xml
8367 Fix reference to HildonLoginDialog in documentation
8369 * doc/hildon-docs.sgml
8371 * examples/Makefile.am
8372 * examples/hildon-dialog-example.c
8374 * src/hildon-dialog.c
8375 * src/hildon-dialog.h
8377 New HildonDialog widget.
8379 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8381 * src/hildon-pannable-area.c
8382 Merge latest changes (r4318, r4342) from libmokoui trunk
8384 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8386 * examples/Makefile.am
8387 * examples/hildon-pannable-area-example.c
8389 * src/hildon-pannable-area.c
8390 * src/hildon-pannable-area.h
8392 New HildonPannableArea widget.
8394 2008-04-15 18:05:19 <timj@imendio.com>
8396 * src/hildon-banner.c: revert the recent change, that introduced
8397 gtk_window_present() calls. this reopens:
8398 Bug 78481 - [freetest] information banners are hidden under browser menu
8399 But resolves another variant of:
8400 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8402 2008-04-15 13:21:13 <timj@imendio.com>
8404 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8405 recreated its layout, spotted by Kris. this fixes all remaining
8406 artefacts and stability issues with the banner code. in particular:
8407 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8409 2008-04-14 16:52:59 <timj@imendio.com>
8411 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8412 operating on unrealized widgets, fixes:
8413 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8415 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8417 2008-04-09 Kristian Rietveld <kris@imendio.com>
8419 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8420 makes banner disappear.
8421 Fixes: NB#79182: info banner flickering with certain message lengts.
8423 * src/hildon-banner.c (hildon_banner_constructor),
8424 (hildon_banner_init), (hildon_banner_set_text),
8425 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8426 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8427 FALSE, reset size requests of label and banner,
8428 (force_to_wrap_truncated): when the text is too wide, always enforce
8429 the maximum possible width instead of recalculating it from the
8430 layout; enforce the maximum banner height of 3 lines,
8431 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8432 nicer wrapping and no truncated chars if space gets tight.
8434 * src/hildon-banner-private.h: add has_been_wrapped and
8435 has_been_truncated fields.
8437 2008-04-07 Sven Herzberg <sven@imendio.com>
8439 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8440 local values in hildon_date_editor_size_allocate
8442 * src/hildon-date-editor.c: moved the real allocation code into the
8445 2008-04-07 Sven Herzberg <sven@imendio.com>
8447 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8448 local values in hildon_date_editor_size_allocate
8450 * src/hildon-date-editor.c: merged the two if() branches together
8452 2008-04-07 Sven Herzberg <sven@imendio.com>
8454 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8455 local values in hildon_date_editor_size_allocate
8457 * src/hildon-date-editor.c: changed the arguments of the if()
8460 2008-04-07 Sven Herzberg <sven@imendio.com>
8462 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8463 local values in hildon_date_editor_size_allocate
8465 * src/hildon-date-editor.c: split the calculation of the allocation
8466 from the real allocation
8468 2008-03-27 Michael Natterer <mitch@imendio.com>
8470 Fixes: NB#81696: The passcode is not overwritten even after
8473 * src/hildon-code-dialog.c
8474 (hildon_code_dialog_button_clicked)
8475 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8476 because that doesn't overwrite selected text. Instead, emit the
8477 "commit" signal on the entry's im_context so the entry's normal
8478 insert logic is triggered. Set the cursor to the end of the entry
8479 after each insert operation so that we *only* insert in the middle
8480 of the text if something was selected.
8482 2008-03-27 Michael Natterer <mitch@imendio.com>
8484 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8485 selector cannot be opened
8487 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8488 when the popup color selector is created. Please connect to this
8489 signal in order to set the dialog's help ID.
8491 2008-03-25 Sven Herzberg <sven@imendio.com>
8493 Fixes: MB#1212: Hide info banners (infoprints) on click
8495 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8496 extracted the close event simulation into an extra function
8497 (hildon_banner_button_press_event): simulate a close event and destroy
8498 the widget if the event wasn't handled
8499 (hildon_banner_class_init): added the button_press_event handler
8500 (hildon_banner_init): added button-press events to the widget
8502 2008-03-25 Sven Herzberg <sven@imendio.com>
8504 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8505 Patch from: Mohammad Anwari <mdamt@maemo.org>
8507 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8508 instead of the right in RTL mode
8509 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8510 breadcrumb button list in RTL mode
8511 * src/hildon-caption.c: mirror the appearance of the caption widget in
8513 * src/hildon-date-editor.c: mirror appearance of the date editor in
8515 * src/hildon-time-editor.c: mirror appearance of the time editor in
8517 * src/hildon-window.c: fix the position of the popup in RTL mode
8519 2008-03-25 Sven Herzberg <sven@imendio.com>
8521 Amendment to the fix of NB#22072. Fix compilation.
8523 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8525 2008-03-19 Sven Herzberg <sven@imendio.com>
8527 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8530 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8531 timeout id properly when the timeout will disappear this leaves no
8532 artifacts around in the destroy(); there will only be the timeout
8533 created by hildon_banner_ensure_timeout() and adding a new timeout
8534 will also work if the timeout gets removed because the timeout_handler
8537 2008-03-19 Michael Natterer <mitch@imendio.com>
8539 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8541 * src/hildon-volumebar.c
8542 * src/hildon-vvolumebar.c
8543 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8544 the widget becomes focussable at all.
8546 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8547 set the focus to wither the mute button or the volumebar.
8549 Remove own "can-focus" property and instead listen to
8550 notify::can-focus in order to update the widget's state.
8552 Implement GtkWidget::focus() and make sure we can also *leave* the
8553 widget, not only enter it, depending on volumebar orientation and
8554 requested focus direction.
8556 Clean up set_mute() to cooperate nicely with all the above.
8558 2008-03-04 Michael Natterer <mitch@imendio.com>
8560 Fixes: NB#78481: information banners are hidden under browser menu
8562 * src/hildon-banner.c: call gtk_window_present() on the banners so
8563 they are risen if they are already visible.
8565 2008-03-03 Sven Herzberg <sven@imendio.com>
8567 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8569 * examples/hildon-window-menu-example.c: (main): extended the window
8570 menu example to serve as a testcase for automatically added
8571 accelerator groups, too
8572 * src/hildon-window.c: (hildon_window_add_accel_group),
8573 (hildon_window_set_menu): added patch by Tommi Komulainen
8575 2008-03-03 Sven Herzberg <sven@imendio.com>
8577 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8579 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8580 knowledge about the border allocators used within GTK+
8582 2008-02-26 Sven Herzberg <sven@imendio.com>
8584 Fixes: MB#2981: Build with asserts broken
8586 * src/hildon-date-editor.c,
8587 * src/hildon-number-editor.c,
8588 * src/hildon-time-editor.c,
8589 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8590 the proper GType instance check
8592 2008-02-25 Sven Herzberg <sven@imendio.com>
8594 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8596 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8597 * examples/hildon-window-menu-example.c: (main): explicitly show
8599 * src/hildon-window.c:
8600 (hildon_window_set_main_menu): moved most of the code from set_menu()
8601 to this place; skipped the call to gtk_widget_show_all(); also didn't
8602 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8603 (hildon_window_set_menu): removed most of the code, just keep the
8604 questionable gtk_widget_show_all()
8605 * src/hildon-window.h: added the new function and deprecate the old
8608 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8614 * debian/changelog: Updating.
8616 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8619 * pkgconfig/Makefile.am:
8620 * pkgconfig/hildon.pc.in:
8623 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8624 use newly created API_MAJOR_VERSION.
8626 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8632 * debian/changelog: Updating.
8634 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8636 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8638 Add outer_border style property, we use it but don't define it (!).
8642 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8644 * examples/hildon-bread-crumb-trail-example.c (main):
8648 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8650 Fix logic for the bread crumb trail node removal.
8654 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8660 * debian/changelog: Updating.
8662 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 Patch by Alejandro to get/set passwords dialogs accesibility.
8666 * hildon-1/src/hildon-get-password-dialog.c:
8667 * hildon-1/src/hildon-set-password-dialog.c:
8668 Set atk_set_name to the passwd entries in order to allow
8669 accessibility by name on this entries.
8671 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * debian/control: Updating gtk dep.
8678 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8680 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8681 USE_MAEMO_GTK is enabled.
8683 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8685 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8686 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8688 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * debian/changelog: Updating.
8696 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * examples/Makefile.am:
8699 * examples/hildon-logical-color-example.c:
8700 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8701 applied + adding a test case. Fixes: NB#71660.
8703 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8705 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8706 to be visible, fixes warning on map for windows without toolbars.
8708 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8710 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8711 2.11.0, add a check for that besides the MAEMO_GTK check.
8713 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * debian/changelog: Updating.
8721 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8724 visibility. Fixes: NB#70842 and MB#615.
8726 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8728 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8729 set the separator as no-show-all so it doesn't unintentionally appear when
8730 someone does a show_all.
8732 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8734 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8735 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8736 toplevel item. Fixes: NB#62031
8738 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8741 fix the name of the function in the docs.
8743 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8749 * debian/changelog: Updating.
8751 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8753 * examples/hildon-banner-long-example.c: Adding a test-case for long
8756 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8758 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8760 * src/hildon-color-chooser-dialog.c:
8761 * src/hildon-color-chooser.c:
8762 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8763 memory leaks in font selector and color selector. Fixes: NB#70499 and
8766 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8768 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8770 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8773 little bit bigger. Fixes: #NB63694.
8775 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/changelog: Updating.
8783 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8786 * doc/hildon-docs.sgml:
8787 * doc/images/bread-crumb-trail.png:
8788 * doc/images/calendar-popup.png:
8789 * doc/images/caption.png:
8790 * doc/images/code-dialog.png:
8791 * doc/images/color-button.png:
8792 * doc/images/color-chooser-dialog.png:
8793 * doc/images/color-chooser.png:
8794 * doc/images/controlbar.png:
8795 * doc/images/date-editor.png:
8796 * doc/images/font-selection-dialog.png:
8797 * doc/images/get-password-dialog.png:
8798 * doc/images/hvolumebar.png:
8799 * doc/images/login-dialog.png:
8800 * doc/images/note.png:
8801 * doc/images/number-editor.png:
8802 * doc/images/range-editor.png:
8803 * doc/images/seekbar.png:
8804 * doc/images/set-password-dialog.png:
8805 * doc/images/sort-dialog.png:
8806 * doc/images/time-editor.png:
8807 * doc/images/time-picker.png:
8808 * doc/images/vvolumebar.png:
8809 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8810 Adding the bread-crumb-trial and helpers to the documentation.
8812 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * examples/hildon-find-toolbar-example.c:
8815 * src/hildon-find-toolbar.c:
8816 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8817 actually continue firing the other handlers if connected. Adding a new
8819 hildon_find_toolbar_get_last_index that gets the index of the most
8820 recently added (last) item. Fixes: NB#52301.
8822 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8825 behaviour. Fixes: NB#68610.
8827 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8832 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8835 when realizing the banner. Should make the infonbanner effect a bit more
8838 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-volumebar.c:
8841 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8842 hildon_volumebar_set_range_insensitive_message and
8843 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8845 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-window.c: Fixing the border freeing on destroy.
8849 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-code-dialog-private.h:
8852 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8853 kw keyboard support in HildonCodeDialog.
8855 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8861 * debian/changelog: Updating.
8863 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * src/hildon-date-editor.c:
8866 * src/hildon-number-editor.c:
8867 * src/hildon-private.c:
8868 * src/hildon-private.h:
8869 * src/hildon-time-editor.c:
8870 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8871 handling in subclassed composite widgets. Fixes: NB#66628.
8873 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8876 from destroy_ callback as it introduces problems in async dbus signal
8877 handlers. Fixes NB#66673.
8879 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8881 * examples/hildon-hvolumebar-example.c:
8882 * src/hildon-volumebar.c: Improving the focus handling in the
8883 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8884 set_property accessor so that "mute" property can be actually set. I'm
8885 scared that nobody noticed it's totally broken.
8887 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8889 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8892 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * src/hildon-calendar.c:
8895 * src/hildon-number-editor.c:
8896 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8897 matches the spec of 6 chars per second. Fixes: NB#60489.
8899 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8902 gtk_style_lookup_color sometime returns FALSE even though color was
8903 found and values were filled properly. Weird. Removing the warning for the
8906 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8908 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8909 expand vertically. Adding some extra space to the find toolbar buttons to
8910 make them thumbable. Fixes NB#66060.
8912 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8915 popup with "Ok" and "Cancel". Fixes NB#59299.
8917 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * src/hildon-calendar.c: Process all window updates before executing next
8920 timeout. Fixes: NB#54146.
8922 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * debian/changelog: Updating.
8930 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8932 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8933 the client event and ignore it, since we use the delete event to close
8936 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8938 * src/hildon-helper.c: Remove the bogus warning about color not being
8939 found. Fixes NB#58352.
8941 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * examples/Makefile.am:
8944 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8945 HildonSeekbar widget inside a toolbar.
8947 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8949 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8950 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8951 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8952 don't want to be closed by non-temporary windows on map.
8954 Also use G_DEFINE_TYPE instead of manually typed code.
8956 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8963 * debian/rules: Updating.
8965 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * examples/Makefile.am:
8968 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8969 bug NB#61128. Strangely it works.
8971 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 * src/hildon-date-editor.c: When the date editor entry has been changed
8974 but the numbers of characters < max, turn off the skip validation flag.
8975 Prevents a situation when we enter first a valid year and later re-write
8976 it with an invalid one. Fixes NB#60154.
8978 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8981 code dialog. Fixes NB#64355.
8983 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8986 switching the page. Fixes NB#49374.
8988 * examples/Makefile.am:
8989 * examples/hildon-wizard-dialog-example.c: Adding an example for
8990 HildonWizardDialog that shows how to handle manual sensitivity setting on
8993 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8997 * src/hildon-version.h.in:
8998 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9000 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-volumebar.c: Updating the docs.
9004 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9010 * debian/changelog: Updating.
9012 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-find-toolbar.c:
9015 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9016 selected item: hildon_find_toolbar_set_active,
9017 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9018 hildon_find_toolbar_get_active_iter . They correspond to respective
9019 GtkComboBox functions.
9021 * examples/Makefile.am:
9022 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9025 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * examples/Makefile.am:
9028 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9031 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9032 when font size > 32 and we pack a focusable widget inside. Actually using
9033 the default response would work too, but since we don't show default
9034 response state in any way (no theming) it would not be visible to the
9035 user. Fixes NB#63430.
9037 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-date-editor.c: Adding the missing variable setter in the
9040 set_property handler. Fixes NB#54182.
9042 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-window.h: Changing the long key press time from 1500ms to
9045 800ms as requested in NB#63700. I have a bad feeling about this, let's
9046 see... Fixes NB#63700.
9048 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9050 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9051 hildon_time_picker_map, hildon_time_picker_realize,
9052 hildon_time_picker_style_set): Split the contents of map to more
9053 appropriate functions; set window decorations on realize and update
9054 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9056 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9061 * debian/changelog: Updating.
9063 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9065 * src/Makefile.am: fixed installation of the header files
9067 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * debian/changelog: Updating.
9075 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * configure.ac: Removing some remaining of --enable-xan.
9079 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9081 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9082 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9084 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9085 2.10.12-osso6 because the move-focus signal needs to be available in
9088 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * examples/Makefile.am:
9091 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9092 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9093 fine. Prolly NB#61128 is fixed now.
9095 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * src/hildon-volumebar.c:
9098 * src/hildon-volumebar.h: Adding the
9099 hildon_volumebar_set_range_insensitive_message and
9100 hildon_volumebar_set_range_insensitive_messagef functions to set
9101 insensitive message on the slider of the volumebar. Fixes NB#61129.
9103 * examples/Makefile.am:
9104 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9105 test the new insensitive messsage functionality on HildonVolumebar.
9107 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9109 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9112 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9114 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9115 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9116 button on after clearing the trail.
9118 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9122 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9124 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9125 by splitting the installed headers in generated and non-generated groups. Use
9126 only the non-generated headers to create the hildon-enum-types.h file.
9128 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9130 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * src/hildon-window.c: Hide the window before performing the destroy.
9133 Should make the app closing a little tiny bit more snappy.
9135 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9137 * src/hildon-seekbar.c: add gtkrange.h header
9138 * src/hildon-caption.c: remove unused variable
9140 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9142 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9145 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * debian/changelog: Updating.
9153 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9155 * src/hildon-window.c (hildon_window_window_state_event,
9156 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9157 escape timeout on focus-out-event rather than notify::is-topmost; the
9158 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9160 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9163 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9165 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9167 * src/hildon-window: actually, you need to use the macro always, there's
9168 no private pointer in the instance structure. We should have cleaned this up
9169 when we had the chance...
9171 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9173 * src/hildon-window.c: do not get the private date from HildonWindow before
9174 it passes the g_return_if_fail check. Once it's passed the test, there's no
9175 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9176 if you are only going to access the data once. Whitespace cleanups.
9178 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9180 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9181 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9183 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * debian/changelog: Updating.
9191 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * src/hildon-window.c: When destroying the window, remove (if exists) the
9194 escape timeout handler. Fixes #NB59276.
9196 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * src/hildon-banner.c: When realizing the widget, set the window
9199 transiency. Setting the transiency in the gobject constructor is not
9200 good, as the widget is not realized at that point. Fixes: #NB56624.
9202 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9204 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9205 Add padding for future expansions.
9207 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9210 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9211 will fake an activation on the previous to the last item of the trail, so
9212 the effect can be overrided by the developer as usual.
9213 Also change the callback for the back button to do the same thing, so its
9214 effect can be overrided too. Fixes: NB#58982
9216 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9218 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9219 HildonCaption. Fixes NB#52379.
9221 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9223 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9224 the internal state of the trail after the user has had the chance of executing
9225 his handler for the signal. Specifically, it may happen that the activated button
9226 is removed and the user still lets the default handler run. This would segfault
9229 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9232 scrollbar to the preview dialog. Fixes NB#54147.
9234 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9237 max/min year properties can be altered, so the client can modify it
9238 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9240 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9243 hildonlike by default. Fixing a problem with disappearing arrows when
9244 scrolling through months and years. Fixes NB#54127.
9246 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * examples/hildon-date-editor-example.c: Adding error callback to the date
9251 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * configure.ac: Updating.
9259 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * configure.ac: Adding a special '--enable-xan' configure option that
9262 turns off the -Werror compilation setting. Usefull for development.
9264 * src/hildon-calendar.c:
9265 * src/hildon-number-editor.c:
9266 * src/hildon-time-picker.c: Adding the 5* multiplier to
9269 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9272 instead of g_object_ref + gtk_object_sink.
9274 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * debian/changelog: Updating.
9282 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-color-chooser-dialog.c:
9285 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9286 straight from Tommi labs.
9288 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * examples/hildon-finger-example.c: Correcting the header file path.
9292 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9293 the changed signal. Fixes a small memory leak.
9295 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9299 * src/hildon-banner.c: Importing several usefull fixes from the
9300 ubuntu-mobile branch.
9302 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * examples/Makefile.am:
9305 * examples/hildon-finger-example.c: Adding a finger-checking code
9308 * src/hildon-font-selection-dialog.c: Do not allocate the color
9309 structure using the g_new. Fixes NB#54061.
9311 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9313 * src/hildon-helper.c: Correcting tabs in file.
9315 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9318 control the visibility of the children.
9320 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9322 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * debian/changelog: Updating.
9330 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9332 * src/hildon-bread-crumb-trail.c:
9333 (hildon_bread_crumb_trail_size_allocate):
9335 Make the back button always a square.
9337 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9339 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9340 from the .c file as it's a private file.
9342 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9344 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9345 uses slightly bigger height.
9347 * src/hildon-font-selection-dialog.c: Adding some checks before
9348 freeing memory in the font selection dialog.
9350 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * src/hildon-font-selection-dialog.c: Adding a small check when
9355 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9356 buttons sensitivity on page switching.
9358 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9360 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9361 internal details of adding a bread crumb to the trail.
9363 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9369 * debian/changelog: Updating.
9371 * src/hildon-bread-crumb-trail.h:
9372 * src/hildon-bread-crumb.h: Changing the API guard to
9373 HILDON_ENABLE_UNSTABLE_API.
9375 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * src/hildon-helper.h: Updating.
9385 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9393 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * src/hildon-helper.h: Small fix to make the package actually compile.
9399 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9401 * src/hildon-bread-crumb-trail.h:
9402 * src/hildon-bread-crumb.h:
9404 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9405 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9407 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9409 * examples/hildon-bread-crumb-trail-example.c:
9411 * src/hildon-bread-crumb-trail.c:
9412 * src/hildon-bread-crumb-trail.h:
9413 * src/hildon-bread-crumb.c:
9414 * src/hildon-bread-crumb.h:
9415 * src/hildon-marshalers.list:
9416 * src/hildon-bread-crumb-widget.c:
9417 * src/hildon-bread-crumb-widget.h:
9419 Slight change in the widget design. The bread crumb trail API is
9420 unchanged, but HildonBreadCrumb is now an interface. A *private*
9421 implementation, hildon-bread-crumb-widget, is provided and used
9422 internally by the trail for the push_text/push_icon functions.
9424 The generic push API is still available, so anyone can implement
9425 and use its own bread crumb widget.
9427 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * debian/rules: Fixing the shlibs.
9431 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9433 * src/hildon-banner.c: Fixing a problem with timed banners having
9434 their parrent destroyed before they are.
9436 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9438 * src/hildon-bread-crumb.c:
9439 * src/hildon-bread-crumb.h:
9441 Make the get_natural_size function a vfunc.
9443 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9445 * src/hildon-bread-crumb.c:
9446 * src/hildon-bread-crumb-trail.c:
9450 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * debian/changelog: Updating for release.
9459 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9461 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9462 don't leak the pango layout.
9464 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9467 * examples/hildon-bread-crumb-trail-example.c:
9471 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9473 * debian/changelog: Removing the bug-fixed entries that were actually
9474 resolved as WONTFIX.
9476 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9479 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9481 * src/hildon-bread-crumb-trail.c:
9482 * src/hildon-bread-crumb-trail.h:
9483 * src/hildon-bread-crumb.c:
9484 * src/hildon-bread-crumb.h:
9488 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9490 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9491 until it's passed the type check.
9493 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9495 * examples/hildon-bread-crumb-trail-example.c
9499 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9501 * examples/Makefile.am
9502 * examples/hildon-bread-crumb-trail-example.c
9504 * src/hildon-bread-crumb-trail.c
9505 * src/hildon-bread-crumb-trail.h
9506 * src/hildon-bread-crumb.c
9507 * src/hildon-bread-crumb.h
9509 New HildonBreadCrumbTrail widget.
9511 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9513 * src/hildon-range-editor.c (hildon_range_editor_init),
9514 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9515 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9516 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9517 hildon_time_editor_class_init, hildon_time_editor_init),
9518 src/hildon-get-password-dialog.c (invalid_input,
9519 hildon_get_password_set_property, hildon_get_password_get_property,
9520 create_contents, hildon_get_password_dialog_set_max_characters),
9521 src/hildon-set-password-dialog.c (create_contents),
9522 src/hildon-date-editor.c (hildon_date_editor_init),
9523 src/hildon-login-dialog.c (hildon_login_dialog_init),
9524 src/hildon-number-editor.c (hildon_number_editor_init),
9525 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9526 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9527 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9528 configure option and adding the respective checks in the code.
9529 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9530 hildon_calendar_drag_data_received): fixed some build warnings.
9532 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * debian/changelog: A 1.0.0 release notes.