1 2009-08-06 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-hvolumebar-timer-example.c
5 * hildon/hildon-banner.c
6 (hildon_banner_timeout, hildon_banner_ensure_timeout)
7 * hildon/hildon-calendar.c
8 (calendar_timer, start_spinning)
9 * hildon/hildon-color-chooser.c
10 (inline_limited_expose)
11 * hildon/hildon-date-editor.c
12 (hildon_date_editor_entry_focus_in)
13 (hildon_date_editor_entry_validate)
14 (hildon_date_editor_entry_select_all)
15 * hildon/hildon-note.c
17 * hildon/hildon-number-editor.c
18 (hildon_number_editor_button_pressed)
19 (hildon_number_editor_start_timer, do_mouse_timeout),
20 (add_select_all_idle, hildon_number_editor_select_all)
21 * hildon/hildon-time-editor.c
22 (hildon_time_editor_entry_focus_in)
23 (highlight_callback, hildon_time_editor_validate)
24 (hildon_time_editor_entry_select_all)
25 * hildon/hildon-time-picker.c
26 (hildon_time_picker_arrow_press)
27 (hildon_time_picker_key_repeat_timeout)
28 * hildon/hildon-window.c
29 (hildon_window_key_press_event)
30 (hildon_window_escape_timeout):
31 Replace all calls to g_idle_add/g_timeout_add with their
32 gdk_threads counterparts.
34 Fixes: NB#126198 (gdk-threads API should be used to install idle
37 2009-08-06 Alejandro G. Castro <alex@igalia.com>
39 * hildon/hildon-pannable-area.c,
40 (hildon_pannable_area_class_init): Increased the overshooting max
41 speed to get a faster effect.
42 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
43 deceleration of the overshooting
44 (hildon_pannable_area_button_release_cb): Calculate initial
45 overshooting speed when finger on the screen using the distance to
46 launch the effect faster.
48 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
49 lists with slow row renderers)
51 2009-08-05 Alberto Garcia <agarcia@igalia.com>
53 * doc/hildon-sections.txt: Add new functions
55 2009-08-05 Alberto Garcia <agarcia@igalia.com>
57 * hildon/hildon-text-view.[ch]
58 * hildon/hildon-entry.[ch]:
59 Add deprecation guards around deprecated functions.
61 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
63 * hildon/hildon-app-menu.c: Remove leftover function declaration.
65 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
67 Remove the grab from HildonAppMenu
69 * hildon/hildon-app-menu.c:
70 Now hildon-desktop places a blocker window behind the menu to handle
71 its closing, so the grab is no longer needed. This simplifies its
72 implementation and allows the system blanking to succeed.
74 Fixes: NB#130910 (Screen gets unlocked when menu is open)
76 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
80 * configure.ac: bump version
82 * debian/changelog: updates
83 * debian/control: raise debian dependency on GTK+
85 2009-08-04 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-text-view.c
88 * hildon/hildon-entry.c:
89 Remove all placeholder code from HildonEntry and HildonTextView
90 and use the API in GtkEntry and GtkTextView instead.
92 * examples/hildon-entry-example.c
93 * examples/hildon-text-view-example.c
94 * examples/hildon-wizard-dialog-example.c
95 * hildon/hildon-get-password-dialog.c
96 * hildon/hildon-login-dialog.c
97 * hildon/hildon-picker-dialog.c
98 * hildon/hildon-set-password-dialog.c
99 * hildon/hildon-touch-selector-entry.c:
100 Replace all deprecated calls to HildonEntry and HildonTextView
101 with their Gtk counterparts.
103 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
106 2009-08-03 Alejandro G. Castro <alex@igalia.com>
108 * hildon/hildon-pannable-area.c,
109 (hildon_pannable_area_check_move),
110 (hildon_pannable_area_button_release_cb),
111 (hildon_pannable_area_scroll_to): Reverted the priority change of
112 the timeout, in some situations, slow renderers, the click do not
113 make it to the mainloop on time.
115 Fixes NB#131013 (unable to stop panning file manager by tapping on
118 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
120 * configure.ac: bump version
122 * debian/changelog: updates
124 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
126 * hildon/hildon-touch-selector.[ch]
127 (hildon_touch_selector_center_on_index): New method that allows to center
128 on a item not selected
130 Fixes NB#130291 (New HildonTouchSelector API is required to center on
133 2009-07-29 Alberto Garcia <agarcia@igalia.com>
135 * hildon/hildon-text-view.c
136 (+set_logical_color, +hildon_text_view_style_set)
137 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
138 (hildon_text_view_init)
139 * hildon/hildon-entry.c
140 (+set_logical_color, +hildon_entry_style_set)
141 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
142 (hildon_entry_class_init, hildon_entry_init)
143 * hildon/hildon-button.c
144 (+set_logical_font, +set_logical_color)
145 (hildon_button_style_set, hildon_button_init)
146 (hildon_button_set_arrangement, hildon_button_set_style):
147 Remove all calls to hildon_helper_set_logical_font() and
148 hildon_helper_set_logical_color(), which are recursive, from
151 Fixes: NB#123409 (Showing dialog consumes significant amount of
154 2009-07-29 Alejandro G. Castro <alex@igalia.com>
156 * hildon/hildon-pannable-area.c,
157 (hildon_pannable_area_timeout): Added the process updates of the
158 scrollbars window in the pannable.
160 Fixes: NB#130043 (scrollindicator not smooth while panning)
162 2009-07-23 Alejandro G. Castro <alex@igalia.com>
164 * hildon/hildon-pannable-area.c,
165 (hildon_pannable_area_check_move),
166 (hildon_pannable_area_button_release_cb),
167 (hildon_pannable_area_scroll_to): Increased the priority of the
168 timeout this way it is going to be handled before the events.
170 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
174 * configure.ac: bump version
175 * debian/changelog: updates
177 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
179 * hildon/hildon-entry.c: (set_property): Do not allow to set
180 automatic height and use finger height instead, to prevent an to
181 have a smaller size than than its theme pixbuf.
183 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
185 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
187 * configure.ac: postrelease version bump.
188 * debian/changelog: post release version bump
190 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: Bump version.
196 * debian/changelog: Updates.
198 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
200 * hildon/hildon-note.c: (label_size_request): Take the note
201 padding into account when setting the size request.
203 Fixes: NB#127896 (Information notes text truncated)
205 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: postrelease version bump.
208 * debian/changelog: post release version bump
210 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
215 * configure.ac: Bump version.
216 * debian/changelog: Updates.
218 2009-07-16 Alejandro G. Castro <alex@igalia.com>
221 * hildon/hildon-text-view.c,
222 (hildon_text_view_button_press_event): Grabbed the focus in button
223 press, this way we are sure the widget has the focus in the
224 release event, required for HIM.
226 Fixes: NB#121445 (Virtual keyboard opening is not working in same
227 way for each text entry field)
229 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
231 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
232 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
233 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
234 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
235 (hildon_pannable_area_[gs]et_center_on_child_focus)
236 Redefined GtkContainer set-focus-child signal, in order to center
237 properly on a child when it receives the focus. Defined a new property
238 "center-on-child-focus" in order to activate this feature (deactivated
239 by default). Public get/set methods defined to manage the property.
241 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
243 2009-07-14 László Pere <lpere@blumsoft.eu>
245 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
246 the new size is applied.
248 Fixes: NB#124510 (The Application Menu is distorted when switched
249 between portrait and landscape mode)
250 Fixes: NB#115388 (Power key menu does not resize itself)
252 2009-07-01 Alberto Garcia <agarcia@igalia.com>
254 * hildon/hildon-banner.c (hildon_banner_map):
255 Set banner position after mapping.
257 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
259 * configure.ac: postrelease version bump.
260 * debian/changelog: post release version bump
262 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
267 * configure.ac: Bump version.
268 * debian/changelog: Updates.
270 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
272 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
275 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
277 * tests/check-hildon-banner.c
279 * tests/test_suites.h
280 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
281 were testing deprecated functions.
282 * examples/hildon-banner-example.c: typo on button3 type, that causes
283 a fail compiling with --with-examples but without --disable-deprecated
285 Missed commit in order to fix compilation using '--enable-fatal' and
286 '--disable-deprecated' (see previous commit)
288 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
290 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
291 functions with #ifndef HILDON_DISABLE_DEPRECATED
292 * examples/hildon-find-toolbar.c: Protect deprecated
293 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
294 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
295 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
296 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
298 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
299 to allow proper compilation of deprecated functions defined on the header
301 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
303 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
305 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
306 Cache the panning indicator color.,
307 (hildon_pannable_area_style_set): Query the color on style changes.
308 (hildon_pannable_draw_vscroll),
309 (hildon_pannable_draw_hscroll),
310 (hildon_pannable_area_expose_event): Use the cached panning indicator
311 color instead of looking it up on every expose and more.
313 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
315 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
316 (hildon_pannable_draw_hscroll),
317 (hildon_pannable_area_expose_event): Fix the panning indicator color,
318 so that it's "SecondaryTextColor", as desired.
320 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
322 * hildon/hildon-picker-dialog.c:
323 (selection_completed): take into account HILDON_UI_MODE_NORMAL
324 * hildon/hildon-touch-selector.c
325 (hildon_touch_selector_init): Initialize hildon-ui-mode
326 (hildon_touch_selector_row_activated): new callback for the
327 "row-activated" signal, in order to save the last activated
328 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
329 if the current hildon-ui-mode is coherent with the touch selector
330 (hildon_touch_selector_class_init)
331 (hildon_touch_selector_get_property)
332 (hildon_touch_selector_set_property)
333 Added "hildon-ui-mode" property
334 (disconnect_model_handlers): renamed to clean_column
335 (hildon_touch_selector_remove): use clean_column function
336 (_create_new_column): use the hildon-ui-mode to create the treeview, and
337 only select the first element on HILDON_UI_MODE_EDIT
338 (hildon_touch_selector_column_init): Initialize last_activate
339 (hildon_touch_selector_append_column): check that the touch selector
340 is coherent with the current hildon-ui-mode
341 (hildon_touch_selector_get_hildon_ui_mode)
342 (hildon_touch_selector_set_hildon_ui_mode)
343 Added a getter/setter for the hildon-ui-mode property
344 (hildon_touch_selector_get_last_activated_row): Added this method in
345 order to get the last activated row.
346 * examples/hildon-touch-selector-normal-mode-example.c
347 New example, that shows how to use the HildonTouchSelector in
348 HILDON_UI_MODE_NORMAL
350 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
351 Kristian Rietveld <kris@lanedo.com> advices
353 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
355 * hildon/hildon-time-selector.c: (update_format_policy): Do
356 not call update_format_dependant_columns() if not necessary.
357 (update_format_dependant_columns): Remove unnecessary check for
358 the number of columns.
360 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
362 * hildon/hildon-note.c (+hildon_note_constructor),
363 (hildon_note_class_init), (+hildon_note_set_padding),
364 (hildon_note_rebuild): Install a constructor where to set the
365 padding properties in the note, so that it actually works fine.
366 Use hildon_note_set_padding() for this, and also to set it during
369 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
371 * configure.ac: Bump GTK+ requirement to 2.14.3.
372 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
373 when using maemo-gtk to define proper margins for the notes.
375 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
376 with the dialog edge)
378 2009-06-24 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-banner.c
381 (hildon_banner_class_init):
383 (+hildon_banner_size_request):
384 Request always the full width of the screen.
385 (hildon_banner_realize)
386 (-hildon_banner_check_position, hildon_banner_map):
387 hildon_banner_check_position() is not needed in Hildon 2.2.
388 (-hildon_banner_reset_wrap_state)
389 (hildon_banner_constructor, hildon_banner_init):
390 Remove unnecessary calls to hildon_banner_reset_wrap_state()
391 (+banner_do_set_text)
392 (force_to_wrap_truncated):
393 Remove has_been_wrapped and has_been_truncated attributes.
394 (+reshow_banner, hildon_banner_real_show_information)
395 (hildon_banner_show_information_with_markup)
396 (hildon_banner_show_animation, hildon_banner_show_progress)
397 (hildon_banner_set_text, hildon_banner_set_markup):
398 Refactor code. Shrink banner vertically to use the minimum space
399 necessary everytime the text of the label is updated.
400 (screen_size_changed):
401 Call force_to_wrap_truncated() when the size of the screen
404 Fixes: NB#120500 (only device memory connect mmc in use info
405 banner is left aligned)
407 Fixes: NB#120613 (Size of HildonBanner varies depending on
408 previously opened banners)
410 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
412 * hildon/hildon-color-chooser.c
413 (hildon_color_chooser_pointer_motion): Take the widget allocation
416 Fixes: NB#124385 (Unable to select exact point in color mixing box
417 in color palette dialog)
419 2009-06-23 Alejandro G. Castro <alex@igalia.com>
421 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
422 (hildon_pannable_area_dispose)
423 (hildon_pannable_area_button_press_cb)
424 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
425 (hildon_pannable_area_button_release_cb)
426 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
427 New 'panning-started' and 'panning-finished' signals.
429 Fixes: NB#121732 (New feature request: Signal to pannable area
430 that informs when panning is stopped.)
432 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
434 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
435 instead of hardcoded colon.
437 Fixes: NB#124090 (New calendar wizard title is not using
438 ecdg_ti_caption_separator)
440 2009-06-22 David King <davidk@openismus.com>
442 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
443 constants and functions, as well as correct many typos throughout the
446 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
449 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
451 * configure.ac: postrelease version bump.
452 * debian/changelog: post release version bump
454 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: Bump version.
460 * debian/changelog: Updates.
462 2009-06-18 Alberto Garcia <agarcia@igalia.com>
464 * hildon/hildon-window-stack.c
465 (hildon_window_stack_pop_and_push_list):
466 Prevent windows from having the same stack index
468 2009-06-18 Alberto Garcia <agarcia@igalia.com>
470 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
471 Use the index of the previous window rather than the stack length
472 to calculate the new index.
476 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
478 * hildon/hildon-date-selector.c
479 (hildon_date_selector_select_current_date)
480 (hildon_date_selector_get_date)
481 (hildon_date_selector_select_day):
482 Update the documentation: uses always the range (1-31), as it is obvious
483 that the final one will depend on the month and the year, but globally
484 the range is this, in a similar GtkCalendar approach
485 (hildon_date_selector_get_date):
486 Update the documentation: add NULL as a valid value for the day, month
489 Fix some details, after talk with David King on bug MB#4698
491 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
493 * hildon/hildon-touch-selector-entry.c
494 * hildon/hildon-touch-selector.c
495 Update the documentation of the "text-column" property
497 2009-06-18 David King <davidk@openismus.com>
499 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
500 several typos and errors throughout the documentation.
502 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
505 2009-06-18 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-note.c (hildon_note_realize):
508 Make HildonNote support portrait mode.
510 Fixes: NB#123448 (HildonNote is not portrait-friendly)
512 2009-06-17 Alberto Garcia <agarcia@igalia.com>
514 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
515 Document this function
517 2009-06-17 David King <davidk@openismus.com>
519 * hildon/hildon-date-selector.c
520 (hildon_date_selector_select_current_date)
521 (hildon_date_selector_get_date): Update documentation regarding days,
522 as the day of the month is dependent on both the month and the year.
523 (hildon_date_selector_get_date): Fix documentation of output arguments.
525 Fixes: MB#4698 (DateSelector documentation has bad output argument
526 description, and the day depends on both the month and the year)
528 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
530 * hildon/hildon-caption.c: Other documentation fixes to
533 2009-06-17 David King <davidk@openismus.com>
535 * hildon/hildon-caption.c: Minor documentation updates for
536 HildonCaption. Fixes MB#4697.
538 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
540 * doc/hildon-docs.sgml: Add hildon-version section.
541 * doc/hildon-sections.txt:
542 * hildon/hildon-version.h.in: Document versioning macros and
545 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
547 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
548 from HildonPickerDialog section.
550 2009-06-16 Alberto Garcia <agarcia@igalia.com>
552 * hildon/hildon-banner.c (hildon_banner_bind_style)
553 (screen_size_changed, hildon_banner_init)
554 (hildon_banner_real_show_information)
555 (hildon_banner_show_information_with_markup)
556 (hildon_banner_show_animation, hildon_banner_show_progress):
557 Set a different widget name to banners in portrait mode, for them
558 to be themed correctly.
560 2009-06-16 Alberto Garcia <agarcia@igalia.com>
562 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
563 Set a different widget name to notes in portrait mode, for them to
566 Partially fixes: NB#118401 (HildonNote causes unnecessary
569 2009-06-16 Alberto Garcia <agarcia@igalia.com>
571 * hildon/hildon-note.c (hildon_note_class_init)
572 (+hildon_note_size_request, screen_size_changed):
573 Always request the full width of the screen.
575 Fixes: NB#118375 (unnecessary rescaling of images)
577 2009-06-16 Alejandro G. Castro <alex@igalia.com>
579 * hildon/hildon-pannable-area.c,
580 (hildon_pannable_area_init),
581 (hildon_pannable_area_realize): Replaced old code adding flags in
582 the object init, now we add it with the other flags in the realize
585 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
587 * hildon/hildon-note.c: (hildon_note_class_init): Several
588 documentation improvements to the HildonNote widget.
590 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
592 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
594 Fixes: MB#4556 (HildonNoteType is undocumented)
596 2009-06-15 Alberto Garcia <agarcia@igalia.com>
598 * hildon/hildon-picker-button.c:
599 Explain how HildonPickerButton sets the title of its dialog
601 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
602 the title of its dialog)
604 2009-06-15 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-check-button.c:
607 Documentation updates
609 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
612 2009-06-15 Alberto Garcia <agarcia@igalia.com>
615 * hildon/hildon-edit-toolbar-private.h
616 * hildon/hildon-edit-toolbar.c
617 (+hildon_edit_toolbar_set_progress_indicator)
618 (hildon_edit_toolbar_init): Add progress indicator to the
621 * hildon/hildon-gtk.c
622 (hildon_gtk_window_set_progress_indicator):
623 If the window contains a HildonEditToolbar, enable the progress
626 * hildon/hildon-private.h
627 * hildon/hildon-private.c
628 (+hildon_private_create_animation)
629 * hildon/hildon-banner.c
630 (-hildon_banner_create_animation):
631 Moved to hildon-private.c
633 Fixes: NB#102373 (Progress indicator also for the Edit mode
636 2009-06-15 Alberto Garcia <agarcia@igalia.com>
638 * hildon/hildon-app-menu-private.h
639 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
640 (hildon_app_menu_add_filter, +menu_item_button_event)
641 (hildon_app_menu_button_release, hildon_app_menu_init):
642 Make sure that buttons receive 'button-release-event' in spite of
643 the grab held by HildonAppMenu
645 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
647 2009-06-15 Alberto Garcia <agarcia@igalia.com>
649 * hildon/hildon-app-menu.c
650 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
651 New style property to set the size of the group of filter buttons.
653 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
655 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
660 * configure.ac: Bump version.
661 * debian/changelog: Updates.
663 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
665 * hildon/hildon-main.c: Minor documentation fixes.
667 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
669 * doc/hildon-sections.txt:
670 * hildon/hildon-defines.h: Document the defines, organize them,
671 and mark deprecations as such.
673 Fixes: MB#4463 (Hildon size #defines are undocumented)
675 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
677 * hildon/hildon-animation-actor.c:
678 * hildon/hildon-app-menu.c:
679 * hildon/hildon-button.c:
680 * hildon/hildon-date-editor.c:
681 * hildon/hildon-dialog.c:
682 * hildon/hildon-edit-toolbar.c:
683 * hildon/hildon-entry.c:
684 * hildon/hildon-program.c:
685 * hildon/hildon-remote-texture.c:
686 * hildon/hildon-stackable-window.c:
687 * hildon/hildon-text-view.c:
688 * hildon/hildon-touch-selector.c:
689 * hildon/hildon-window-stack.c:
690 * hildon/hildon-window.c:
692 Remove redundant "represents" wording from most of the documentation.
694 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
696 2009-06-12 Alberto Garcia <agarcia@igalia.com>
701 * hildon/hildon-banner-private.h
702 * hildon/hildon-banner.c:
703 Move HildonBannerPrivate to hildon-banner.c and remove
704 hildon-banner-private.h
705 Use a bit field to store private booleans.
707 2009-06-12 Alberto Garcia <agarcia@igalia.com>
709 * hildon/hildon-app-menu.c (hildon_app_menu_map):
710 Don't install a new idle function if there's already one
715 2009-06-11 Alberto Garcia <agarcia@igalia.com>
717 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
718 (+legacy_menu_realized, +legacy_menu_unmapped)
719 (+set_legacy_menu_type):
720 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
721 they can be identified by the window manager.
723 Fixes: NB#101437 (Invoking CSM on the left side of page area is
724 displayed in wrong location)
726 Fixes: MB#4563 (Popup menu won't locate at the left side of the
729 2009-06-11 Alberto Garcia <agarcia@igalia.com>
731 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
733 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
736 2009-06-11 Alberto Garcia <agarcia@igalia.com>
738 * hildon/hildon-code-dialog.c
739 * hildon/hildon-date-editor.c
740 * hildon/hildon-number-editor.c
741 * hildon/hildon-seekbar.c
742 * hildon/hildon-stackable-window.c
743 * hildon/hildon-window.c:
744 Misc documentation updates
746 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
748 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
749 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
751 Fixes: NB#117931 (Theming issues in accounts dialogs)
753 2009-06-09 Alejandro G. Castro <alex@igalia.com>
755 * hildon/hildon-pannable-area.c,
756 (hildon_pannable_area_button_release_cb): Changed the coordinates
757 of the original release in case we want to discard the release,
758 some widgets in Fremantle do not handle the leave-notify.
760 2009-06-09 Alejandro G. Castro <alex@igalia.com>
762 * hildon/hildon-pannable-area.c,
763 (hildon_pannable_area_button_release_cb): Reviewed the logic of
764 the release using the last refactored functions and avoiding the
765 movement if an element was selected.
767 2009-06-09 Alejandro G. Castro <alex@igalia.com>
769 * hildon/hildon-pannable-area.c,
770 (hildon_pannable_area_check_move),
771 (hildon_pannable_area_handle_move),
772 (hildon_pannable_area_motion_notify_cb): Refactored the
773 motion_notify method using a couple of new functions.
775 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
777 * hildon/hildon-date-selector.c:
778 (hildon_date_selector_construct_ui):
779 * hildon/hildon-time-selector.c:
780 (hildon_time_selector_constructor):
781 * hildon/hildon-touch-selector-entry.c:
782 (hildon_touch_selector_entry_set_text_column),
783 (hildon_touch_selector_entry_get_text_column):
784 * hildon/hildon-touch-selector.c: (_default_print_func),
785 (hildon_touch_selector_new_text): Use
786 hildon_touch_selector_set/get_text_column() instead of
787 setting/getting the "text-column" property.
789 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
791 * doc/hildon-sections.txt: Add the new public methods below.
793 * examples/hildon-picker-button-multicolumn-example.c:
794 (create_touch_selector):
795 * examples/hildon-touch-selector-example.c: (create_selector):
796 * examples/hildon-touch-selector-multi-cells-example.c:
798 Use hildon_touch_selector_column_set_text_column()
800 * hildon/hildon-touch-selector-column.h:
801 * hildon/hildon-touch-selector.c:
802 (hildon_touch_selector_column_set_text_column),
803 (hildon_touch_selector_column_get_text_column):
804 Make hildon_touch_selector_column_set/get_column() public, use
805 them in the inline example, document them, and reference to them
808 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
810 * hildon/hildon-time-selector.c: Fix the docs for
811 hildon_time_selector_new_step().
813 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
815 * hildon/hildon-touch-selector.c: Improve the documentation for
816 hildon_touch_selector_append_column().
818 Fixes MB#4641 (Documentation:
819 hildon_touch_selector_append_column() ref-counting)
821 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
823 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
824 Comment out test 5, since the hildon_controlbar_set_range() range
825 check is broken and fixing it would have side effects. Also,
826 this finally fixes make distcheck.
828 Fixes: NB#101420 (Update unit tests and fix make distcheck)
830 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
832 * tests/TEST-CASES.txt: Remove other bogus test.
833 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
834 Remove bogus test that was setting/retrieving a valid value.
836 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
838 * tests/TEST-CASES.txt: Remove bogus tests.
839 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
840 Remove three bogus tests that were actually setting valid colors.
842 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
844 * configure.ac: post release version bump
845 * debian/changelog: post release version bump
847 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: Bump version.
853 * debian/changelog: Updates.
855 2009-06-08 Christian Dywan <christian@lanedo.com>
859 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
860 Correct errors in hildon_format_file-size_for_display and use
861 translations from the hildon-fm package instead of osso-filemanager.
863 2009-06-08 Alejandro G. Castro <alex@igalia.com>
865 * hildon/hildon-pannable-area.c,
866 (hildon_pannable_area_init): Initialized new values to handle the
868 (hildon_pannable_area_adjust_value_changed): Check if the values
869 changed before even call the redraw function.
870 (hildon_pannable_area_size_allocate),
871 (hildon_pannable_axis_scroll),
872 (hildon_pannable_area_scroll),
873 (hildon_pannable_area_jump_to): Improved the diagonal movement
876 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
879 2009-06-08 Alberto Garcia <agarcia@igalia.com>
881 * examples/hildon-banner-example.c:
882 Several style updates
883 (on_animation_clicked, on_animation_idle)
884 (on_progress_clicked, on_progress_idle):
885 Add additional reference for the cases when the parent window is
888 2009-06-08 Alberto Garcia <agarcia@igalia.com>
890 * doc/hildon-sections.txt
891 * hildon/hildon-pannable-area.c
892 * hildon/hildon-banner.h
893 * hildon/hildon-banner.c: Documentation updates.
895 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
898 2009-06-05 Alejandro G. Castro <alex@igalia.com>
900 * hildon/hildon-calendar-popup.h:
901 * hildon/hildon-caption.h:
902 * hildon/hildon-code-dialog.h:
903 * hildon/hildon-controlbar.h:
904 * hildon/hildon-date-editor.h:
905 * hildon/hildon-dialog.h:
906 * hildon/hildon-get-password-dialog.h:
907 * hildon/hildon-hvolumebar.h:
908 * hildon/hildon-login-dialog.h:
909 * hildon/hildon-note.h:
910 * hildon/hildon-number-editor.h:
911 * hildon/hildon-range-editor.h:
912 * hildon/hildon-seekbar.h:
913 * hildon/hildon-set-password-dialog.h:
914 * hildon/hildon-sort-dialog.h:
915 * hildon/hildon-time-editor.h:
916 * hildon/hildon-time-picker.h:
917 * hildon/hildon-volumebar-range.h:
918 * hildon/hildon-volumebar.h:
919 * hildon/hildon-vvolumebar.h:
920 * hildon/hildon-weekday-picker.h:
921 * hildon/hildon-window.h:
922 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
923 macros with the current replacements
925 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
927 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
929 * hildon/hildon-color-button.c (hildon_color_button_init): Use
930 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
931 itself, to make it fit better with Fremantle style.
933 Fixes: NB#109878 (height and width of focus on color icon is not
934 consistent with other item in the application tool bar)
936 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
938 * hildon/hildon-touch-selector.c:
939 (hildon_touch_selector_optimal_size_request): use the current requisition
940 as the base, in order to include any possible extra widget, like the
941 hildon entry on HildonTouchSelectorEntry
943 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
945 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
947 * configure.ac: post release version bump
948 * debian/changelog: post release version bump
950 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
955 * configure.ac: Bump version.
956 * debian/changelog: Updates.
958 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
960 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
962 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
963 to ensure the banner contents are centered, instead of relying on
964 the expand and fill properties in GtkHBox.
965 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
967 Fixes: NB#108265 (Animation banner not properly centered)
969 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
971 * hildon/hildon-pannable-area.c
972 (hildon_pannable_area_initial_effect): Remove the initial_effect
973 management, check initial_hint
974 (hildon_pannable_are_expose_event): Remove the initial_hint management,
975 set initial_effect to FALSE
976 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
977 by launching the fade_timeout if the scrollbars state has changed and are
979 * examples/hildon-pannable-area-initial-hint-example.c
980 Modified to allow to remove rows too. Add and remove rows one by one.
982 2009-05-28 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
985 Don't close the menu if there's an animation actor below it.
987 Fixes: NB#117927 (Application menu not usable with animation
990 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
992 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
993 "focus-on-click" from the dialog button, to avoid stealing the
994 focus from the entry.
996 Fixes: NB#118903 (Account setup wizard: Text in Search field
997 should be focused when "Region" touch list picker is reopened
1000 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1002 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1003 (prepare_action_area): Completely hide the dialog separator.
1005 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1007 * hildon/hildon-touch-selector-entry.c
1008 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1009 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1010 now that the entry is exposed.
1012 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1014 * hildon/hildon-touch-selector-entry.c
1015 (hildon_touch_selector_entry_init): Change the entry's size
1016 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1018 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1020 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1021 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1022 avoid unnecessary scaling.
1024 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1026 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1027 Create grab transfer window before calling parent's map function.
1029 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1030 "crushed" button(s) in the top left corner)
1032 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1034 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1035 Check if the window is already realized when pushing it.
1037 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1039 * configure.ac: post release version bump
1040 * debian/changelog: post release version bump
1042 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1047 * configure.ac: Bump version.
1048 * debian/changelog: Updates.
1050 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1052 * hildon/hildon-app-menu.c: Doc updates.
1054 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1056 * hildon/hildon-banner.c: Remove leftover macro.
1058 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1060 * hildon/hildon-pannable-area.c,
1061 (hildon_pannable_area_scroll_indicator_fade),
1062 (hildon_pannable_area_button_release_cb): Reviewed vmin
1063 conditions, it could cause problems in the fadeout procedure.
1065 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1067 * hildon/hildon-pannable-area.c
1068 (hildon_pannable_area_button_release_cb): Added a threshold to
1069 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1071 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1073 * hildon/hildon-pannable-area.c,
1074 (hildon_pannable_area_set_property): Added code to sync the gtk
1075 dnd threshold with the panning threshold.
1077 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1079 * hildon/hildon-pannable-area.c,
1080 (hildon_pannable_area_class_init): Changed some of the default
1081 values, now it should be less responsive and more accurate.
1083 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1085 * hildon/hildon-pannable-area.c,
1086 (hildon_pannable_area_init),
1087 (hildon_pannable_area_scroll_indicator_fade),
1088 (hildon_pannable_area_button_press_cb),
1089 (hildon_pannable_axis_scroll),
1090 (hildon_pannable_area_timeout),
1091 (hildon_pannable_area_motion_notify_cb),
1092 (hildon_pannable_area_button_release_cb): Changed the name of the
1093 clicked attribute to button_pressed, it is more clear about its use.
1095 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1097 * src/hildon-pannable-area.c
1098 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1100 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1101 vertical scrollbar visibility, and use the data on private section instead,
1102 remove the initial_hint check
1103 (hildon_pannable_area_expose_event): add the initial_hint check here
1105 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1107 * src/hildon-pannable-area.c
1108 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1109 if the fadeout effect was used
1110 (hildon_pannable_area_expose_event): check if it is required to
1111 manage the initial effect on the begining of the function. Previously
1112 it was made at the end, but this doesn't ensure that the scrollbars
1113 will be painted on the first show. Do not set to FALSE initial_effect,
1114 to ensure that the initial hint is showed the first time the pannable
1116 * examples/Makefile.am
1117 * examples/hildon-pannable-area-initial-hint-example.c:
1118 New example, to show that the initial-hint is showed when the widget
1121 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1122 initially if the application can be scrolled)
1124 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1126 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1127 Resize table before adding new items to make sure that
1128 gtk_table_resize() is called just once.
1130 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1132 * hildon/hildon-app-menu-private.h
1133 * hildon/hildon-app-menu.c (item_visibility_changed)
1134 (filter_visibility_changed, hildon_app_menu_show_all)
1135 (hildon_app_menu_hide_all, hildon_app_menu_init):
1136 Rearrange items just once when gtk_widget_show_all()/hide_all()
1139 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1141 * hildon/hildon-app-menu.c
1142 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1143 Don't call gtk_widget_show() on added items.
1145 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1146 automatically when they're added)
1148 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1150 * hildon/hildon-banner.c
1151 (hildon_banner_realize, +hildon_banner_unrealize)
1152 (+screen_size_changed, hildon_banner_class_init):
1153 Redisplay the banner if the screen is rotated.
1155 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1156 on transition from landscape to portrait)
1158 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1160 * hildon/hildon-banner.[ch]:
1161 (hildon_banner_show_information_override_dnd): remove icon_name from the
1162 method definition as it is ignored.
1163 * examples/hildon-banner-dnd-example.c: updated with the change on
1166 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1168 * hildon/hildon-banner-private.h: new require_override_dnd and
1169 overrides_dnd variables
1170 * hildon/hildon-banner.h:
1171 (hildon_banner_show_information_override_dnd): new method, that shows
1172 the information but sets the override flag, in order to show important
1174 * hildon/hildon-banner.c
1175 (hildon_banner_show_information_override_dnd): new method
1176 (hildon_banner_set_override_flag): new utility function
1177 (hildon_banner_real_show_information): new utility function, in order to
1178 generalize the current hildon_banner_show_information_override_dnd and
1179 hildon_banner_show_information_override_dnd
1180 * examples/Makefile.am
1181 * examples/hildon-banner-dnd-example.c: New example that show how to
1182 use the new hildon_banner_show_information_override_dnd
1184 Fixes: NB#114874 (There is no possibility to show hildon banners with
1187 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1189 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1190 behind hildon_pannable_calculate_vel_factor().
1192 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1194 * hildon/hildon-pannable-area.c
1195 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1196 deceleration factors.
1198 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1201 Reduce the default value for 'scroll_time' to 1 second, since the
1202 current initial scrolling takes too much time.
1204 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1206 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1207 calculate velocity factor during initialization, since the properties
1210 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1212 * hildon/hildon-pannable-area.c
1213 (hildon_pannable_area_set_property): Calculate the velocity factor
1214 after setting the deceleration property and not after.
1216 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1218 * hildon/hildon-entry.c
1219 (hildon_entry_class_init, +set_property, hildon_entry_new)
1220 * hildon/hildon-check-button.c
1221 (hildon_check_button_class_init)
1222 (+set_property, hildon_check_button_new):
1223 Make the theme size a property.
1225 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1226 others) do too much in the _new function)
1228 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1230 * configure.ac: post release version bump
1231 * debian/changelog: post release version bump
1233 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1238 * configure.ac: Bump version.
1239 * debian/changelog: Updates.
1241 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1243 * hildon/hildon-gtk.h
1244 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1245 New API function to take a screenshot of a window
1247 Fixes: NB#106374 (Need API to take a loading screenshot)
1249 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * hildon/hildon-time-selector.c
1252 (update_format_policy): prevent to use hours and minutes unitialized
1254 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1256 * hildon/hildon-window.c (hildon_window_size_request):
1257 Always request the full size of the screen (minus the title bar if
1258 not in fullscreen mode).
1260 Fixes: NB#107486 (HildonWindow should size itself properly)
1262 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1264 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1265 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1266 (on_show_cb), (sound_handling): Disconnect the idle handler for
1267 the sound when the note is finalized to avoid possible crashes.
1269 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1272 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1274 * src/hildon-animation-actor.c,
1275 * src/hildon-remote-texture.c:
1276 Added proper object cleanup to remove signal handler and object
1277 references as HildonAnimationActor and HildonRemoteTexture
1278 objects get destroyed.
1280 Fixes: NB#116682 (Destroying parented animation actors when
1281 parent in unmapped leads to crash)
1283 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1285 Based on a patch by Christian Dywan (christian@imendio.com)
1287 * doc/hildon-sections.txt:
1288 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1289 * hildon/hildon-helper.h: New file size formatting method.
1291 * debian/control: Depend on osso-filemanager l10n package for
1292 proper localization strings.
1294 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1296 * tests/Makefile.am: Include top_srcdir to make possible to build
1297 tests in a different builddir.
1298 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1299 on a different builddir.
1301 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1303 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1304 (hildon_touch_selector_remove): Disconnect model's signal handler
1307 Fixes: NB#116289 (Hildon home crashes while adding task
1310 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1312 * hildon/hildon-button.c
1313 (hildon_button_set_title, hildon_button_set_value):
1314 Hide labels containing an empty string.
1316 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1318 * configure.ac: post release version bump
1319 * debian/changelog: post release version bump
1321 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: Bump version.
1327 * debian/changelog: Updates.
1329 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1331 * hildon/hildon-note-private.h: Removed sound_signal_handler
1332 * hildon/hildon-note.c
1333 (on_show_cb): new callback on note "show" event, this simply adds
1334 a idle, with the function sound_handling
1335 (sound_handling): removed the sound_signal_handler management
1336 (hildon_note_init): connect note "show" event to on_show_cb
1337 (hildon_note_realize): remove the connection to "expose-event"
1339 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1340 device?' confirmation note)
1342 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1344 * hildon/hildon-note.c
1345 (hildon_note_new_information_with_icon_name)
1346 (hildon_note_new_confirmation_with_icon_name):
1347 Terminate the list of parameters in g_object_set() calls
1349 Fixes: NB#115166 (Formatting memory card is not taking place)
1351 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1353 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1354 "dialog-information" role for the sound being played.
1356 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1358 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1359 Don't make the menu a modal window, it causes strange interactions
1360 with the pointer grab and it's not really needed.
1362 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1364 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1366 * hildon/hildon-touch-selector.[ch]
1367 (hildon_touch_selector_optimal_size_request): function added to get a
1368 optimal size request from the touch selector, when you want a dialog to
1369 show as much of the selector
1370 * hildon/hildon-picker-dialog.c:
1371 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1372 (hildon_app_menu_class_init):
1373 New "max-height-landscape" and "max-height-portrait" style properties
1374 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1375 (hildon_picker_dialog_get_max_height): returns the maximum height using
1376 the style properties defined and checking the current portrait/landscape
1378 (_hildon_picker_dialog_set_selector): removed the set_size_request
1380 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1382 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1384 * hildon/hildon-bread-crumb-trail.c:
1385 * hildon/hildon-bread-crumb.c:
1386 * hildon/hildon-seekbar.c:
1387 Add reference to replacements for these deprecated widgets.
1389 Fixes: MB#4461 (Documentation: All deprecations should mention
1392 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1394 * examples/hildon-remote-texture-example.c
1396 Change the include to the hildon-remote-texture in order to compile
1397 properly the examples on the installed libhildon1-examples package
1399 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1401 * tests/Makefile.am: Add check for HildonPickerButton.
1402 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1403 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1404 checks for the HildonPickerButton.
1405 * tests/check_test.c (configure_tests): Add the test suite.
1406 * tests/test_suites.h: likewise.
1408 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1410 * hildon/hildon-touch-selector.c
1411 (+on_row_changed): Emit HildonTouchSelector:changed when the
1412 contents of a selected row change.
1413 (_create_new_column), (_hildon_touch_selector_set_model): connect
1414 to GtkTreeModel:row-changed on a newly set model.
1416 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1418 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1420 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1422 * hildon/hildon-banner.c (hildon_banner_destroy)
1423 (hildon_banner_show_progress, hildon_banner_set_fraction):
1424 Remove the progress bar from HildonBanner and use a progress
1427 Fixes: NB#113761 (Update progress banner to use progress
1430 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1432 * hildon/hildon-banner.c:
1433 Calculate size of the banner label using the actual screen width
1434 rather than using a fixed value.
1436 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1439 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1441 * hildon/hildon-pannable-area.c,
1442 (hildon_pannable_area_class_init): Fixed signals documentation
1445 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: post release version bump
1448 * debian/changelog: post release version bump
1450 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: Bump version.
1456 * debian/changelog: Updates.
1458 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1460 * hildon/hildon-edit-toolbar.c
1461 (hildon_edit_toolbar_init):
1462 Don't let buttons in HildonEditToolbar receive focus.
1464 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1465 typing on an HW arrows key)
1467 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1469 * doc/Makefile.am: Fix build.
1471 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1473 * doc/Makefile.am: Do not redefine content_files.
1475 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1483 Renamed src/ to hildon/
1488 Include <hildon/hildon.h> directly in all examples.
1490 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1492 * src/hildon-sort-dialog.c
1493 (hildon_sort_dialog_add_sort_key_with_sorting)
1497 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1499 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1500 make distcheck passes.
1502 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1504 * Makefile.am: Enable gtk-doc during distcheck.
1506 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1508 * Makefile.am: Do not distribute the debian/ directory.
1510 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1512 * doc/Makefile.am: Add the extra SGML files to content_files,
1513 so that they are distributed properly.
1515 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1517 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1520 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1522 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1523 (hildon_note_new_information_with_icon_name): Set the "icon" property
1524 to preserve soundness.
1526 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1528 * src/hildon-font-selection-dialog.c
1529 (hildon_font_selection_dialog_set_property): Fail when the "family"
1530 property is set to NULL.
1532 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1534 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1537 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1539 * src/hildon-time-selector.h:
1540 Added HildonTimeSelectorFormatPolicy
1541 * src/hildon-time-selector.c:
1542 Added PROP_TIME_FORMAT_POLICY
1543 (_check_ampm_format): renamed to check_automatic_ampm_format
1544 (update_format_policy), (update_format_dependant_columns): new functions
1545 (hildon_time_selector_class_init)
1546 (hildon_time_selector_contructor)
1547 (hildon_time_selector_init)
1548 (hildon_time_selector_get_property)
1549 (hildon_time_selector_set_property)
1550 (hildon_time_selector_get_time)
1551 (hildon_time_selector_set_time)
1552 * src/hildon-touch-selector.h: new file
1553 * src/hildon-touch-selector.c
1554 (hildon_touch_selector_emit_changed)
1555 (hildon_touch_selector_block_changed)
1556 (hildon_touch_selector_unblock_changed)
1557 Added functions to allow to block the emission of the "changed" signal
1558 * src/hildon-picker-dialog.c
1559 (hildon_picker_dialog_show): call the parent show before the custom code
1560 * examples/hildon-time-button-example.c
1561 Modified, so now you can configure the time format using the new property
1563 Added a new property "time-format-policy" that allow to choose the time
1564 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1565 case it uses gconf in order to check if the time selector must use
1568 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1571 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-note.c (hildon_note_init):
1574 Label in HildonNote must be left aligned, not centered. This
1575 reverts the last commit in HildonNote.
1577 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1578 is connectivity dialog)
1580 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1585 * doc/hildon-sections.txt:
1586 Added hildon_gtk_window_set_do_not_disturb()
1588 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-note.c (hildon_note_init): Center label.
1592 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1595 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1600 * configure.ac: Bump version.
1601 * debian/changelog: Updates.
1603 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-note-private.h: Add button-width to the private data.
1606 * src/hildon-note.c (+resize_button),
1607 (+hildon_note_orientation_update): methods to repack widgets on orientation
1609 (screen_size_changed): Call above method for confirmation notes.
1610 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1611 (hildon_note_rebuild): Store the original width request from buttons.
1613 Fixes: NB#109635 (Confirmation notes do not support portrait)
1615 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1618 when it is a progress note.
1620 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1623 in the note, since there are no horizontally arranged contents.
1625 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-gtk.c (+set_flag): new generic method to
1628 set/delay a flag setting in a window.
1629 (hildon_gtk_window_set_progress_indicator):
1630 (hildon_gtk_window_set_do_not_disturb),
1631 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1632 avoid code redundance.
1634 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1636 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1638 * src/hildon-gtk.c (set_clear_window_flag),
1639 (do_set_progress_indicator), (do_set_do_not_disturb),
1640 (do_set_portrait_flags),
1641 (hildon_gtk_window_set_progress_indicator),
1642 (hildon_gtk_window_set_do_not_disturb),
1643 (hildon_gtk_window_set_portrait_flags):
1644 Allow setting dnd-flag, progress indicator, and portrait flags
1645 when the window is not realized.
1647 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1649 * src/hildon-pannable-area.c,
1650 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1651 the size request policy function and defines.
1653 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1655 * doc/hildon-sections.txt: Add the new API.
1656 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1657 method to set the portrait flags.
1658 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1660 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1662 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1665 to allow using this method with other flags.
1666 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1667 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1669 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-touch-selector.c
1672 (hildon_touch_selector_append_text_column):
1673 Make the cell renderer use the smallest width possible.
1675 Fixes: NB#108470 (Selected items in multiple selection are either
1676 having a tick that is cut or not visible at all.)
1678 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-touch-selector.c
1681 (hildon_touch_selector_append_text_column):
1684 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1687 Use g_strdup_printf() instead of a fixed size buffer.
1689 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1691 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1692 Close banners when a HildonAppMenu is popped up.
1694 Fixes: NB#111027 (Title menu closed immediately if activated when
1695 "Invalid e-mail address" banner is shown)
1697 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: Bump version.
1703 * debian/changelog: Updates.
1705 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-banner.c (hildon_banner_realize):
1708 Mark HildonBanner as supporting portrait mode.
1709 Use GDK to set window properties insetad of direct Xlib calls.
1711 Fixes: NB#111830 (HildonBanner should be marked as supporting
1714 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-note.c (hildon_note_rebuild):
1717 Hide action area in information notes. Prevents text from being
1718 slightly aligned to the left.
1720 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1723 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1725 Patch by Mox Soini (ext-mox.soini@nokia.com)
1727 * src/hildon-banner.c (hildon_banner_create_animation):
1728 Use stylus-sized icons in animation banner.
1730 Fixes: NB#111206 (stylus sized icon for animation banner)
1732 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1736 (+hildon_gtk_window_set_do_not_disturb):
1737 New API to set the do-not-disturb flag.
1739 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1741 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1743 * examples/hildon-progress-indicator-example.c: Fix example
1745 * src/hildon-gtk.c (set_clear_window_flag)
1746 (hildon_gtk_window_set_progress_indicator):
1747 Create a generic function for setting flags to a window.
1748 Use GDK instead of direct Xlib calls.
1750 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-button.c (hildon_button_set_arrangement):
1753 Due to NB#88126, if one of the labels is too long it will be
1754 painted outside the button. The 'value' label is more likely to be
1755 the longest one, so we change its packing options in order to
1756 truncate it if necessary. As a side effect, the 'title' label will
1757 no longer be truncated.
1759 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1761 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1766 * configure.ac: Bump version.
1767 * debian/changelog: Updates.
1769 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1771 Deprecation of the hildon_pannable_area_set_size_request_policy
1772 API, the only policy properly supported in gtk+ nowadays is the
1775 * src/hildon-pannable-area.c,
1776 (hildon_pannable_area_size_request): Added a workaround for the
1777 size_request to avoid the problems of huge pixmaps in case someone
1778 is still using the function.
1779 * src/hildon-pannable-area.h: Deprecated the enum with the
1782 Fixes: NB#110244 (Problems with the
1783 hildon_pannable_area_set_size_request_policy API)
1785 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1787 * src/hildon-pannable-area.c,
1788 (hildon_pannable_area_init),
1789 (hildon_pannable_area_size_request),
1790 (hildon_pannable_area_style_set),
1791 (hildon_pannable_draw_vscroll),
1792 (hildon_pannable_draw_hscroll),
1793 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1794 indicator_width to clarify the use of the attribute.
1796 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1801 * configure.ac: Bump version.
1802 * debian/changelog: Updates.
1804 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1806 * src/hildon-picker-dialog.c
1807 * src/hildon-touch-selector.c
1808 Reverting the change that tried to avoid the hardcoded height on
1809 the picker dialog, as causes problems on the hildon-touch-selector
1812 Fixes: NB#110029 (selectors not scrolling to selected value)
1814 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-touch-selector.c: Fix typos
1818 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1821 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1822 request more motions after using it.
1824 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-calendar.c (hildon_calendar_expose),
1827 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1828 Remove unused variables.
1830 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1832 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1833 variable assignment.
1835 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1838 Check the return value of gtk_tree_selection_get_selected()
1841 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1843 * src/hildon-animation-actor.c
1844 * src/hildon-button.c
1846 * src/hildon-pannable-area.c
1847 * src/hildon-picker-button.c
1848 * src/hildon-program.c
1849 * src/hildon-remote-texture.c
1850 * src/hildon-text-view.c
1851 * src/hildon-touch-selector.c
1852 * src/hildon-window-stack.c
1853 * src/hildon-window.c:
1854 Add missing 'Since: 2.2' tags.
1856 * doc/hildon-sections.txt:
1857 Add some missing symbols.
1859 * doc/hildon-docs.sgml:
1860 New 'Other' section for HildonAnimationActor and
1863 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1865 Patch by Iván Gómez (igomez@igalia.com)
1868 * doc/compiling.sgml
1869 * doc/hildon-docs.sgml
1870 * doc/hildon-sections.txt
1871 * doc/migration.sgml
1872 * doc/resources.sgml
1874 New chapters on using the Hildon library.
1875 Updated the general structure of the reference manual.
1876 Other minor documentation fixes.
1878 * src/hildon-calendar-popup.c
1879 * src/hildon-calendar.c
1880 * src/hildon-controlbar.c
1881 * src/hildon-date-editor.c
1882 * src/hildon-dialog.c
1883 * src/hildon-hvolumebar.c
1884 * src/hildon-number-editor.c
1885 * src/hildon-range-editor.c
1886 * src/hildon-sort-dialog.c
1887 * src/hildon-time-editor.c
1888 * src/hildon-time-picker.c
1889 * src/hildon-volumebar-range.c
1890 * src/hildon-volumebar.c
1891 * src/hildon-vvolumebar.c
1892 * src/hildon-weekday-picker.c:
1893 Add deprecation notes
1895 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1896 Document 'horizontal-movement' and 'vertical-movement' signals.
1898 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1903 * configure.ac: Bump version.
1904 * debian/changelog: Updates.
1906 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1908 * src/hildon-pannable-area.c,
1909 (hildon_pannable_area_class_init): increased the minimum velocity.
1910 (hildon_pannable_area_button_release_cb): Updated the
1911 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1912 setup. Review the code to control that last event.
1914 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1917 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1919 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1921 * src/hildon-get-password-dialog.c
1922 (hildon_get_password_set_property),
1923 (hildon_get_password_get_property), (create_contents):
1924 * src/hildon-login-dialog-private.h:
1925 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1926 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1927 (hildon_login_dialog_get_password):
1928 * src/hildon-set-password-dialog-private.h:
1929 * src/hildon-set-password-dialog.c
1930 (hildon_set_password_set_property),
1931 (hildon_set_password_get_property), (create_contents),
1932 (hildon_set_password_response_change),
1933 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1935 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1936 instead and look more Fremantle style.
1938 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1940 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1942 * doc/hildon-sections.txt
1943 * src/hildon-window-stack.h
1944 * src/hildon-window-stack.c
1945 (+hildon_window_stack_get_windows):
1946 New API to obtain the list of windows on a stack.
1948 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-app-menu.c (hildon_app_menu_popup)
1951 (hildon_app_menu_class_init, -hildon_app_menu_show):
1952 Remove hildon_app_menu_show() and move all its checks to
1953 hildon_app_menu_popup()
1955 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1957 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1958 (_hildon_picker_dialog_set_selector): removed call to
1959 gtk_widget_set_size_request
1960 * src/hildon-touch-selector.c
1961 (_create_new_column): change the pannable size request policy
1963 Avoid to use a hardcoded height for the hildon picker dialog. In order
1964 to get that, we needed to change the hildon pannable size request
1966 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1968 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1971 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1974 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1976 * debian/control: Depend on osso-system-lock localization package.
1977 * src/hildon-code-dialog.c: Obtain the secu_application_title
1978 translation from osso-system-lock.
1979 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1980 for translation the atk related strings, that's not necessary.
1981 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1982 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1983 cancel button, it is not required.
1985 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_class_init): Modified the default value of
1989 the overshooting max speed, we have reduced it.
1991 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1993 * doc/hildon-sections.txt
1994 * src/hildon-window-private.h
1995 * src/hildon-window.h
1996 * src/hildon-window.c (hildon_window_class_init)
1997 (hildon_window_init, hildon_window_finalize)
1998 (hildon_window_realize, hildon_window_get_property)
1999 (hildon_window_set_property, hildon_window_update_markup)
2000 (hildon_window_get_markup, hildon_window_set_markup):
2001 New "markup" property and hildon_window_{get,set}_markup() methods.
2003 * examples/hildon-stackable-window-example.c (new_window):
2004 Update example to use hildon_window_set_markup()
2006 Fixes: NB#106375 (Need API to retitle a window with a title
2009 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2011 * src/hildon-pannable-area.c,
2012 (hildon_pannable_area_class_init): Changed the default value of
2013 the initial_hint to TRUE.
2014 (hildon_pannable_area_initial_effect): Changed the initial effect,
2015 not the effect is just the fade-out of the scrollbars.
2017 Fixes: NB#107775 (No scrollbars can be seen when several items are
2018 available in a dialog)
2020 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-program.c (hildon_program_update_top_most):
2025 Fixes: NB#109179 (Memory leak in Hildon program)
2027 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-banner.c (-get_current_app_window):
2030 Remove unused function.
2032 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2034 * src/hildon-pannable-area.c: Modified the documentation of the
2035 get adjustments functions to explain the problem of using the
2036 adjustment directly.
2037 (hildon_pannable_area_class_init): Improved the explanation about
2040 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-app-menu-private.h
2043 * src/hildon-app-menu.c
2044 (hildon_app_menu_class_init):
2045 Bring back the 'external-border' style property
2046 (hildon_app_menu_class_init, hildon_app_menu_init)
2047 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2048 Set a fixed width-request for the menu, independent of the number
2051 Fixes: NB#94957 (Smoothly opened application menu)
2053 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2055 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2057 * src/hildon-banner.c
2058 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2060 Make sure that the banner is correctly placed the first time it's
2062 (hildon_banner_check_position, -check_fullscreen_state):
2063 Show the banner in the same place no matter if the window is in
2064 fullscreen mode or not.
2066 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2068 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-touch-selector.c (_default_print_func): reorder
2071 concatenation for clarity.
2073 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2076 for multicolumn selectors.
2078 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2080 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2085 * configure.ac: Bump version.
2086 * debian/changelog: Updates.
2088 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2093 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2095 * configure.ac: removed libcangerra-gtk dependency
2096 * debian/control: removed libcanberra-gtk dependency
2097 * src/Makefile.am: removed libcanberra gtk related flags
2098 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2099 context, and manage a global canberra context instead
2101 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2103 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2105 Patch by Daniel Borgmann (danielb@openismus.com)
2107 * src/hildon-edit-toolbar.c:
2108 Adjust the left padding.
2109 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2110 Paint background of the edit toolbar.
2112 Fixes: NB#107897 (Patch to make editmodetoolbar background
2113 themeable and adjust margin)
2115 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2117 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2119 * src/hildon-program.c (hildon_program_update_top_most):
2120 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2122 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2123 change when the user tasks in/out of an application)
2125 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2127 * configure.ac: added libcangerra-gtk dependency
2128 * debian/control: added libcanberra-gtk dependency
2129 * src/Makefile.am: added libcanberra gtk related flags
2130 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2133 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2135 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-program.c (hildon_program_remove_window)
2138 (hildon_program_add_window): Add checks for the window
2139 parameter. Don't decrease the window counter if the window is not
2142 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2144 * src/hildon-pannable-area.c,
2145 (hildon_pannable_area_realize): Fixed position of the event_window
2146 in the realize method.
2148 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-app-menu-private.h
2151 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2152 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2153 (hildon_app_menu_key_press, hildon_app_menu_init)
2154 (hildon_app_menu_finalize):
2155 Make sure that all idle functions are removed when the widget is
2158 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2160 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2165 * configure.ac: Bump version.
2166 * debian/changelog: Updates.
2168 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-entry.c
2171 (+hildon_entry_show_placeholder),
2172 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2173 that replace hildon_entry_update_contents().
2174 (hildon_entry_set_text),
2175 (hildon_entry_set_placeholder),
2176 (hildon_entry_focus_in_event),
2177 (hildon_entry_focus_out_event): Determine when it is needed
2178 either to show or hide the placeholder and call the above methods.
2180 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2181 when the placeholder text is already set)
2183 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2185 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2186 simple GdkPixbufAnim using the new icons for the banner.
2187 (hildon_banner_show_animation): Use the above mentioned method to
2188 create the animation widget.
2190 Fixes: NB#103564 (Make hildon animation banner use individual
2191 image files as the animation)
2193 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2195 * src/hildon-pannable-area.c,
2196 (hildon_pannable_leave_notify_event): Check if the child is NULL
2197 to avoid sending the leave.
2199 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2201 * src/hildon-pannable-area.c,
2202 (hildon_pannable_area_class_init),
2203 (hildon_pannable_leave_notify_event): Added a handler of the
2204 leave-notify-signal to consider when no motion notify before
2207 Fixes: NB#107494 (Items stay selected when clicking and moving
2208 away when inside pannable area)
2210 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2215 * configure.ac: Bump version.
2216 * debian/changelog: Updates.
2218 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2220 Patch by Alberto Garcia (agarcia@igalia.com)
2222 * src/hildon-date-button.c,
2223 (hildon_date_button_class_init),
2224 (hildon_date_button_init): Removed the construct property handling
2225 and created a default selector in the init method.
2226 * src/hildon-picker-button.c,
2227 (hildon_picker_button_class_init): Removed the construct flag of the
2230 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-main.c (hildon_init):
2233 Don't allow hildon_init() to be called more than once.
2235 Fixes: NB#106607 (hildon_init should issue error message upon
2238 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2240 * examples/hildon-pannable-area-touch-list-example.c
2241 * examples/hildon-pannagle-area-touch-grid-example.c
2242 * examples/hildon-edit-toolbar-example.c
2243 * examples/hildon-touch-selector-multi-cells-example.c
2244 Removed the call to gtk_rc_parse_string, as it is not required since
2247 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2249 * src/hildon-pannable-area.c,
2250 (hildon_pannable_area_class_init): Modified the default panning
2251 threshold of the widget to 6px.
2253 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2254 than the threshold value ) within the button is not sending the
2257 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2260 for the treeview in the new column. This way, the touch list will never
2263 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2264 be selected manually for the HW keys to work)
2266 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2269 comparison instead of using strcmp(). Fixes a compiler warning as well.
2271 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2273 * doc/hildon-docs.sgml: Do not set the library version in the
2274 document title, use the releaseinfo tag for that purpose instead.
2276 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2279 Do not jump to the first item if the text in the entry is removed.
2281 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2286 * configure.ac: Bump version.
2287 * debian/changelog: Updates.
2289 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-entry.c (hildon_entry_refresh_contents):
2292 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2293 Use "ReversedSecondaryTextColor" for the placeholder text.
2295 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-text-view.c: Fix compilation warning.
2299 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-button.c (hildon_button_class_init): Don't make
2302 "title" and "value" construction properties, to prevent them from
2303 overwriting labels set from derived classes.
2305 * src/hildon-picker-button.c
2306 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2307 (hildon_picker_button_class_init): Make touch-selector a
2308 construction property.
2310 * src/hildon-date-button.c (hildon_date_button_class_init)
2311 (+hildon_date_button_constructed): Add a default date selector if
2314 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-touch-selector.c: Small documentation fixes.
2318 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2320 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2322 * src/hildon-entry.c (hildon_entry_refresh_contents),
2323 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2324 widget name, set the logical color directly instead and a boolean
2325 showing_placeholder instead.
2326 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2327 use the widget name here either.
2329 Fixes: NB#105678 (HildonTextView should use logical colours
2330 instead of setting widget name)
2332 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2334 Patch by Daniel Elster (danielk@openismus.com)
2336 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2337 Add user_data parameter.
2338 (hildon_touch_selector_set_print_func_full): New function akin
2339 hildon_touch_selector_set_print_func() but with support for user
2340 data and a destroy callback.
2341 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2342 to clean up the print function user data.
2343 (hildon_touch_selector_class_init): Install dispose function.
2344 (HildonTouchSelectorPrivate::print_user_data),
2345 (HildonTouchSelectorPrivate::print_destroy_func): New private
2347 (hildon_touch_selector_init): Initialize new private members.
2348 (hildon_touch_selector_get_current_text): Pass along user data
2349 to the print function.
2350 (_default_print_func): Add dummy user_data to parameter list.
2351 * hildon-date-selector.c (_custom_print_func): ditto,
2352 * hildon-time-selector.c (_custom_print_func): ditto,
2353 * hildon-touch-selector-entry.c
2354 (hildon_touch_selector_entry_print_func): ditto.
2356 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2358 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2360 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2362 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_init),
2366 (hildon_pannable_area_button_press_cb),
2367 (hildon_pannable_area_motion_notify_cb): We have added code to
2368 handle the leave and enter events when using the motion events.
2370 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2372 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2374 * src/hildon-date-button.c (hildon_date_button_get_date)
2375 (hildon_date_button_set_date): Make sure that the button has a
2378 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2380 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_class_init),
2384 (hildon_pannable_area_calculate_velocity): Modify the use of the
2385 force and adapt the value.
2387 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2390 (hildon_app_menu_class_init): Hide the menu if it receives a
2391 delete-event, but don't destroy it
2393 Fixes: NB#104485 (Not able to address the call when application
2394 menu is opened at background)
2396 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2398 * src/hildon-app-menu.c
2399 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2400 Remove the "external-border" style property, let the menu take its
2401 natural size (or the one set by the window manager)
2402 (hildon_app_menu_repack_items):
2403 Don't reshow the menu, avoid flickers.
2405 Partially fixes NB#94957 (Smoothly opened application menu)
2407 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2412 * configure.ac: Bump version.
2413 * debian/changelog: Updates.
2415 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2417 * src/hildon-pannable-area.c,
2418 (hildon_pannable_area_motion_notify_cb): We control that the
2419 direction error margin is used just in case the movement is
2420 allowed in the other direction.
2422 Fixes: NB#105012 (buttons inside a pannable area not getting
2423 release event when dragging/releasing)
2425 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2427 * src/hildon-pannable-area.c,
2428 (hildon_pannable_area_class_init),
2429 (hildon_pannable_area_get_property),
2430 (hildon_pannable_area_set_property),
2431 (hildon_pannable_area_initial_effect),
2432 (hildon_pannable_axis_scroll),
2433 (hildon_pannable_area_button_release_cb): Reviewed the
2434 overshooting effect, now it has its own max
2435 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2436 speed when bouncing.
2438 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2443 * configure.ac: Bump version.
2444 * debian/changelog: Updates.
2446 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2448 * src/hildon-pannable-area.c,
2449 (hildon_pannable_area_class_init): Changed the max speed, now
2450 users can launch the widget very fast. Reduced the default force,
2451 that way it is easier to control the launch speed.
2453 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2455 * src/hildon-pannable-area.c,
2456 (hildon_pannable_area_button_release_cb): Removed this check
2457 because it causes problems when the device is overloaded.
2459 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2462 add a current_text field to store the text entered in the
2463 touch selector entry.
2464 (_clean_current_selection): clean up the current text as well.
2465 (_save_current_selection), (_restore_current_selection):
2466 Save/restore the text in the entry if the selector is a
2467 HildonTouchSelectorEntry.
2469 Fixes: NB#102541 (value entered in the touch selector entry is not
2470 shown when opened for second time)
2472 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2474 * doc/hildon-sections.txt:
2475 * src/hildon-touch-selector-entry.c
2476 (+hildon_touch_selector_entry_get_entry):
2477 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2479 Fixes: NB#104815 (I need accessor to the entry inside
2480 HildonTouchSelectorEntry)
2482 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2485 (hildon_app_menu_class_init):
2486 New "filter-vertical-spacing" style property.
2488 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-find-toolbar.c
2491 (hildon_find_toolbar_emit_close)
2492 (hildon_find_toolbar_emit_invalid_input)
2493 (hildon_find_toolbar_entry_activate):
2494 Use g_signal_emit() instead of g_signal_emit_by_name()
2496 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2498 Patch by Mox Soini (ext-mox.soini@nokia.com)
2500 * tests/TEST-CASES.txt
2501 * tests/check-hildon-banner.c
2502 * tests/check-hildon-note.c
2503 * src/hildon-banner.c
2504 * src/hildon-code-dialog.c
2505 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2506 * src/hildon-time-editor.c
2507 * examples/hildon-lookup-example.c (main):
2508 Replace obsolete icon names with new ones.
2510 * src/hildon-find-toolbar-private.h:
2511 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2512 (-hildon_find_toolbar_emit_search):
2513 Remove find button and change icon of close button.
2515 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2517 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2519 * src/hildon-time-button.c (hildon_time_button_new_step):
2520 Use the "touch-selector" property to set the selector directly
2521 when creating the object.
2523 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2525 Added a new example application that allows tuning the pannable
2526 area and replaced defines with properties in order to simplify the
2527 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2528 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2529 PROP_DIRECTION_ERROR_MARGIN.
2531 * examples/hildon-pannable-area-tuning-example.c: New example
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_class_init),
2535 (hildon_pannable_area_init),
2536 (hildon_pannable_area_get_property),
2537 (hildon_pannable_area_set_property),
2538 (hildon_pannable_area_launch_fade_timeout),
2539 (hildon_pannable_area_adjust_value_changed),
2540 (hildon_pannable_axis_scroll),
2541 (hildon_pannable_area_motion_notify_cb),
2542 (hildon_pannable_area_scroll_cb),
2543 (hildon_pannable_area_button_release_cb): We have converted some
2544 of the defines that control the widget to properties to simplify
2547 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-app-menu.c (hildon_app_menu_map)
2550 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2551 so it's closed if a new window appears.
2553 Fixes: NB#104485 (Not able to address the call when application
2554 menu is opened at background)
2556 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2558 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2559 missing 'break' statement in in 'case' construct to avoid
2562 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-touch-selector-entry.c
2565 (hildon_touch_selector_entry_get_property),
2566 (hildon_touch_selector_entry_set_property): Add missing 'break'
2567 statements in in 'case' constructs to avoid incorrect warnings.
2569 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-time-editor.c
2572 (hildon_time_editor_get_time_separators): Do not crash if
2573 the first label is NULL.
2575 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-date-selector.c (_month_days): Check for month to be
2578 strictly less than 12, since otherwise we may overrun the array.
2580 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-date-button.c (+hildon_date_button_new_full)
2583 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2584 (hildon_date_button_init): Set the date selector using a
2585 construction property, to make it happen after HildonButton's
2586 "value" property is set.
2588 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2589 current date by default)
2591 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2593 * doc/hildon-sections.txt
2594 * src/hildon-program.c
2595 * src/hildon-stackable-window.c
2596 * src/hildon-window.c:
2597 Documentation updates
2599 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2602 (hildon_window_stack_new, +hildon_window_stack_set_property)
2603 (+hildon_window_stack_get_property)
2604 (hildon_window_stack_class_init)
2605 (+hildon_window_stack_set_window_group)
2606 (+hildon_window_stack_get_window_group):
2607 Make the window group a construction property.
2609 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2611 * doc/hildon-sections.txt
2612 * src/hildon-stackable-window-private.h
2613 * src/hildon-stackable-window.h
2614 * src/hildon-stackable-window.c
2615 (-hildon_stackable_window_set_app_menu)
2616 (-hildon_stackable_window_get_app_menu)
2617 (-hildon_stackable_window_toggle_menu)
2618 (-hildon_stackable_window_finalize)
2619 (hildon_stackable_window_class_init)
2620 (hildon_stackable_window_init)
2621 * src/hildon-window-private.h
2622 * src/hildon-window.h
2623 * src/hildon-window.c (hildon_window_init)
2624 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2625 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2626 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2627 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2628 Moved all HildonAppMenu code to HildonWindow. The menu does not
2629 require a HildonStackableWindow anymore.
2631 * src/hildon-app-menu.c
2632 * src/hildon-program.c
2633 * examples/hildon-app-menu-example.c (main):
2634 Update examples and documentation to reflect HildonAppMenu
2637 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-remote-texture.c
2640 * src/hildon-animation-actor.c:
2641 Don't include unused private headers.
2643 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-program-private.h
2646 * src/hildon-program.c
2647 (hildon_program_set_common_menu)
2648 (hildon_program_get_common_menu)
2649 (hildon_program_set_common_app_menu)
2650 (hildon_program_get_common_app_menu):
2651 Change common menu pointers from GtkWidget* to GtkMenu* and
2652 HildonAppMenu* to avoid unnecessary casts.
2654 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-window.c (hildon_window_set_main_menu):
2657 Removed incorrect 'Since:' tag
2659 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2661 * src/hildon-pannable-area.c,
2662 (hildon_pannable_area_calculate_velocity): We use now the
2663 RATIO_TOLERANCE here to check the distance, fixed typo in the
2665 (hildon_pannable_area_motion_notify_cb): We have to set the type
2666 and time even if we are not sending the motion.
2668 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2670 * doc/hildon-sections.txt
2671 * src/hildon-app-menu.h
2672 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2673 (+hildon_app_menu_get_filters): New methods to get the contents of
2676 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2679 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-app-menu.c (hildon_app_menu_popup):
2684 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-window.h
2687 * src/hildon-window.c (+hildon_window_get_main_menu)
2688 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2689 and deprecated hildon_window_get_menu().
2691 * src/hildon-stackable-window.h
2692 * src/hildon-stackable-window.c
2693 (+hildon_stackable_window_set_app_menu)
2694 (+hildon_stackable_window_get_app_menu)
2695 (hildon_stackable_window_set_main_menu): Created
2696 hildon_stackable_window_{get,set}_app_menu() and deprecated
2697 hildon_stackable_window_set_main_menu().
2699 * doc/hildon-sections.txt
2700 * examples/hildon-app-menu-example.c (main)
2701 * src/hildon-app-menu.c
2702 * src/hildon-program.c:
2703 Updated examples and documentation.
2705 Fixes: NB#103758 (No way to obtain a menu from a
2706 HildonStackableWindow)
2708 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2713 * configure.ac: Bump version.
2714 * debian/changelog: Updates.
2716 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2718 * examples/hildon-remote-texture-example.c: Include
2719 hildon-remote-texture.h explicitely.
2720 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2721 applications not defining _XOPEN_SOURCE which don't require this header.
2723 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2725 * doc/hildon-sections.txt
2726 * src/hildon-app-menu.h
2727 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2728 New function to pop up a HildonAppMenu
2730 * src/hildon-stackable-window.c
2731 (hildon_stackable_window_toggle_menu):
2732 Use hildon_app_menu_popup() to show the menu.
2734 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu.c (hildon_app_menu_show)
2737 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2738 menu if there's another window between it and its parent window.
2740 Fixes: NB#100468 (Application menu window is launched even when a
2741 new secondary-window/dialog is pending to be shown/realized)
2743 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-window-stack.c (hildon_window_stack_push)
2746 (hildon_window_stack_pop_and_push):
2747 Don't forget to push/pop the first window.
2748 Reverse the window list before calling _push_list()
2750 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-picker-button.h
2753 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2754 Remove "value_changed" slot to avoid ABI breakage
2756 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2758 * src/hildon-pannable-area.c,
2759 (hildon_pannable_area_realize),
2760 (hildon_pannable_area_unrealize),
2761 (hildon_pannable_draw_vscroll),
2762 (hildon_pannable_draw_hscroll): Changed the method to handle the
2763 GC used to draw the transparent scrollbar, this way we avoid
2764 creating the GC all the time when drawing the scrollbars.
2766 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2768 * src/hildon-pannable-area.c,
2769 (hildon_pannable_area_init),
2770 (hildon_pannable_area_remove): Removed some unnecessary casts.
2771 (hildon_pannable_area_dispose): Disconnected some signals before
2772 releasing the adjustments.
2774 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2777 Make sure that all widgets contained in the toolbar are shown.
2779 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2781 * doc/hildon-sections.txt
2782 * src/hildon-picker-button.h
2783 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2784 (_selection_changed, hildon_picker_button_on_dialog_response)
2785 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2786 New hildon_picker_button_value_changed() method.
2789 * src/hildon-picker-button-private.h
2790 * src/hildon-picker-button.c (hildon_picker_button_init)
2791 (+hildon_picker_button_disable_value_changed): Add protected
2792 function for disabling the "value-changed" signal.
2794 * src/hildon-date-button.c (hildon_date_button_set_date):
2795 Don't emit "value-changed" for each one of the three columns.
2797 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2798 before actual change of values)
2800 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2802 * src/hildon-pannable-area.c,
2803 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2804 for the treeview overshooting.
2806 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2808 * src/hildon-banner.c (+hildon_banner_bind_style):
2809 Renamed from hildon_banner_bind_label_style(), now naming the
2810 banner itself as well.
2811 (hildon_banner_show_information),
2812 (hildon_banner_show_information_with_markup),
2813 (hildon_banner_show_animation), (hildon_banner_show_progress):
2814 Name the widgets and labels, based on their type.
2816 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2819 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-note.c (hildon_note_set_property): call
2822 hildon_note_rename() on HildonNote:note-type set.
2823 (hildon_note_rename): Name the note and its label, based on the
2824 HildonNote:note-type property.
2826 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2829 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2831 * src/hildon-pannable-area.c,
2832 (hildon_pannable_area_class_init),
2833 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2834 panning parameters, increased SPS and deceleration factor. Added
2835 also a margin to control fake directions.
2837 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2839 Patch by Sven Herzberg (sven@imendio.com)
2841 * configure.ac: Add missing AM_PROG_CC_C_0
2842 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2844 See NB#101420 (Update unit tests and fix make check)
2846 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2848 This patch was applied before but reverted because it caused
2849 problems, we have changed the main condition and tested the
2850 regressions we detected before and they work ok. We have done a
2851 complete review of the topmost algorithm in order to get a more
2854 * src/hildon-pannable-area.c,
2855 (hildon_pannable_area_get_topmost): Added a new parameter to
2856 filter the the windows that do not include those events.
2857 (hildon_pannable_area_button_press_cb),
2858 (hildon_pannable_area_button_release_cb),
2859 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2860 topmost function, we have added the new parameter.
2862 Fixes: NB#97458 (Pannable area prevents propagation of button
2865 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2868 if all columns in the selector have an item selected.
2869 (_on_dialog_response): Stop "response" signal emission if there is
2870 any selector column without selected items.
2872 Fixes: NB#101889 (Picker dialog should not close when nothing is
2873 selected in multiple selection list)
2875 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-font-selection-dialog.c
2878 (hildon_font_selection_dialog_class_init),
2879 (hildon_font_selection_dialog_init): Remove the preview
2880 button and dialog, since previewing with default theming is likely
2881 to be overcomplicated. The :preview property has now no effect.
2882 Update documentation blurbs to inform about this.
2884 Fixes: NB#92297 (Preview content is not clearly visible for
2885 default colour text)
2887 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2889 Reviewed the geometry that handles the children size and
2890 scrollbar, now it tries a size and reviews the results depending
2891 on the scrollbars visibility.
2893 * src/hildon-pannable-area.c,
2894 (hildon_pannable_area_realize): Fixed a typo.
2895 (hildon_pannable_area_child_allocate_calculate): Added this
2896 function to calculate the child allocation.
2897 (hildon_pannable_area_size_allocate): Reviewed the allocation
2899 (hildon_pannable_area_check_scrollbars),
2900 (hildon_pannable_area_refresh): Refactored refresh function, this
2901 way we can call the code handling the scrollbars without causing a
2902 size_request, it is interesting in the allocate.
2903 (hildon_pannable_area_init): Replace the callbacks of the
2904 value_changed and changed signals to propertly deal with the
2906 (hildon_pannable_area_grab_notify),
2907 (hildon_pannable_area_initial_effect),
2908 (hildon_pannable_area_launch_fade_timeout),
2909 (hildon_pannable_area_adjust_changed),
2910 (hildon_pannable_area_adjust_value_changed),
2911 (hildon_pannable_area_redraw),
2912 (hildon_pannable_area_button_press_cb),
2913 (hildon_pannable_area_button_release_cb),
2914 (hildon_pannable_area_scroll_cb),
2915 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2916 code and use the new functions adjust_changed and
2917 adjust_value_changed.
2919 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2920 Contact editor dialog)
2922 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2927 * configure.ac: Bump version.
2928 * debian/changelog: Updates.
2930 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2932 * src/hildon-pannable-area.c,
2933 (hildon_pannable_area_get_topmost),
2934 (hildon_pannable_area_button_press_cb),
2935 (hildon_pannable_area_button_release_cb),
2936 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2937 topmost function adding the event mask. We have to try a
2938 differente approach because it is still causing problems (NB#9745,
2941 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-banner.c:
2944 Update the maximum width of timed banners.
2945 (force_to_wrap_truncated): Enforce the maximum text width if the
2948 Fixes: NB#102413 (The text margins (wrapping) in information
2949 banner should be HILDON_MARGIN_TRIPLE)
2951 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2953 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2955 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2956 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2957 bound when calculating the scroll indicator position.
2959 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2960 treat ->lower correctly)
2962 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2964 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2965 expose event handling, since it is not necessary to draw the focus
2968 Fixes: NB#102467 (Do not show highlight on the text in
2971 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2974 full height of the toolbar for the button and the label.
2976 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2979 padding before the label and after the button.
2981 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2985 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2986 Add a GtkVSeparator between the button and the back arrow.
2987 Let the button have automatic size.
2988 Set a name to the widget for theming handling.
2990 Fixes: NB#101793 (Make edit toolbar the same height as window
2991 title bar (use title area theming))
2993 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2995 * src/hildon-helper.c (attach_new_color_element): Fix memory
2998 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3000 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3002 * examples/hildon-button-example.c (common_buttons_window): Don't
3005 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3008 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3010 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-gtk.c: Check that the window is realized.
3014 Fixes: NB#102225 (Crash setting the progress indicator to a non
3017 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3020 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3021 instead of modifying the one in the widget style.
3023 Fixes: NB#101043 (Second row of all the command button are
3024 displayed in transparent mode.)
3026 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-date-button.c
3029 * src/hildon-time-button.c: Add gettext macros
3031 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-date-button.c (hildon_date_button_new):
3034 * src/hildon-time-button.c (hildon_time_button_new_step):
3035 Use new logical strings to set the button default title.
3037 Fixes: NB#99915 (Date and Time options are not localised in Date
3040 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3042 * src/hildon-pannable-area.c
3043 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3044 the PANNING_THRESHOLD.
3046 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3048 * src/hildon-pannable-area.c,
3049 (hildon_pannable_area_class_init): Increased the maximum speed.
3050 (hildon_pannable_area_get_property),
3051 (hildon_pannable_area_set_property),
3052 (hildon_pannable_area_timeout): Added a new low friction mode, it
3053 allows the user avoid friction when launching the widget fast
3054 enough. It is interesting to traverse long lists.
3056 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3059 (+hildon_stackable_window_delete_event): Ignore delete events if
3060 the window is not the topmost one.
3062 Fixes: NB#101698 (Back button long press and delete-event handling)
3064 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3066 * src/hildon-pannable-area.c,
3067 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3068 gtk-dnd-drag-threshold, it was too big. We have defined our own
3069 dnd define and set a smaller value: PANNIG_THRESHOLD.
3071 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3074 user-defined icons, use always the default one.
3076 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3078 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3080 This patch was applied before but reverted because it caused
3081 problems, we have changed the main condition and tested the
3082 regressions we detected before and they work ok.
3084 * src/hildon-pannable-area.c,
3085 (hildon_pannable_area_get_topmost): Added a new parameter to
3086 filter the the windows that do not include those events. Added
3087 also a condition when finding the window to filter windows that do
3088 not ask for those events.
3089 (hildon_pannable_area_button_press_cb),
3090 (hildon_pannable_area_button_release_cb),
3091 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3092 topmost function, we have added the new parameter.
3094 Fixes: NB#97458 (Pannable area prevents propagation of button
3097 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3099 * tests/check-hildon-color-button.c (START_TEST): do not leak
3102 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3104 * src/hildon-font-selection-dialog.c
3105 (hildon_font_selection_dialog_get_preview_text): Return NULL
3106 instead of FALSE on the g_return_val_if_fail().
3108 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3111 * src/hildon-date-selector.c
3112 (hildon_date_selector_select_current_date):
3113 Do not compare unsigned integers to be greater than or equal 0,
3114 because it's always TRUE.
3116 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3119 (hildon_date_selector_constructor): Do not select the current
3120 date until we are handle the "changed" signal, to avoid having bogus
3121 elements in the days model.
3123 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3125 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3126 for num_days, since _month_days() can return a negative value.
3128 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-caption.c (hildon_caption_size_allocate):
3131 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3132 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3134 Initialize allocation variables to 0, to avoid eventually using
3135 unitialized variables.
3137 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-bread-crumb-trail.c
3140 (hildon_bread_crumb_trail_size_allocate):
3141 * src/hildon-calendar.c (hildon_calendar_set_background):
3142 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3143 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3144 * src/hildon-seekbar.c (hildon_seekbar_init):
3145 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3146 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3147 * src/hildon-touch-selector-entry.c
3148 (hildon_touch_selector_get_text_from_model):
3149 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3150 * src/hildon-window.c (hildon_window_finalize):
3152 Remove many unused variables.
3154 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-seekbar.c: (hildon_seekbar_init),
3157 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3159 Remove unnecessary g_assert() calls.
3161 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-caption.c: (hildon_caption_expose),
3164 (hildon_caption_set_property), (hildon_caption_init),
3165 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3166 (hildon_caption_size_request), (hildon_caption_size_allocate),
3167 (hildon_caption_forall), (hildon_caption_set_separator),
3168 (hildon_caption_activate), (hildon_caption_set_child_expand),
3169 (hildon_caption_set_label_text),
3170 (hildon_caption_get_label_alignment):
3172 Remove unnecessary g_assert() calls.
3174 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-banner.c
3177 (hildon_banner_map, hildon_banner_init): Make banner temporary
3178 before mapping it to avoid closing other temporary windows, but
3179 make it non-temporary afterwards to avoid being closed by other
3180 non-temporary windows.
3181 (-hildon_banner_client_event, hildon_banner_init):
3182 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3184 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3187 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3192 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3194 * src/hildon-remote-texture.c
3195 * src/hildon-remote-texture.h
3196 * src/hildon-remote-texture-private.h
3197 * examples/hildon-remote-texture-example.c:
3198 Updates/fixes to remote-texture and its example.
3200 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3202 Patch by Mox Soini (ext-mox.soini@nokia.com)
3204 * src/hildon-code-dialog.c: Update logical id.
3205 * src/hildon-set-password-dialog.c: Update logical id.
3207 Fixes: NB#100646 (Logical strings is shown for ok in set
3208 password,Password needed dialogs)
3210 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3213 * src/hildon-remote-texture.c
3214 * src/hildon-remote-texture.h
3215 * src/hildon-remote-texture-private.h
3217 Added remote texture widget (for Clutter shared memory textures)
3219 * examples/hildon-remote-texture-example.c
3220 * examples/Makefile.am
3221 Added example file for remote texture usage
3223 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3225 * configure.ac: post release version bump.
3226 * debian/changelog: version bump.
3228 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: Bump version.
3234 * debian/changelog: Updates.
3236 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-date-selector.c (hildon_date_selector_init)
3239 (hildon_date_selector_constructor): Don't connect to the "changed"
3240 signal until the selector is completely constructed.
3242 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-touch-selector.c: (_create_new_column),
3245 (hildon_touch_selector_append_column),
3246 (hildon_touch_selector_set_column_selection_mode),
3247 (hildon_touch_selector_set_active),
3248 (hildon_touch_selector_select_iter):
3249 Emit the HildonTouchSelector::changed signal every time selection
3250 is changed in any of the methods above. This behavior was already
3251 documented but not fully functional.
3253 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3254 selection is programmatically changed)
3256 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3258 * doc/hildon-sections.txt: Remove obsolete icon
3259 sizes from here as well.
3261 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3263 * examples/hildon-stackable-window-example.c (add_window): Remove
3266 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3268 * src/hildon-app-menu.c
3269 (hildon_app_menu_show): Check whether the parent window of a menu
3270 is topmost before popping it up.
3272 Fixes: NB#100468 (Application menu window is launched even when a
3273 new secondary-window/dialog is pending to be shown/realized.)
3275 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3277 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3280 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3282 Patch by Mox Soini (ext-mox.soini@nokia.com)
3284 * src/hildon-banner.c: (hildon_banner_show_animation):
3285 use stylus size instead of obsolete note size.
3286 * src/hildon-defines.h: Update icon sizes.
3288 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-touch-selector-entry.c:
3291 (hildon_touch_selector_entry_init): Disable unsupported
3293 (hildon_touch_selector_entry_get_text_column): Emit a warning
3294 if an unsupported input modes is used and explicitile state
3295 these modes in the documentation.
3297 Fixes: NB#99802 (Hildon touch selector entry not working properly
3298 for some of the input modes)
3300 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_area_init): Added the changed signal handlers of
3306 Fixes: NB#100320 (HildonPannableArea does not listen to
3307 GtkAdjustment "change" signals)
3309 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3311 * doc/hildon-sections.txt
3312 * src/hildon-window-private.h
3313 * src/hildon-window.h
3314 * src/hildon-window.c (hildon_window_init)
3315 (hildon_window_realize, hildon_window_unrealize)
3316 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3317 (hildon_window_size_request, hildon_window_size_allocate)
3318 (hildon_window_forall, hildon_window_show_all)
3319 (hildon_window_destroy, +paint_edit_toolbar)
3320 (+hildon_window_set_edit_toolbar):
3321 New hildon_window_set_edit_toolbar() method, to add a
3322 HildonEditToolbar to a window without having to pack it manually.
3324 Reorganize hildon_window_size_allocate()
3326 * src/hildon-edit-toolbar.c: Update documentation.
3328 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3329 example to use the new API.
3331 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3333 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3336 Remove from stack before calling parent's hide.
3338 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3340 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3341 window is removed from the middle of the stack, update the
3342 transiency of the previous one.
3344 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3347 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3350 block/unblock the signal handler if it's not actually being used.
3351 Fixes some critical warnings.
3353 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3355 Based on a patch by Iván Gómez (igomez@igalia.com)
3357 * src/hildon-banner.c
3361 * src/hildon-pannable-area.c
3362 * src/hildon-picker-dialog.c
3363 * src/hildon-wizard-dialog.h
3364 * src/hildon-wizard-dialog.c: Documentation updates.
3366 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3367 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3369 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3371 * configure.ac: post release version bump.
3372 * debian/changelog: version bump.
3374 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3379 * configure.ac: Bump version.
3380 * debian/changelog: Updates.
3382 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3385 a stock icon nor change the relief of the back arrow.
3387 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3388 graphics from theme)
3390 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-button.c (hildon_button_set_alignment): Use
3393 priv->alignment if the button has no child yet.
3395 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-button.c: (hildon_button_init): Set the
3398 button style during initialization to give it the proper
3401 Fixes: NB#99713 (HildonButton value label color is wrong)
3403 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-touch-selector.c: Document
3406 hildon_touch_selector_center_on_selected()
3408 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3410 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3411 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3412 all menu items, but not the menu itself.
3413 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3414 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3415 items after adding them to the menu so keyboard accelerators work.
3416 (hildon_app_menu_show): Don't show the menu if it contains items
3417 but none of them are visible.
3419 * examples/hildon-app-menu-example.c (create_menu): Use
3420 gtk_widget_show_all() to show all menu items.
3422 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-picker-dialog.c:
3425 (-_update_title_on_selector_changed_cb),
3426 (-_dialog_update_title): Removed.
3427 (_select_on_selector_changed_cb), (_on_dialog_response),
3428 (on_selector_columns_changed): Do not update the dialog title.
3429 (setup_interaction_mode): Do not connect to
3430 HildonTouchSelector::changed signal if there's a "done" button, as
3431 the dialog title doesn't need to be updated.
3433 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3436 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3438 Patch by Kristian Rietveld (kris@imendio.com)
3440 * src/hildon-touch-selector.c: (_create_new_column): Use new
3441 GtkTreeView::hildon-row-tapped signal to react to user interactions
3442 instead of ::changed.
3444 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3445 with some dynamic tree model)
3447 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3450 (+screen_size_changed, +label_size_request)
3451 (hildon_note_class_init): Make the Hildon information note have a
3452 minimum height, and make its text hvae a maximum width.
3454 Fixes: NB#98614 (Hildon information note (background) should have
3455 minimum height and maximum text width)
3457 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-banner.h
3460 * src/hildon-banner.c (hildon_banner_show_information)
3461 (hildon_banner_show_informationf)
3462 (hildon_banner_show_information_with_markup): Update documentation
3463 to reflect that the icon_name parameter is not used anymore.
3464 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3465 Remove all code from these functions and mark them as deprecated.
3466 (hildon_banner_show_progress): Mark as deprecated.
3468 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3470 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3472 * src/hildon-pannable-area.c,
3473 (hildon_pannable_area_class_init),
3474 (tranparency_color),
3475 (hildon_pannable_draw_vscroll),
3476 (hildon_pannable_draw_hscroll),
3477 (hildon_pannable_area_expose_event): Added a new way to render the
3478 scrollbars of the pannable area avoiding using cairo at all. This
3479 way we improve the performance of the pannable area rendering. The
3480 cairo rendering procedure is still in the code, we can control
3481 which one to use changing the value of the define
3482 USE_CAIRO_SCROLLBARS.
3484 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3486 * configure.ac: post release version bump.
3487 * debian/changelog: version bump.
3489 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3494 * configure.ac: Bump version.
3495 * debian/changelog: Updates.
3497 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3499 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3500 banners instead of destroying them when they receive a button
3503 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3505 Reverted commit 34028, it was causing regressions, probably the
3506 topmost condition is not correct, we have to check it in more
3507 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3508 propagation of button press events)
3510 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3512 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3513 that the selection is not empty before attempting to retrieve the
3514 current ampm selection.
3516 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3518 * src/hildon-picker-button.c:
3519 (hildon_picker_button_on_dialog_response): Directly update the
3520 button contents when required instead of calling _selection_changed.
3522 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-program.c (hildon_program_update_top_most): Update
3525 'is-topmost' property also when wm_hints is not set.
3527 Fixes: NB#98383 (is-topmost signal is not emitted when task
3528 switcher is clicked.)
3530 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3532 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3536 * src/hildon-animation-actor.c,
3537 * src/hildon-animation-actor.h: Added the animation actor class,
3538 this widget represents an animation actor for WM-assisted
3539 animation effects in the Hildon framework.
3541 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3543 * src/hildon-window-stack-private.h
3544 * src/hildon-window-stack.c
3545 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3546 Avoid calling gtk_widget_show() again indirectly from
3547 hildon_stackable_window_show()
3549 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3554 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3557 (hildon_time_selector_init): Move the construction of the hours and
3558 ampm columns to the constructor to preserve the order the columns
3561 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-picker-dialog.c:
3564 (hildon_picker_dialog_class_init): Connect a realize method.
3565 (+hildon_picker_dialog_realize): Setup the interaction mode here
3567 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3568 yet, do it during the realize instead.
3569 (_on_dialog_response):
3570 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3571 if the widget is not realized, to avoid the dialog response before it
3574 Avoid premature responses in the HildonPickerDialog that can cause it
3575 to be hidden before it's even shown.
3577 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3580 (on_selector_columns_changed), (requires_done_button),
3581 (+prepare_action_area), (setup_interaction_mode),
3582 (_hildon_picker_dialog_set_selector):
3584 Split the interaction mode setup into preparation of the
3585 action area (prepare_action_area()) and the connection of
3586 the signals in setup_interaction_mode() and update the code to
3589 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3591 * src/hildon-pannable-area.c,
3592 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3593 per second to 15, we will check if this is ok regarding
3596 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3598 * src/hildon-pannable-area.c,
3599 (hildon_pannable_axis_scroll): Avoid resize if we already have
3600 reached overshoot_max.
3602 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3604 * src/hildon-pannable-area.c,
3605 (hildon_pannable_area_init),
3606 (hildon_pannable_area_realize),
3607 (hildon_pannable_area_size_allocate),
3608 (hildon_pannable_area_map),
3609 (hildon_pannable_area_unmap),
3610 (hildon_pannable_draw_vscroll),
3611 (hildon_pannable_draw_hscroll),
3612 (hildon_pannable_area_expose_event),
3613 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3614 pannable are to avoid the expose events go to the window and
3615 redraw the window. We save this way that part of the stack and the
3616 paint_boxes. We had to change the positions of the elements when
3619 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3621 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3622 * src/hildon-color-chooser-dialog.c:
3623 (hildon_color_chooser_dialog_init):
3624 * src/hildon-font-selection-dialog.c:
3625 (hildon_font_selection_dialog_init),
3626 (hildon_font_selection_dialog_show_preview):
3627 * src/hildon-get-password-dialog.c:
3628 * src/hildon-login-dialog.c:
3629 * src/hildon-set-password-dialog.c:
3630 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3631 * src/hildon-time-picker.c: (hildon_time_picker_init):
3633 Remove obsolete logical string IDs and update to the appropriate ones.
3635 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3637 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3640 that happens if the window hasn't been realized yet.
3642 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3643 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3645 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3648 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3651 Fixes: NB#98537 (Device hangs in account settings dialog)
3653 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3655 * configure.ac: post release version bump.
3656 * debian/changelog: version bump
3658 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3663 * configure.ac: Bump version.
3664 * debian/changelog: Updates.
3666 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3668 Added a new function to the HildonTimeButton widget that allows to
3669 change the step of the minutes in the selector associated with the
3670 button: hildon_time_button_new_step
3672 * src/hildon-time-button.c,
3673 (hildon_time_button_init),
3674 (hildon_time_button_new),
3675 (hildon_time_button_new_step):
3676 * src/hildon-time-button.h: Added the new function and refactored
3678 * examples/hildon-time-button-example.c,
3679 (main): We have replaced the function without parameters with the
3680 function with the steps set to 5
3682 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3684 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3686 * src/hildon-time-selector.c,
3687 (hildon_time_selector_class_init),
3688 (hildon_time_selector_constructor),
3689 (hildon_time_selector_get_property),
3690 (hildon_time_selector_set_property),
3691 (_create_minutes_model),
3692 (hildon_time_selector_new_step),
3693 (hildon_time_selector_set_time),
3694 * src/hildon-time-selector.h: Added a new property to the
3695 HildonTimeSelector (minutes-step), we use that property to control
3696 the steps between the minutes in the list of the selector. We have
3697 added a new function to the API to create a widget changing the
3698 step: hildon_time_selector_new_step.
3700 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3702 * src/hildon-time-selector.c,
3703 (hildon_time_selector_class_init),
3704 (hildon_time_selector_constructor),
3705 (hildon_time_selector_init): Overrided the construct function when
3706 creating the time selector object. We have moved the minutes model
3707 handling code from the init to the new construction function:
3708 hildon_time_selector_constructor.
3710 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3712 * examples/hildon-date-button-example.c: (main): Use the new
3713 hildon_date_button_new_with_year_range() method in the example.
3714 * src/hildon-date-button.c:
3715 (+hildon_date_button_new_with_year_range): New public method
3716 to conveniently create a HildonDateButton with a custom year range
3717 in its HildonDateSelector.
3718 * src/hildon-date-button.h: Add the new public method definition.
3720 Fixes: NB#97908 (Not possible to change the year range in
3721 HildonDateSelector/HildonDateButton)
3723 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3725 * src/hildon-date-selector.c:
3726 (+hildon_date_selector_set_property),
3727 (+hildon_date_selector_get_property),
3728 (hildon_date_selector_class_init): Install new properties "min-year"
3729 and "max-year" to define boundaries for the year column.
3730 (_create_year_model): Use the boundary properties to populate the model.
3731 (+hildon_date_selector_new_with_year_range): New public method to
3732 create a HildonDateSelector with a user defined year range.
3733 (hildon_date_selector_select_current_date): Use the new boundaries to
3734 calculate the iterator of current year.
3735 * src/hildon-date-selector.h: Add the new public method definition.
3737 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3740 Install a constructor method.
3741 (+hildon_date_selector_construct_ui): construct the widget.
3742 (+hildon_date_selector_constructor): new constructor.
3743 (+hildon_date_selector_init): move out widget construction code to
3744 the new constructor.
3746 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3749 that there's actually a month or year selected before obtaining them.
3750 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3751 of the HildonTouchSelector::changed signal, as it was emitted on every
3752 single item selection.
3754 Fix some warnings and possible crashers due to the selection restoring.
3756 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3759 the signal handlers only after creating the dialog instead of on every
3762 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-button.c (hildon_button_init)
3765 * src/hildon-check-button.c (hildon_check_button_init)
3766 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3767 focus when clicked by default.
3769 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3774 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3776 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3777 Alejandro G. Castro (alex@igalia.com)
3779 * src/hildon-picker-dialog.c:
3780 (hildon_picker_dialog_class_init): install new "center-on-show"
3782 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3783 (hildon_picker_dialog_set_property): add setter code for the new
3785 (hildon_picker_dialog_get_property): add getter code for the new
3787 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3788 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3791 Fixes: NB#92849 (Selected item is not always visible when
3792 HildonTouchSelector is shown)
3794 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3796 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3797 Alejandro G. Castro (alex@igalia.com)
3799 * src/hildon-touch-selector.c:
3800 (_create_new_column): Do not connect to the "realize" signal of the
3802 (hildon_touch_selector_append_column): center on the selected items
3803 when a new column is appended.
3804 (hildon_touch_selector_select_iter): Factor out the code to select a
3805 column to hildon_touch_selector_scroll_to().
3806 (+search_nearest_element): Method to retrieve the nearest selected
3807 element to the visible area of the pannable area in a column.
3808 (+on_realize_cb): scroll to the initially selected item.
3809 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3810 the pannable area is realized, otherwise delay this until it is.
3811 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3812 selected items of a given column.
3813 (+hildon_touch_selector_center_on_selected): Public method to center
3814 all columns on the nearest selected item.
3815 * src/hildon-touch-selector.h: Add definition for
3816 hildon_touch_selector_center_on_selected().
3818 Implement public API to ensure visibility of all selected items in
3819 a HildonTouchSelector.
3821 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3823 Fixed a problem in the fading when calling the scroll_to API, and
3824 improve scrollbar fading handling.
3826 * src/hildon-pannable-area.c,
3827 (hildon_pannable_area_grab_notify): avoid the timeout when the
3829 (hildon_pannable_area_button_press_cb),
3830 (hildon_pannable_area_motion_notify_cb): Code style changes.
3831 (hildon_pannable_area_button_release_cb): Review the conditions
3832 when releasing the mouse button to avoid unrequired fading
3834 (hildon_pannable_area_scroll_to): Do not calculate and set the
3835 velocity if the scroll is not required.
3837 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3840 Don't check whether the new selector is NULL: it cannot be.
3841 Hold a reference to the selector while doing the replacement.
3843 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3846 unnecessary size_request in a removed widget.
3848 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3851 an unnecessary reference tracking that was leaking.
3853 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3855 Added delayed motion notify event handling, this way we can
3856 discard redrawing if more than 25 events arrive per second.
3858 * src/hildon-pannable-area.c,
3859 (hildon_pannable_area_init): Initialized the new private atributes
3860 controlling this timeout
3861 (hildon_pannable_area_dispose): Remove the timeout that controls
3862 the motion notify events.
3863 (hildon_pannable_area_scroll): Added a condition to control the
3864 use of the acceleration.
3865 (hildon_pannable_area_motion_event_scroll_timeout),
3866 (hildon_pannable_area_motion_event_scroll): Added this two
3867 functions, they handle the motion notify events inside the
3869 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3870 to the scroll method with the new function.
3871 (hildon_pannable_area_button_release_cb): We have to remove the
3872 timeout handler and move to the last position if the last motion
3873 events were not handled.
3875 Fixes: NB#97028 (Pannable area updates on every motion event)
3877 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3879 * src/hildon-pannable-area.c,
3880 (hildon_pannable_area_get_topmost): Added a new parameter to
3881 filter the the windows that do not include those events. Added
3882 also a condition when finding the window to filter windows that do
3883 not ask for those events.
3884 (hildon_pannable_area_button_press_cb),
3885 (hildon_pannable_area_button_release_cb),
3886 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3887 topmost function, we have added the new parameter.
3889 Fixes: NB#97458 (Pannable area prevents propagation of button
3892 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-pannable-area.c,
3895 (hildon_pannable_area_initial_effect): Added controls before
3896 launching the timeout and the idle functions.
3897 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3898 of the method, in some situations it can return with TRUE and 0 in
3900 (hildon_pannable_area_button_press_cb): We do not need to set
3901 DELAY for fading out here.
3903 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3905 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3907 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3908 post-cleaning if the selection is not NULL.
3910 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3913 all items before restoring the selection.
3915 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-touch-selector.c:
3918 (+hildon_touch_selector_unselect_all):
3919 * src/hildon-touch-selector.h: New API to unselect all items in a
3920 column of the touch selector.
3922 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-pannable-area.c,
3925 (hildon_pannable_area_redraw): Added a call to the refresh
3926 function inside the redraw because apparently in some cases the
3927 change in the adjustment does not imply a size allocate.
3929 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3930 despite the view not being scrollable)
3932 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3935 leak. Check for NULL before attempting to set the window title.
3937 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3940 whether to show or not the 'Done' button each time the dialog is
3941 shown, as it depends on the HildonTouchSelector selection mode.
3943 Fixes: NB#96226 (In multiple selection mode Done button is shown
3944 sometimes in listpicker)
3946 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3949 for the number of columns in the HildonTouchSelector more than once.
3951 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3953 * src/hildon-touch-selector.c: Minor documentation fixes.
3955 * src/hildon-picker-dialog.c (+_dialog_update_title)
3956 (_select_on_selector_changed_cb)
3957 (_update_title_on_selector_changed_cb)
3958 (on_selector_columns_changed): Update dialog title when there's no
3959 'Done' button and also when the number of columns in the selector
3963 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3964 (+_selection_changed, hildon_picker_button_on_dialog_response)
3965 (hildon_picker_button_selector_selection_changed)
3966 (+hildon_picker_button_selector_columns_changed)
3967 (hildon_picker_button_set_selector): Update button value and emit
3968 'value-changed' when the number of columns in the selector
3972 Fixes: NB#96225 (Dialog titles are not shown according to the
3973 values selected in the list picker)
3975 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3978 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3979 New "arrow-width" and "arrow-height" style properties to set the
3980 size of the arrow button.
3981 Set name of arrow button ("hildon-edit-toolbar-arrow").
3983 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3984 graphics from theme)
3986 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-picker-button.c:
3989 (hildon_picker_button_selector_selection_changed): Use
3990 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3991 the dialog is present.
3993 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3994 the selection is accepted in the dialog)
3996 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-color-chooser.h
3999 * src/hildon-color-chooser-dialog.h:
4000 Added G_BEGIN_DECLS and G_END_DECLS
4002 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4004 (_clean_current_selection): plug a leak in the list.
4006 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4008 * src/hildon-picker-dialog.c:
4009 (+free_path_list): Method to free a GList of GtkTreePaths.
4010 (_clean_current_selection), (_save_current_selection),
4011 (_restore_current_selection): Save the current selection in
4012 as a list of lists, to support multiple selection properly.
4014 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4016 patch by Claudio Saavedra (csaavedra@igalia.com)
4018 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4019 Store the press position.
4020 (+hildon_text_view_button_release_event): If the release position is
4021 close enough to the press position, move the cursor here. Otherwise,
4023 (hildon_text_view_class_init): Override GtkTextView press, release, and
4024 motion event handlers, disabling this way text selection through
4025 pointer interaction, and allowing the container widget to handle the
4028 Fixes: NB#95828 (HildonTextView functionality)
4030 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4032 Based on a patch by Iván Gómez (igomez@igalia.com)
4034 * src/hildon-button.[ch]
4035 * src/hildon-calendar.c
4036 * src/hildon-check-button.c
4037 * src/hildon-date-editor.c
4038 * src/hildon-date-selector.c
4039 * src/hildon-picker-button.c
4040 * src/hildon-time-editor.c
4041 * src/hildon-time-selector.c
4042 * src/hildon-touch-selector.[ch]:
4043 Documentation updates
4045 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4047 * src/hildon-pannable-area.c,
4048 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4049 threshold, it was required due to X events handling.
4051 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4053 * src/hildon-pannable-area.c,
4054 (hildon_pannable_area_grab_notify),
4055 (hildon_pannable_area_initial_effect),
4056 (hildon_pannable_area_button_press_cb),
4057 (hildon_pannable_area_button_release_cb),
4058 (hildon_pannable_area_scroll_cb),
4059 (hildon_pannable_area_scroll_to): Review the timeout management of
4060 the scrollbar, the frecuency was incorrectly set.
4062 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4064 * src/hildon-picker-button.c:
4065 (+hildon_picker_button_on_dialog_response),
4066 (hildon_picker_button_clicked): Present the dialog instead of
4067 running it with gtk_dialog_run().
4069 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4072 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4075 (hildon_app_menu_finalize): When a window is hidden it doesn't
4076 emit notify::is-topmost, so make sure than the menu also
4077 disappears in that case.
4078 (parent_window_topmost_notify): Renamed from parent_window_hidden
4080 Fixes: NB#94460 (stackable window's menu is not closed when its
4083 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-touch-selector-entry.c:
4086 (+hildon_touch_selector_entry_set_input_mode),
4087 (+hildon_touch_selector_entry_get_input_mode):
4088 * src/hildon-touch-selector-entry.h: New methods to access the input
4089 mode in the selector's entry.
4091 Fixes: NB#93410 (API required for setting IM mode in
4092 HildonTouchSelectorEntry)
4094 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4096 * configure.ac: post release version bump.
4097 * debian/changelog: version bump
4099 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4104 * configure.ac: Bump version.
4105 * debian/changelog: Updates.
4107 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-touch-selector.c:
4110 (_hildon_touch_selector_has_multiple_selection): No need
4111 to initialize the variables here.
4113 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4115 * src/hildon-note-private.h
4116 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4117 (hildon_note_finalize, hildon_note_rebuild): Close information
4118 notes when they receive a button press.
4120 Fixes: NB#89890 (Information notes does not get disappeared after
4123 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4125 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4126 mark from the wizard title, as it's not really necessary. Also,
4127 do not display the page title if not set.
4129 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4132 (parent_window_hidden): Use the window's "is-topmost" property to
4133 detect when to hide the menu.
4135 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4137 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4138 (hildon_app_menu_finalize): If the parent window of the menu is
4139 hidden, hide the menu too.
4141 Fixes: NB#94460 (stackable window's menu is not closed when its
4144 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4147 * debian/libhildon1-examples.install
4149 * examples/Makefile.am:
4150 Use dh_install to install all examples.
4151 Use DEB_SRCDIR instead of defining SOURCE_DIR
4153 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4155 * configure.ac: post release version bump.
4156 * debian/changelog: version bump
4158 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4163 * configure.ac: bump version
4164 * debian/changelog: updates
4165 * debian/control: bump gtk+ dependency
4167 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4169 patch by Christian Dywan (christian@imendio.com)
4171 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4172 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4174 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-check-button.c (hildon_check_button_init)
4177 (hildon_check_button_class_init, hildon_check_button_style_set)
4178 (hildon_check_button_apply_style):
4179 New "checkbox-size" style property.
4181 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4182 larger / configurable size)
4184 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4186 * configure.ac: post release version bump.
4187 * debian/changelog: version bump
4189 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4194 * configure.ac: bump version
4195 * debian/changelog: updates
4197 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4199 * doc/hildon-sections.txt
4200 * src/hildon-pannable-area.c
4201 * src/hildon-program.c
4202 * src/hildon-time-editor.c
4203 * src/hildon-touch-selector-entry.c:
4205 More documentation updates.
4207 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4209 * doc/hildon-sections.txt
4210 * src/hildon-caption.c
4211 * src/hildon-code-dialog.c
4212 * src/hildon-color-button.c
4213 * src/hildon-controlbar.c
4214 * src/hildon-date-editor.c
4215 * src/hildon-date-selector.c
4216 * src/hildon-edit-toolbar.c
4217 * src/hildon-find-toolbar.c
4218 * src/hildon-font-selection-dialog.c
4220 * src/hildon-program.c
4221 * src/hildon-range-editor.c
4222 * src/hildon-seekbar.c
4223 * src/hildon-time-editor.c
4224 * src/hildon-time-selector.c
4225 * src/hildon-volumebar-range.c
4226 * src/hildon-volumebar.c
4227 * src/hildon-vvolumebar.c
4228 * src/hildon-weekday-picker.c
4229 * src/hildon-window.c
4230 * src/hildon-wizard-dialog.c:
4232 Lots of documentation fixes.
4234 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4236 Patch contributed by Iván Gómez (igomez@igalia.com)
4238 * src/hildon-check-button.c:
4239 * src/hildon-date-button.c:
4240 * src/hildon-date-selector.c:
4241 * src/hildon-dialog.c:
4242 * src/hildon-edit-toolbar.c:
4243 * src/hildon-entry.c:
4244 * src/hildon-picker-button.c:
4245 * src/hildon-program.c:
4246 * src/hildon-text-view.c:
4247 * src/hildon-time-button.c:
4248 * src/hildon-touch-selector-entry.c:
4249 * src/hildon-window-stack.c:
4251 Add more "since" tags to the new API.
4253 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4255 * doc/hildon-sections.txt: Add below method.
4256 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4257 version for the hildonized scale.
4258 * src/hildon-gtk.h: Add the definition.
4260 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4262 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4264 * doc/hildon-sections.txt: Add missing entries for new methods.
4266 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4268 Added API to pannable are in order to get its adjustments. We
4269 added two properties to manage the values we had in the private
4272 * src/hildon-pannable-area.c:
4273 (hildon_pannable_area_class_init): Added hadjustment and
4274 vadjustment properties in order to expose horizontal and vertical
4276 (hildon_pannable_area_get_property),
4277 (hildon_pannable_area_set_property): Added code to handle the new
4279 (hildon_pannable_area_get_hadjustment),
4280 (hildon_pannable_area_get_vadjustment): API functions to get the
4282 * src/hildon-pannable-area.h:
4283 (hildon_pannable_area_get_hadjustment),
4284 (hildon_pannable_area_get_vadjustment): API functions to get the
4287 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4289 Fixed some leaks, after valgrinding.
4291 * src/hildon-touch-selector.c:
4292 (_default_print_func): Fixed a leak.
4293 (hildon_touch_selector_append_column): Fixed a leak.
4294 * src/hildon-date-button.c:
4295 (hildon_date_button_init): Fixed a leak.
4296 * src/hildon-date-selector.c
4297 (hildon_date_selector_finalize): Fixed a leak.
4299 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4301 Based on a patch by Christian Dywan (christian@imendio.com)
4303 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4305 * src/hildon-gtk.h: Add definition.
4307 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4309 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-picker-button.c: (hildon_picker_button_init),
4312 (hildon_picker_button_new): Set the HildonButton::style property
4313 in the init method, to propagate the value to the derived classes.
4315 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-button.c: (hildon_button_class_init): Do not make
4318 the "style" property a construct property.
4320 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-wizard-dialog.h
4323 * src/hildon-wizard-dialog.c
4324 (hildon_wizard_dialog_set_forward_page_func)
4325 * src/hildon-pannable-area.h
4326 * src/hildon-pannable-area.c
4327 (hildon_pannable_area_set_size_request_policy):
4328 Documentation fixes.
4330 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4332 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4334 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4336 * doc/hildon-sections.txt: Added sections file.
4338 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4341 * src/*.[ch]: Updates.
4343 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4345 * examples/hildon-progress-indicator-example.c: new file
4346 * examples/Makefile.am: include the new example program
4348 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4350 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4352 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4354 * configure.ac: post release version bump
4355 * debian/changelog: version bump
4357 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: bump version
4363 * debian/changelog: updates
4364 * debian/control: bump gtk+ dependency
4366 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-dialog.c: Mark as deprecated.
4369 * src/hildon-dialog.h: Mark as deprecated.
4370 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4371 from HildonDialog and still work, even if
4372 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4373 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4375 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4376 maemo changes) instead)
4378 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4380 * src/hildon-pannable_area.h:
4381 * src/hildon-pannable_area.c:
4382 (hildon_pannable_area_class_init),
4383 (hildon_pannable_area_set_property),
4384 (hildon_pannable_area_get_property),
4385 (hildon_pannable_area_size_request),
4386 (hildon_pannable_area_get_size_request_policy),
4387 (hildon_pannable_area_set_size_request_policy): Added new API
4388 allowing applications to control the request policy. Now they can
4389 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4390 children allocation (HILDON_MOVEMENT_CHILDREN).
4392 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4396 (hildon_gtk_tree_view_set_ui_mode)
4397 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4398 mode of treeviews and iconviews.
4400 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-touch-selector-entry.c:
4403 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4404 of a GtkEntry to get proper theming.
4406 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4407 widget, not GtkEntry)
4409 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4412 no HildonWizardDialogPageFunc.
4414 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4416 Patch contributed by Iván Gómez (igomez@igalia.com)
4418 * src/hildon-app-menu.c:
4419 * src/hildon-button.c:
4420 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4421 * src/hildon-stackable-window.c:
4422 * src/hildon-time-selector.c:
4423 * src/hildon-touch-selector.c:
4424 * src/hildon-window.c:
4426 Add more "since" tags to the new API in hildon 2.2.
4428 2008-12-05 Tim Janik <timj@imendio.com>
4430 Patch contributed by Christian Dywan (christian@imendio.com)
4432 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4433 HildonSizeType, which are supplied by Gtk+ now.
4435 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4437 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4438 (with maemo changes) instead)
4440 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4442 Patch contributed by Iván Gómez (igomez@igalia.com)
4444 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4447 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4449 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4450 (some_page_func), (main): Update the example to use a
4451 HildonWizardDialogPageFunc function.
4453 * src/hildon-wizard-dialog-private.h: Add private data for
4454 the HildonWizardDialogPageFunc function usage.
4456 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4457 (destroy), (hildon_wizard_dialog_init), (response),
4458 (hildon_wizard_dialog_set_forward_page_func):
4459 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4460 that applications can use to stop a HildonWizardDialog to jump to
4463 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4466 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-program.h
4469 * src/hildon-program-private.h
4470 * src/hildon-program.c (hildon_program_init)
4471 (hildon_program_set_common_app_menu)
4472 (hildon_program_get_common_app_menu):
4473 New API for setting a common HildonAppMenu for all
4474 HildonStackableWindows registered with the HildonProgram.
4476 * src/hildon-stackable-window.c
4477 (hildon_stackable_window_toggle_menu):
4478 Use the common HildonAppMenu if a window doesn't have a specific
4481 * src/hildon-app-menu-private.h
4482 * src/hildon-app-menu.c
4483 (hildon_app_menu_get_parent_window):
4484 Function to obtain the window a HildonAppMenu is attached to.
4485 (hildon_app_menu_set_parent_window):
4486 Hide the menu if the parent window is set to NULL.
4488 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4491 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4492 search widget to popup.
4494 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4496 * configure.ac: post release version bump
4497 * debian/changelog: version bump
4499 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4504 * configure.ac: bump version
4505 * debian/changelog: updates
4507 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4509 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4511 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4512 (hildon_window_stack_window_realized)
4513 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4514 Set the leader GdkWindow when a window is stacked and realized,
4515 unset it when it's unstacked.
4516 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4518 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4520 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-stackable-window.h
4523 * src/hildon-window-stack.h:
4524 Protect definition of HildonWindowStack using the preprocessor.
4526 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4528 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4529 Fix warning if all menu items are hidden.
4531 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4533 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4535 * src/hildon-controlbar.c:
4536 * src/hildon-hvolumebar.c:
4537 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4538 Multiple scale size defines updates.
4540 Fixes: NB#94322 (Scale Updates)
4542 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4544 * examples/hildon-app-menu-example.c (create_menu)
4545 Show items after adding them to the menu, as in the future the
4546 menu will no longer call gtk_widget_show() on the added items.
4548 * src/hildon-app-menu.c:
4549 Update example as explained above.
4551 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4553 * src/hildon-app-menu.c
4554 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4555 Make sure that all menu items have finger height.
4557 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4559 * src/hildon-picker-dialog.c:
4560 (_on_dialog_response), (_save_current_selection),
4561 (_restore_current_selection), (_clean_current_selection),
4562 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4563 Defined new functions in order to save the current internal selector
4564 selection previous open the dialog, in case that the use cancel the
4565 interaction, so the widget restores the previous selection.
4567 Fixes: NB#92032 (In calendar application, date values in 'new event'
4570 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4572 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-button.c: Add a reference to the button examples in
4575 hildon-button-example.c
4577 * examples/hildon-button-example.c: Added examples of the most
4578 common button layouts.
4580 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-app-menu.c (hildon_app_menu_show)
4583 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4585 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4587 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-picker-dialog.c:
4590 (hildon_picker_dialog_init): Initialize the signal id for
4591 HildonTouchSelector::columns-changed.
4592 (+on_selector_columns_changed): Set up the interaction mode everytime a
4593 column is added or removed from the HildonTouchSelector.
4594 (_hildon_picker_dialog_set_selector): Connect to
4595 HildonTouchSelector::columns-changed and keep track of it.
4597 Make sure to update the interaction mode of the dialog everytime a
4598 column is added or removed in the HildonTouchSelector.
4600 Fixes: NB#93228 (Done button is not shown always in listpicker)
4602 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4604 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4605 a new ::columns-changed signal.
4606 (hildon_touch_selector_append_column): Emit ::columns-changed.
4607 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4609 Add a ::columns-changed signal, emitted when the number of columns in a
4610 HildonTouchSelector changes.
4612 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4615 (_hildon_picker_dialog_set_selector): Factor out the code
4616 to set up the dialog interaction mode.
4618 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4621 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4622 to signal_changed_id.
4624 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4626 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4629 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4631 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4632 Updated the logical ids related to ampm format, as now it is required to
4633 show it correctly localized even on languages with no default
4634 abbreviations for am or pm
4635 (_check_am_pm_format): check correctly the 24h format gconf property
4637 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4639 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-button.c: Documentation updates.
4643 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4645 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4646 * src/hildon-caption.c: (hildon_caption_class_init):
4647 * src/hildon-color-button.c: (hildon_color_button_class_init):
4648 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4649 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4650 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4651 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4653 Remove deprecated GTK+ marshalers and replace them with the ones
4654 provided by GLib, for those available, add a marshaler for
4655 BOOLEAN:VOID, which is not available in GLib, and use it.
4657 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4660 the text from the previous column if there is no
4661 HildonTouchSelectorColumn::text-property set.
4663 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4665 * src/hildon-button.h
4666 * src/hildon-button.c (hildon_button_set_property)
4667 (hildon_button_get_property, hildon_button_class_init)
4668 (hildon_button_set_style, hildon_button_get_style):
4669 New "style" property to change the visual appearance of the
4672 * src/hildon-picker-button.c (hildon_picker_button_new):
4673 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4675 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4676 HildonButton look like PickerButton)
4678 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4681 column while building the default string.
4683 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4686 scroll indicator by default.
4688 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4690 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4692 * src/hildon-main.c: Fix the documentation for hildon_init()
4694 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4696 * doc/hildon-docs.sgml
4700 * src/hildon-window-stack-private.h
4701 * src/hildon-window-stack.h
4702 * src/hildon-window-stack.c:
4703 New HildonWindowStack object, that adds support for multiple
4704 stacks of windows per process.
4706 * src/hildon-stackable-window-private.h
4707 * src/hildon-stackable-window.h
4708 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4709 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4710 (hildon_stackable_window_show, hildon_stackable_window_hide)
4711 (hildon_stackable_window_class_init)
4712 (hildon_stackable_window_init):
4713 Use HildonWindowStack for stack management.
4715 * src/hildon-program.c (hildon_program_pop_window_stack)
4716 (hildon_program_peek_window_stack)
4717 (hildon_program_go_to_root_window):
4718 Add a fallback implementation to the deprecated functions using
4721 * examples/hildon-stackable-window-example.c:
4722 Use the new HildonWindowStack API.
4724 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-stackable-window-private.h
4727 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4728 (hildon_stackable_window_hide, hildon_stackable_window_init):
4729 Remove all window stack management.
4731 * src/hildon-program-private.h
4732 * src/hildon-program.h
4733 * src/hildon-program.c (hildon_program_init)
4734 (hildon_program_pop_window_stack)
4735 (hildon_program_peek_window_stack)
4736 (hildon_program_go_to_root_window):
4737 Remove all window stack management and mark functions as
4740 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4742 * src/hildon-app-menu.c (hildon_app_menu_realize):
4743 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4745 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4747 * configure.ac: post release version bump
4748 * debian/changelog: version bump
4750 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4755 * configure.ac: bump version
4756 * debian/changelog: updates
4758 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4760 Based on initial code by Christian Dywan (christian@imendio.com)
4762 * doc/hildon-docs.sgml: Add section for hildon-main.
4763 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4764 * src/Makefile.am: Add new hildon-main.[ch]
4765 * src/hildon-defines.h: Update the icon sizes.
4766 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4767 new library initialization files and register icon sizes.
4768 * src/hildon-main.h: New declarations.
4769 * src/hildon.h: Include hildon-main.h
4771 Add new initialization functions to the library. These methods
4772 will register the hildon specific icon sizes and can be used in the
4773 future for other hildon specific bits.
4775 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4777 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4779 * src/hildon-window.c: (hildon_window_realize),
4780 (hildon_window_notify), (-hildon_window_update_title): Do not set
4781 the application name in the window title.
4783 Fixes: NB#89754 (Applications shouldn't display their names in the
4786 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4788 * src/hildon-note-private.h:
4789 * src/hildon-note.c: (hildon_note_set_property),
4790 (hildon_note_get_property), (hildon_note_class_init),
4791 (hildon_note_init), (hildon_note_finalize),
4792 (hildon_note_new_confirmation_with_icon_name),
4793 (hildon_note_new_information_with_icon_name):
4795 No need to mark as deprecated the actual code. Revert
4796 to avoid missing symbols in widgets using deprecated API.
4798 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4800 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4802 * src/hildon-volumebar.h
4803 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4804 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4806 * src/hildon-helper.h
4807 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4808 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4810 * examples/Makefile.am:
4811 Deprecate hildon-insensitive-example
4813 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4815 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4817 * examples/hildon-pannable-area-buttons-scroll-example.c:
4818 Make all buttons finger height
4820 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4822 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4824 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4825 update the day model only if it is really required, and to avoid the
4826 full-reconstruction aproach. Now it only add or remove the required days.
4828 The purpose of this is avoid superfluous HildonTouchSelector::changed
4831 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4832 with strange parameters)
4834 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4836 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4838 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4839 the WINDOW_TYPE property.
4841 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4843 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4846 Fix dependency to allow parallel compilation with make -jX
4848 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4851 color frame and some minor tweaks to make it more consistent with
4854 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4855 highlighted but not visible)
4857 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4859 * examples/Makefile.am: Fixed typo in the Makefile.am.
4861 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4863 Reviewed the use of MAEMO_GTK define, now we add the define in the
4864 compilation line, and we also add it to the pc file.
4866 * configure.ac: Added MAEMO_GTK define to the compilation command
4867 and removed it from the config.h.
4869 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4870 do not have to take care about this define if the library was
4874 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4876 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4878 * examples/Makefile.am,
4879 * examples/hildon-pannable-area-buttons-scroll-example.c,
4880 * examples/hildon-pannable-area-gesture-signals-example.c,
4881 * examples/hildon-pannable-area-scroll-jump-example.c,
4882 * examples/hildon-pannable-area-tree-view-example.c:
4883 Renamed the pannable area examples, now they have more meaningful
4886 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4888 * src/hildon-touch-selector.c:
4889 (hildon_touch_selector_set_column_selection_mode): Used of
4890 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4891 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4892 to avoid re-seting the same selection mode.
4894 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4895 breaks HildonPickerDialog)
4897 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4899 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4900 conditional in the Makefile.am
4902 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4904 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4905 Remove unused methods.
4907 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4909 * src/hildon-button.c (hildon_button_init):
4910 Make button images center-aligned by default
4912 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4915 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4916 activated, we have to think about how to deal with both defines
4917 MAEMO_GTK and MAEMO_CHANGES.
4919 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4921 * examples/hildon-app-menu-example.c (create_menu): Make all
4922 buttons finger size.
4924 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4926 Fixed the compilation without maemo gtk adding ifdefs with
4927 MAEMO_GTK define to the code, we have to check this version more
4930 * examples/Makefile.am: Added control to avoid some examples that
4931 just make sense with maemo gtk.
4934 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4935 hildon modes with the define.
4937 * examples/hildon-edit-toolbar-example.c,
4938 (create_icon_view): Create the icon view without hildon-gtk
4939 helpers if we are not using maemo gtk.
4941 * src/hildon-touch-selector.c,
4942 (_create_new_column): Create the treeview without hildon-gtk
4943 helpers if we are not using maemo gtk.
4945 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4947 * src/hildon-pnnable-area.c,
4948 (hildon_pannable_area_dispose),
4949 (hildon_pannable_area_button_press_cb),
4950 (hildon_pannable_area_child_mapped),
4951 (hildon_pannable_area_add),
4952 (hildon_pannable_area_remove): Added code to control the position
4953 of the event_window when adding and removing children from the
4954 pannable. We have to raise the event window when the child is
4957 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4958 selection mode using custom widget inside pannable)
4960 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4962 * configure.ac: post release version bump
4963 * debian/changelog: version bump
4965 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4970 * configure.ac: bump version
4971 * debian/changelog: updates
4973 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4975 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4976 search mode, in order to avoid lose the focus on the treeview when
4977 a hw key (like enter) is pressed.
4979 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4980 in HildonDateSelector dialog)
4982 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4984 * debian/rules: Added --enable-maintainer-mode
4985 * Makefile.am: Added ACLOCAL_AMFLAGS
4987 This allows to properly regenerate the Makefiles if you modify the
4988 configure.ac or any Makefile.am.
4990 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4992 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4993 properties, not needed at all.
4995 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4997 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4999 * src/hildon-note.c: (hildon_note_set_property),
5000 (hildon_note_get_property), (hildon_note_class_init),
5001 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5002 (hildon_note_new_confirmation_add_buttons): Remove icons.
5003 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5004 (hildon_note_new_information_with_icon_name): Deprecate.
5005 (hildon_note_new_confirmation): Act directly, without calling
5006 the deprecated constructor.
5007 (hildon_note_new_information): Act directly, without calling
5008 the deprecated constructor.
5009 * src/hildon-note.h: Mark deprecate methods as such.
5010 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5011 not run tests on the deprecated methods if built with deprecation
5014 Fixes: NB#91688 (Never show icons in information notes/confirmation
5017 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5020 (hildon_app_menu_key_press): Remove leftover usage of the
5021 private structure in HildonAppMenu struct.
5022 * src/hildon-app-menu.h: Remove leftover private structure
5023 from the HildonAppMenu struct.
5025 Fixes a crasher when using the HildonAppMenu.
5027 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-picker-dialog.c: Use appropriate logical id
5030 for the default "Done" text.
5032 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5034 * configure.ac: post release version bump
5035 * debian/changelog: version bump
5037 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5039 Modified the way to scroll to the current selection just when the touch
5040 selector is shown on the screen, avoiding a g_idle. Added too a property
5041 to configure this behaviour. See hildon_pannable_area_jump_to_child
5042 documentation for more information.
5044 * src/hildon-touch-selector.c
5045 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5046 Added 'initial-scroll' property
5047 (hildon_touch_selector_set_property): Added
5048 (hildon_touch_selector_map): Removed as not required anymore
5049 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5050 only a concrete column, instead of iterate along all the columns
5052 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5057 * configure.ac: bump version
5058 * debian/changelog: updates
5060 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5062 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5063 compilation time warnings.
5065 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5068 the default value for HildonPannableArea::mov-mode to
5069 HILDON_PANNABLE_AREA_MODE_VERT.
5071 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5073 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5075 Reverting following commit:
5077 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5079 * src/hildon-app-menu-private.h
5080 * src/hildon-app-menu.[ch]
5081 * src/hildon-button.[ch]
5082 * src/hildon-check-button.[ch]
5083 * src/hildon-entry.[ch]
5084 * src/hildon-pannable-area.[ch]
5085 * src/hildon-text-view.[ch]:
5086 Added private field to the object's structure.
5088 because it causes an ABI breakage. We will need to introduce these
5089 changes later at some point. See NB#91636 for an extensive
5090 explanation and status.
5092 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5094 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5096 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5097 remove special cases that are no longer necessary.
5099 Fixes: NB#91016 (Change toolbar sizes, simplification)
5101 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5103 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5104 is shown in the cancel note.
5106 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5109 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5110 (hildon_seekbar_init): Remove steppers, remove expose event.
5111 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5113 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5115 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5118 label font to "SmallSystemFont" for vertically arranged buttons.
5120 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5123 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-check-button.c
5126 (hildon_check_button_set_active, hildon_check_button_clicked):
5127 Don't access private parts directly, use getters instead.
5129 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-check-button.c (hildon_check_button_new):
5132 Align the contents of the check button to the left.
5134 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5136 * src/hildon-pannable-area.c,
5137 (hildon_pannable_area_scroll_to),
5138 (hildon_pannable_area_jump_to),
5139 (hildon_pannable_area_scroll_to_child),
5140 (hildon_pannable_area_jump_to_child): Replace the mapped
5141 precondition of these functions with the realized, it is the
5142 correct state of the widget in this case. Changed the
5143 documentation according to this modification.
5145 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5147 Added a new EXTRA_CFLAGS option to add the deprecated define to
5148 the compilation command. This way we can avoid using the define in
5149 the documentation compilation.
5151 * configure.ac: Defined EXTRA_CFLAGS.
5153 * examples/Makefile.am:
5155 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5157 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5159 * src/hildon-picker-dialog.c:
5160 Defined a utility macro with the desired touch selector height
5161 Removed currently unused separator, and title_label variables from
5163 (hildon_picker_dialog_init): Removed code related to the creation
5164 of unused private variables title_label and separator.
5165 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5166 to ensure correct visualization of the touch selector inside the dialog.
5167 * src/hildon-touch-selector.c
5168 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5169 ensure a concrete height of the widget.
5171 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5174 * tests/Makefile.am:
5176 Remove spurious whitespaces.
5178 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5180 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5181 compilation warning after the cancel button removal.
5183 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5185 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5187 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5188 Makefile.am, that way we can choose not to compile some examples
5189 and tests of the deprecated widgets.
5191 * examples/Makefile.am: Divided the sources in deprecated and
5194 * src/Makefile.am: Added undef statement of the deprecated
5195 symbol to the enums file generation process.
5197 * src/hildon-color-chooser-dialog.c
5198 * src/hildon-color-chooser-dialog.h
5199 * src/hildon-color-button.c
5200 * src/hildon-color-button.h
5201 * src/hildon-color-chooser.c
5202 * src/hildon-color-chooser.h
5203 * src/hildon-controlbar.c
5204 * src/hildon-controlbar.h
5205 * src/hildon-date-editor.c
5206 * src/hildon-date-editor.h
5207 * src/hildon-hvolumebar.c
5208 * src/hildon-hvolumebar.h
5209 * src/hildon-private.c
5210 * src/hildon-private.h
5211 * src/hildon-range-editor.c
5212 * src/hildon-range-editor.h
5213 * src/hildon-seekbar.c
5214 * src/hildon-seekbar.h
5215 * src/hildon-time-editor.c
5216 * src/hildon-time-editor.h
5217 * src/hildon-time-picker.c
5218 * src/hildon-time-picker.h
5219 * src/hildon-volumebar.c
5220 * src/hildon-volumebar.h
5221 * src/hildon-vvolumebar.c
5222 * src/hildon-vvolumebar.h
5223 * src/hildon-bread-crumb-trail.h
5224 * src/hildon-bread-crumb-trail.c
5225 * src/hildon-calendar-popup.c
5226 * src/hildon-calendar-popup.h
5227 * src/hildon-weekday-picker.c:
5228 * src/hildon-weekday-picker.h:
5229 * src/hildon-bread-crumb-widget.c:
5230 * src/hildon-bread-crumb-widget.h:
5231 * src/hildon-bread-crumb.c:
5232 * src/hildon-bread-crumb.h:
5233 * src/hildon-calendar.c:
5234 * src/hildon-calendar.h:
5235 * src/hildon-caption.c:
5236 * src/hildon-code-dialog.c:
5237 * src/hildon-code-dialog.h:
5238 * src/hildon-font-selection-dialog.c:
5239 * src/hildon-font-selection-dialog.h:
5240 * src/hildon-get-password-dialog.c:
5241 * src/hildon-get-password-dialog.h:
5242 * src/hildon-login-dialog.c:
5243 * src/hildon-login-dialog.h:
5244 * src/hildon-number-editor.c:
5245 * src/hildon-number-editor.h:
5246 * src/hildon-set-password-dialog.c:
5247 * src/hildon-set-password-dialog.h:
5248 * src/hildon-sort-dialog.c:
5249 * src/hildon-sort-dialog.h: This is the list of deprecated
5252 * src/hildon-touch-selector.c:
5253 * src/hildon-window.c: Added undef statement to avoid compilation
5256 * tests/Makefile.am: Divided the sources in deprecated and
5259 * tests/check_test.c,
5260 (configure_tests): Marked the deprecated code that was adding
5261 suites with deprecated tests.
5263 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5265 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-touch-selector.c: (_default_print_func): Do not
5268 duplicate a string returned by gtk_tree_model_get(), it is already
5271 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5274 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5276 * src/hildon-pannable-area.c
5277 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5278 method, it had problems when adding a widget with viewport the
5279 second time. Now checks if it already has a viewport and uses it.
5281 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5284 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5286 * src/hildon-pannable-area.c,
5287 (hildon_pannable_area_scroll_to),
5288 (hildon_pannable_area_jump_to),
5289 (hildon_pannable_area_scroll_to_child),
5290 (hildon_pannable_area_jump_to_child): Added a precondition to the
5291 scroll and jump to functions: the widget must be mapped before we
5292 can safely call these functions. We have also added documentation
5293 to the functions to explain how to use them in this situation.
5296 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5298 Reviewed the threading handling of the pannable widget, we have
5299 used the gdk_threads_add_timeout function instead of the usual
5300 glib handlers. This avoids some problems with the threads.
5302 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5303 (hildon_pannable_area_initial_effect),
5304 (hildon_pannable_area_scroll_indicator_fade),
5305 (hildon_pannable_area_button_press_cb),
5306 (hildon_pannable_area_timeout),
5307 (hildon_pannable_area_motion_notify_cb),
5308 (hildon_pannable_area_button_release_cb),
5309 (hildon_pannable_area_scroll_cb),
5310 (hildon_pannable_area_scroll_to): Removed the
5311 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5312 gdk_threads_add_timeout.
5314 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5316 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5321 * configure.ac: bump version
5322 * debian/changelog: updates
5324 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5326 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5327 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5328 * src/hildon-color-chooser-dialog.c:
5329 (hildon_color_chooser_dialog_init):
5330 * src/hildon-font-selection-dialog.c:
5331 (hildon_font_selection_dialog_init):
5332 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5334 Remove all cancel/close-like dialogs, as these are not going to be
5337 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5339 * src/hildon-note.c: (hildon_note_rebuild),
5340 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5343 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5345 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5347 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5348 sure all buttons are shown, even the Cancel/Close-like ones.
5350 Fixes: NB#90861 (Custom Confirmation dialogs should be
5351 protected from cancel button removal)
5353 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5355 * debian/control: Change libhildon1-examples dependency from libhildon1
5357 * debian/libhildon1-examples.install
5359 * Makefile.am: Modified the final install directory for the examples on
5360 package libhildon1-examples
5361 * Makefile.static: Update clean target in order to remove all the binary
5364 Changes suggested by Claudio after review new libhildon1-examples package
5366 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5369 * src/hildon-touch-selector.c: Ditto.
5371 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5373 * debian/control: Added new package libhildon1-examples, in order to pack
5374 the current hildon examples as documentation
5375 * debian/rules: Not to compress .c files, modify some includes on the
5376 examples (as normally are compiled locally, but when installed it will
5377 require to include the installed libhildon1 library), and rename
5379 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5380 install all the example files on the new example package
5381 * examples/Makefile.static: Added static makefile that can be used to
5382 compile the examples, once installed the new example package
5383 * examples: Most of the examples were modified in order to grant that
5384 all use only '#include "hildon.h"', in order to be easy to prepare
5385 it on the example package
5387 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5390 * debian/libhildon1-dev.install
5391 * debian/libhildon1-doc.install:
5392 Move all gtk-doc files to a separate libhildon1-doc package.
5394 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5396 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5398 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5400 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5402 * debian/rules: Fixed a error in order to avoid unnecessary calls
5403 to autogen.sh on package building
5405 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5407 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5409 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5411 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5414 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5416 * src/hildon-picker-button.c
5417 (hildon_picker_button_finalize):
5418 Free priv->done_button_text
5420 * src/hildon-time-button.c
5421 (hildon_time_button_set_time)
5422 * src/hildon-picker-button.c
5423 (hildon_picker_button_clicked)
5424 (hildon_picker_button_selector_selection_changed)
5425 (hildon_picker_button_set_selector)
5426 * src/hildon-date-button.c
5427 (hildon_date_button_set_date):
5428 Free strings returned by hildon_touch_selector_get_current_text()
5430 * src/hildon-button.c (hildon_button_construct_child):
5431 Fix leaks in priv->image and priv->label_box
5433 Fixes: NB#90535 (Memory leak in picker button)
5435 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5437 * src/hildon-button.c: (hildon_button_get_property): Do not access
5438 private elements directly, use getters instead.
5440 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-app-menu-private.h
5443 * src/hildon-app-menu.c
5444 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5445 Store the menu's parent window.
5447 * src/hildon-stackable-window.c
5448 (hildon_stackable_window_toggle_menu)
5449 (hildon_stackable_window_finalize):
5450 Set the menu's parent window when the menu is shown, unset it when
5453 * src/hildon-app-menu.c
5454 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5455 (hildon_app_menu_class_init):
5456 Send unhandled keyboard accelerators to the parent window.
5458 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-stackable-window.c
5461 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5463 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5465 * configure.ac: post release version bump
5467 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5470 * configure.ac: Bump version
5471 * debian/changelog: Updates
5472 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5475 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5477 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5480 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5481 GtkMenu with Hildon style.
5483 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5485 * src/hildon-picker-button.c:
5486 (hildon_picker_button_set_done_button_text): Set the dialog's
5487 done button text here as well.
5489 Fixes: NB#90232 (Picker button does not set the label on done button
5490 for the second time)
5492 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5494 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5497 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-app-menu.c (hildon_app_menu_insert)
5500 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5501 the HildonAppMenu to be activatable using keyboard accelerators
5502 when the menu is not being shown.
5504 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5506 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-stackable-window.c
5509 (hildon_stackable_window_show):
5510 Don't hide old windows automatically when new windows are shown:
5511 this is now a task for the window manager.
5512 (hildon_stackable_window_class_init)
5513 (hildon_stackable_window_hide):
5514 Remove windows from the stack everytime they're hidden.
5515 (hildon_stackable_window_realize):
5516 Don't change the _NET_WM_WINDOW_TYPE property. Use
5517 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5518 it as a stackable window.
5520 * src/hildon-program.c
5521 (hildon_program_pop_window_stack):
5522 Just hide the window to remove it from the stack.
5523 (hildon_program_go_to_root_window):
5524 Don't call gtk_widget_show(), this is now a task for the window
5527 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5529 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-button.c
5532 (hildon_button_construct_child):
5533 Don't pack anything in the button until text or image are
5534 set. This allows adding a custom child after creating the button
5535 with hildon_button_new().
5536 (hildon_button_finalize, hildon_button_class_init)
5537 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5538 alignment and the label box even when they're not packed in the
5541 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5543 * src/hildon-touch-selector.h:
5544 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5545 currently the type definition was using GTK_TYPE_VBOX
5546 * src/hildon-touch-selector.c:
5547 Added some implementation notes in order to clarify that any other widget
5548 added without the column related API will not be included on the
5549 selection logic, and how the widget is freed, as some people ask about
5551 (hildon_touch_selector_remove): Reimplemented in order to free properly
5552 the column related data when you remove the private hbox.
5553 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5554 to get a proper HildonTouchSelectorColumn documentation
5556 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5558 * src/hildon-touch-selector-entry.c:
5559 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5560 text in the GtkEntry and there is no item selected. Fixes a
5563 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-app-menu-private.h
5566 * src/hildon-app-menu.[ch]
5567 * src/hildon-button.[ch]
5568 * src/hildon-check-button.[ch]
5569 * src/hildon-entry.[ch]
5570 * src/hildon-pannable-area.[ch]
5571 * src/hildon-text-view.[ch]:
5572 Added private field to the object's structure.
5574 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5576 * configure.ac: post-release version bump
5578 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5582 * configure.ac: pre-release version bump
5584 * debian/changelog: updates.
5586 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5588 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5589 Disconnect the handler for HildonTouchSelector::changed.
5591 (hildon_picker_button_selector_selection_changed): Update the button
5592 value if the selection change was not triggered by the
5595 (hildon_picker_button_set_selector): connect to
5596 HildonTouchSelector::changed.
5598 Fixes: NB#89650 (Picker button is not updated, when selection in
5599 selector has changed)
5601 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5603 * src/hildon-picker-dialog.c
5604 (hildon_picker_dialog_realize): Removed as not required
5605 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5606 * src/hildon-picker-button.c
5607 (_current_selector_empty): New function, checks if the selector is empty
5608 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5609 if the current selector is empty, in order to avoid to show the dialog
5610 close the dialog in this case (and shows a g_warning).
5612 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5614 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5616 * src/hildon-pannable-area.c,
5617 (hildon_pannable_area_scroll): Added clause to stop movement when
5618 the child of pannable is smaller than one page.
5619 (hildon_pannable_area_scroll_to): Added conditions to avoid
5620 starting the scrolling movement if the child is smaller than one
5621 page, the complete child is in the screen, we do not have to move.
5623 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5625 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5628 this is managed automatically by the widget when the size of the
5631 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-picker-button.c
5634 (hildon_picker_button_set_done_button_text): Make a copy of the
5635 text, and free the previous value.
5637 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5639 * src/hildon-touch-selector-entry.c:
5640 (hildon_touch_selector_entry_print_func): Return the selected row's
5641 text if the entry is empty.
5643 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5646 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5648 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5650 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-check-button.h
5654 * src/hildon-check-button.c
5655 * examples/hildon-check-button-example.c:
5656 HildonCheckButton is now a new widget. 'toggled' signal added.
5658 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5660 * src/hildon-program-private.h
5661 * src/hildon-program.c (hildon_program_init)
5662 (hildon_program_finalize): Removed unused variables group_leader
5663 and name from HildonProgramPrivate.
5665 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-check-button.c (hildon_check_button_set_active)
5668 (hildon_check_button_get_active, hildon_check_button_new): Use
5669 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5671 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5673 * src/hildon-touch-selector.h
5674 (hildon_touch_selector_set_column_attributes): added deprecation
5675 guard HILDON_DISABLE_DEPRECATED
5676 * src/hildon-time-selector.c
5677 (hildon_time_selector_set_time)
5678 (hildon_time_selector_get_time): Fixed a typo on documentation
5679 * src/hildon-touch-selector.c: update HildonTouchSelector and
5680 HildonTouchSelectorColumn documentation
5681 * src/hildon-touch-selector-entry.c: update "text-column" property
5683 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5684 to be added to the general documentation.
5686 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5688 * examples/hildon-pannable-area-example-4.c,
5690 * examples/hildon-pannable-area-example.c,
5691 (main): Modified the code in order to use the container add, with
5692 viewport treeviews could have problems if they are really big.
5694 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5696 * src/hildon-weekday-picker.c,
5697 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5698 the agreement regarding deprecation in the library.
5700 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5702 * examples/hildon-picker-button-multicolumn-example.c:
5703 (main): Use custom "done" button text.
5705 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5706 (hildon_picker_button_set_property),
5707 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5708 (hildon_picker_button_init),
5709 (+hildon_picker_button_get_done_button_text),
5710 (+hildon_picker_button_set_done_button_text): New methods to customize
5711 the "done" button label in the launched HildonPickerDialog. Also,
5714 * src/hildon-picker-button.h: add the public API.
5716 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5718 * src/hildon-date-selector.h:
5719 * src/hildon-picker-dialog.h:
5720 * src/hildon-time-selector.h:
5721 * src/hildon-touch-selector-column.h:
5722 * src/hildon-touch-selector.h:
5724 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5725 declarations. Fixes gtk-doc warnings.
5727 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-picker-dialog.h
5730 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5731 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5733 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5734 long text is set as label for done button)
5736 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5738 * src/hildon-dialog.c (hildon_dialog_add_button):
5739 Set fixed width to all buttons in the HildonDialog.
5741 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5743 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5745 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5746 Set widget name using class name plus "-finger" or "-thumb".
5748 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5750 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5751 'clicked' when the state of the button is manually changed.
5753 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-app-menu.c (hildon_app_menu_realize)
5756 (hildon_app_menu_unrealize, hildon_app_menu_init)
5757 (hildon_app_menu_class_init, item_visibility_changed):
5758 Change the menu layout when the size of the screen changes.
5759 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5760 Show warning only when changing the number of colums using the
5763 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5765 * debian/compat: Set to 5
5766 * debian/control: Update dependencies.
5767 * debian/libhildon1-dbg.install: Remove.
5768 * debian/libhildon1-dev.install: Update according to cdbs paths.
5769 * debian/libhildon1.install: Update according to cdbs paths.
5770 * debian/rules: Switch to cdbs.
5772 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5775 'item' variable renamed to 'filter'
5777 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-app-menu.c (hildon_app_menu_insert)
5780 (hildon_app_menu_add_filter, remove_item_from_list)
5781 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5782 Don't leak hidden items when the menu is destroyed.
5784 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5786 * src/hildon-app-menu.c (hildon_app_menu_insert)
5787 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5788 (hildon_app_menu_set_columns, item_visibility_changed)
5789 (filter_visibility_changed, hildon_app_menu_repack_filters)
5790 (hildon_app_menu_repack_items):
5791 Repack items and filters separately.
5793 Don't repack all items, change only the ones that are needed to
5796 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5798 * src/Makefile.am: added hildon-touch-selector-column.h
5800 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5802 * src/hildon-touch-selector.c: added the property "text-column" to the
5803 class HildonTouchSelectorColumn, and related get/set functions
5804 (_default_printf_func): updated to use "text-column" property
5805 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5806 "text-column" in his documentation, as this is now included on
5807 HildonTouchSelectorColumn. The get/set_property can still be used,
5808 working as a wrapper to the concrete column "text-column" property
5809 (_text_column_modified): callback added in order to handle the signal
5810 "notify::text-column" of the concrete HildonTouchSelectorColumn
5811 (hildon_touch_selector_entry_get_text_column)
5812 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5813 modified in order to use the HildonTouchSelectorColumn "text-column"
5815 * src/hildon-time-selector.c:
5816 * src/hildon-date-selector.c:
5817 * examples/hildon-touch-selector-example.c
5818 * examples/hildon-touch-selector-multi-cells-example.c
5819 * examples/hildon-picker-button-multicolumn-example.c
5820 Set the right value to "text-column" property on the creation of a new
5821 column using hildon_touch_selector_append_column()
5823 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5825 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-app-menu.c
5828 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5829 updating the layout of the menu, don't create all widgets again,
5830 just repack the items in their new places.
5832 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5834 * src/hildon-time-selector.c
5835 (hildon_time_selector_get_time)
5836 (hildon_time_selector_set_time)
5837 Added documentation of these public methods
5839 * src/hildon-date-button.h
5840 * src/hildon-touch-selector-column.h
5841 * src/hildon-time-button.h
5842 * src/hildon-picker-dialog.h
5843 * src/hildon-time-selector.h
5844 * src/hildon-picker-button.h
5845 * src/hildon-touch-selector.h
5846 * src/hildon-time-picker.h
5847 * src/hildon-date-selector.h
5848 * src/hildon-touch-selector-entry.h
5849 Modified in order to use hildon-widgets code style
5851 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5853 Added deprecated support to the compilation process using
5854 HILDON_DISABLE_DEPRECATED
5856 * configure.ac: Added the --disable-deprecated to the configure
5859 * src/hildon-weekday-picker.c:
5860 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5861 to use the deprecated support. We will update the other deprecated
5862 widgets status in a new patch.
5864 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5866 * configure.ac: Fixed typo with fatal warnings support, the
5867 variable name was not correct
5869 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-app-menu.c
5872 * src/hildon-program.c: Update documentation.
5874 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5876 * configure.ac: Post-release version bump.
5878 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5883 * configure.ac: Pre-release version bump.
5884 * debian/changelog: Updates.
5886 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5888 * NEWS: Update news for previous releases.
5890 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5892 * examples/hildon-touch-selector-multi-cells-example.c:
5893 (create_selector): Update the example to use
5894 hildon_touch_selector_append_column() with a NULL renderer and set
5895 the renderers later.
5896 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5897 passed a NULL renderer. This is documented behavior now.
5899 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5900 This must be used if the developer wants full control on the layout of
5901 the renderers to be added to the column.
5903 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5905 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5907 * src/hildon-touch-selector.c: Documentation fixes.
5909 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5911 * src/hildon-wizard-dialog-private.h: Remove image and box.
5912 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5913 (hildon_wizard_dialog_set_property), (response): Completely remove
5914 image/icon support, and the containers required for the layout.
5916 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5918 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-app-menu.c: Updated documentation.
5922 * src/hildon-stackable-window.c
5923 (hildon_stackable_window_set_main_menu): Unref the old menu after
5924 ref'ing the new one.
5926 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-stackable-window.c
5929 (hildon_stackable_window_set_main_menu): Unref the previous menu
5930 instead of destroying it.
5932 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5933 floating reference and set has_user_ref_count to FALSE to make
5934 HildonAppMenu act like a normal ref-counted widget and not a
5937 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5940 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5942 * src/hildon-touch-selector-column.h: new file
5943 * src/hildon-touch-selector.h
5944 * src/hildon-touch-selector.c
5945 Implemented GtkCellLayout interface, in order to allow to configure
5946 the cell layout on each individual selector column
5947 (hildon_touch_selector_set_column_attributes): marked as deprecated
5948 * examples/hildon-touch-selector-multi-cells-example.c
5949 Example of how to use the GtkCellLayout interface on the selector
5951 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5953 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-app-menu.h
5956 * src/hildon-app-menu.c
5957 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5958 (hildon_app_menu_append, hildon_app_menu_prepend):
5959 New methods to prepend, insert and move items in the menu.
5961 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5963 * src/hildon-wizard-dialog.c:
5965 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5967 (create_title): Update logical IDs and related code.
5968 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5970 * src/hildon-wizard-dialog.h: Note that
5971 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5972 point, as it is not used anymore.
5974 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5976 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5978 * src/hildon-note.c:
5979 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5980 shown. Do not display an icon in confirmation notes nor information
5982 (hildon_note_set_button_text): Update logical ID for cancel button.
5984 Fixes: NB#88850 (Update HildonNote button strings + signals)
5986 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-stackable-window.c
5989 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5991 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-app-menu-private.h
5994 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5995 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5996 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5997 temporary property 'columns' to change the number of columns.
5999 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6001 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6003 * examples/hildon-note-example.c: (on_information_clicked),
6004 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6005 debugging information.
6006 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6008 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6009 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6010 in order to close: this will be handled by the WM from now on.
6012 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6014 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-app-menu-private.h
6017 * src/hildon-app-menu.c
6018 (hildon_app_menu_append, hildon_app_menu_add_filter)
6019 (button_visibility_changed, hildon_app_menu_apply_style)
6020 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6021 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6022 layout everytime a button (item or filter) is shown or hidden.
6024 * src/hildon-stackable-window.c
6025 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6028 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6030 * src/hildon-touch-selector.c:
6031 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6032 that the treeview inside the touch selector is in fremantle hildon mode
6033 * examples/hildon-date-button-example.c
6034 * examples/hildon-picker-button-multicolumn-example.c
6035 * examples/hildon-touch-selector-entry-example.c
6036 * examples/hildon-touch-selector-example.c
6037 * examples/hildon-time-button-example.c
6038 * examples/hildon-picker-button-example.c:
6039 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6041 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6043 * examples/hildon-text-view-example.c: (main): Remove the
6044 gtkrc bits, now handled by the theme.
6046 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6048 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6051 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6053 * po/Makefile.am: Install properly the mo files.
6054 * po/en_GB.po: Update translation, to ease testing purposes.
6056 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6058 * examples/hildon-picker-button-example.c: (main): Select an item
6059 in the selector before setting it to the button.
6061 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6063 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6064 Update button's value if the selector has an item active.
6066 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6067 'value' with the selector)
6069 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6071 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6072 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6073 (hildon_picker_button_class_init): Plug the finalize method.
6074 (hildon_picker_button_set_selector): If there's a previously set
6075 selector, unref'it before setting a new one.
6077 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6078 HildonTouchSelector)
6080 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6082 * src/hildon-touch-selector-entry.c:
6083 (hildon_touch_selector_entry_changed): Check if there is no text
6084 selected before setting the entry text.
6087 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6089 * src/hildon-touch-selector.h
6090 * src/hildon-touch-selector.c
6091 (hildon_touch_selector_get_active)
6092 (hildon_touch_selector_set_active): New methods to set/get the
6093 index of the selected item.
6095 * src/hildon-picker-button.h
6096 * src/hildon-picker-button.c
6097 (hildon_picker_button_get_active)
6098 (hildon_picker_button_set_active): New methods to set/get the
6099 index of the selected item.
6101 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6103 * configure.ac: post-release version bump.
6105 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6109 * configure.ac: Pre-release version bump.
6110 * debian/changelog: Updates.
6111 * debian/control: Add myself as maintainer and depend on l10n
6114 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6116 * src/hildon-window.c
6117 (hildon_window_set_main_menu)
6118 * src/hildon-stackable-window.c
6119 (hildon_stackable_window_set_main_menu):
6120 Updated documentation.
6122 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6125 Don't free selector->priv manually.
6128 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6131 (hildon_gtk_window_set_progress_indicator):
6132 * src/hildon-gtk.h: Added the new API
6133 hildon_gtk_window_set_progress_indicator, it changes the state of
6134 the window progress hint.
6136 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6138 * src/hildon-button.c
6139 * src/hildon-stackable-window.c: Minor documentation updates.
6141 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-stackable-window.c: Updated documentation.
6145 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6147 * src/hildon-defines.h: Update margins definitions
6148 to the Fremantle sizes.
6151 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6153 * src/hildon-touch-selector.c,
6154 (_hildon_touch_selector_set_model): Cleaning the code after
6155 review, removed g_print and #if 0 from the code.
6157 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6159 * src/hildon-edit-toolbar.c: Update documentation.
6161 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-check-button.h
6164 * src/hildon-check-button.c
6165 (hildon_check_button_set_label, hildon_check_button_get_label)
6166 * examples/hildon-check-button-example.c
6167 (button_clicked_cb):
6168 Removed deprecated methods.
6170 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-text-view.c:
6173 Add sample code to the documentation.
6175 * src/hildon-entry.h
6176 * src/hildon-text-view.h:
6177 Minor cosmetic changes.
6179 * src/hildon-entry.c:
6180 Add sample code to the documentation.
6181 (hildon_entry_init, hildon_entry_refresh_contents):
6182 Don't allow NULL values in the placeholder.
6184 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6186 * doc/hildon-docs.sgml
6188 * examples/Makefile.am
6189 * examples/hildon-text-view-example.c
6191 * src/hildon-text-view.c
6192 * src/hildon-text-view.h
6194 New HildonTextView widget, with example.
6196 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6198 * po/POTFILES.in: Add missing files with translatable strings.
6199 Partially fixes NB#88287.
6201 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6203 * examples/hildon-pannable-area-example-2.c: (main): No need to
6204 set the cellrenderer height inside hildon touch lists, the theme does
6207 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6209 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6210 they are integrated in the theme.
6212 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6214 * examples/hildon-entry-example.c: Update the example adding
6215 widgets to modify the text and the placeholder of the HildonEntry.
6217 * src/hildon-entry.c: Show the placeholder everytime the widget
6218 is empty and loses the focus.
6220 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6222 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6224 * src/hildon-pannable-area.c,
6225 (hildon_pannable_area_size_request): Fixed bug in height
6226 requisition, avoid increasing size and add border twice.
6228 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6230 * configure.ac: postrelease version bump.
6232 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6236 * configure.ac: Prerelease version bump.
6237 * debian/changelog: update.
6238 * debian/rules: make -dbg package contain useful debugging symbols.
6240 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6242 * src/hildon-dialog.h
6243 * src/hildon-dialog.c
6244 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6245 New methods to add buttons with finger size.
6246 (hildon_dialog_new_with_buttons):
6247 Create buttons with finger size.
6249 * examples/hildon-dialog-example.c (main): Use HildonDialog
6250 methods to add buttons.
6252 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-entry.c: Updated HildonButton documentation.
6256 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6259 button value label with (FALSE, FALSE) to prevent NB#88126 from
6262 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6264 * examples/hildon-pannable-area-example.c,
6265 (main): Removed examples panning a vbox inside a pannable
6266 area. Check bug NB#87965
6268 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6270 Patch contributed by Kris Rietveld (kris@imendio.com)
6272 * src/hildon-pannable-area.c,
6273 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6274 get_size and get_position, this saves an X server roundtrip.
6276 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6278 * doc/hildon-docs.sgml
6280 * examples/Makefile.am
6281 * examples/hildon-entry-example.c
6283 * src/hildon-entry.c
6284 * src/hildon-entry.h
6286 New HildonEntry widget, with example.
6288 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6290 * src/hildon-button.c (hildon_button_construct_child): Pack the
6291 image with expand == fill == FALSE. This is a workaround for a bug
6294 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6296 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6297 labels for the text column, to make it more look more dynamic.
6299 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6301 * src/hildon-time-selector.c
6302 Define gettext auxiliar macro N_
6303 (_create_minutes_model)
6304 (_create_hours_model)
6305 (_create_ampm_model): use of strftime in order to fill the model
6306 * src/hildon-date-selector.c
6307 (hildon_date_selector_finalize):
6308 (_locales_init): remove the logic related to get the name of the months
6309 using nl_langinfo, as it is not required anymore
6311 (_create_year_model)
6312 (_create_month_model)
6313 (_update_day_model): use of strftime in order to fill the model properly
6316 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-button.h
6319 * src/hildon-button.c (hildon_button_get_image): New method to
6322 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6324 * src/hildon-touch-selector.c:
6325 (hildon_touch_selector_remove_column): Remove from the correct parent
6326 and also remove the list element and free it.
6329 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6331 * src/hildon-time-selector.c
6332 (_create_hours_model): change the range on 12h ampm format in order to use
6333 a 12-11 range instead of previous 01-12 range
6334 (hildon_time_selector_set_time): change the way to select the current time
6335 on 12h ampm format, due the change on the range
6336 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6339 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6341 * src/hildon-touch-selector.c
6342 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6343 in order to allow use this function on multiple row selection mode if
6344 the column is different that the first one
6347 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6349 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6350 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6352 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6354 * src/hildon-date-selector.h: clean some comments, now on the .c
6355 * src/hildon-date-selector.c
6356 (hildon_date_selector_select_month): first implementation
6357 (hildon_date_selector_select_day): added documentation, reimplemented
6358 using hildon_date_selector_select_current_date to avoid repeat code
6361 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6363 Reviewed interaction logic based on device experiences, refactored
6366 * src/hildon-pannable-area.c,
6367 (hildon_pannable_area_class_init): Updated default vmax speed.
6368 (hildon_pannable_area_calculate_velocity): Added this function, it
6369 avoids duplicate valocity calculation. Adjusted calculation to
6370 avoid problems with zero dist events.
6372 (hildon_pannable_area_motion_notify_cb): Now we use the
6373 calculate_velocity function.
6375 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6377 * src/hildon-date-selector.c
6378 (hildon_date_selector_select_current_date): fix the day range check
6379 as it failed using the last day of the current month
6382 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6384 * src/hildon-touch-selector.c
6385 (hildon_touch_selector_get_num_columns): added a parameter validation
6388 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6390 * examples/Makefile.am
6391 * examples/hildon-edit-toolbar-example.c: Example of the
6392 HildonEditToolbar widget.
6394 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6396 * configure.ac: postrelease version bump.
6398 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6402 * configure.ac: prerelease version bump.
6403 * debian/changelog: update.
6405 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6407 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6408 renderer to display stock icons in the touch list. Also, set the sizes
6409 to the recommended in the style guide.
6411 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6412 * src/hildon-touch-selector.h
6413 (hildon_touch_selector_set_active_iter): renamed, now is
6414 hildon_touch_selector_select_iter
6415 (hildon_touch_selector_get_active_iter): renamed, now is
6416 hildon_touch_selector_get_selected
6417 (hildon_touch_selector_unselect_iter): added
6418 * src/hildon-touch-selector.c
6419 Update after API modification (methods renamed)
6420 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6421 order to avoid problems selecting multiple elements on the column
6422 (hildon_touch_selector_unselect_iter): added the implementation
6423 * src/hildon-time-selector.c
6424 * src/hildon-date-selector.c
6425 * src/hildon-touch-selector-entry.c
6426 Update methods calls after hildon-touch-selector.h API modification (methods
6429 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6431 * src/hildon-stackable-window.c
6432 (hildon_stackable_window_finalize): Call the parent class's finalize.
6434 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6436 * examples/hildon-touch-selector-example.c: (create_selector): Use
6437 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6440 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6442 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6443 set a cell background color, to respect theming.
6445 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6447 * doc/hildon-docs.sgml
6450 * src/hildon-edit-toolbar.c
6451 * src/hildon-edit-toolbar.h
6452 * src/hildon.h: New HildonEditToolbar widget.
6454 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6456 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6459 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6460 * src/hildon-touch-selector.c
6461 (_create_new_column): use g_object_set instead of two g_object_set_property
6463 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6464 * src/hildon-touch-selector.c
6465 (_create_new_column): use of hildon_gtk_tree_view_new to create
6466 the treeview, instead of use directly g_object_new
6467 (_create_new_column): update the property name "vindicator-mode" for the
6468 new one "vscrollbar-policy"
6469 * examples/hildon-date-button-example.c
6470 * examples/hildon-picker-button-multicolumn-example.c
6471 * examples/hildon-touch-selector-entry-example.c
6472 * examples/hildon-touch-selector-example.c
6473 * examples/hildon-time-button-example.c
6474 * examples/hildon-picker-button-example.c
6475 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6476 to all the treeviews inside a pannable area.
6478 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-button.h
6481 * src/hildon-button.c (hildon_button_init)
6482 (hildon_button_set_arrangement, hildon_button_set_alignment)
6483 (hildon_button_set_title_alignment)
6484 (hildon_button_set_value_alignment)
6485 (hildon_button_set_image_alignment)
6486 (hildon_button_construct_child): New methods to set the alignment
6487 of the individual components of the button (title, value,
6488 image). Also, new method to alter the xscale and yscale properties
6489 of the GtkAlignment inside the button, so more complex layouts can
6492 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6494 * src/hildon-button.c (hildon_button_style_set)
6495 (hildon_button_class_init, hildon_button_set_arrangement)
6496 (hildon_button_construct_child): Apply style properties
6497 correctly. Use the 'image-spacing' style property too.
6499 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6502 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6505 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6507 * src/hildon-pannable-area.c,
6508 (hildon_pannable_area_size_request): Fixed problem with
6509 pannable-area size_request.
6511 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6513 Added management for the grab-focus to a child widget, like a
6514 range, we need to fade out the scrollbar when releasing.
6516 * src/hildon-pannable-area.c,
6517 (hildon_pannable_area_init): Connected the grab-focus signal to
6519 (hildon_pannable_area_grab_notify): Added this function in order
6520 to manage the situation when the grab-focus ends. We have to
6521 fade-out the scrollbar.
6523 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-app-menu.c: Minor documentation update.
6527 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6529 * src/hildon-app-menu.c
6530 * examples/hildon-app-menu-example.c (create_menu): Update
6531 examples and documentation to explain how to connect callbacks.
6533 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6535 * examples/hildon-button-example.c
6536 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6537 hildon_stackable_window_new instead of gtk_window_new
6539 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6542 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6543 (hildon_pannable_area_set_property),
6544 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6545 (hildon_pannable_area_unrealize),
6546 (hildon_pannable_area_size_request),
6547 (hildon_pannable_area_size_allocate),
6548 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6549 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6550 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6551 (hildon_pannable_area_initial_effect),
6552 (hildon_pannable_area_redraw),
6553 (hildon_pannable_area_scroll_indicator_fade),
6554 (hildon_pannable_area_expose_event),
6555 (hildon_pannable_area_get_topmost), (synth_crossing),
6556 (hildon_pannable_area_button_press_cb),
6557 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6558 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6559 (hildon_pannable_area_motion_notify_cb),
6560 (hildon_pannable_area_button_release_cb),
6561 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6562 (hildon_pannable_area_remove),
6563 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6564 chage the code layout to a more GtkWidget like. Review the use of
6567 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6569 * examples/hildon-pannable-area-example-4.c,
6570 (main): Modified the name of the hindicator_mode to
6573 * src/hildon-pannable-area.c,
6574 (hildon_pannable_area_class_init),
6575 (hildon_pannable_area_motion_notify_cb),
6576 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6577 we have reduced the amount of signals and managed reviewed its
6578 rationale. Changed the default decelerate value.
6580 (hildon_pannable_area_add),
6581 (hildon_pannable_area_redraw): Refactored functions.
6583 (hildon_pannable_area_init),
6584 (hildon_pannable_area_get_property),
6585 (hildon_pannable_area_set_property):
6586 (hildon_pannable_draw_vscroll),
6587 (hildon_pannable_draw_hscroll),
6588 (hildon_pannable_area_initial_effect),
6589 (hildon_pannable_area_expose_event),
6590 (hildon_pannable_area_scroll),
6591 (hildon_pannable_area_button_press_cb),
6592 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6593 and vindicator_mode with hscrollbar_policy and
6594 vscrollbar_policy. Replaced hscroll and vscroll with
6595 hscroll_visible and vscroll_visible.
6597 (hildon_pannable_area_refresh): Refactor the function, remove
6598 variables and check the calls to this function, added resize
6599 conditions in case the children change their layout.
6601 (hildon_pannable_area_size_request): Added more detailed
6602 size_request calculation.
6605 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6607 * src/hildon-color-chooser.c
6608 (init_borders): use the correct gtk_border_free instead of g_free, to
6609 avoid a crash when this widget is used (ie: the three color selection
6612 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6614 * src/hildon-check-button.c,
6615 (hildon_check_button_set_active): Fixed problem when setting the
6616 active value, the widget was not redrawn.
6618 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6620 * src/hildon-pannable-area.c,
6621 (hildon_pannable_area_refresh),
6622 (hildon_pannable_area_scroll),
6623 (hildon_pannable_area_motion_notify_cb): Small code style change.
6625 (hildon_pannable_area_class_init): Default initial_hint set to
6626 FALSE, it is not in the specs.
6628 (hildon_pannable_area_initial_effect),
6629 (hildon_pannable_area_expose_event),
6630 (hildon_pannable_area_map),
6631 (hildon_pannable_area_init): Moved the launching point of the
6632 initial effect, it was in map but the sizes where not correct in
6633 that method so we do not know if we have the reproduce it. Now it
6634 is placed in the expose_event method and uses a variable to
6635 reproduce it just once.
6637 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6639 * src/hildon-pannable-area.c,
6640 (hildon_pannable_draw_vscroll),
6641 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6642 position allowed for the scrollbars.
6644 (hildon_pannable_area_size_allocate): Small style change.
6646 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6648 * src/hildon-pannable-area.c,
6649 (hildon_pannable_area_scroll_indicator_fade),
6650 (hildon_pannable_area_button_press_cb),
6651 (hildon_pannable_area_button_release_cb),
6652 (hildon_pannable_area_scroll_cb),
6653 (hildon_pannable_area_expose_event),
6654 (hildon_pannable_area_init): Added the define parameter
6655 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6656 and refactor the fade variable.
6658 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6660 * src/hildon-pannable-area.c,
6661 (hildon_pannable_area_redraw),
6662 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6663 lines, we were reimplemeting the redraw code.
6665 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6667 * src/hildon-pannable-area.c,
6668 (hildon_pannable_area_scroll_cb),
6669 (hildon_pannable_area_realize),
6670 (hildon_pannable_area_class_init): Added scroll_event management
6671 for pannable area, now we can scroll the usual desktop method.
6673 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6674 initialization of the parameters should depend on idle_id.
6676 (hildon_pannable_area_init),
6677 (hildon_pannable_area_map): Small code style modifications
6679 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6681 * src/hildon-pannable-area.c
6682 (hildon_pannable_area_button_press_cb),
6683 (hildon_pannable_area_motion_notify_cb),
6684 (hildon_pannable_area_button_release_cb),
6685 (hildon_pannable_area_size_allocate),
6686 (hildon_pannable_area_scroll_to): Improved the timeouts
6687 management, we avoid creating them each time.
6689 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6691 * src/hildon-pannable-area.c:
6692 (hildon_pannable_area_refresh),
6693 (hildon_pannable_area_motion_notify_cb),
6694 (hildon_pannable_area_class_init):
6695 * src/hildon-pannable-area.h:
6696 * src/hildon-touch-selector.c
6697 (_create_new_column):
6698 * examples/hildon-pannable-area-example-4.c:
6699 (horizontal_movement),
6700 (vertical_movement),
6702 Replaced the names of enums in the HildonPannableArea:
6703 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6704 HILDON_MOVEMENT_MODE_*
6705 - HILDON_PANNABLE_AREA_MOV_* ->
6707 - Removed HildonPannableAreaIndicatorMode, now we
6710 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6712 * examples/hildon-pannable-area-touch-grid-example.c
6713 * examples/hildon-pannable-area-touch-list-example.c: Fix
6714 compilation warnings.
6716 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6718 * src/hildon-gtk.c (hildon_gtk_button_new)
6719 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6720 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6721 images overriding the value of the "gtk-button-images" setting.
6723 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6725 * src/hildon-check-button.c (hildon_check_button_new):
6726 Instead of using a custom container, display the label and the
6727 checkbox using the standard GtkButton API.
6729 * examples/hildon-check-button-example.c (main): Don't use
6730 hildon_check_button_set_label() anymore
6732 * src/hildon-check-button.h
6733 * src/hildon-check-button.c
6734 (hildon_check_button_set_label, hildon_check_button_get_label):
6735 Set as deprecated, now we're using gtk_button_{get,set}_label()
6737 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6739 * src/hildon-pannable-area.c,
6740 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6741 GtkTreeview first line we detected it after the inclusion of the
6742 GtkWindowImpl in gtk+. We now check if the window is visible, not
6743 just if the pointer is over the window.
6744 (hildon_pannable_axis_scroll),
6745 (hildon_pannable_area_expose_event): Small style changes.
6747 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6749 * src/hildon-button.c: Update documentation.
6751 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6753 * examples/hildon-button-example.c: Add a switch to show images in
6756 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6758 * doc/hildon-docs.sgml: Some docs reorganization.
6760 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6762 * examples/hildon-pannable-area-touch-list-example.c
6764 * examples/hildon-pannable-area-touch-grid-example.c
6765 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6766 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6767 Fix memory leak when setting the tree model.
6769 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6773 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6775 * doc/hildon.types: Remove duplicated hildon_window_get_type
6776 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6777 documentation comment.
6779 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6781 * doc/Makefile.am: Complete list of private headers.
6783 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6785 * doc/hildon-docs.sgml
6786 * src/hildon-app-menu.c
6787 * src/hildon-bread-crumb.c
6788 * src/hildon-button.c
6790 * src/hildon-program.c
6791 * src/hildon-stackable-window.c
6792 * src/hildon-window.c: Lots of documentation updates.
6794 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6796 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6798 * configure.ac: Require Gtk+ 2.12.9 at least
6800 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6802 * src/hildon-pannable-area.c
6803 (hildon_pannable_area_scroll_indicator_fade),
6804 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6805 to protect the return of this timeout callbacks, avoiding deadlocks.
6807 2008-08-12 Christian Dywan <christian@imendio.com>
6810 * src/hildon-*.h: Ensure a consistent include order,
6811 include <gtk/gtk.h> instead of particular files and
6812 only include the topmost header in the gtk stack. See NB #39857
6814 2008-08-12 Christian Dywan <christian@imendio.com>
6816 * src/hildon-picker-dialog.c
6817 * src/hildon-touch-selector.c: Fix warnings about unused and
6818 uninitialized variables.
6820 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6822 * examples/Makefile.am
6823 * examples/hildon-check-button-example.c: Example of the hildon
6826 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6828 * src/hildon-window.h
6829 * src/hildon-window.c (hildon_window_class_init)
6830 (hildon_window_unset_program): Don't make
6831 hildon_window_unset_program a virtual function anymore.
6833 * src/hildon-stackable-window.c: Update documentation
6835 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6838 * doc/hildon-docs.sgml
6839 * doc/visual_index.xml
6840 * src/hildon-defines.c
6842 * src/hildon-helper.c
6843 * src/hildon-range-editor.c: Lots of documentation fixes.
6845 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6847 * examples/hildon-picker-button-multicolumn-example.c
6848 (create_touch_selector): Fix compilation warning.
6850 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6853 (hildon_pannable_area_button_release_cb)
6854 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6861 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6863 * src/hildon-bread-crumb-trail.h
6864 * src/hildon-date-editor.c
6865 * src/hildon-date-selector.c
6866 * src/hildon-pannable-area.c
6867 * src/hildon-picker-dialog.c
6868 * src/hildon-time-selector.c
6869 * src/hildon-touch-selector-entry.c
6870 * src/hildon-touch-selector.c
6871 * src/hildon-touch-selector.h: Misc documentation fixes
6873 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6875 * examples/hildon-date-editor-example.c (main): Updated date
6878 * examples/hildon-note-example.c (on_confirmation_clicked):
6879 Updated confirmation note example.
6881 * src/hildon-date-editor.c
6882 * src/hildon-note.c: Updated sample programs in documentation.
6885 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6887 * src/hildon-date-button.h:
6888 * src/hildon-picker-button.h:
6889 * src/hildon-time-button.c:
6890 * src/hildon-time-button.h:
6892 Some declarations changes to allow gtk-doc to document the widgets
6895 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6897 * src/hildon-date-button.c: Document the widget.
6898 * src/hildon-time-button.c: Document the widget.
6900 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6902 * src/hildon-picker-button.c: Document the widget.
6903 * src/hildon-touch-selector-entry.c: Document the widget.
6905 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6907 * doc/hildon-docs.sgml
6910 * src/hildon-check-button.h
6911 * src/hildon-check-button.c: New functions to create the Hildon
6915 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6917 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6919 * src/hildon-button.h
6920 * src/hildon-button.c
6921 (hildon_button_add_title_size_group)
6922 (hildon_button_add_value_size_group)
6923 (hildon_button_add_image_size_group)
6924 (hildon_button_add_size_groups): New functions to set size groups
6925 for the button labels and image.
6926 (hildon_button_new_full): Removed
6928 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6930 * src/hildon-time-selector.c
6931 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6932 in order to avoid a crash if gconf is not available
6934 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6936 * src/hildon-button.c (hildon_button_set_arrangement)
6937 (hildon_button_construct_child): Don't construct the button child
6938 before setting the arrangement.
6940 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-program-private.h
6943 * src/hildon-program.c
6944 * src/hildon-program.h
6945 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6946 (hildon_program_peek_window_stack)
6947 (hildon_program_pop_window_stack)
6948 (hildon_program_go_to_root_window): HildonProgram now has a
6949 separate list for stackable windows. Functions are provided to
6950 manage that list with a stack-like API.
6952 * src/hildon-stackable-window.c: Stackable window management is
6953 now much simpler with the new HildonProgram API. Windows no
6954 longer need to be manually added to the program, they're
6955 automatically pushed to the top of the stack when shown.
6957 * examples/hildon-stackable-window-example.c: Updated example to
6958 reflect the API changes.
6960 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6962 * src/hildon-touch-selector.c: Comment out unimplemented
6963 hildon_touch_selector_insert_column() to avoid a compile warning.
6965 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6967 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6968 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6969 (hildon_touch_selector_set_column_selection_mode),
6970 (_hildon_touch_selector_set_model),
6971 (hildon_touch_selector_set_model):
6973 Complete review of HildonTouchSelector documentation.
6975 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6977 * doc/hildon-docs.sgml
6981 * src/hildon-gtk.c: Convenience functions for standard Gtk
6982 widgets, used to easily perform frequent operations.
6984 * src/hildon-button-helpers.h
6985 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6987 * src/hildon-helper.h
6988 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6989 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6991 * src/hildon-button.h
6992 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6994 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6996 * src/hildon-button.c (hildon_button_init)
6997 (hildon_button_set_arrangement, hildon_button_construct_child):
6998 Pack the image and the labels inside the same GtkAlignment so
6999 gtk_button_set_alignment() can be used
7001 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7003 * src/hildon-button.h
7004 * src/hildon-button.c
7005 (hildon_button_init, hildon_button_set_image)
7006 (hildon_button_set_image_position)
7007 (hildon_button_construct_child): New functions to add an image to
7010 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7012 * src/hildon-date-button.c
7013 * src/hildon-picker-button.c
7014 * src/hildon-time-button.c
7015 * src/hildon-button.c:
7016 (hildon_button_class_init): "size-flags" renamed to "size"
7017 (hildon_button_set_title): Hide the title label if set to NULL.
7019 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7021 HildonButtonFlags split into HildonButtonArrangement (to set the
7022 button layout) and HildonSizeType (which can be used for any
7025 * src/hildon-button.h
7026 * src/hildon-button.c
7027 (hildon_button_class_init)
7028 (hildon_button_set_arrangement)
7029 (hildon_button_set_property): New "size-flags"
7030 property. "arrangement-flags" renamed to "arrangement".
7031 (hildon_button_new, hildon_button_new_with_text)
7032 (hildon_button_new_full): Constructors updated to reflect type changes.
7034 * src/hildon-helper.h
7035 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7036 to set the size of a widget.
7040 * src/hildon-button-helpers.c
7041 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7043 * src/hildon-date-button.c
7044 * src/hildon-date-button.h
7045 * src/hildon-picker-button.c
7046 * src/hildon-picker-button.h
7047 * src/hildon-time-button.c
7048 * src/hildon-time-button.h: Updated widgets to reflect
7049 HildonButton API changes.
7051 * examples/hildon-button-example.c
7052 * examples/hildon-date-button-example.c
7053 * examples/hildon-picker-button-example.c
7054 * examples/hildon-picker-button-multicolumn-example.c
7055 * examples/hildon-time-button-example.c
7056 * examples/hildon-touch-selector-entry-example.c
7057 * examples/hildon-touch-selector-example.c: Updated examples to
7058 reflect HildonButton API changes.
7060 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7062 * doc/hildon-docs.sgml:
7064 * examples/Makefile.am:
7065 * examples/hildon-touch-selector-entry-example.c:
7067 * src/hildon-touch-selector-entry.c:
7068 * src/hildon-touch-selector-entry.h:
7071 Moved HildonTouchSelectorEntry from sandbox. Added its
7072 documentation and examples.
7074 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7076 * src/hildon-touch-selector.h:
7077 * examples/hildon-picker-button-multicolumn-example.c:
7078 (hildon_touch_selector_append_text_column): Add a gboolean
7079 parameter to determine if text must be centered in the column.
7081 * src/hildon-date-selector.c: (hildon_date_selector_init):
7082 * src/hildon-time-selector.c: (hildon_time_selector_init):
7083 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7084 (create_touch_selector): Update widgets and example to reflect
7087 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7089 * src/hildon-touch-selector.c:
7090 (hildon_touch_selector_set_active_iter): Set also the cursor in
7093 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7095 * doc/hildon-docs.sgml
7098 * src/hildon-toggle-button.c
7099 * src/hildon-toggle-button.h
7100 * src/hildon.h: Removed HildonToggleButton widget, a derived
7101 class is not necessary for this.
7103 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7105 * src/hildon-pannable-area.c,
7106 (hildon_pannable_area_realize),
7107 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7110 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7112 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7113 "done" button the default widget for the dialog.
7115 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7117 * src/hildon-touch-selector.c:
7118 (hildon_touch_selector_class_init),
7119 (hildon_touch_selector_get_property),
7120 (_hildon_touch_selector_set_model),
7121 (_hildon_touch_selector_has_multiple_selection),
7122 (hildon_touch_selector_has_multiple_selection):
7123 Add a "has-multiple-selection" property with a virtual
7124 has_multiple_selection() method to allow derived classes to
7125 override the default value for it. See the method and property
7126 documentation for details.
7128 * src/hildon-touch-selector.h: Add the new API.
7130 * src/hildon-picker-dialog.c: (requires_done_button): Call
7131 hildon_touch_selector_has_multiple_selection() instead of
7132 determining the need for a button itself.
7134 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7136 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7137 (_hildon_touch_selector_set_model),
7138 (hildon_touch_selector_set_model): Move working code to
7139 _hildon_touch_selector_set_mode(). Call the class method instead.
7141 * src/hildon-touch-selector.h: Add (*set_model) to
7142 HildonTouchSelectorClass.
7144 Make hildon_touch_selector_set_model() a virtual method, so that
7145 derived classes can extend it and do fancy stuff with the model.
7147 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7149 * configure.ac: Set back the tarname in AC_INIT to hildon.
7151 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7155 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7156 instead of libesd (NB#86876). Volume handling is still an open issue.
7158 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7161 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7163 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7164 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7165 derived class to ease placement of an entry widget in
7166 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7167 end, where the selector columns are packed now.
7169 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7171 * src/hildon-picker-button.c: Removed the simple _text() API.
7172 * src/hildon-picker-button.h: Likewise.
7174 * src/hildon-touch-selector.h:
7175 * src/hildon-touch-selector.c:
7176 (hildon_touch_selector_new_text),
7177 (hildon_touch_selector_append_text),
7178 (hildon_touch_selector_prepend_text),
7179 (hildon_touch_selector_insert_text):
7181 Moved the simple _text() API from HildonPickerButton to
7182 HildonTouchPicker, to provide better escalability and not to tie
7183 that API to HildonPickerButton.
7185 * examples/hildon-picker-button-example.c: (main): Example updated.
7187 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7189 * src/hildon-button.c: Updated documentation.
7191 * examples/hildon-button-example.c: Add the posibility to create
7192 the buttons using horizontal layout for title and value.
7194 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7196 * src/hildon-app-menu-private.h
7197 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7198 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7199 GtkSizeGroup for the filters, use the 'homogeneous' property of
7202 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7204 * examples/hildon-button-example.c: Updated example.
7206 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7208 * doc/hildon-docs.sgml:
7211 Update documentation.
7213 * examples/Makefile.am: Update renamed examples.
7215 * examples/hildon-picker-button-multicolumn-example.c:
7216 (create_touch_selector), (main): Update after the rename.
7218 * examples/hildon-touch-picker-example.c: Removed.
7219 * examples/hildon-touch-selector-example.c: (value_changed),
7220 (create_selector), (get_visible_content), (main): Renamed from
7221 hildon-touch-picker-example.c
7223 * src/Makefile.am: Updated renamed files.
7225 * src/hildon-date-button.c: (hildon_date_button_init),
7226 (hildon_date_button_get_date), (hildon_date_button_set_date):
7227 * src/hildon-date-selector.c: (hildon_date_selector_init),
7228 (_custom_print_func), (_update_day_model),
7229 (_manage_selector_change_cb),
7230 (hildon_date_selector_select_current_date),
7231 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7232 * src/hildon-date-selector.h:
7233 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7234 (hildon_picker_button_set_property),
7235 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7236 (hildon_picker_button_init), (hildon_picker_button_new_text),
7237 (hildon_picker_button_append_text),
7238 (hildon_picker_button_prepend_text),
7239 (hildon_picker_button_insert_text),
7240 (hildon_picker_button_set_selector),
7241 (hildon_picker_button_get_selector):
7242 * src/hildon-picker-button.h:
7243 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7244 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7245 (_update_title_on_selector_changed_cb), (requires_done_button),
7246 (_hildon_picker_dialog_set_selector),
7247 (hildon_picker_dialog_set_selector),
7248 (hildon_picker_dialog_get_selector):
7249 * src/hildon-picker-dialog.h:
7250 * src/hildon-time-button.c: (hildon_time_button_init),
7251 (hildon_time_button_get_time), (hildon_time_button_set_time):
7252 * src/hildon-time-selector.c: (hildon_time_selector_init),
7253 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7254 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7255 * src/hildon-time-selector.h:
7258 Massive code updates after the rename.
7260 * src/hildon-touch-picker.c: Removed.
7261 * src/hildon-touch-picker.h: Removed.
7263 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7264 (hildon_touch_selector_init), (hildon_touch_selector_map),
7265 (hildon_touch_selector_remove), (_default_print_func),
7266 (_selection_changed_cb), (_create_new_column),
7267 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7268 (hildon_touch_selector_append_text_column),
7269 (hildon_touch_selector_remove_column),
7270 (hildon_touch_selector_set_column_attributes),
7271 (hildon_touch_selector_insert_column),
7272 (hildon_touch_selector_get_num_columns),
7273 (hildon_touch_selector_get_column_selection_mode),
7274 (hildon_touch_selector_set_column_selection_mode),
7275 (hildon_touch_selector_set_print_func),
7276 (hildon_touch_selector_get_print_func),
7277 (hildon_touch_selector_get_active_iter),
7278 (hildon_touch_selector_set_active_iter),
7279 (hildon_touch_selector_get_selected_rows),
7280 (hildon_touch_selector_get_model),
7281 (hildon_touch_selector_set_model),
7282 (hildon_touch_selector_get_current_text),
7283 (_hildon_touch_selector_center_on_selected_items):
7284 * src/hildon-touch-selector.h: Renamed from
7285 hildon-touch-picker.[ch]
7287 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7288 references, code examples, and related documentation.
7290 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7292 * doc/hildon-docs.sgml
7295 * src/hildon-toggle-button.c
7296 * src/hildon-toggle-button.h
7297 * src/hildon.h: New HildonToggleButton widget.
7299 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7301 * src/hildon-button.c: Add API documentation.
7302 (hildon_button_set_size_groups): Check input parameters
7304 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7306 * src/hildon-pannable-area.c
7307 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7308 effect after reaching the movement thredshold. This way we start
7309 using the distance after passing the thredshold.
7311 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7313 * src/hildon-button.c: (hildon_button_set_property): Use the
7314 appropriate g_value_get_flags() method.
7316 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7318 * doc/hildon-docs.sgml:
7321 Add the touch pickers, picker dialogs, and picker button widgets
7322 to the documentation.
7324 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7326 * src/hildon-button.c: (hildon_button_set_property),
7327 (hildon_button_class_init): Make "arrangement-flags" a proper
7328 G_TYPE_FLAGS derived property.
7330 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7332 * examples/Makefile.am: Add below examples.
7333 * examples/hildon-date-button-example.c:
7334 * examples/hildon-picker-button-example.c:
7335 * examples/hildon-picker-button-multicolumn-example.c:
7336 * examples/hildon-time-button-example.c:
7337 * examples/hildon-touch-picker-example.c:
7339 Add examples for the recently added touch pickers,
7340 picker dialogs, and picker button widgets.
7342 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7344 * src/hildon-button.c: Add some API documentation
7346 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7348 * src/hildon-button.h
7349 * src/hildon-button.c
7351 (hildon_button_new_with_text): New constructor to create a button
7352 with no text at all.
7353 (hildon_button_init, hildon_button_set_arrangement)
7354 (hildon_button_set_title, hildon_button_set_value)
7355 (hildon_button_set_text)
7356 (hildon_button_construct_child): Hide the value when it's not used
7357 so the rest of the text is properly aligned.
7358 Allow creating buttons with arbitrary widgets inside (not just
7359 title/value labels).
7361 * examples/hildon-button-example.c (vertical_buttons_window)
7362 (horizontal_buttons_window): Update example to use new API.
7364 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7366 * src/Makefile.am: Added HildonTimeButton.
7367 * src/hildon-time-button.c: Added missing LGPL header.
7368 * src/hildon-time-button.h: Added missing LGPL header.
7369 * src/hildon.h: Add hildon-time-button.h
7371 Copied HildonTimeButton from sandbox to trunk. Future work on this
7372 widget must take place in trunk.
7374 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7376 * src/Makefile.am: Added HildonDateButton.
7377 * src/hildon-date-button.c: Update includes.
7378 * src/hildon.h: Add hildon-date-button.h
7380 Copied HildonDateButton from sandbox to trunk. Future work on this
7381 widget must take place in trunk.
7383 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7385 * src/Makefile.am: Added HildonPickerButton.
7386 * src/hildon-picker-button.h: Update includes.
7387 * src/hildon.h: Add hildon-picker-button.h
7389 Copied HildonPickerButton from sandbox to trunk. Future work on
7390 this widget must take place in trunk.
7392 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7394 * src/Makefile.am: Added HildonPickerDialog.
7395 * src/hildon-picker-dialog.c: Update includes.
7396 * src/hildon.h: Add hildon-picker-dialog.h
7398 Copied HildonPickerDialog from sandbox to trunk. Future work
7399 on this widget must take place in trunk.
7401 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7403 * src/Makefile.am: Added HildonTimeSelector.
7404 * src/hildon.h: Add hildon-time-selector.h
7406 Copied HildonTimeSelector widget from sandbox to trunk. Future
7407 work on this widget must happen in trunk.
7409 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/Makefile.am: Added HildonDateSelector.
7412 * src/hildon.h: Add hildon-date-selector.h
7414 Copied HildonDateSelector widget from sandbox to trunk. Future
7415 work on this widget must happen in trunk.
7417 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7419 * src/Makefile.am: Added HildonTouchPicker.
7420 * src/hildon-touch-picker.c: Update includes.
7421 * src/hildon.h: Add hildon-touch-picker.h
7423 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7424 on this widget must happen in trunk.
7426 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7428 * src/hildon-pannable-area.c:
7429 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7431 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7433 * examples/hildon-app-menu-example.c (main): Let the window
7436 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7438 * src/hildon-pannable-area.c
7439 (hildon_pannable_area_class_init): Set the min value of the
7440 overshoot properties to zero, which points out that not
7441 overshooting allowed.
7443 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7445 Modified the procedure to get the widget at a point inside the
7446 pannable area when using the movement type signals. Now the user
7447 has to call a function to get the child, that way we just
7448 calculate the child in case the user really want to use it and not
7451 * src/hildon-marshalers.list: Modified the marshallers, now we do
7452 not have the widget as a parameter.
7454 * src/hildon-pannable-area.c
7455 (hildon_pannable_area_motion_notify_cb),
7456 (hildon_pannable_area_class_init),
7457 (hildon_pannable_get_child_widget_at): Removed the widget
7458 parameter from the signal callback. We have also refactored the
7459 emission of the signals.
7461 * src/hildon-pannable-area.h: Added a new method to the API to
7462 calculate a widget at a point inside the pannable area,
7463 hildon_pannable_get_child_widget_at.
7465 * examples/hildon-pannable-area-example-4.c
7466 (horizontal_movement): Modified the example to use the new API,
7467 added condition to control which widget is under the event. This
7468 way we can avoid scrolling laterally over other widgets.
7470 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7472 * src/hildon-pannable-area.c
7473 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7474 modes, we stop getting the pointer events due to returning the
7475 callback without properly calling the get pointer again. Fixed
7476 also an error using the hscroll and vscroll.
7478 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7480 * src/hildon-app-menu-private.h
7481 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7482 (hildon_app_menu_button_release, hildon_app_menu_init)
7483 (hildon_app_menu_class_init): Don't hide the menu on button
7484 release if the user didn't press outside first.
7486 * src/hildon-window.h
7487 * src/hildon-window.c (hildon_window_toggle_menu)
7488 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7489 hildon_window_toggle_menu a virtual function for the stackable
7490 window to override it.
7492 * src/hildon-stackable-window.h
7493 * src/hildon-stackable-window-private.h
7494 * src/hildon-stackable-window.c
7495 (hildon_stackable_window_realize)
7496 (hildon_stackable_window_finalize)
7497 (hildon_stackable_window_class_init)
7498 (hildon_stackable_window_init)
7499 (hildon_stackable_window_set_main_menu): New function to set the
7500 app menu of a HildonStackableWindow.
7502 * examples/hildon-app-menu-example.c: Remove the button to show
7503 the app menu, now it'll be shown when clicking on the title bar
7506 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7508 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7509 set the widget name if the arrangement flags do not specify
7512 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7514 * src/hildon-button.c: (hildon_button_set_property),
7515 (hildon_button_class_init), (hildon_button_new_full),
7516 (hildon_button_set_arrangement): Added "arrangement-flags"
7519 Make the HildonButtonFlags a construction-only property, to allow
7520 subclasses to set them properly.
7522 2008-07-21 Tim Janik <timj@imendio.com>
7524 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7525 insertion position after backspace, so additional digits are appended,
7528 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7530 * src/hildon-pannable-area.c,
7531 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7532 TODO list, it was complete and removed the g_debug and g_print
7535 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7537 Added the movement modes to the hildon-pannable-area, with this
7538 modes the developers can control in which directions the widget
7539 can scroll. They can also connect to signals in order to do
7540 something when that happens, allowing applications scroll. There
7541 is an example uploaded showing how to use it.
7543 * examples/Makefile.am:
7544 * examples/hildon-pannable-area-example-4.c: Added this example of
7545 an application using the modes.
7547 * src/hildon-marshalers.list: Added a new marshaller for the new
7550 * src/hildon-pannable-area.h: Added new enumerations and flags in
7551 order to control the movement modes and the new signals to warn
7552 about the movements in the area.
7554 * src/hildon-pannable-area.c:
7555 (hildon_pannable_axis_scroll),
7556 (hildon_pannable_area_scroll),
7557 (hildon_pannable_area_motion_notify_cb),
7558 (hildon_pannable_area_get_property),
7559 (hildon_pannable_area_set_property),
7560 (hildon_pannable_area_map),
7561 (hildon_pannable_area_class_init),
7562 (hildon_pannable_area_init),
7563 (hildon_pannable_area_jump_to): Added the modes to control the
7564 movement in the widget. We have added properties to control it,
7565 signals to warn about the movements and refactored some code.
7567 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7569 Changes required in order to allow vfast_factor set to zero to
7572 * src/hildon-pannable-area.c:
7573 (hildon_pannable_area_button_press_cb): Changed the condition, it
7574 is required for not allowing click when vfast_factor is zero.
7575 (hildon_pannable_area_timeout): Initialized velocity variables
7576 when we stop moving, it was less than 1 but not zero and we need
7577 to check zero in some situations.
7578 (hildon_pannable_area_class_init): Changed the default value of
7579 the speed factor, now the button_press is just sent in case the
7580 speed is 2 per cent of the max speed.
7581 (hildon_pannable_area_init): Initialization with 0.
7583 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7585 * src/hildon-pannable-area.c,
7586 (hildon_pannable_area_get_topmost): replaced
7587 gdk_window_get_children with gdk_window_peek_children, this way we
7588 do not have to free the list because it is not a copy.
7590 (hildon_pannable_axis_scroll),
7591 (hildon_pannable_area_scroll),
7592 (hildon_pannable_area_timeout),
7593 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7594 two parameters that were only used inside the
7595 hildon_pannable_area_scroll function.
7597 * examples/hildon-pannable-area-example.c,
7598 (get_sawtooth_label): Fixed small memory leak.
7600 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7602 More checks for the case where the overshoot is bigger than the
7605 * src/hildon-pannable-area.c:
7606 (hildon_pannable_draw_vscroll),
7607 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7608 to draw the slider of the scrollbar under the other scrollbar.
7609 (hildon_pannable_area_expose_event): added new checks to control
7610 the drawing of the overshooting area rectangle, in case it is too
7611 big for the area of the widget.
7612 (hildon_pannable_area_size_allocate): add more checks to avoid
7613 setting a position to the child widget outside the area.
7615 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7617 * src/hildon-pannable-area.c
7618 (hildon_pannable_area_size_allocate): Added conditions to control
7619 when overshooting is bigger than the allocated space for the
7620 children, this avoids negative allocations.
7622 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7624 * doc/hildon-docs.sgml
7626 * examples/Makefile.am
7627 * examples/hildon-button-example.c
7629 * src/hildon-button.c
7630 * src/hildon-button.h
7631 * src/hildon.h: Initial version of the new HildonButton widget,
7634 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7636 * src/hildon-pannable-area.c:
7637 (hildon_pannable_area_button_press_cb),
7638 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7639 (hildon_pannable_area_motion_notify_cb),
7640 (hildon_pannable_area_button_release_cb),
7641 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7642 (hildon_pannable_area_jump_to_child):
7644 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7646 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7648 * examples/Makefile.am
7649 * examples/hildon-pannable-area-touch-grid-example.c
7650 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7651 the Hildon Touch List and Hildon Touch Grid using the
7652 HildonPannableArea widget.
7654 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7656 * src/hildon-pannable-area.c,
7657 (hildon_pannable_area_button_press_cb),
7658 (hildon_pannable_area_refresh),
7659 (hildon_pannable_area_scroll),
7660 (hildon_pannable_area_motion_notify_cb),
7661 (hildon_pannable_area_button_release_cb),
7662 (hildon_pannable_area_expose_event),
7663 (hildon_pannable_area_add),
7664 (hildon_pannable_area_remove),
7665 (hildon_pannable_area_realize),
7666 (hildon_pannable_area_size_allocate),
7667 (hildon_pannable_area_class_init),
7668 (hildon_pannable_area_init),
7669 (hildon_pannable_area_scroll_to_child),
7670 (hildon_pannable_area_jump_to_child): Fixed the problem of
7671 removing the child from the GtkBin, we have rearranged the widget
7672 hierarchy, now there is no GtkAlignment which was not doing
7673 anything interesting but breaking some of the assumptions of
7674 GtkContainer. Now developers if they want to add a GtkAlignment
7675 they could, but it is not inside the area.
7677 We had to review the whole allocation/expose process, now it is
7678 improved and we save at least three signals which would be saving
7679 some time when rendering the widget. The allocation of the
7680 scrollbars is now made in the allocate method as usual.
7682 We have also added some conditions in order to control when there
7683 is no child of the pannable area. Maybe we will need more work
7686 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7688 * src/hildon-pannable-area.c,
7689 (hildon_pannable_area_dispose): Released the fade-out timeout when
7690 disposing the widget.
7692 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7694 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7695 zero, we are going to use that property in order to deactivate the
7697 (hildon_pannable_axis_scroll),
7698 (hildon_pannable_area_size_allocate): Added conditions to control
7699 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7700 call, now it is called in all situations and we can remove calls
7701 in the allocate method.
7702 (hildon_pannable_area_map): Control the situation when
7703 overshoot_max is zero, we do not need the timeout.
7704 (hildon_pannable_area_class_init): Added documentation in order to
7705 point out that setting zero to overshoot_max means deactivate
7708 NOTE: removed trailing whitespaces from my previous comments of
7711 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7713 * src/hildon-pannable-area.c
7714 (hildon_pannable_area_get_property),
7715 (hildon_pannable_area_set_property),
7716 (hildon_pannable_area_map),
7717 (hildon_pannable_area_class_init),
7718 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7719 to cause the widget give a hint about its panning abilities upon
7722 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7724 * src/hildon-pannable-area.c: Several documentation improvements.
7726 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7728 * src/hildon-program.c
7729 * src/hildon-stackable-window.c: Update documentation.
7731 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7733 * src/hildon-stackable-window.c (get_previous_window_if_last):
7734 Renamed get_last_window()
7735 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7736 (hildon_stackable_window_unset_program):
7738 (get_previous_window_if_last):
7739 Detect if the window hasn't been added to a HildonProgram.
7741 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7743 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7745 * src/hildon-pannable-area.c
7746 (hildon_pannable_area_button_press_cb),
7747 (hildon_pannable_axis_scroll),
7748 (hildon_pannable_area_scroll),
7749 (hildon_pannable_area_timeout),
7750 (hildon_pannable_calculate_vel_factor),
7751 (hildon_pannable_area_get_property),
7752 (hildon_pannable_area_set_property),
7753 (hildon_pannable_area_class_init),
7754 (hildon_pannable_area_init),
7755 (hildon_pannable_area_scroll_to),
7756 (hildon_pannable_area_jump_to),
7757 (hildon_pannable_area_scroll_to_child),
7758 (hildon_pannable_area_jump_to_child):
7759 * src/hildon-pannable-area.h: Added the new API functions:
7760 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7761 hildon_pannable_area_scroll_to_child,
7762 hildon_pannable_area_jump_to_child
7765 * examples/Makefile.am
7766 * examples/hildon-pannable-area-example-2.c
7767 * examples/hildon-pannable-area-example-3.c: Added these two new
7768 examples in order to test and show how the new APIs work.
7770 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7772 * examples/hildon-stackable-window-example.c (new_window):
7773 * src/Makefile.am (noinst_HEADERS):
7774 * src/hildon-program.c (hildon_program_go_to_root_window):
7775 * src/hildon-program.h:
7776 * src/hildon-stackable-window-private.h:
7777 * src/hildon-stackable-window.c:
7778 * src/hildon-stackable-window.h:
7779 Create hildon-stackable-window-private.h
7780 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7782 * examples/hildon-app-menu-example.c (create_menu):
7783 * examples/hildon-hvolumebar-insensitive-example.c (main):
7784 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7785 * examples/hildon-toolbar-seekbar-example.c (main):
7786 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7787 * src/hildon-banner.c (hildon_banner_set_property):
7788 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7789 Fix compilation warnings
7791 * src/hildon-window.c:
7794 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7796 * src/hildon-stackable-window.c
7797 (hildon_stackable_window_unset_program):
7798 Calculate correctly whether to show the previous window if the
7799 last one is removed from the stack.
7800 (hildon_stackable_window_go_to_root_window):
7801 Send delete events starting from the topmost window.
7802 Stop if one of the windows is not destroyed.
7804 (hildon_stackable_window_delete_event)
7805 (hildon_stackable_window_class_init):
7806 Ignore the delete event if the window is not the topmost one.
7808 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7810 * src/hildon-pannable-area.c
7811 (hildon_pannable_area_expose_event): Fixed a problem when
7812 selecting the background color of the scrollbars.
7814 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7816 * examples/hildon-stackable-window-example.c
7817 * src/hildon-stackable-window.c
7818 * src/hildon-stackable-window.h
7819 hildon_stackable_window_go_home() renamed to
7820 hildon_stackable_window_go_to_root_window()
7821 Send delete events to windows rather than closing them with
7822 gtk_widget_destroy()
7824 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7826 * src/hildon-pannable-area.c
7827 (hildon_pannable_area_button_release_cb): Fix overshooting in
7830 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7832 * src/hildon-pannable-area.c
7833 (hildon_pannable_area_init): Initially show the scroll indicators.
7834 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7836 Add initial effect showing the widget is pannable.
7838 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7840 * src/hildon-pannable-area.c
7841 (hildon_pannable_area_class_init)
7842 (hildon_pannable_area_set_property)
7843 (hildon_pannable_area_get_property)
7844 (hildon_pannable_area_button_press_cb):
7845 New 'velocity_fast_factor' property to decide which velocity is
7848 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7850 * src/hildon-pannable-area.c
7851 (hildon_pannable_draw_hscroll)
7852 (hildon_pannable_draw_vscroll):
7853 Use float variables to calculate the size of the scrollbars to
7854 avoid error propagation and resizing during scrolling.
7856 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7858 * src/hildon-pannable-area.c
7859 (hildon_pannable_draw_vscroll)
7860 (hildon_pannable_draw_hscroll):
7861 Define a minimum size for the scroll bars
7863 * src/hildon-stackable-window.c
7864 (hildon_stackable_window_go_home): Fix compilation warning
7865 (get_last_window): Minor optimizations
7866 (hildon_stackable_window_class_init): Fix initialization of
7869 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7871 * src/hildon-stackable-window.c: Fixed typos in doc
7873 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7875 * src/hildon-pannable-area.c
7876 (hildon_pannable_area_scroll):
7877 Calculate here whether we need to scroll instead of using the booleans
7878 that tell us whether to /draw/ the scrolling bars.
7880 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7882 * src/hildon-app-menu.h
7884 * src/hildon-app-menu.c
7885 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7886 multiple filter groups related code and API. Now we support only
7888 * examples/hildon-app-menu-example.c:
7890 Update to reflect API changes.
7892 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7894 * src/hildon-stackable-window.c
7895 (hildon_stackable_window_class_init):
7896 Add hildon_stackable_window_realize.
7897 (hildon_stackable_window_realize):
7898 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7899 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7900 to apply theming and behavior specific to HildonStackableWindow
7903 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7905 * src/hildon-note.c (hildon_note_button_release):
7906 Close information notes also when tapping on them
7908 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7910 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7911 ELASTICITY, refactor and review, fix some issues with drawing
7914 * src/hildon-pannable-area.c:
7915 (hildon_pannable_area_button_press_cb): removed the conditions to
7916 avoid clicks when overshooting. It is not required
7918 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7919 define. Refatored and reviewed the code, now we do not need to
7920 manage velocity in motion_notify.
7922 (hildon_pannable_area_motion_notify_cb): We have moved the code
7923 that controls the area_scroll to the axis_scroll function and get
7924 rid of duplicated code.
7926 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7928 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7930 (hildon_pannable_draw_vscroll),
7931 (hildon_pannable_draw_hscroll): Fixed the problems with the
7932 scrollbar drawing, now we do not use two surfaces, it is easier
7933 and saves resources.
7935 (hildon_pannable_area_get_property): Style modification.
7937 (hildon_pannable_area_class_init): Changed some default values.
7939 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7941 * src/hildon-stackable-window.c: Fix some typos in the
7944 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7946 * src/hildon-dialog.c:
7947 Change indentation style
7950 (hildon_note_button_release):
7951 Use root coordinates to check if the release event happened
7954 * src/hildon-app-menu.c
7955 (hildon_app_menu_button_release):
7956 Remove unnecessary check
7958 * examples/hildon-app-menu-example.c
7960 Add cast to fix warning
7962 * src/hildon-app-menu.c
7963 (hildon_app_menu_class_init):
7964 New inner-border style property.
7965 Set all default spacings to 16
7966 (hildon_app_menu_init):
7967 Use vertical-spacing to set the space between filter buttons and
7968 regular menu buttons.
7969 Set the default container border using the inner-border value.
7971 * examples/hildon-app-menu-example.c
7973 Don't set the menu border explicitly, now we have the inner-border
7974 style property for that.
7976 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7978 * src/hildon-app-menu.c (hildon_app_menu_init):
7979 Make the window modal
7981 * src/hildon-note.c (hildon_note_map)
7982 * src/hildon-app-menu.c (hildon_app_menu_map):
7983 Destroy the grab window if we're unable to grab the pointer
7985 * src/hildon-app-menu-private.h
7986 * src/hildon-app-menu.c
7987 (hildon_app_menu_init, hildon_app_menu_finalize)
7988 (hildon_app_menu_map, hildon_app_menu_unmap)
7989 (hildon_app_menu_button_release)
7990 (grab_transfer_window_get):
7991 Bring back the grab window
7992 (hildon_app_menu_realize):
7993 Decorate the window, set WM hint for Matchbox
7995 * src/hildon-note.c (hildon_note_realize):
7996 * src/hildon-banner.c (hildon_banner_realize):
7997 Add WM hints for Matchbox
7999 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8001 * src/hildon-app-menu-private.h
8002 * src/hildon-app-menu.c
8003 (hildon_app_menu_init, hildon_app_menu_finalize)
8004 (hildon_app_menu_map, hildon_app_menu_unmap)
8005 (hildon_app_menu_button_release):
8006 Remove the grab window, it's not needed anymore
8008 * src/hildon-program.c
8009 Fixed typo in documentation
8011 * src/hildon-app-menu.h
8012 * src/hildon-app-menu.c
8013 * examples/hildon-app-menu-example.c
8014 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8016 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8019 Added new transfer_window and close_if_pressed_outside private
8021 (hildon_note_rebuild):
8022 Don't add a cancel button to the information note. It will be
8023 closed when tapping outside
8024 Remove the comment about the OK button in the documentation
8025 (hildon_note_realize):
8026 Set the notification type hint
8027 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8028 Grab/ungrab pointer and keyboard if the note has to be closed when
8030 (hildon_note_button_release):
8031 Close the note when tapping outside (if applicable)
8033 * src/hildon-app-menu.c
8034 Grab/ungrab pointer and keyboard on map/unmap
8035 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8036 Close the menu on button release, not button press
8038 * src/hildon-banner.c
8039 (hildon_banner_set_property)
8040 (hildon_banner_check_position):
8041 Make the banner use the full width of the screen
8042 (hildon_banner_show_information)
8043 (hildon_banner_show_information_with_markup):
8044 Don't display an icon by default
8046 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8048 Added fading scrollbars and adapted all the overshooting code to
8049 horizontal scrolling. We have also fixed bugs with overshooting
8050 and current fading implementation.
8052 * src/hildon-pannable-area.c
8053 (hildon_pannable_area_scroll_indicator_fade): Time out function
8054 used to change the transparency of the scrollbars.
8056 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8057 control and fixed a problem with fading, we now remove the fade
8058 timeout before adding a new one.
8060 (hildon_pannable_axis_scroll):
8061 (hildon_pannable_area_scroll):
8062 (hildon_pannable_area_timeout): Added this functions so we can use
8063 the scroll code both for vertical and horizontal.
8065 (hildon_pannable_area_motion_notify_cb):
8066 (hildon_pannable_area_button_release_cb): Added the horizontal
8067 scrolling control, fixed a problem with the overshooting timeout.
8069 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8070 painting of the scrolls.
8072 (hildon_pannable_draw_vscroll):
8073 (hildon_pannable_draw_hscroll):
8074 (hildon_pannable_area_expose_event):
8075 Draw both scrollbars and rectangles in the overshooting area.
8077 (hildon_pannable_area_get_property):
8078 (hildon_pannable_area_set_property):
8079 Modified the overshoot property to overshoot_max
8081 (hildon_pannable_area_map):
8082 Replaced the comments symbols.
8084 (hildon_pannable_area_size_allocate):
8085 (hildon_pannable_area_class_init):
8086 (hildon_pannable_area_init): Added horizontal scroll, fading
8087 effect properties, fixed a problem when overshooting in the bottom
8090 * examples/hildon-pannable-area-example.c:
8091 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8092 looks better in the example.
8094 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8096 * src/hildon-window.c
8097 * src/hildon-window.h
8098 (hildon_window_class_init)
8099 (hildon_window_unset_program)
8100 (hildon_window_unset_program_real):
8101 Make unset_program a virtual function
8103 * src/hildon-stackable-window.c
8104 * src/hildon-stackable-window.h
8105 Added hildon_stackable_window_go_home()
8107 * examples/Makefile.am
8108 * examples/hildon-stackable-window-example.c
8109 HildonStackableWindow example
8111 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8113 * hildon-pannable-area.c: Added the overshoot property and removed
8114 the OVERSHOOT define. Fixed an indent style error.
8115 (hildon_pannable_area_motion_notify_cb):
8116 (hildon_pannable_area_get_property):
8117 (hildon_pannable_area_set_property): Add overshoot property.
8119 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8122 (hildon_pannable_area_class_init): Installed the new property.
8124 * hildon-pannable-area-example.c: Added a sawtooth function, this
8125 way it is easier to check the movement in the pannable.
8126 (get_sawtooth_label): Added this function.
8127 (main): Now we get the labels from the new get_sawtooth_label
8130 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8132 * src/hildon-app-menu.h
8133 * src/hildon-app-menu.c
8134 Renamed API variables for consistency
8136 (hildon_app_menu_popup): Use also the default window size to
8137 decide where to place the menu
8139 (hildon_app_menu_init, hildon_app_menu_class_init): New
8140 external-border style property
8142 2008-05-26 Michael Natterer <mitch@imendio.com>
8144 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8145 widget_class->tap_and_hold_setup signal slot doesn't exist any
8146 longer, stop overriding it.
8148 (hildon_time_editor_init): g_signal_connect() to the
8149 tap-and-hold-setup signal instead.
8151 (hildon_time_editor_entry_keypress): add cast to fix warning.
8153 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8155 * doc/hildon-docs.sgml
8157 * examples/Makefile.am
8158 * examples/hildon-app-menu-example.c
8160 * src/hildon-app-menu-private.h
8161 * src/hildon-app-menu.c
8162 * src/hildon-app-menu.h
8164 New HildonAppMenu widget
8166 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8168 Rearranged the inheritance of the pannable area, now it inherits
8169 from GtkBin. This will allow us to control the event_window and
8170 the allocation process of the widget, required for some effects.
8172 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8173 GtkBin structures. * src/hildon-pannable-area.c: Added the
8174 event_window variable.
8175 (hildon_pannable_area_button_press_cb):
8176 (hildon_pannable_area_button_release_cb):
8177 (hildon_pannable_area_motion_notify_cb):
8178 Changed the signature of the method, now we override the event
8179 callback instead of connecting to the signal.
8181 (hildon_pannable_area_realize):
8182 (hildon_pannable_area_unrealize):
8183 (hildon_pannable_area_map):
8184 (hildon_pannable_area_unmap):
8185 (hildon_pannable_area_size_allocate):
8186 Added functions to control the widget construction. We add a
8187 INPUT_ONLY window and we put it over the widgets inside the
8188 container, this event_window handles the events.
8190 (hildon_pannable_area_class_init):
8191 Replaced the signal connections with overrides of the event
8194 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8196 Bouncing effect added when touching the borders, you can change
8197 the elasticity of the border changing the ELASTICITY define.
8199 * src/hildon-pannable-area.c: Added ELASTICITY define.
8200 (hildon_pannable_area_timeout): Added inverse velocity when
8201 touching the border of the child widget, that causes a bounce.
8203 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8205 Improved performance, we now do not go to the X server in order to
8206 get the list of window children. Apparently the effect is the
8207 same, we have to be careful and check if this breaks something in
8210 * src/hildon-pannable-area.c:
8211 (get_ordered_children): Removed this function.
8212 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8213 the children windows function with gdk_window_get_children.
8215 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8217 * src/hildon-pannable-area.c:
8218 (hildon_pannable_area_dispose): Fixed a crash when closing the
8219 window and kinetics is activated.
8221 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8223 * src/hildon-pannable-area.h
8224 * src/hildon-pannable-area.c
8225 Changed indentation style to meet the one used in Hildon
8227 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8229 Reviewed the interaction of the AUTO mode, now we use the time
8230 attribute of the events and calculate the velocity in the motion,
8231 doing a gimp like calculation. The velocity is calculated in each
8232 motion event using the last velocity and the current one, the
8233 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8235 * src/hildon-pannable-area.c: Replaced the time based algorithm
8237 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8238 timeout for the AUTO mode when we are still moving the cursor. We
8239 added also the velocity calculation in this function.
8240 (hildon_pannable_area_button_release_cb): launch the timeout in
8241 case we are in AUTO mode. There are still some constants here that
8242 come from the old implementation that should be reviewed and
8245 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8247 * doc/hildon-docs.sgml
8250 * src/hildon-stackable-window.c
8251 * src/hildon-stackable-window.h
8253 New HildonStackableWindow widget
8255 * examples/hildon-dialog-example.c
8256 * examples/hildon-pannable-area-example.c
8259 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8261 * src/hildon-dialog.c
8262 (hildon_dialog_new_with_buttons): New constructor.
8264 * examples/hildon-dialog-example.c
8265 (main): Update the example to use the new
8266 hildon_dialog_new_with_buttons().
8268 * examples/hildon-pannable-area-example.c
8269 (main): Update example.
8271 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8273 * doc/hildon-docs.sgml
8275 Added HildonPannableArea to the documentation.
8277 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8279 * doc/visual_index.xml
8280 Fix reference to HildonLoginDialog in documentation
8282 * doc/hildon-docs.sgml
8284 * examples/Makefile.am
8285 * examples/hildon-dialog-example.c
8287 * src/hildon-dialog.c
8288 * src/hildon-dialog.h
8290 New HildonDialog widget.
8292 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8294 * src/hildon-pannable-area.c
8295 Merge latest changes (r4318, r4342) from libmokoui trunk
8297 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8299 * examples/Makefile.am
8300 * examples/hildon-pannable-area-example.c
8302 * src/hildon-pannable-area.c
8303 * src/hildon-pannable-area.h
8305 New HildonPannableArea widget.
8307 2008-04-15 18:05:19 <timj@imendio.com>
8309 * src/hildon-banner.c: revert the recent change, that introduced
8310 gtk_window_present() calls. this reopens:
8311 Bug 78481 - [freetest] information banners are hidden under browser menu
8312 But resolves another variant of:
8313 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8315 2008-04-15 13:21:13 <timj@imendio.com>
8317 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8318 recreated its layout, spotted by Kris. this fixes all remaining
8319 artefacts and stability issues with the banner code. in particular:
8320 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8322 2008-04-14 16:52:59 <timj@imendio.com>
8324 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8325 operating on unrealized widgets, fixes:
8326 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8328 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8330 2008-04-09 Kristian Rietveld <kris@imendio.com>
8332 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8333 makes banner disappear.
8334 Fixes: NB#79182: info banner flickering with certain message lengts.
8336 * src/hildon-banner.c (hildon_banner_constructor),
8337 (hildon_banner_init), (hildon_banner_set_text),
8338 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8339 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8340 FALSE, reset size requests of label and banner,
8341 (force_to_wrap_truncated): when the text is too wide, always enforce
8342 the maximum possible width instead of recalculating it from the
8343 layout; enforce the maximum banner height of 3 lines,
8344 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8345 nicer wrapping and no truncated chars if space gets tight.
8347 * src/hildon-banner-private.h: add has_been_wrapped and
8348 has_been_truncated fields.
8350 2008-04-07 Sven Herzberg <sven@imendio.com>
8352 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8353 local values in hildon_date_editor_size_allocate
8355 * src/hildon-date-editor.c: moved the real allocation code into the
8358 2008-04-07 Sven Herzberg <sven@imendio.com>
8360 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8361 local values in hildon_date_editor_size_allocate
8363 * src/hildon-date-editor.c: merged the two if() branches together
8365 2008-04-07 Sven Herzberg <sven@imendio.com>
8367 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8368 local values in hildon_date_editor_size_allocate
8370 * src/hildon-date-editor.c: changed the arguments of the if()
8373 2008-04-07 Sven Herzberg <sven@imendio.com>
8375 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8376 local values in hildon_date_editor_size_allocate
8378 * src/hildon-date-editor.c: split the calculation of the allocation
8379 from the real allocation
8381 2008-03-27 Michael Natterer <mitch@imendio.com>
8383 Fixes: NB#81696: The passcode is not overwritten even after
8386 * src/hildon-code-dialog.c
8387 (hildon_code_dialog_button_clicked)
8388 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8389 because that doesn't overwrite selected text. Instead, emit the
8390 "commit" signal on the entry's im_context so the entry's normal
8391 insert logic is triggered. Set the cursor to the end of the entry
8392 after each insert operation so that we *only* insert in the middle
8393 of the text if something was selected.
8395 2008-03-27 Michael Natterer <mitch@imendio.com>
8397 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8398 selector cannot be opened
8400 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8401 when the popup color selector is created. Please connect to this
8402 signal in order to set the dialog's help ID.
8404 2008-03-25 Sven Herzberg <sven@imendio.com>
8406 Fixes: MB#1212: Hide info banners (infoprints) on click
8408 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8409 extracted the close event simulation into an extra function
8410 (hildon_banner_button_press_event): simulate a close event and destroy
8411 the widget if the event wasn't handled
8412 (hildon_banner_class_init): added the button_press_event handler
8413 (hildon_banner_init): added button-press events to the widget
8415 2008-03-25 Sven Herzberg <sven@imendio.com>
8417 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8418 Patch from: Mohammad Anwari <mdamt@maemo.org>
8420 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8421 instead of the right in RTL mode
8422 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8423 breadcrumb button list in RTL mode
8424 * src/hildon-caption.c: mirror the appearance of the caption widget in
8426 * src/hildon-date-editor.c: mirror appearance of the date editor in
8428 * src/hildon-time-editor.c: mirror appearance of the time editor in
8430 * src/hildon-window.c: fix the position of the popup in RTL mode
8432 2008-03-25 Sven Herzberg <sven@imendio.com>
8434 Amendment to the fix of NB#22072. Fix compilation.
8436 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8438 2008-03-19 Sven Herzberg <sven@imendio.com>
8440 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8443 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8444 timeout id properly when the timeout will disappear this leaves no
8445 artifacts around in the destroy(); there will only be the timeout
8446 created by hildon_banner_ensure_timeout() and adding a new timeout
8447 will also work if the timeout gets removed because the timeout_handler
8450 2008-03-19 Michael Natterer <mitch@imendio.com>
8452 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8454 * src/hildon-volumebar.c
8455 * src/hildon-vvolumebar.c
8456 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8457 the widget becomes focussable at all.
8459 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8460 set the focus to wither the mute button or the volumebar.
8462 Remove own "can-focus" property and instead listen to
8463 notify::can-focus in order to update the widget's state.
8465 Implement GtkWidget::focus() and make sure we can also *leave* the
8466 widget, not only enter it, depending on volumebar orientation and
8467 requested focus direction.
8469 Clean up set_mute() to cooperate nicely with all the above.
8471 2008-03-04 Michael Natterer <mitch@imendio.com>
8473 Fixes: NB#78481: information banners are hidden under browser menu
8475 * src/hildon-banner.c: call gtk_window_present() on the banners so
8476 they are risen if they are already visible.
8478 2008-03-03 Sven Herzberg <sven@imendio.com>
8480 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8482 * examples/hildon-window-menu-example.c: (main): extended the window
8483 menu example to serve as a testcase for automatically added
8484 accelerator groups, too
8485 * src/hildon-window.c: (hildon_window_add_accel_group),
8486 (hildon_window_set_menu): added patch by Tommi Komulainen
8488 2008-03-03 Sven Herzberg <sven@imendio.com>
8490 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8492 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8493 knowledge about the border allocators used within GTK+
8495 2008-02-26 Sven Herzberg <sven@imendio.com>
8497 Fixes: MB#2981: Build with asserts broken
8499 * src/hildon-date-editor.c,
8500 * src/hildon-number-editor.c,
8501 * src/hildon-time-editor.c,
8502 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8503 the proper GType instance check
8505 2008-02-25 Sven Herzberg <sven@imendio.com>
8507 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8509 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8510 * examples/hildon-window-menu-example.c: (main): explicitly show
8512 * src/hildon-window.c:
8513 (hildon_window_set_main_menu): moved most of the code from set_menu()
8514 to this place; skipped the call to gtk_widget_show_all(); also didn't
8515 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8516 (hildon_window_set_menu): removed most of the code, just keep the
8517 questionable gtk_widget_show_all()
8518 * src/hildon-window.h: added the new function and deprecate the old
8521 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8527 * debian/changelog: Updating.
8529 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8532 * pkgconfig/Makefile.am:
8533 * pkgconfig/hildon.pc.in:
8536 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8537 use newly created API_MAJOR_VERSION.
8539 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8545 * debian/changelog: Updating.
8547 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8549 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8551 Add outer_border style property, we use it but don't define it (!).
8555 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8557 * examples/hildon-bread-crumb-trail-example.c (main):
8561 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8563 Fix logic for the bread crumb trail node removal.
8567 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8573 * debian/changelog: Updating.
8575 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8577 Patch by Alejandro to get/set passwords dialogs accesibility.
8579 * hildon-1/src/hildon-get-password-dialog.c:
8580 * hildon-1/src/hildon-set-password-dialog.c:
8581 Set atk_set_name to the passwd entries in order to allow
8582 accessibility by name on this entries.
8584 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * debian/control: Updating gtk dep.
8591 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8593 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8594 USE_MAEMO_GTK is enabled.
8596 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8598 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8599 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8601 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8607 * debian/changelog: Updating.
8609 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * examples/Makefile.am:
8612 * examples/hildon-logical-color-example.c:
8613 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8614 applied + adding a test case. Fixes: NB#71660.
8616 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8618 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8619 to be visible, fixes warning on map for windows without toolbars.
8621 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8623 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8624 2.11.0, add a check for that besides the MAEMO_GTK check.
8626 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8632 * debian/changelog: Updating.
8634 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8637 visibility. Fixes: NB#70842 and MB#615.
8639 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8641 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8642 set the separator as no-show-all so it doesn't unintentionally appear when
8643 someone does a show_all.
8645 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8647 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8648 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8649 toplevel item. Fixes: NB#62031
8651 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8653 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8654 fix the name of the function in the docs.
8656 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * debian/changelog: Updating.
8664 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * examples/hildon-banner-long-example.c: Adding a test-case for long
8669 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8671 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * src/hildon-color-chooser-dialog.c:
8674 * src/hildon-color-chooser.c:
8675 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8676 memory leaks in font selector and color selector. Fixes: NB#70499 and
8679 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8681 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8683 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8686 little bit bigger. Fixes: #NB63694.
8688 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * debian/changelog: Updating.
8696 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * doc/hildon-docs.sgml:
8700 * doc/images/bread-crumb-trail.png:
8701 * doc/images/calendar-popup.png:
8702 * doc/images/caption.png:
8703 * doc/images/code-dialog.png:
8704 * doc/images/color-button.png:
8705 * doc/images/color-chooser-dialog.png:
8706 * doc/images/color-chooser.png:
8707 * doc/images/controlbar.png:
8708 * doc/images/date-editor.png:
8709 * doc/images/font-selection-dialog.png:
8710 * doc/images/get-password-dialog.png:
8711 * doc/images/hvolumebar.png:
8712 * doc/images/login-dialog.png:
8713 * doc/images/note.png:
8714 * doc/images/number-editor.png:
8715 * doc/images/range-editor.png:
8716 * doc/images/seekbar.png:
8717 * doc/images/set-password-dialog.png:
8718 * doc/images/sort-dialog.png:
8719 * doc/images/time-editor.png:
8720 * doc/images/time-picker.png:
8721 * doc/images/vvolumebar.png:
8722 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8723 Adding the bread-crumb-trial and helpers to the documentation.
8725 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * examples/hildon-find-toolbar-example.c:
8728 * src/hildon-find-toolbar.c:
8729 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8730 actually continue firing the other handlers if connected. Adding a new
8732 hildon_find_toolbar_get_last_index that gets the index of the most
8733 recently added (last) item. Fixes: NB#52301.
8735 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8738 behaviour. Fixes: NB#68610.
8740 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8745 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8748 when realizing the banner. Should make the infonbanner effect a bit more
8751 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8753 * src/hildon-volumebar.c:
8754 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8755 hildon_volumebar_set_range_insensitive_message and
8756 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8758 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8760 * src/hildon-window.c: Fixing the border freeing on destroy.
8762 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * src/hildon-code-dialog-private.h:
8765 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8766 kw keyboard support in HildonCodeDialog.
8768 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8774 * debian/changelog: Updating.
8776 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * src/hildon-date-editor.c:
8779 * src/hildon-number-editor.c:
8780 * src/hildon-private.c:
8781 * src/hildon-private.h:
8782 * src/hildon-time-editor.c:
8783 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8784 handling in subclassed composite widgets. Fixes: NB#66628.
8786 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8788 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8789 from destroy_ callback as it introduces problems in async dbus signal
8790 handlers. Fixes NB#66673.
8792 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * examples/hildon-hvolumebar-example.c:
8795 * src/hildon-volumebar.c: Improving the focus handling in the
8796 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8797 set_property accessor so that "mute" property can be actually set. I'm
8798 scared that nobody noticed it's totally broken.
8800 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8805 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8807 * src/hildon-calendar.c:
8808 * src/hildon-number-editor.c:
8809 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8810 matches the spec of 6 chars per second. Fixes: NB#60489.
8812 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8815 gtk_style_lookup_color sometime returns FALSE even though color was
8816 found and values were filled properly. Weird. Removing the warning for the
8819 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8822 expand vertically. Adding some extra space to the find toolbar buttons to
8823 make them thumbable. Fixes NB#66060.
8825 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8828 popup with "Ok" and "Cancel". Fixes NB#59299.
8830 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * src/hildon-calendar.c: Process all window updates before executing next
8833 timeout. Fixes: NB#54146.
8835 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8841 * debian/changelog: Updating.
8843 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8845 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8846 the client event and ignore it, since we use the delete event to close
8849 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-helper.c: Remove the bogus warning about color not being
8852 found. Fixes NB#58352.
8854 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8856 * examples/Makefile.am:
8857 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8858 HildonSeekbar widget inside a toolbar.
8860 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8862 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8863 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8864 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8865 don't want to be closed by non-temporary windows on map.
8867 Also use G_DEFINE_TYPE instead of manually typed code.
8869 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8876 * debian/rules: Updating.
8878 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * examples/Makefile.am:
8881 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8882 bug NB#61128. Strangely it works.
8884 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * src/hildon-date-editor.c: When the date editor entry has been changed
8887 but the numbers of characters < max, turn off the skip validation flag.
8888 Prevents a situation when we enter first a valid year and later re-write
8889 it with an invalid one. Fixes NB#60154.
8891 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8894 code dialog. Fixes NB#64355.
8896 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8899 switching the page. Fixes NB#49374.
8901 * examples/Makefile.am:
8902 * examples/hildon-wizard-dialog-example.c: Adding an example for
8903 HildonWizardDialog that shows how to handle manual sensitivity setting on
8906 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * src/hildon-version.h.in:
8911 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8913 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 * src/hildon-volumebar.c: Updating the docs.
8917 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * debian/changelog: Updating.
8925 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * src/hildon-find-toolbar.c:
8928 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8929 selected item: hildon_find_toolbar_set_active,
8930 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8931 hildon_find_toolbar_get_active_iter . They correspond to respective
8932 GtkComboBox functions.
8934 * examples/Makefile.am:
8935 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8938 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8940 * examples/Makefile.am:
8941 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8944 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8945 when font size > 32 and we pack a focusable widget inside. Actually using
8946 the default response would work too, but since we don't show default
8947 response state in any way (no theming) it would not be visible to the
8948 user. Fixes NB#63430.
8950 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * src/hildon-date-editor.c: Adding the missing variable setter in the
8953 set_property handler. Fixes NB#54182.
8955 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * src/hildon-window.h: Changing the long key press time from 1500ms to
8958 800ms as requested in NB#63700. I have a bad feeling about this, let's
8959 see... Fixes NB#63700.
8961 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8963 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8964 hildon_time_picker_map, hildon_time_picker_realize,
8965 hildon_time_picker_style_set): Split the contents of map to more
8966 appropriate functions; set window decorations on realize and update
8967 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8969 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8974 * debian/changelog: Updating.
8976 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8978 * src/Makefile.am: fixed installation of the header files
8980 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * debian/changelog: Updating.
8988 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8990 * configure.ac: Removing some remaining of --enable-xan.
8992 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8995 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8997 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8998 2.10.12-osso6 because the move-focus signal needs to be available in
9001 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9003 * examples/Makefile.am:
9004 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9005 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9006 fine. Prolly NB#61128 is fixed now.
9008 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9010 * src/hildon-volumebar.c:
9011 * src/hildon-volumebar.h: Adding the
9012 hildon_volumebar_set_range_insensitive_message and
9013 hildon_volumebar_set_range_insensitive_messagef functions to set
9014 insensitive message on the slider of the volumebar. Fixes NB#61129.
9016 * examples/Makefile.am:
9017 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9018 test the new insensitive messsage functionality on HildonVolumebar.
9020 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9022 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9025 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9027 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9028 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9029 button on after clearing the trail.
9031 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9033 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9035 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9037 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9038 by splitting the installed headers in generated and non-generated groups. Use
9039 only the non-generated headers to create the hildon-enum-types.h file.
9041 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9043 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 * src/hildon-window.c: Hide the window before performing the destroy.
9046 Should make the app closing a little tiny bit more snappy.
9048 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9050 * src/hildon-seekbar.c: add gtkrange.h header
9051 * src/hildon-caption.c: remove unused variable
9053 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9055 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9058 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * debian/changelog: Updating.
9066 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9068 * src/hildon-window.c (hildon_window_window_state_event,
9069 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9070 escape timeout on focus-out-event rather than notify::is-topmost; the
9071 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9073 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9075 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9076 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9078 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9080 * src/hildon-window: actually, you need to use the macro always, there's
9081 no private pointer in the instance structure. We should have cleaned this up
9082 when we had the chance...
9084 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-window.c: do not get the private date from HildonWindow before
9087 it passes the g_return_if_fail check. Once it's passed the test, there's no
9088 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9089 if you are only going to access the data once. Whitespace cleanups.
9091 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9093 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9094 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9096 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * debian/changelog: Updating.
9104 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * src/hildon-window.c: When destroying the window, remove (if exists) the
9107 escape timeout handler. Fixes #NB59276.
9109 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-banner.c: When realizing the widget, set the window
9112 transiency. Setting the transiency in the gobject constructor is not
9113 good, as the widget is not realized at that point. Fixes: #NB56624.
9115 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9117 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9118 Add padding for future expansions.
9120 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9123 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9124 will fake an activation on the previous to the last item of the trail, so
9125 the effect can be overrided by the developer as usual.
9126 Also change the callback for the back button to do the same thing, so its
9127 effect can be overrided too. Fixes: NB#58982
9129 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9131 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9132 HildonCaption. Fixes NB#52379.
9134 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9136 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9137 the internal state of the trail after the user has had the chance of executing
9138 his handler for the signal. Specifically, it may happen that the activated button
9139 is removed and the user still lets the default handler run. This would segfault
9142 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9145 scrollbar to the preview dialog. Fixes NB#54147.
9147 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9150 max/min year properties can be altered, so the client can modify it
9151 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9153 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9155 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9156 hildonlike by default. Fixing a problem with disappearing arrows when
9157 scrolling through months and years. Fixes NB#54127.
9159 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * examples/hildon-date-editor-example.c: Adding error callback to the date
9164 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9170 * configure.ac: Updating.
9172 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * configure.ac: Adding a special '--enable-xan' configure option that
9175 turns off the -Werror compilation setting. Usefull for development.
9177 * src/hildon-calendar.c:
9178 * src/hildon-number-editor.c:
9179 * src/hildon-time-picker.c: Adding the 5* multiplier to
9182 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9184 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9185 instead of g_object_ref + gtk_object_sink.
9187 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * debian/changelog: Updating.
9195 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * src/hildon-color-chooser-dialog.c:
9198 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9199 straight from Tommi labs.
9201 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * examples/hildon-finger-example.c: Correcting the header file path.
9205 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9206 the changed signal. Fixes a small memory leak.
9208 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-banner.c: Importing several usefull fixes from the
9213 ubuntu-mobile branch.
9215 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * examples/Makefile.am:
9218 * examples/hildon-finger-example.c: Adding a finger-checking code
9221 * src/hildon-font-selection-dialog.c: Do not allocate the color
9222 structure using the g_new. Fixes NB#54061.
9224 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * src/hildon-helper.c: Correcting tabs in file.
9228 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9230 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9231 control the visibility of the children.
9233 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9235 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9241 * debian/changelog: Updating.
9243 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9245 * src/hildon-bread-crumb-trail.c:
9246 (hildon_bread_crumb_trail_size_allocate):
9248 Make the back button always a square.
9250 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9252 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9253 from the .c file as it's a private file.
9255 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9258 uses slightly bigger height.
9260 * src/hildon-font-selection-dialog.c: Adding some checks before
9261 freeing memory in the font selection dialog.
9263 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-font-selection-dialog.c: Adding a small check when
9268 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9269 buttons sensitivity on page switching.
9271 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9273 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9274 internal details of adding a bread crumb to the trail.
9276 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * debian/changelog: Updating.
9284 * src/hildon-bread-crumb-trail.h:
9285 * src/hildon-bread-crumb.h: Changing the API guard to
9286 HILDON_ENABLE_UNSTABLE_API.
9288 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * src/hildon-helper.h: Updating.
9298 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * src/hildon-helper.h: Small fix to make the package actually compile.
9312 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9314 * src/hildon-bread-crumb-trail.h:
9315 * src/hildon-bread-crumb.h:
9317 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9318 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9320 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9322 * examples/hildon-bread-crumb-trail-example.c:
9324 * src/hildon-bread-crumb-trail.c:
9325 * src/hildon-bread-crumb-trail.h:
9326 * src/hildon-bread-crumb.c:
9327 * src/hildon-bread-crumb.h:
9328 * src/hildon-marshalers.list:
9329 * src/hildon-bread-crumb-widget.c:
9330 * src/hildon-bread-crumb-widget.h:
9332 Slight change in the widget design. The bread crumb trail API is
9333 unchanged, but HildonBreadCrumb is now an interface. A *private*
9334 implementation, hildon-bread-crumb-widget, is provided and used
9335 internally by the trail for the push_text/push_icon functions.
9337 The generic push API is still available, so anyone can implement
9338 and use its own bread crumb widget.
9340 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * debian/rules: Fixing the shlibs.
9344 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-banner.c: Fixing a problem with timed banners having
9347 their parrent destroyed before they are.
9349 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9351 * src/hildon-bread-crumb.c:
9352 * src/hildon-bread-crumb.h:
9354 Make the get_natural_size function a vfunc.
9356 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9358 * src/hildon-bread-crumb.c:
9359 * src/hildon-bread-crumb-trail.c:
9363 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9370 * debian/changelog: Updating for release.
9372 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9374 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9375 don't leak the pango layout.
9377 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9380 * examples/hildon-bread-crumb-trail-example.c:
9384 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9386 * debian/changelog: Removing the bug-fixed entries that were actually
9387 resolved as WONTFIX.
9389 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9392 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9394 * src/hildon-bread-crumb-trail.c:
9395 * src/hildon-bread-crumb-trail.h:
9396 * src/hildon-bread-crumb.c:
9397 * src/hildon-bread-crumb.h:
9401 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9403 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9404 until it's passed the type check.
9406 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9408 * examples/hildon-bread-crumb-trail-example.c
9412 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9414 * examples/Makefile.am
9415 * examples/hildon-bread-crumb-trail-example.c
9417 * src/hildon-bread-crumb-trail.c
9418 * src/hildon-bread-crumb-trail.h
9419 * src/hildon-bread-crumb.c
9420 * src/hildon-bread-crumb.h
9422 New HildonBreadCrumbTrail widget.
9424 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9426 * src/hildon-range-editor.c (hildon_range_editor_init),
9427 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9428 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9429 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9430 hildon_time_editor_class_init, hildon_time_editor_init),
9431 src/hildon-get-password-dialog.c (invalid_input,
9432 hildon_get_password_set_property, hildon_get_password_get_property,
9433 create_contents, hildon_get_password_dialog_set_max_characters),
9434 src/hildon-set-password-dialog.c (create_contents),
9435 src/hildon-date-editor.c (hildon_date_editor_init),
9436 src/hildon-login-dialog.c (hildon_login_dialog_init),
9437 src/hildon-number-editor.c (hildon_number_editor_init),
9438 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9439 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9440 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9441 configure option and adding the respective checks in the code.
9442 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9443 hildon_calendar_drag_data_received): fixed some build warnings.
9445 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9447 * debian/changelog: A 1.0.0 release notes.