1 2009-08-10 Alberto Garcia <agarcia@igalia.com>
5 * configure.ac: bump version
7 * debian/changelog: updates
9 2009-08-06 Alberto Garcia <agarcia@igalia.com>
11 * examples/hildon-hvolumebar-timer-example.c
13 * hildon/hildon-banner.c
14 (hildon_banner_timeout, hildon_banner_ensure_timeout)
15 * hildon/hildon-calendar.c
16 (calendar_timer, start_spinning)
17 * hildon/hildon-color-chooser.c
18 (inline_limited_expose)
19 * hildon/hildon-date-editor.c
20 (hildon_date_editor_entry_focus_in)
21 (hildon_date_editor_entry_validate)
22 (hildon_date_editor_entry_select_all)
23 * hildon/hildon-note.c
25 * hildon/hildon-number-editor.c
26 (hildon_number_editor_button_pressed)
27 (hildon_number_editor_start_timer, do_mouse_timeout),
28 (add_select_all_idle, hildon_number_editor_select_all)
29 * hildon/hildon-time-editor.c
30 (hildon_time_editor_entry_focus_in)
31 (highlight_callback, hildon_time_editor_validate)
32 (hildon_time_editor_entry_select_all)
33 * hildon/hildon-time-picker.c
34 (hildon_time_picker_arrow_press)
35 (hildon_time_picker_key_repeat_timeout)
36 * hildon/hildon-window.c
37 (hildon_window_key_press_event)
38 (hildon_window_escape_timeout):
39 Replace all calls to g_idle_add/g_timeout_add with their
40 gdk_threads counterparts.
42 Fixes: NB#126198 (gdk-threads API should be used to install idle
45 2009-08-06 Alejandro G. Castro <alex@igalia.com>
47 * hildon/hildon-pannable-area.c,
48 (hildon_pannable_area_class_init): Increased the overshooting max
49 speed to get a faster effect.
50 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
51 deceleration of the overshooting
52 (hildon_pannable_area_button_release_cb): Calculate initial
53 overshooting speed when finger on the screen using the distance to
54 launch the effect faster.
56 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
57 lists with slow row renderers)
59 2009-08-05 Alberto Garcia <agarcia@igalia.com>
61 * doc/hildon-sections.txt: Add new functions
63 2009-08-05 Alberto Garcia <agarcia@igalia.com>
65 * hildon/hildon-text-view.[ch]
66 * hildon/hildon-entry.[ch]:
67 Add deprecation guards around deprecated functions.
69 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-app-menu.c: Remove leftover function declaration.
73 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
75 Remove the grab from HildonAppMenu
77 * hildon/hildon-app-menu.c:
78 Now hildon-desktop places a blocker window behind the menu to handle
79 its closing, so the grab is no longer needed. This simplifies its
80 implementation and allows the system blanking to succeed.
82 Fixes: NB#130910 (Screen gets unlocked when menu is open)
84 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
88 * configure.ac: bump version
90 * debian/changelog: updates
91 * debian/control: raise debian dependency on GTK+
93 2009-08-04 Alberto Garcia <agarcia@igalia.com>
95 * hildon/hildon-text-view.c
96 * hildon/hildon-entry.c:
97 Remove all placeholder code from HildonEntry and HildonTextView
98 and use the API in GtkEntry and GtkTextView instead.
100 * examples/hildon-entry-example.c
101 * examples/hildon-text-view-example.c
102 * examples/hildon-wizard-dialog-example.c
103 * hildon/hildon-get-password-dialog.c
104 * hildon/hildon-login-dialog.c
105 * hildon/hildon-picker-dialog.c
106 * hildon/hildon-set-password-dialog.c
107 * hildon/hildon-touch-selector-entry.c:
108 Replace all deprecated calls to HildonEntry and HildonTextView
109 with their Gtk counterparts.
111 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
114 2009-08-03 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-pannable-area.c,
117 (hildon_pannable_area_check_move),
118 (hildon_pannable_area_button_release_cb),
119 (hildon_pannable_area_scroll_to): Reverted the priority change of
120 the timeout, in some situations, slow renderers, the click do not
121 make it to the mainloop on time.
123 Fixes NB#131013 (unable to stop panning file manager by tapping on
126 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
128 * configure.ac: bump version
130 * debian/changelog: updates
132 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
134 * hildon/hildon-touch-selector.[ch]
135 (hildon_touch_selector_center_on_index): New method that allows to center
136 on a item not selected
138 Fixes NB#130291 (New HildonTouchSelector API is required to center on
141 2009-07-29 Alberto Garcia <agarcia@igalia.com>
143 * hildon/hildon-text-view.c
144 (+set_logical_color, +hildon_text_view_style_set)
145 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
146 (hildon_text_view_init)
147 * hildon/hildon-entry.c
148 (+set_logical_color, +hildon_entry_style_set)
149 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
150 (hildon_entry_class_init, hildon_entry_init)
151 * hildon/hildon-button.c
152 (+set_logical_font, +set_logical_color)
153 (hildon_button_style_set, hildon_button_init)
154 (hildon_button_set_arrangement, hildon_button_set_style):
155 Remove all calls to hildon_helper_set_logical_font() and
156 hildon_helper_set_logical_color(), which are recursive, from
159 Fixes: NB#123409 (Showing dialog consumes significant amount of
162 2009-07-29 Alejandro G. Castro <alex@igalia.com>
164 * hildon/hildon-pannable-area.c,
165 (hildon_pannable_area_timeout): Added the process updates of the
166 scrollbars window in the pannable.
168 Fixes: NB#130043 (scrollindicator not smooth while panning)
170 2009-07-23 Alejandro G. Castro <alex@igalia.com>
172 * hildon/hildon-pannable-area.c,
173 (hildon_pannable_area_check_move),
174 (hildon_pannable_area_button_release_cb),
175 (hildon_pannable_area_scroll_to): Increased the priority of the
176 timeout this way it is going to be handled before the events.
178 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
182 * configure.ac: bump version
183 * debian/changelog: updates
185 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
187 * hildon/hildon-entry.c: (set_property): Do not allow to set
188 automatic height and use finger height instead, to prevent an to
189 have a smaller size than than its theme pixbuf.
191 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
193 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: postrelease version bump.
196 * debian/changelog: post release version bump
198 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
203 * configure.ac: Bump version.
204 * debian/changelog: Updates.
206 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
208 * hildon/hildon-note.c: (label_size_request): Take the note
209 padding into account when setting the size request.
211 Fixes: NB#127896 (Information notes text truncated)
213 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
215 * configure.ac: postrelease version bump.
216 * debian/changelog: post release version bump
218 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
223 * configure.ac: Bump version.
224 * debian/changelog: Updates.
226 2009-07-16 Alejandro G. Castro <alex@igalia.com>
229 * hildon/hildon-text-view.c,
230 (hildon_text_view_button_press_event): Grabbed the focus in button
231 press, this way we are sure the widget has the focus in the
232 release event, required for HIM.
234 Fixes: NB#121445 (Virtual keyboard opening is not working in same
235 way for each text entry field)
237 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
239 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
240 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
241 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
242 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
243 (hildon_pannable_area_[gs]et_center_on_child_focus)
244 Redefined GtkContainer set-focus-child signal, in order to center
245 properly on a child when it receives the focus. Defined a new property
246 "center-on-child-focus" in order to activate this feature (deactivated
247 by default). Public get/set methods defined to manage the property.
249 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
251 2009-07-14 László Pere <lpere@blumsoft.eu>
253 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
254 the new size is applied.
256 Fixes: NB#124510 (The Application Menu is distorted when switched
257 between portrait and landscape mode)
258 Fixes: NB#115388 (Power key menu does not resize itself)
260 2009-07-01 Alberto Garcia <agarcia@igalia.com>
262 * hildon/hildon-banner.c (hildon_banner_map):
263 Set banner position after mapping.
265 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
267 * configure.ac: postrelease version bump.
268 * debian/changelog: post release version bump
270 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
275 * configure.ac: Bump version.
276 * debian/changelog: Updates.
278 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
280 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
283 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
285 * tests/check-hildon-banner.c
287 * tests/test_suites.h
288 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
289 were testing deprecated functions.
290 * examples/hildon-banner-example.c: typo on button3 type, that causes
291 a fail compiling with --with-examples but without --disable-deprecated
293 Missed commit in order to fix compilation using '--enable-fatal' and
294 '--disable-deprecated' (see previous commit)
296 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
298 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
299 functions with #ifndef HILDON_DISABLE_DEPRECATED
300 * examples/hildon-find-toolbar.c: Protect deprecated
301 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
302 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
303 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
304 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
306 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
307 to allow proper compilation of deprecated functions defined on the header
309 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
311 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
313 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
314 Cache the panning indicator color.,
315 (hildon_pannable_area_style_set): Query the color on style changes.
316 (hildon_pannable_draw_vscroll),
317 (hildon_pannable_draw_hscroll),
318 (hildon_pannable_area_expose_event): Use the cached panning indicator
319 color instead of looking it up on every expose and more.
321 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
323 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
324 (hildon_pannable_draw_hscroll),
325 (hildon_pannable_area_expose_event): Fix the panning indicator color,
326 so that it's "SecondaryTextColor", as desired.
328 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
330 * hildon/hildon-picker-dialog.c:
331 (selection_completed): take into account HILDON_UI_MODE_NORMAL
332 * hildon/hildon-touch-selector.c
333 (hildon_touch_selector_init): Initialize hildon-ui-mode
334 (hildon_touch_selector_row_activated): new callback for the
335 "row-activated" signal, in order to save the last activated
336 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
337 if the current hildon-ui-mode is coherent with the touch selector
338 (hildon_touch_selector_class_init)
339 (hildon_touch_selector_get_property)
340 (hildon_touch_selector_set_property)
341 Added "hildon-ui-mode" property
342 (disconnect_model_handlers): renamed to clean_column
343 (hildon_touch_selector_remove): use clean_column function
344 (_create_new_column): use the hildon-ui-mode to create the treeview, and
345 only select the first element on HILDON_UI_MODE_EDIT
346 (hildon_touch_selector_column_init): Initialize last_activate
347 (hildon_touch_selector_append_column): check that the touch selector
348 is coherent with the current hildon-ui-mode
349 (hildon_touch_selector_get_hildon_ui_mode)
350 (hildon_touch_selector_set_hildon_ui_mode)
351 Added a getter/setter for the hildon-ui-mode property
352 (hildon_touch_selector_get_last_activated_row): Added this method in
353 order to get the last activated row.
354 * examples/hildon-touch-selector-normal-mode-example.c
355 New example, that shows how to use the HildonTouchSelector in
356 HILDON_UI_MODE_NORMAL
358 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
359 Kristian Rietveld <kris@lanedo.com> advices
361 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
363 * hildon/hildon-time-selector.c: (update_format_policy): Do
364 not call update_format_dependant_columns() if not necessary.
365 (update_format_dependant_columns): Remove unnecessary check for
366 the number of columns.
368 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
370 * hildon/hildon-note.c (+hildon_note_constructor),
371 (hildon_note_class_init), (+hildon_note_set_padding),
372 (hildon_note_rebuild): Install a constructor where to set the
373 padding properties in the note, so that it actually works fine.
374 Use hildon_note_set_padding() for this, and also to set it during
377 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
379 * configure.ac: Bump GTK+ requirement to 2.14.3.
380 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
381 when using maemo-gtk to define proper margins for the notes.
383 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
384 with the dialog edge)
386 2009-06-24 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-banner.c
389 (hildon_banner_class_init):
391 (+hildon_banner_size_request):
392 Request always the full width of the screen.
393 (hildon_banner_realize)
394 (-hildon_banner_check_position, hildon_banner_map):
395 hildon_banner_check_position() is not needed in Hildon 2.2.
396 (-hildon_banner_reset_wrap_state)
397 (hildon_banner_constructor, hildon_banner_init):
398 Remove unnecessary calls to hildon_banner_reset_wrap_state()
399 (+banner_do_set_text)
400 (force_to_wrap_truncated):
401 Remove has_been_wrapped and has_been_truncated attributes.
402 (+reshow_banner, hildon_banner_real_show_information)
403 (hildon_banner_show_information_with_markup)
404 (hildon_banner_show_animation, hildon_banner_show_progress)
405 (hildon_banner_set_text, hildon_banner_set_markup):
406 Refactor code. Shrink banner vertically to use the minimum space
407 necessary everytime the text of the label is updated.
408 (screen_size_changed):
409 Call force_to_wrap_truncated() when the size of the screen
412 Fixes: NB#120500 (only device memory connect mmc in use info
413 banner is left aligned)
415 Fixes: NB#120613 (Size of HildonBanner varies depending on
416 previously opened banners)
418 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
420 * hildon/hildon-color-chooser.c
421 (hildon_color_chooser_pointer_motion): Take the widget allocation
424 Fixes: NB#124385 (Unable to select exact point in color mixing box
425 in color palette dialog)
427 2009-06-23 Alejandro G. Castro <alex@igalia.com>
429 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
430 (hildon_pannable_area_dispose)
431 (hildon_pannable_area_button_press_cb)
432 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
433 (hildon_pannable_area_button_release_cb)
434 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
435 New 'panning-started' and 'panning-finished' signals.
437 Fixes: NB#121732 (New feature request: Signal to pannable area
438 that informs when panning is stopped.)
440 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
442 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
443 instead of hardcoded colon.
445 Fixes: NB#124090 (New calendar wizard title is not using
446 ecdg_ti_caption_separator)
448 2009-06-22 David King <davidk@openismus.com>
450 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
451 constants and functions, as well as correct many typos throughout the
454 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
457 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: postrelease version bump.
460 * debian/changelog: post release version bump
462 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
467 * configure.ac: Bump version.
468 * debian/changelog: Updates.
470 2009-06-18 Alberto Garcia <agarcia@igalia.com>
472 * hildon/hildon-window-stack.c
473 (hildon_window_stack_pop_and_push_list):
474 Prevent windows from having the same stack index
476 2009-06-18 Alberto Garcia <agarcia@igalia.com>
478 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
479 Use the index of the previous window rather than the stack length
480 to calculate the new index.
484 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
486 * hildon/hildon-date-selector.c
487 (hildon_date_selector_select_current_date)
488 (hildon_date_selector_get_date)
489 (hildon_date_selector_select_day):
490 Update the documentation: uses always the range (1-31), as it is obvious
491 that the final one will depend on the month and the year, but globally
492 the range is this, in a similar GtkCalendar approach
493 (hildon_date_selector_get_date):
494 Update the documentation: add NULL as a valid value for the day, month
497 Fix some details, after talk with David King on bug MB#4698
499 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
501 * hildon/hildon-touch-selector-entry.c
502 * hildon/hildon-touch-selector.c
503 Update the documentation of the "text-column" property
505 2009-06-18 David King <davidk@openismus.com>
507 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
508 several typos and errors throughout the documentation.
510 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
513 2009-06-18 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-note.c (hildon_note_realize):
516 Make HildonNote support portrait mode.
518 Fixes: NB#123448 (HildonNote is not portrait-friendly)
520 2009-06-17 Alberto Garcia <agarcia@igalia.com>
522 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
523 Document this function
525 2009-06-17 David King <davidk@openismus.com>
527 * hildon/hildon-date-selector.c
528 (hildon_date_selector_select_current_date)
529 (hildon_date_selector_get_date): Update documentation regarding days,
530 as the day of the month is dependent on both the month and the year.
531 (hildon_date_selector_get_date): Fix documentation of output arguments.
533 Fixes: MB#4698 (DateSelector documentation has bad output argument
534 description, and the day depends on both the month and the year)
536 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-caption.c: Other documentation fixes to
541 2009-06-17 David King <davidk@openismus.com>
543 * hildon/hildon-caption.c: Minor documentation updates for
544 HildonCaption. Fixes MB#4697.
546 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
548 * doc/hildon-docs.sgml: Add hildon-version section.
549 * doc/hildon-sections.txt:
550 * hildon/hildon-version.h.in: Document versioning macros and
553 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
555 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
556 from HildonPickerDialog section.
558 2009-06-16 Alberto Garcia <agarcia@igalia.com>
560 * hildon/hildon-banner.c (hildon_banner_bind_style)
561 (screen_size_changed, hildon_banner_init)
562 (hildon_banner_real_show_information)
563 (hildon_banner_show_information_with_markup)
564 (hildon_banner_show_animation, hildon_banner_show_progress):
565 Set a different widget name to banners in portrait mode, for them
566 to be themed correctly.
568 2009-06-16 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
571 Set a different widget name to notes in portrait mode, for them to
574 Partially fixes: NB#118401 (HildonNote causes unnecessary
577 2009-06-16 Alberto Garcia <agarcia@igalia.com>
579 * hildon/hildon-note.c (hildon_note_class_init)
580 (+hildon_note_size_request, screen_size_changed):
581 Always request the full width of the screen.
583 Fixes: NB#118375 (unnecessary rescaling of images)
585 2009-06-16 Alejandro G. Castro <alex@igalia.com>
587 * hildon/hildon-pannable-area.c,
588 (hildon_pannable_area_init),
589 (hildon_pannable_area_realize): Replaced old code adding flags in
590 the object init, now we add it with the other flags in the realize
593 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-note.c: (hildon_note_class_init): Several
596 documentation improvements to the HildonNote widget.
598 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
600 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
602 Fixes: MB#4556 (HildonNoteType is undocumented)
604 2009-06-15 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-picker-button.c:
607 Explain how HildonPickerButton sets the title of its dialog
609 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
610 the title of its dialog)
612 2009-06-15 Alberto Garcia <agarcia@igalia.com>
614 * hildon/hildon-check-button.c:
615 Documentation updates
617 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
620 2009-06-15 Alberto Garcia <agarcia@igalia.com>
623 * hildon/hildon-edit-toolbar-private.h
624 * hildon/hildon-edit-toolbar.c
625 (+hildon_edit_toolbar_set_progress_indicator)
626 (hildon_edit_toolbar_init): Add progress indicator to the
629 * hildon/hildon-gtk.c
630 (hildon_gtk_window_set_progress_indicator):
631 If the window contains a HildonEditToolbar, enable the progress
634 * hildon/hildon-private.h
635 * hildon/hildon-private.c
636 (+hildon_private_create_animation)
637 * hildon/hildon-banner.c
638 (-hildon_banner_create_animation):
639 Moved to hildon-private.c
641 Fixes: NB#102373 (Progress indicator also for the Edit mode
644 2009-06-15 Alberto Garcia <agarcia@igalia.com>
646 * hildon/hildon-app-menu-private.h
647 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
648 (hildon_app_menu_add_filter, +menu_item_button_event)
649 (hildon_app_menu_button_release, hildon_app_menu_init):
650 Make sure that buttons receive 'button-release-event' in spite of
651 the grab held by HildonAppMenu
653 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
655 2009-06-15 Alberto Garcia <agarcia@igalia.com>
657 * hildon/hildon-app-menu.c
658 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
659 New style property to set the size of the group of filter buttons.
661 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
663 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: Bump version.
669 * debian/changelog: Updates.
671 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-main.c: Minor documentation fixes.
675 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
677 * doc/hildon-sections.txt:
678 * hildon/hildon-defines.h: Document the defines, organize them,
679 and mark deprecations as such.
681 Fixes: MB#4463 (Hildon size #defines are undocumented)
683 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
685 * hildon/hildon-animation-actor.c:
686 * hildon/hildon-app-menu.c:
687 * hildon/hildon-button.c:
688 * hildon/hildon-date-editor.c:
689 * hildon/hildon-dialog.c:
690 * hildon/hildon-edit-toolbar.c:
691 * hildon/hildon-entry.c:
692 * hildon/hildon-program.c:
693 * hildon/hildon-remote-texture.c:
694 * hildon/hildon-stackable-window.c:
695 * hildon/hildon-text-view.c:
696 * hildon/hildon-touch-selector.c:
697 * hildon/hildon-window-stack.c:
698 * hildon/hildon-window.c:
700 Remove redundant "represents" wording from most of the documentation.
702 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
704 2009-06-12 Alberto Garcia <agarcia@igalia.com>
709 * hildon/hildon-banner-private.h
710 * hildon/hildon-banner.c:
711 Move HildonBannerPrivate to hildon-banner.c and remove
712 hildon-banner-private.h
713 Use a bit field to store private booleans.
715 2009-06-12 Alberto Garcia <agarcia@igalia.com>
717 * hildon/hildon-app-menu.c (hildon_app_menu_map):
718 Don't install a new idle function if there's already one
723 2009-06-11 Alberto Garcia <agarcia@igalia.com>
725 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
726 (+legacy_menu_realized, +legacy_menu_unmapped)
727 (+set_legacy_menu_type):
728 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
729 they can be identified by the window manager.
731 Fixes: NB#101437 (Invoking CSM on the left side of page area is
732 displayed in wrong location)
734 Fixes: MB#4563 (Popup menu won't locate at the left side of the
737 2009-06-11 Alberto Garcia <agarcia@igalia.com>
739 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
741 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
744 2009-06-11 Alberto Garcia <agarcia@igalia.com>
746 * hildon/hildon-code-dialog.c
747 * hildon/hildon-date-editor.c
748 * hildon/hildon-number-editor.c
749 * hildon/hildon-seekbar.c
750 * hildon/hildon-stackable-window.c
751 * hildon/hildon-window.c:
752 Misc documentation updates
754 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
756 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
757 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
759 Fixes: NB#117931 (Theming issues in accounts dialogs)
761 2009-06-09 Alejandro G. Castro <alex@igalia.com>
763 * hildon/hildon-pannable-area.c,
764 (hildon_pannable_area_button_release_cb): Changed the coordinates
765 of the original release in case we want to discard the release,
766 some widgets in Fremantle do not handle the leave-notify.
768 2009-06-09 Alejandro G. Castro <alex@igalia.com>
770 * hildon/hildon-pannable-area.c,
771 (hildon_pannable_area_button_release_cb): Reviewed the logic of
772 the release using the last refactored functions and avoiding the
773 movement if an element was selected.
775 2009-06-09 Alejandro G. Castro <alex@igalia.com>
777 * hildon/hildon-pannable-area.c,
778 (hildon_pannable_area_check_move),
779 (hildon_pannable_area_handle_move),
780 (hildon_pannable_area_motion_notify_cb): Refactored the
781 motion_notify method using a couple of new functions.
783 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
785 * hildon/hildon-date-selector.c:
786 (hildon_date_selector_construct_ui):
787 * hildon/hildon-time-selector.c:
788 (hildon_time_selector_constructor):
789 * hildon/hildon-touch-selector-entry.c:
790 (hildon_touch_selector_entry_set_text_column),
791 (hildon_touch_selector_entry_get_text_column):
792 * hildon/hildon-touch-selector.c: (_default_print_func),
793 (hildon_touch_selector_new_text): Use
794 hildon_touch_selector_set/get_text_column() instead of
795 setting/getting the "text-column" property.
797 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
799 * doc/hildon-sections.txt: Add the new public methods below.
801 * examples/hildon-picker-button-multicolumn-example.c:
802 (create_touch_selector):
803 * examples/hildon-touch-selector-example.c: (create_selector):
804 * examples/hildon-touch-selector-multi-cells-example.c:
806 Use hildon_touch_selector_column_set_text_column()
808 * hildon/hildon-touch-selector-column.h:
809 * hildon/hildon-touch-selector.c:
810 (hildon_touch_selector_column_set_text_column),
811 (hildon_touch_selector_column_get_text_column):
812 Make hildon_touch_selector_column_set/get_column() public, use
813 them in the inline example, document them, and reference to them
816 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
818 * hildon/hildon-time-selector.c: Fix the docs for
819 hildon_time_selector_new_step().
821 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
823 * hildon/hildon-touch-selector.c: Improve the documentation for
824 hildon_touch_selector_append_column().
826 Fixes MB#4641 (Documentation:
827 hildon_touch_selector_append_column() ref-counting)
829 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
831 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
832 Comment out test 5, since the hildon_controlbar_set_range() range
833 check is broken and fixing it would have side effects. Also,
834 this finally fixes make distcheck.
836 Fixes: NB#101420 (Update unit tests and fix make distcheck)
838 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
840 * tests/TEST-CASES.txt: Remove other bogus test.
841 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
842 Remove bogus test that was setting/retrieving a valid value.
844 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
846 * tests/TEST-CASES.txt: Remove bogus tests.
847 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
848 Remove three bogus tests that were actually setting valid colors.
850 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: post release version bump
853 * debian/changelog: post release version bump
855 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump version.
861 * debian/changelog: Updates.
863 2009-06-08 Christian Dywan <christian@lanedo.com>
867 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
868 Correct errors in hildon_format_file-size_for_display and use
869 translations from the hildon-fm package instead of osso-filemanager.
871 2009-06-08 Alejandro G. Castro <alex@igalia.com>
873 * hildon/hildon-pannable-area.c,
874 (hildon_pannable_area_init): Initialized new values to handle the
876 (hildon_pannable_area_adjust_value_changed): Check if the values
877 changed before even call the redraw function.
878 (hildon_pannable_area_size_allocate),
879 (hildon_pannable_axis_scroll),
880 (hildon_pannable_area_scroll),
881 (hildon_pannable_area_jump_to): Improved the diagonal movement
884 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
887 2009-06-08 Alberto Garcia <agarcia@igalia.com>
889 * examples/hildon-banner-example.c:
890 Several style updates
891 (on_animation_clicked, on_animation_idle)
892 (on_progress_clicked, on_progress_idle):
893 Add additional reference for the cases when the parent window is
896 2009-06-08 Alberto Garcia <agarcia@igalia.com>
898 * doc/hildon-sections.txt
899 * hildon/hildon-pannable-area.c
900 * hildon/hildon-banner.h
901 * hildon/hildon-banner.c: Documentation updates.
903 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
906 2009-06-05 Alejandro G. Castro <alex@igalia.com>
908 * hildon/hildon-calendar-popup.h:
909 * hildon/hildon-caption.h:
910 * hildon/hildon-code-dialog.h:
911 * hildon/hildon-controlbar.h:
912 * hildon/hildon-date-editor.h:
913 * hildon/hildon-dialog.h:
914 * hildon/hildon-get-password-dialog.h:
915 * hildon/hildon-hvolumebar.h:
916 * hildon/hildon-login-dialog.h:
917 * hildon/hildon-note.h:
918 * hildon/hildon-number-editor.h:
919 * hildon/hildon-range-editor.h:
920 * hildon/hildon-seekbar.h:
921 * hildon/hildon-set-password-dialog.h:
922 * hildon/hildon-sort-dialog.h:
923 * hildon/hildon-time-editor.h:
924 * hildon/hildon-time-picker.h:
925 * hildon/hildon-volumebar-range.h:
926 * hildon/hildon-volumebar.h:
927 * hildon/hildon-vvolumebar.h:
928 * hildon/hildon-weekday-picker.h:
929 * hildon/hildon-window.h:
930 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
931 macros with the current replacements
933 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
935 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
937 * hildon/hildon-color-button.c (hildon_color_button_init): Use
938 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
939 itself, to make it fit better with Fremantle style.
941 Fixes: NB#109878 (height and width of focus on color icon is not
942 consistent with other item in the application tool bar)
944 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
946 * hildon/hildon-touch-selector.c:
947 (hildon_touch_selector_optimal_size_request): use the current requisition
948 as the base, in order to include any possible extra widget, like the
949 hildon entry on HildonTouchSelectorEntry
951 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
953 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
955 * configure.ac: post release version bump
956 * debian/changelog: post release version bump
958 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
963 * configure.ac: Bump version.
964 * debian/changelog: Updates.
966 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
968 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
970 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
971 to ensure the banner contents are centered, instead of relying on
972 the expand and fill properties in GtkHBox.
973 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
975 Fixes: NB#108265 (Animation banner not properly centered)
977 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
979 * hildon/hildon-pannable-area.c
980 (hildon_pannable_area_initial_effect): Remove the initial_effect
981 management, check initial_hint
982 (hildon_pannable_are_expose_event): Remove the initial_hint management,
983 set initial_effect to FALSE
984 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
985 by launching the fade_timeout if the scrollbars state has changed and are
987 * examples/hildon-pannable-area-initial-hint-example.c
988 Modified to allow to remove rows too. Add and remove rows one by one.
990 2009-05-28 Alberto Garcia <agarcia@igalia.com>
992 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
993 Don't close the menu if there's an animation actor below it.
995 Fixes: NB#117927 (Application menu not usable with animation
998 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1000 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1001 "focus-on-click" from the dialog button, to avoid stealing the
1002 focus from the entry.
1004 Fixes: NB#118903 (Account setup wizard: Text in Search field
1005 should be focused when "Region" touch list picker is reopened
1008 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1010 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1011 (prepare_action_area): Completely hide the dialog separator.
1013 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1015 * hildon/hildon-touch-selector-entry.c
1016 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1017 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1018 now that the entry is exposed.
1020 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1022 * hildon/hildon-touch-selector-entry.c
1023 (hildon_touch_selector_entry_init): Change the entry's size
1024 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1026 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1028 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1029 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1030 avoid unnecessary scaling.
1032 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1034 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1035 Create grab transfer window before calling parent's map function.
1037 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1038 "crushed" button(s) in the top left corner)
1040 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1043 Check if the window is already realized when pushing it.
1045 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1047 * configure.ac: post release version bump
1048 * debian/changelog: post release version bump
1050 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1055 * configure.ac: Bump version.
1056 * debian/changelog: Updates.
1058 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1060 * hildon/hildon-app-menu.c: Doc updates.
1062 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1064 * hildon/hildon-banner.c: Remove leftover macro.
1066 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1068 * hildon/hildon-pannable-area.c,
1069 (hildon_pannable_area_scroll_indicator_fade),
1070 (hildon_pannable_area_button_release_cb): Reviewed vmin
1071 conditions, it could cause problems in the fadeout procedure.
1073 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1075 * hildon/hildon-pannable-area.c
1076 (hildon_pannable_area_button_release_cb): Added a threshold to
1077 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1079 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1081 * hildon/hildon-pannable-area.c,
1082 (hildon_pannable_area_set_property): Added code to sync the gtk
1083 dnd threshold with the panning threshold.
1085 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1087 * hildon/hildon-pannable-area.c,
1088 (hildon_pannable_area_class_init): Changed some of the default
1089 values, now it should be less responsive and more accurate.
1091 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1093 * hildon/hildon-pannable-area.c,
1094 (hildon_pannable_area_init),
1095 (hildon_pannable_area_scroll_indicator_fade),
1096 (hildon_pannable_area_button_press_cb),
1097 (hildon_pannable_axis_scroll),
1098 (hildon_pannable_area_timeout),
1099 (hildon_pannable_area_motion_notify_cb),
1100 (hildon_pannable_area_button_release_cb): Changed the name of the
1101 clicked attribute to button_pressed, it is more clear about its use.
1103 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1105 * src/hildon-pannable-area.c
1106 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1108 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1109 vertical scrollbar visibility, and use the data on private section instead,
1110 remove the initial_hint check
1111 (hildon_pannable_area_expose_event): add the initial_hint check here
1113 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1115 * src/hildon-pannable-area.c
1116 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1117 if the fadeout effect was used
1118 (hildon_pannable_area_expose_event): check if it is required to
1119 manage the initial effect on the begining of the function. Previously
1120 it was made at the end, but this doesn't ensure that the scrollbars
1121 will be painted on the first show. Do not set to FALSE initial_effect,
1122 to ensure that the initial hint is showed the first time the pannable
1124 * examples/Makefile.am
1125 * examples/hildon-pannable-area-initial-hint-example.c:
1126 New example, to show that the initial-hint is showed when the widget
1129 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1130 initially if the application can be scrolled)
1132 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1135 Resize table before adding new items to make sure that
1136 gtk_table_resize() is called just once.
1138 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1140 * hildon/hildon-app-menu-private.h
1141 * hildon/hildon-app-menu.c (item_visibility_changed)
1142 (filter_visibility_changed, hildon_app_menu_show_all)
1143 (hildon_app_menu_hide_all, hildon_app_menu_init):
1144 Rearrange items just once when gtk_widget_show_all()/hide_all()
1147 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1149 * hildon/hildon-app-menu.c
1150 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1151 Don't call gtk_widget_show() on added items.
1153 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1154 automatically when they're added)
1156 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1158 * hildon/hildon-banner.c
1159 (hildon_banner_realize, +hildon_banner_unrealize)
1160 (+screen_size_changed, hildon_banner_class_init):
1161 Redisplay the banner if the screen is rotated.
1163 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1164 on transition from landscape to portrait)
1166 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1168 * hildon/hildon-banner.[ch]:
1169 (hildon_banner_show_information_override_dnd): remove icon_name from the
1170 method definition as it is ignored.
1171 * examples/hildon-banner-dnd-example.c: updated with the change on
1174 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1176 * hildon/hildon-banner-private.h: new require_override_dnd and
1177 overrides_dnd variables
1178 * hildon/hildon-banner.h:
1179 (hildon_banner_show_information_override_dnd): new method, that shows
1180 the information but sets the override flag, in order to show important
1182 * hildon/hildon-banner.c
1183 (hildon_banner_show_information_override_dnd): new method
1184 (hildon_banner_set_override_flag): new utility function
1185 (hildon_banner_real_show_information): new utility function, in order to
1186 generalize the current hildon_banner_show_information_override_dnd and
1187 hildon_banner_show_information_override_dnd
1188 * examples/Makefile.am
1189 * examples/hildon-banner-dnd-example.c: New example that show how to
1190 use the new hildon_banner_show_information_override_dnd
1192 Fixes: NB#114874 (There is no possibility to show hildon banners with
1195 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1197 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1198 behind hildon_pannable_calculate_vel_factor().
1200 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1202 * hildon/hildon-pannable-area.c
1203 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1204 deceleration factors.
1206 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1208 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1209 Reduce the default value for 'scroll_time' to 1 second, since the
1210 current initial scrolling takes too much time.
1212 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1214 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1215 calculate velocity factor during initialization, since the properties
1218 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1220 * hildon/hildon-pannable-area.c
1221 (hildon_pannable_area_set_property): Calculate the velocity factor
1222 after setting the deceleration property and not after.
1224 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1226 * hildon/hildon-entry.c
1227 (hildon_entry_class_init, +set_property, hildon_entry_new)
1228 * hildon/hildon-check-button.c
1229 (hildon_check_button_class_init)
1230 (+set_property, hildon_check_button_new):
1231 Make the theme size a property.
1233 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1234 others) do too much in the _new function)
1236 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1238 * configure.ac: post release version bump
1239 * debian/changelog: post release version bump
1241 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1246 * configure.ac: Bump version.
1247 * debian/changelog: Updates.
1249 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1251 * hildon/hildon-gtk.h
1252 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1253 New API function to take a screenshot of a window
1255 Fixes: NB#106374 (Need API to take a loading screenshot)
1257 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1259 * hildon/hildon-time-selector.c
1260 (update_format_policy): prevent to use hours and minutes unitialized
1262 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1264 * hildon/hildon-window.c (hildon_window_size_request):
1265 Always request the full size of the screen (minus the title bar if
1266 not in fullscreen mode).
1268 Fixes: NB#107486 (HildonWindow should size itself properly)
1270 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1272 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1273 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1274 (on_show_cb), (sound_handling): Disconnect the idle handler for
1275 the sound when the note is finalized to avoid possible crashes.
1277 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1280 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1282 * src/hildon-animation-actor.c,
1283 * src/hildon-remote-texture.c:
1284 Added proper object cleanup to remove signal handler and object
1285 references as HildonAnimationActor and HildonRemoteTexture
1286 objects get destroyed.
1288 Fixes: NB#116682 (Destroying parented animation actors when
1289 parent in unmapped leads to crash)
1291 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1293 Based on a patch by Christian Dywan (christian@imendio.com)
1295 * doc/hildon-sections.txt:
1296 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1297 * hildon/hildon-helper.h: New file size formatting method.
1299 * debian/control: Depend on osso-filemanager l10n package for
1300 proper localization strings.
1302 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1304 * tests/Makefile.am: Include top_srcdir to make possible to build
1305 tests in a different builddir.
1306 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1307 on a different builddir.
1309 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1311 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1312 (hildon_touch_selector_remove): Disconnect model's signal handler
1315 Fixes: NB#116289 (Hildon home crashes while adding task
1318 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1320 * hildon/hildon-button.c
1321 (hildon_button_set_title, hildon_button_set_value):
1322 Hide labels containing an empty string.
1324 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: post release version bump
1327 * debian/changelog: post release version bump
1329 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1334 * configure.ac: Bump version.
1335 * debian/changelog: Updates.
1337 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1339 * hildon/hildon-note-private.h: Removed sound_signal_handler
1340 * hildon/hildon-note.c
1341 (on_show_cb): new callback on note "show" event, this simply adds
1342 a idle, with the function sound_handling
1343 (sound_handling): removed the sound_signal_handler management
1344 (hildon_note_init): connect note "show" event to on_show_cb
1345 (hildon_note_realize): remove the connection to "expose-event"
1347 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1348 device?' confirmation note)
1350 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1352 * hildon/hildon-note.c
1353 (hildon_note_new_information_with_icon_name)
1354 (hildon_note_new_confirmation_with_icon_name):
1355 Terminate the list of parameters in g_object_set() calls
1357 Fixes: NB#115166 (Formatting memory card is not taking place)
1359 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1361 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1362 "dialog-information" role for the sound being played.
1364 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1366 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1367 Don't make the menu a modal window, it causes strange interactions
1368 with the pointer grab and it's not really needed.
1370 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1372 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1374 * hildon/hildon-touch-selector.[ch]
1375 (hildon_touch_selector_optimal_size_request): function added to get a
1376 optimal size request from the touch selector, when you want a dialog to
1377 show as much of the selector
1378 * hildon/hildon-picker-dialog.c:
1379 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1380 (hildon_app_menu_class_init):
1381 New "max-height-landscape" and "max-height-portrait" style properties
1382 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1383 (hildon_picker_dialog_get_max_height): returns the maximum height using
1384 the style properties defined and checking the current portrait/landscape
1386 (_hildon_picker_dialog_set_selector): removed the set_size_request
1388 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1390 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-bread-crumb-trail.c:
1393 * hildon/hildon-bread-crumb.c:
1394 * hildon/hildon-seekbar.c:
1395 Add reference to replacements for these deprecated widgets.
1397 Fixes: MB#4461 (Documentation: All deprecations should mention
1400 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1402 * examples/hildon-remote-texture-example.c
1404 Change the include to the hildon-remote-texture in order to compile
1405 properly the examples on the installed libhildon1-examples package
1407 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1409 * tests/Makefile.am: Add check for HildonPickerButton.
1410 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1411 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1412 checks for the HildonPickerButton.
1413 * tests/check_test.c (configure_tests): Add the test suite.
1414 * tests/test_suites.h: likewise.
1416 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1418 * hildon/hildon-touch-selector.c
1419 (+on_row_changed): Emit HildonTouchSelector:changed when the
1420 contents of a selected row change.
1421 (_create_new_column), (_hildon_touch_selector_set_model): connect
1422 to GtkTreeModel:row-changed on a newly set model.
1424 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1426 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1428 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1430 * hildon/hildon-banner.c (hildon_banner_destroy)
1431 (hildon_banner_show_progress, hildon_banner_set_fraction):
1432 Remove the progress bar from HildonBanner and use a progress
1435 Fixes: NB#113761 (Update progress banner to use progress
1438 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1440 * hildon/hildon-banner.c:
1441 Calculate size of the banner label using the actual screen width
1442 rather than using a fixed value.
1444 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1447 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1449 * hildon/hildon-pannable-area.c,
1450 (hildon_pannable_area_class_init): Fixed signals documentation
1453 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: post release version bump
1456 * debian/changelog: post release version bump
1458 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: Bump version.
1464 * debian/changelog: Updates.
1466 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1468 * hildon/hildon-edit-toolbar.c
1469 (hildon_edit_toolbar_init):
1470 Don't let buttons in HildonEditToolbar receive focus.
1472 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1473 typing on an HW arrows key)
1475 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1477 * doc/Makefile.am: Fix build.
1479 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1481 * doc/Makefile.am: Do not redefine content_files.
1483 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1491 Renamed src/ to hildon/
1496 Include <hildon/hildon.h> directly in all examples.
1498 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1500 * src/hildon-sort-dialog.c
1501 (hildon_sort_dialog_add_sort_key_with_sorting)
1505 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1508 make distcheck passes.
1510 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1512 * Makefile.am: Enable gtk-doc during distcheck.
1514 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1516 * Makefile.am: Do not distribute the debian/ directory.
1518 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1520 * doc/Makefile.am: Add the extra SGML files to content_files,
1521 so that they are distributed properly.
1523 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1525 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1528 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1531 (hildon_note_new_information_with_icon_name): Set the "icon" property
1532 to preserve soundness.
1534 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1536 * src/hildon-font-selection-dialog.c
1537 (hildon_font_selection_dialog_set_property): Fail when the "family"
1538 property is set to NULL.
1540 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1542 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1545 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1547 * src/hildon-time-selector.h:
1548 Added HildonTimeSelectorFormatPolicy
1549 * src/hildon-time-selector.c:
1550 Added PROP_TIME_FORMAT_POLICY
1551 (_check_ampm_format): renamed to check_automatic_ampm_format
1552 (update_format_policy), (update_format_dependant_columns): new functions
1553 (hildon_time_selector_class_init)
1554 (hildon_time_selector_contructor)
1555 (hildon_time_selector_init)
1556 (hildon_time_selector_get_property)
1557 (hildon_time_selector_set_property)
1558 (hildon_time_selector_get_time)
1559 (hildon_time_selector_set_time)
1560 * src/hildon-touch-selector.h: new file
1561 * src/hildon-touch-selector.c
1562 (hildon_touch_selector_emit_changed)
1563 (hildon_touch_selector_block_changed)
1564 (hildon_touch_selector_unblock_changed)
1565 Added functions to allow to block the emission of the "changed" signal
1566 * src/hildon-picker-dialog.c
1567 (hildon_picker_dialog_show): call the parent show before the custom code
1568 * examples/hildon-time-button-example.c
1569 Modified, so now you can configure the time format using the new property
1571 Added a new property "time-format-policy" that allow to choose the time
1572 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1573 case it uses gconf in order to check if the time selector must use
1576 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1579 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1581 * src/hildon-note.c (hildon_note_init):
1582 Label in HildonNote must be left aligned, not centered. This
1583 reverts the last commit in HildonNote.
1585 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1586 is connectivity dialog)
1588 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1593 * doc/hildon-sections.txt:
1594 Added hildon_gtk_window_set_do_not_disturb()
1596 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1598 * src/hildon-note.c (hildon_note_init): Center label.
1600 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1603 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1608 * configure.ac: Bump version.
1609 * debian/changelog: Updates.
1611 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1613 * src/hildon-note-private.h: Add button-width to the private data.
1614 * src/hildon-note.c (+resize_button),
1615 (+hildon_note_orientation_update): methods to repack widgets on orientation
1617 (screen_size_changed): Call above method for confirmation notes.
1618 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1619 (hildon_note_rebuild): Store the original width request from buttons.
1621 Fixes: NB#109635 (Confirmation notes do not support portrait)
1623 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1625 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1626 when it is a progress note.
1628 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1630 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1631 in the note, since there are no horizontally arranged contents.
1633 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1635 * src/hildon-gtk.c (+set_flag): new generic method to
1636 set/delay a flag setting in a window.
1637 (hildon_gtk_window_set_progress_indicator):
1638 (hildon_gtk_window_set_do_not_disturb),
1639 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1640 avoid code redundance.
1642 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1644 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1646 * src/hildon-gtk.c (set_clear_window_flag),
1647 (do_set_progress_indicator), (do_set_do_not_disturb),
1648 (do_set_portrait_flags),
1649 (hildon_gtk_window_set_progress_indicator),
1650 (hildon_gtk_window_set_do_not_disturb),
1651 (hildon_gtk_window_set_portrait_flags):
1652 Allow setting dnd-flag, progress indicator, and portrait flags
1653 when the window is not realized.
1655 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1659 the size request policy function and defines.
1661 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1663 * doc/hildon-sections.txt: Add the new API.
1664 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1665 method to set the portrait flags.
1666 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1668 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1670 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1672 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1673 to allow using this method with other flags.
1674 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1675 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1677 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-touch-selector.c
1680 (hildon_touch_selector_append_text_column):
1681 Make the cell renderer use the smallest width possible.
1683 Fixes: NB#108470 (Selected items in multiple selection are either
1684 having a tick that is cut or not visible at all.)
1686 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-touch-selector.c
1689 (hildon_touch_selector_append_text_column):
1692 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1694 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1695 Use g_strdup_printf() instead of a fixed size buffer.
1697 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1700 Close banners when a HildonAppMenu is popped up.
1702 Fixes: NB#111027 (Title menu closed immediately if activated when
1703 "Invalid e-mail address" banner is shown)
1705 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1710 * configure.ac: Bump version.
1711 * debian/changelog: Updates.
1713 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1715 * src/hildon-banner.c (hildon_banner_realize):
1716 Mark HildonBanner as supporting portrait mode.
1717 Use GDK to set window properties insetad of direct Xlib calls.
1719 Fixes: NB#111830 (HildonBanner should be marked as supporting
1722 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-note.c (hildon_note_rebuild):
1725 Hide action area in information notes. Prevents text from being
1726 slightly aligned to the left.
1728 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1731 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1733 Patch by Mox Soini (ext-mox.soini@nokia.com)
1735 * src/hildon-banner.c (hildon_banner_create_animation):
1736 Use stylus-sized icons in animation banner.
1738 Fixes: NB#111206 (stylus sized icon for animation banner)
1740 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1744 (+hildon_gtk_window_set_do_not_disturb):
1745 New API to set the do-not-disturb flag.
1747 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1749 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1751 * examples/hildon-progress-indicator-example.c: Fix example
1753 * src/hildon-gtk.c (set_clear_window_flag)
1754 (hildon_gtk_window_set_progress_indicator):
1755 Create a generic function for setting flags to a window.
1756 Use GDK instead of direct Xlib calls.
1758 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-button.c (hildon_button_set_arrangement):
1761 Due to NB#88126, if one of the labels is too long it will be
1762 painted outside the button. The 'value' label is more likely to be
1763 the longest one, so we change its packing options in order to
1764 truncate it if necessary. As a side effect, the 'title' label will
1765 no longer be truncated.
1767 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1769 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1774 * configure.ac: Bump version.
1775 * debian/changelog: Updates.
1777 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1779 Deprecation of the hildon_pannable_area_set_size_request_policy
1780 API, the only policy properly supported in gtk+ nowadays is the
1783 * src/hildon-pannable-area.c,
1784 (hildon_pannable_area_size_request): Added a workaround for the
1785 size_request to avoid the problems of huge pixmaps in case someone
1786 is still using the function.
1787 * src/hildon-pannable-area.h: Deprecated the enum with the
1790 Fixes: NB#110244 (Problems with the
1791 hildon_pannable_area_set_size_request_policy API)
1793 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_init),
1797 (hildon_pannable_area_size_request),
1798 (hildon_pannable_area_style_set),
1799 (hildon_pannable_draw_vscroll),
1800 (hildon_pannable_draw_hscroll),
1801 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1802 indicator_width to clarify the use of the attribute.
1804 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1809 * configure.ac: Bump version.
1810 * debian/changelog: Updates.
1812 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1814 * src/hildon-picker-dialog.c
1815 * src/hildon-touch-selector.c
1816 Reverting the change that tried to avoid the hardcoded height on
1817 the picker dialog, as causes problems on the hildon-touch-selector
1820 Fixes: NB#110029 (selectors not scrolling to selected value)
1822 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-touch-selector.c: Fix typos
1826 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1829 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1830 request more motions after using it.
1832 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-calendar.c (hildon_calendar_expose),
1835 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1836 Remove unused variables.
1838 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1840 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1841 variable assignment.
1843 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1845 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1846 Check the return value of gtk_tree_selection_get_selected()
1849 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1851 * src/hildon-animation-actor.c
1852 * src/hildon-button.c
1854 * src/hildon-pannable-area.c
1855 * src/hildon-picker-button.c
1856 * src/hildon-program.c
1857 * src/hildon-remote-texture.c
1858 * src/hildon-text-view.c
1859 * src/hildon-touch-selector.c
1860 * src/hildon-window-stack.c
1861 * src/hildon-window.c:
1862 Add missing 'Since: 2.2' tags.
1864 * doc/hildon-sections.txt:
1865 Add some missing symbols.
1867 * doc/hildon-docs.sgml:
1868 New 'Other' section for HildonAnimationActor and
1871 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1873 Patch by Iván Gómez (igomez@igalia.com)
1876 * doc/compiling.sgml
1877 * doc/hildon-docs.sgml
1878 * doc/hildon-sections.txt
1879 * doc/migration.sgml
1880 * doc/resources.sgml
1882 New chapters on using the Hildon library.
1883 Updated the general structure of the reference manual.
1884 Other minor documentation fixes.
1886 * src/hildon-calendar-popup.c
1887 * src/hildon-calendar.c
1888 * src/hildon-controlbar.c
1889 * src/hildon-date-editor.c
1890 * src/hildon-dialog.c
1891 * src/hildon-hvolumebar.c
1892 * src/hildon-number-editor.c
1893 * src/hildon-range-editor.c
1894 * src/hildon-sort-dialog.c
1895 * src/hildon-time-editor.c
1896 * src/hildon-time-picker.c
1897 * src/hildon-volumebar-range.c
1898 * src/hildon-volumebar.c
1899 * src/hildon-vvolumebar.c
1900 * src/hildon-weekday-picker.c:
1901 Add deprecation notes
1903 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1904 Document 'horizontal-movement' and 'vertical-movement' signals.
1906 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1911 * configure.ac: Bump version.
1912 * debian/changelog: Updates.
1914 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_area_class_init): increased the minimum velocity.
1918 (hildon_pannable_area_button_release_cb): Updated the
1919 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1920 setup. Review the code to control that last event.
1922 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1925 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1927 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1929 * src/hildon-get-password-dialog.c
1930 (hildon_get_password_set_property),
1931 (hildon_get_password_get_property), (create_contents):
1932 * src/hildon-login-dialog-private.h:
1933 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1934 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1935 (hildon_login_dialog_get_password):
1936 * src/hildon-set-password-dialog-private.h:
1937 * src/hildon-set-password-dialog.c
1938 (hildon_set_password_set_property),
1939 (hildon_set_password_get_property), (create_contents),
1940 (hildon_set_password_response_change),
1941 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1943 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1944 instead and look more Fremantle style.
1946 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1948 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1950 * doc/hildon-sections.txt
1951 * src/hildon-window-stack.h
1952 * src/hildon-window-stack.c
1953 (+hildon_window_stack_get_windows):
1954 New API to obtain the list of windows on a stack.
1956 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-app-menu.c (hildon_app_menu_popup)
1959 (hildon_app_menu_class_init, -hildon_app_menu_show):
1960 Remove hildon_app_menu_show() and move all its checks to
1961 hildon_app_menu_popup()
1963 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1965 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1966 (_hildon_picker_dialog_set_selector): removed call to
1967 gtk_widget_set_size_request
1968 * src/hildon-touch-selector.c
1969 (_create_new_column): change the pannable size request policy
1971 Avoid to use a hardcoded height for the hildon picker dialog. In order
1972 to get that, we needed to change the hildon pannable size request
1974 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1976 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1979 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1982 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1984 * debian/control: Depend on osso-system-lock localization package.
1985 * src/hildon-code-dialog.c: Obtain the secu_application_title
1986 translation from osso-system-lock.
1987 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1988 for translation the atk related strings, that's not necessary.
1989 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1990 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1991 cancel button, it is not required.
1993 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1995 * src/hildon-pannable-area.c,
1996 (hildon_pannable_area_class_init): Modified the default value of
1997 the overshooting max speed, we have reduced it.
1999 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2001 * doc/hildon-sections.txt
2002 * src/hildon-window-private.h
2003 * src/hildon-window.h
2004 * src/hildon-window.c (hildon_window_class_init)
2005 (hildon_window_init, hildon_window_finalize)
2006 (hildon_window_realize, hildon_window_get_property)
2007 (hildon_window_set_property, hildon_window_update_markup)
2008 (hildon_window_get_markup, hildon_window_set_markup):
2009 New "markup" property and hildon_window_{get,set}_markup() methods.
2011 * examples/hildon-stackable-window-example.c (new_window):
2012 Update example to use hildon_window_set_markup()
2014 Fixes: NB#106375 (Need API to retitle a window with a title
2017 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c,
2020 (hildon_pannable_area_class_init): Changed the default value of
2021 the initial_hint to TRUE.
2022 (hildon_pannable_area_initial_effect): Changed the initial effect,
2023 not the effect is just the fade-out of the scrollbars.
2025 Fixes: NB#107775 (No scrollbars can be seen when several items are
2026 available in a dialog)
2028 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-program.c (hildon_program_update_top_most):
2033 Fixes: NB#109179 (Memory leak in Hildon program)
2035 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-banner.c (-get_current_app_window):
2038 Remove unused function.
2040 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2042 * src/hildon-pannable-area.c: Modified the documentation of the
2043 get adjustments functions to explain the problem of using the
2044 adjustment directly.
2045 (hildon_pannable_area_class_init): Improved the explanation about
2048 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-app-menu-private.h
2051 * src/hildon-app-menu.c
2052 (hildon_app_menu_class_init):
2053 Bring back the 'external-border' style property
2054 (hildon_app_menu_class_init, hildon_app_menu_init)
2055 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2056 Set a fixed width-request for the menu, independent of the number
2059 Fixes: NB#94957 (Smoothly opened application menu)
2061 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2065 * src/hildon-banner.c
2066 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2068 Make sure that the banner is correctly placed the first time it's
2070 (hildon_banner_check_position, -check_fullscreen_state):
2071 Show the banner in the same place no matter if the window is in
2072 fullscreen mode or not.
2074 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2076 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2078 * src/hildon-touch-selector.c (_default_print_func): reorder
2079 concatenation for clarity.
2081 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2084 for multicolumn selectors.
2086 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2088 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2093 * configure.ac: Bump version.
2094 * debian/changelog: Updates.
2096 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2101 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2103 * configure.ac: removed libcangerra-gtk dependency
2104 * debian/control: removed libcanberra-gtk dependency
2105 * src/Makefile.am: removed libcanberra gtk related flags
2106 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2107 context, and manage a global canberra context instead
2109 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2111 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2113 Patch by Daniel Borgmann (danielb@openismus.com)
2115 * src/hildon-edit-toolbar.c:
2116 Adjust the left padding.
2117 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2118 Paint background of the edit toolbar.
2120 Fixes: NB#107897 (Patch to make editmodetoolbar background
2121 themeable and adjust margin)
2123 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2125 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2127 * src/hildon-program.c (hildon_program_update_top_most):
2128 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2130 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2131 change when the user tasks in/out of an application)
2133 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2135 * configure.ac: added libcangerra-gtk dependency
2136 * debian/control: added libcanberra-gtk dependency
2137 * src/Makefile.am: added libcanberra gtk related flags
2138 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2141 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2143 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-program.c (hildon_program_remove_window)
2146 (hildon_program_add_window): Add checks for the window
2147 parameter. Don't decrease the window counter if the window is not
2150 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2152 * src/hildon-pannable-area.c,
2153 (hildon_pannable_area_realize): Fixed position of the event_window
2154 in the realize method.
2156 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu-private.h
2159 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2160 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2161 (hildon_app_menu_key_press, hildon_app_menu_init)
2162 (hildon_app_menu_finalize):
2163 Make sure that all idle functions are removed when the widget is
2166 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2168 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2173 * configure.ac: Bump version.
2174 * debian/changelog: Updates.
2176 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2178 * src/hildon-entry.c
2179 (+hildon_entry_show_placeholder),
2180 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2181 that replace hildon_entry_update_contents().
2182 (hildon_entry_set_text),
2183 (hildon_entry_set_placeholder),
2184 (hildon_entry_focus_in_event),
2185 (hildon_entry_focus_out_event): Determine when it is needed
2186 either to show or hide the placeholder and call the above methods.
2188 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2189 when the placeholder text is already set)
2191 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2194 simple GdkPixbufAnim using the new icons for the banner.
2195 (hildon_banner_show_animation): Use the above mentioned method to
2196 create the animation widget.
2198 Fixes: NB#103564 (Make hildon animation banner use individual
2199 image files as the animation)
2201 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2203 * src/hildon-pannable-area.c,
2204 (hildon_pannable_leave_notify_event): Check if the child is NULL
2205 to avoid sending the leave.
2207 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_area_class_init),
2211 (hildon_pannable_leave_notify_event): Added a handler of the
2212 leave-notify-signal to consider when no motion notify before
2215 Fixes: NB#107494 (Items stay selected when clicking and moving
2216 away when inside pannable area)
2218 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2223 * configure.ac: Bump version.
2224 * debian/changelog: Updates.
2226 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2228 Patch by Alberto Garcia (agarcia@igalia.com)
2230 * src/hildon-date-button.c,
2231 (hildon_date_button_class_init),
2232 (hildon_date_button_init): Removed the construct property handling
2233 and created a default selector in the init method.
2234 * src/hildon-picker-button.c,
2235 (hildon_picker_button_class_init): Removed the construct flag of the
2238 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-main.c (hildon_init):
2241 Don't allow hildon_init() to be called more than once.
2243 Fixes: NB#106607 (hildon_init should issue error message upon
2246 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2248 * examples/hildon-pannable-area-touch-list-example.c
2249 * examples/hildon-pannagle-area-touch-grid-example.c
2250 * examples/hildon-edit-toolbar-example.c
2251 * examples/hildon-touch-selector-multi-cells-example.c
2252 Removed the call to gtk_rc_parse_string, as it is not required since
2255 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_class_init): Modified the default panning
2259 threshold of the widget to 6px.
2261 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2262 than the threshold value ) within the button is not sending the
2265 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2268 for the treeview in the new column. This way, the touch list will never
2271 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2272 be selected manually for the HW keys to work)
2274 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2277 comparison instead of using strcmp(). Fixes a compiler warning as well.
2279 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2281 * doc/hildon-docs.sgml: Do not set the library version in the
2282 document title, use the releaseinfo tag for that purpose instead.
2284 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2287 Do not jump to the first item if the text in the entry is removed.
2289 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2294 * configure.ac: Bump version.
2295 * debian/changelog: Updates.
2297 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2299 * src/hildon-entry.c (hildon_entry_refresh_contents):
2300 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2301 Use "ReversedSecondaryTextColor" for the placeholder text.
2303 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-text-view.c: Fix compilation warning.
2307 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-button.c (hildon_button_class_init): Don't make
2310 "title" and "value" construction properties, to prevent them from
2311 overwriting labels set from derived classes.
2313 * src/hildon-picker-button.c
2314 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2315 (hildon_picker_button_class_init): Make touch-selector a
2316 construction property.
2318 * src/hildon-date-button.c (hildon_date_button_class_init)
2319 (+hildon_date_button_constructed): Add a default date selector if
2322 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2324 * src/hildon-touch-selector.c: Small documentation fixes.
2326 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2328 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2330 * src/hildon-entry.c (hildon_entry_refresh_contents),
2331 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2332 widget name, set the logical color directly instead and a boolean
2333 showing_placeholder instead.
2334 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2335 use the widget name here either.
2337 Fixes: NB#105678 (HildonTextView should use logical colours
2338 instead of setting widget name)
2340 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2342 Patch by Daniel Elster (danielk@openismus.com)
2344 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2345 Add user_data parameter.
2346 (hildon_touch_selector_set_print_func_full): New function akin
2347 hildon_touch_selector_set_print_func() but with support for user
2348 data and a destroy callback.
2349 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2350 to clean up the print function user data.
2351 (hildon_touch_selector_class_init): Install dispose function.
2352 (HildonTouchSelectorPrivate::print_user_data),
2353 (HildonTouchSelectorPrivate::print_destroy_func): New private
2355 (hildon_touch_selector_init): Initialize new private members.
2356 (hildon_touch_selector_get_current_text): Pass along user data
2357 to the print function.
2358 (_default_print_func): Add dummy user_data to parameter list.
2359 * hildon-date-selector.c (_custom_print_func): ditto,
2360 * hildon-time-selector.c (_custom_print_func): ditto,
2361 * hildon-touch-selector-entry.c
2362 (hildon_touch_selector_entry_print_func): ditto.
2364 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2366 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2368 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2370 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2372 * src/hildon-pannable-area.c,
2373 (hildon_pannable_area_init),
2374 (hildon_pannable_area_button_press_cb),
2375 (hildon_pannable_area_motion_notify_cb): We have added code to
2376 handle the leave and enter events when using the motion events.
2378 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2380 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2382 * src/hildon-date-button.c (hildon_date_button_get_date)
2383 (hildon_date_button_set_date): Make sure that the button has a
2386 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2388 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2390 * src/hildon-pannable-area.c,
2391 (hildon_pannable_area_class_init),
2392 (hildon_pannable_area_calculate_velocity): Modify the use of the
2393 force and adapt the value.
2395 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2398 (hildon_app_menu_class_init): Hide the menu if it receives a
2399 delete-event, but don't destroy it
2401 Fixes: NB#104485 (Not able to address the call when application
2402 menu is opened at background)
2404 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-app-menu.c
2407 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2408 Remove the "external-border" style property, let the menu take its
2409 natural size (or the one set by the window manager)
2410 (hildon_app_menu_repack_items):
2411 Don't reshow the menu, avoid flickers.
2413 Partially fixes NB#94957 (Smoothly opened application menu)
2415 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2420 * configure.ac: Bump version.
2421 * debian/changelog: Updates.
2423 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2425 * src/hildon-pannable-area.c,
2426 (hildon_pannable_area_motion_notify_cb): We control that the
2427 direction error margin is used just in case the movement is
2428 allowed in the other direction.
2430 Fixes: NB#105012 (buttons inside a pannable area not getting
2431 release event when dragging/releasing)
2433 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_class_init),
2437 (hildon_pannable_area_get_property),
2438 (hildon_pannable_area_set_property),
2439 (hildon_pannable_area_initial_effect),
2440 (hildon_pannable_axis_scroll),
2441 (hildon_pannable_area_button_release_cb): Reviewed the
2442 overshooting effect, now it has its own max
2443 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2444 speed when bouncing.
2446 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2451 * configure.ac: Bump version.
2452 * debian/changelog: Updates.
2454 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_class_init): Changed the max speed, now
2458 users can launch the widget very fast. Reduced the default force,
2459 that way it is easier to control the launch speed.
2461 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2463 * src/hildon-pannable-area.c,
2464 (hildon_pannable_area_button_release_cb): Removed this check
2465 because it causes problems when the device is overloaded.
2467 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2470 add a current_text field to store the text entered in the
2471 touch selector entry.
2472 (_clean_current_selection): clean up the current text as well.
2473 (_save_current_selection), (_restore_current_selection):
2474 Save/restore the text in the entry if the selector is a
2475 HildonTouchSelectorEntry.
2477 Fixes: NB#102541 (value entered in the touch selector entry is not
2478 shown when opened for second time)
2480 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2482 * doc/hildon-sections.txt:
2483 * src/hildon-touch-selector-entry.c
2484 (+hildon_touch_selector_entry_get_entry):
2485 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2487 Fixes: NB#104815 (I need accessor to the entry inside
2488 HildonTouchSelectorEntry)
2490 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2493 (hildon_app_menu_class_init):
2494 New "filter-vertical-spacing" style property.
2496 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-find-toolbar.c
2499 (hildon_find_toolbar_emit_close)
2500 (hildon_find_toolbar_emit_invalid_input)
2501 (hildon_find_toolbar_entry_activate):
2502 Use g_signal_emit() instead of g_signal_emit_by_name()
2504 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2506 Patch by Mox Soini (ext-mox.soini@nokia.com)
2508 * tests/TEST-CASES.txt
2509 * tests/check-hildon-banner.c
2510 * tests/check-hildon-note.c
2511 * src/hildon-banner.c
2512 * src/hildon-code-dialog.c
2513 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2514 * src/hildon-time-editor.c
2515 * examples/hildon-lookup-example.c (main):
2516 Replace obsolete icon names with new ones.
2518 * src/hildon-find-toolbar-private.h:
2519 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2520 (-hildon_find_toolbar_emit_search):
2521 Remove find button and change icon of close button.
2523 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2525 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-time-button.c (hildon_time_button_new_step):
2528 Use the "touch-selector" property to set the selector directly
2529 when creating the object.
2531 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2533 Added a new example application that allows tuning the pannable
2534 area and replaced defines with properties in order to simplify the
2535 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2536 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2537 PROP_DIRECTION_ERROR_MARGIN.
2539 * examples/hildon-pannable-area-tuning-example.c: New example
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_area_class_init),
2543 (hildon_pannable_area_init),
2544 (hildon_pannable_area_get_property),
2545 (hildon_pannable_area_set_property),
2546 (hildon_pannable_area_launch_fade_timeout),
2547 (hildon_pannable_area_adjust_value_changed),
2548 (hildon_pannable_axis_scroll),
2549 (hildon_pannable_area_motion_notify_cb),
2550 (hildon_pannable_area_scroll_cb),
2551 (hildon_pannable_area_button_release_cb): We have converted some
2552 of the defines that control the widget to properties to simplify
2555 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2557 * src/hildon-app-menu.c (hildon_app_menu_map)
2558 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2559 so it's closed if a new window appears.
2561 Fixes: NB#104485 (Not able to address the call when application
2562 menu is opened at background)
2564 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2567 missing 'break' statement in in 'case' construct to avoid
2570 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2572 * src/hildon-touch-selector-entry.c
2573 (hildon_touch_selector_entry_get_property),
2574 (hildon_touch_selector_entry_set_property): Add missing 'break'
2575 statements in in 'case' constructs to avoid incorrect warnings.
2577 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-time-editor.c
2580 (hildon_time_editor_get_time_separators): Do not crash if
2581 the first label is NULL.
2583 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-date-selector.c (_month_days): Check for month to be
2586 strictly less than 12, since otherwise we may overrun the array.
2588 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-date-button.c (+hildon_date_button_new_full)
2591 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2592 (hildon_date_button_init): Set the date selector using a
2593 construction property, to make it happen after HildonButton's
2594 "value" property is set.
2596 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2597 current date by default)
2599 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2601 * doc/hildon-sections.txt
2602 * src/hildon-program.c
2603 * src/hildon-stackable-window.c
2604 * src/hildon-window.c:
2605 Documentation updates
2607 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2609 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2610 (hildon_window_stack_new, +hildon_window_stack_set_property)
2611 (+hildon_window_stack_get_property)
2612 (hildon_window_stack_class_init)
2613 (+hildon_window_stack_set_window_group)
2614 (+hildon_window_stack_get_window_group):
2615 Make the window group a construction property.
2617 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2619 * doc/hildon-sections.txt
2620 * src/hildon-stackable-window-private.h
2621 * src/hildon-stackable-window.h
2622 * src/hildon-stackable-window.c
2623 (-hildon_stackable_window_set_app_menu)
2624 (-hildon_stackable_window_get_app_menu)
2625 (-hildon_stackable_window_toggle_menu)
2626 (-hildon_stackable_window_finalize)
2627 (hildon_stackable_window_class_init)
2628 (hildon_stackable_window_init)
2629 * src/hildon-window-private.h
2630 * src/hildon-window.h
2631 * src/hildon-window.c (hildon_window_init)
2632 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2633 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2634 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2635 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2636 Moved all HildonAppMenu code to HildonWindow. The menu does not
2637 require a HildonStackableWindow anymore.
2639 * src/hildon-app-menu.c
2640 * src/hildon-program.c
2641 * examples/hildon-app-menu-example.c (main):
2642 Update examples and documentation to reflect HildonAppMenu
2645 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-remote-texture.c
2648 * src/hildon-animation-actor.c:
2649 Don't include unused private headers.
2651 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2653 * src/hildon-program-private.h
2654 * src/hildon-program.c
2655 (hildon_program_set_common_menu)
2656 (hildon_program_get_common_menu)
2657 (hildon_program_set_common_app_menu)
2658 (hildon_program_get_common_app_menu):
2659 Change common menu pointers from GtkWidget* to GtkMenu* and
2660 HildonAppMenu* to avoid unnecessary casts.
2662 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-window.c (hildon_window_set_main_menu):
2665 Removed incorrect 'Since:' tag
2667 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2669 * src/hildon-pannable-area.c,
2670 (hildon_pannable_area_calculate_velocity): We use now the
2671 RATIO_TOLERANCE here to check the distance, fixed typo in the
2673 (hildon_pannable_area_motion_notify_cb): We have to set the type
2674 and time even if we are not sending the motion.
2676 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2678 * doc/hildon-sections.txt
2679 * src/hildon-app-menu.h
2680 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2681 (+hildon_app_menu_get_filters): New methods to get the contents of
2684 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2687 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-app-menu.c (hildon_app_menu_popup):
2692 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-window.h
2695 * src/hildon-window.c (+hildon_window_get_main_menu)
2696 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2697 and deprecated hildon_window_get_menu().
2699 * src/hildon-stackable-window.h
2700 * src/hildon-stackable-window.c
2701 (+hildon_stackable_window_set_app_menu)
2702 (+hildon_stackable_window_get_app_menu)
2703 (hildon_stackable_window_set_main_menu): Created
2704 hildon_stackable_window_{get,set}_app_menu() and deprecated
2705 hildon_stackable_window_set_main_menu().
2707 * doc/hildon-sections.txt
2708 * examples/hildon-app-menu-example.c (main)
2709 * src/hildon-app-menu.c
2710 * src/hildon-program.c:
2711 Updated examples and documentation.
2713 Fixes: NB#103758 (No way to obtain a menu from a
2714 HildonStackableWindow)
2716 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2721 * configure.ac: Bump version.
2722 * debian/changelog: Updates.
2724 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2726 * examples/hildon-remote-texture-example.c: Include
2727 hildon-remote-texture.h explicitely.
2728 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2729 applications not defining _XOPEN_SOURCE which don't require this header.
2731 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2733 * doc/hildon-sections.txt
2734 * src/hildon-app-menu.h
2735 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2736 New function to pop up a HildonAppMenu
2738 * src/hildon-stackable-window.c
2739 (hildon_stackable_window_toggle_menu):
2740 Use hildon_app_menu_popup() to show the menu.
2742 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-app-menu.c (hildon_app_menu_show)
2745 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2746 menu if there's another window between it and its parent window.
2748 Fixes: NB#100468 (Application menu window is launched even when a
2749 new secondary-window/dialog is pending to be shown/realized)
2751 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-window-stack.c (hildon_window_stack_push)
2754 (hildon_window_stack_pop_and_push):
2755 Don't forget to push/pop the first window.
2756 Reverse the window list before calling _push_list()
2758 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-picker-button.h
2761 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2762 Remove "value_changed" slot to avoid ABI breakage
2764 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2766 * src/hildon-pannable-area.c,
2767 (hildon_pannable_area_realize),
2768 (hildon_pannable_area_unrealize),
2769 (hildon_pannable_draw_vscroll),
2770 (hildon_pannable_draw_hscroll): Changed the method to handle the
2771 GC used to draw the transparent scrollbar, this way we avoid
2772 creating the GC all the time when drawing the scrollbars.
2774 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2776 * src/hildon-pannable-area.c,
2777 (hildon_pannable_area_init),
2778 (hildon_pannable_area_remove): Removed some unnecessary casts.
2779 (hildon_pannable_area_dispose): Disconnected some signals before
2780 releasing the adjustments.
2782 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2784 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2785 Make sure that all widgets contained in the toolbar are shown.
2787 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2789 * doc/hildon-sections.txt
2790 * src/hildon-picker-button.h
2791 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2792 (_selection_changed, hildon_picker_button_on_dialog_response)
2793 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2794 New hildon_picker_button_value_changed() method.
2797 * src/hildon-picker-button-private.h
2798 * src/hildon-picker-button.c (hildon_picker_button_init)
2799 (+hildon_picker_button_disable_value_changed): Add protected
2800 function for disabling the "value-changed" signal.
2802 * src/hildon-date-button.c (hildon_date_button_set_date):
2803 Don't emit "value-changed" for each one of the three columns.
2805 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2806 before actual change of values)
2808 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2812 for the treeview overshooting.
2814 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-banner.c (+hildon_banner_bind_style):
2817 Renamed from hildon_banner_bind_label_style(), now naming the
2818 banner itself as well.
2819 (hildon_banner_show_information),
2820 (hildon_banner_show_information_with_markup),
2821 (hildon_banner_show_animation), (hildon_banner_show_progress):
2822 Name the widgets and labels, based on their type.
2824 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2827 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-note.c (hildon_note_set_property): call
2830 hildon_note_rename() on HildonNote:note-type set.
2831 (hildon_note_rename): Name the note and its label, based on the
2832 HildonNote:note-type property.
2834 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2837 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2839 * src/hildon-pannable-area.c,
2840 (hildon_pannable_area_class_init),
2841 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2842 panning parameters, increased SPS and deceleration factor. Added
2843 also a margin to control fake directions.
2845 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2847 Patch by Sven Herzberg (sven@imendio.com)
2849 * configure.ac: Add missing AM_PROG_CC_C_0
2850 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2852 See NB#101420 (Update unit tests and fix make check)
2854 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2856 This patch was applied before but reverted because it caused
2857 problems, we have changed the main condition and tested the
2858 regressions we detected before and they work ok. We have done a
2859 complete review of the topmost algorithm in order to get a more
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_get_topmost): Added a new parameter to
2864 filter the the windows that do not include those events.
2865 (hildon_pannable_area_button_press_cb),
2866 (hildon_pannable_area_button_release_cb),
2867 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2868 topmost function, we have added the new parameter.
2870 Fixes: NB#97458 (Pannable area prevents propagation of button
2873 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2875 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2876 if all columns in the selector have an item selected.
2877 (_on_dialog_response): Stop "response" signal emission if there is
2878 any selector column without selected items.
2880 Fixes: NB#101889 (Picker dialog should not close when nothing is
2881 selected in multiple selection list)
2883 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-font-selection-dialog.c
2886 (hildon_font_selection_dialog_class_init),
2887 (hildon_font_selection_dialog_init): Remove the preview
2888 button and dialog, since previewing with default theming is likely
2889 to be overcomplicated. The :preview property has now no effect.
2890 Update documentation blurbs to inform about this.
2892 Fixes: NB#92297 (Preview content is not clearly visible for
2893 default colour text)
2895 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2897 Reviewed the geometry that handles the children size and
2898 scrollbar, now it tries a size and reviews the results depending
2899 on the scrollbars visibility.
2901 * src/hildon-pannable-area.c,
2902 (hildon_pannable_area_realize): Fixed a typo.
2903 (hildon_pannable_area_child_allocate_calculate): Added this
2904 function to calculate the child allocation.
2905 (hildon_pannable_area_size_allocate): Reviewed the allocation
2907 (hildon_pannable_area_check_scrollbars),
2908 (hildon_pannable_area_refresh): Refactored refresh function, this
2909 way we can call the code handling the scrollbars without causing a
2910 size_request, it is interesting in the allocate.
2911 (hildon_pannable_area_init): Replace the callbacks of the
2912 value_changed and changed signals to propertly deal with the
2914 (hildon_pannable_area_grab_notify),
2915 (hildon_pannable_area_initial_effect),
2916 (hildon_pannable_area_launch_fade_timeout),
2917 (hildon_pannable_area_adjust_changed),
2918 (hildon_pannable_area_adjust_value_changed),
2919 (hildon_pannable_area_redraw),
2920 (hildon_pannable_area_button_press_cb),
2921 (hildon_pannable_area_button_release_cb),
2922 (hildon_pannable_area_scroll_cb),
2923 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2924 code and use the new functions adjust_changed and
2925 adjust_value_changed.
2927 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2928 Contact editor dialog)
2930 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2935 * configure.ac: Bump version.
2936 * debian/changelog: Updates.
2938 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2940 * src/hildon-pannable-area.c,
2941 (hildon_pannable_area_get_topmost),
2942 (hildon_pannable_area_button_press_cb),
2943 (hildon_pannable_area_button_release_cb),
2944 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2945 topmost function adding the event mask. We have to try a
2946 differente approach because it is still causing problems (NB#9745,
2949 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-banner.c:
2952 Update the maximum width of timed banners.
2953 (force_to_wrap_truncated): Enforce the maximum text width if the
2956 Fixes: NB#102413 (The text margins (wrapping) in information
2957 banner should be HILDON_MARGIN_TRIPLE)
2959 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2961 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2963 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2964 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2965 bound when calculating the scroll indicator position.
2967 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2968 treat ->lower correctly)
2970 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2973 expose event handling, since it is not necessary to draw the focus
2976 Fixes: NB#102467 (Do not show highlight on the text in
2979 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2982 full height of the toolbar for the button and the label.
2984 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2987 padding before the label and after the button.
2989 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2993 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2994 Add a GtkVSeparator between the button and the back arrow.
2995 Let the button have automatic size.
2996 Set a name to the widget for theming handling.
2998 Fixes: NB#101793 (Make edit toolbar the same height as window
2999 title bar (use title area theming))
3001 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-helper.c (attach_new_color_element): Fix memory
3006 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3008 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3010 * examples/hildon-button-example.c (common_buttons_window): Don't
3013 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3016 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3018 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-gtk.c: Check that the window is realized.
3022 Fixes: NB#102225 (Crash setting the progress indicator to a non
3025 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3028 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3029 instead of modifying the one in the widget style.
3031 Fixes: NB#101043 (Second row of all the command button are
3032 displayed in transparent mode.)
3034 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-date-button.c
3037 * src/hildon-time-button.c: Add gettext macros
3039 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-date-button.c (hildon_date_button_new):
3042 * src/hildon-time-button.c (hildon_time_button_new_step):
3043 Use new logical strings to set the button default title.
3045 Fixes: NB#99915 (Date and Time options are not localised in Date
3048 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3050 * src/hildon-pannable-area.c
3051 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3052 the PANNING_THRESHOLD.
3054 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3056 * src/hildon-pannable-area.c,
3057 (hildon_pannable_area_class_init): Increased the maximum speed.
3058 (hildon_pannable_area_get_property),
3059 (hildon_pannable_area_set_property),
3060 (hildon_pannable_area_timeout): Added a new low friction mode, it
3061 allows the user avoid friction when launching the widget fast
3062 enough. It is interesting to traverse long lists.
3064 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3067 (+hildon_stackable_window_delete_event): Ignore delete events if
3068 the window is not the topmost one.
3070 Fixes: NB#101698 (Back button long press and delete-event handling)
3072 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3074 * src/hildon-pannable-area.c,
3075 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3076 gtk-dnd-drag-threshold, it was too big. We have defined our own
3077 dnd define and set a smaller value: PANNIG_THRESHOLD.
3079 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3082 user-defined icons, use always the default one.
3084 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3086 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3088 This patch was applied before but reverted because it caused
3089 problems, we have changed the main condition and tested the
3090 regressions we detected before and they work ok.
3092 * src/hildon-pannable-area.c,
3093 (hildon_pannable_area_get_topmost): Added a new parameter to
3094 filter the the windows that do not include those events. Added
3095 also a condition when finding the window to filter windows that do
3096 not ask for those events.
3097 (hildon_pannable_area_button_press_cb),
3098 (hildon_pannable_area_button_release_cb),
3099 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3100 topmost function, we have added the new parameter.
3102 Fixes: NB#97458 (Pannable area prevents propagation of button
3105 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3107 * tests/check-hildon-color-button.c (START_TEST): do not leak
3110 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-font-selection-dialog.c
3113 (hildon_font_selection_dialog_get_preview_text): Return NULL
3114 instead of FALSE on the g_return_val_if_fail().
3116 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3119 * src/hildon-date-selector.c
3120 (hildon_date_selector_select_current_date):
3121 Do not compare unsigned integers to be greater than or equal 0,
3122 because it's always TRUE.
3124 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3127 (hildon_date_selector_constructor): Do not select the current
3128 date until we are handle the "changed" signal, to avoid having bogus
3129 elements in the days model.
3131 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3134 for num_days, since _month_days() can return a negative value.
3136 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-caption.c (hildon_caption_size_allocate):
3139 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3140 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3142 Initialize allocation variables to 0, to avoid eventually using
3143 unitialized variables.
3145 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3147 * src/hildon-bread-crumb-trail.c
3148 (hildon_bread_crumb_trail_size_allocate):
3149 * src/hildon-calendar.c (hildon_calendar_set_background):
3150 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3151 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3152 * src/hildon-seekbar.c (hildon_seekbar_init):
3153 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3154 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3155 * src/hildon-touch-selector-entry.c
3156 (hildon_touch_selector_get_text_from_model):
3157 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3158 * src/hildon-window.c (hildon_window_finalize):
3160 Remove many unused variables.
3162 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-seekbar.c: (hildon_seekbar_init),
3165 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3167 Remove unnecessary g_assert() calls.
3169 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-caption.c: (hildon_caption_expose),
3172 (hildon_caption_set_property), (hildon_caption_init),
3173 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3174 (hildon_caption_size_request), (hildon_caption_size_allocate),
3175 (hildon_caption_forall), (hildon_caption_set_separator),
3176 (hildon_caption_activate), (hildon_caption_set_child_expand),
3177 (hildon_caption_set_label_text),
3178 (hildon_caption_get_label_alignment):
3180 Remove unnecessary g_assert() calls.
3182 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-banner.c
3185 (hildon_banner_map, hildon_banner_init): Make banner temporary
3186 before mapping it to avoid closing other temporary windows, but
3187 make it non-temporary afterwards to avoid being closed by other
3188 non-temporary windows.
3189 (-hildon_banner_client_event, hildon_banner_init):
3190 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3192 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3195 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3200 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3202 * src/hildon-remote-texture.c
3203 * src/hildon-remote-texture.h
3204 * src/hildon-remote-texture-private.h
3205 * examples/hildon-remote-texture-example.c:
3206 Updates/fixes to remote-texture and its example.
3208 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3210 Patch by Mox Soini (ext-mox.soini@nokia.com)
3212 * src/hildon-code-dialog.c: Update logical id.
3213 * src/hildon-set-password-dialog.c: Update logical id.
3215 Fixes: NB#100646 (Logical strings is shown for ok in set
3216 password,Password needed dialogs)
3218 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3221 * src/hildon-remote-texture.c
3222 * src/hildon-remote-texture.h
3223 * src/hildon-remote-texture-private.h
3225 Added remote texture widget (for Clutter shared memory textures)
3227 * examples/hildon-remote-texture-example.c
3228 * examples/Makefile.am
3229 Added example file for remote texture usage
3231 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: post release version bump.
3234 * debian/changelog: version bump.
3236 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3241 * configure.ac: Bump version.
3242 * debian/changelog: Updates.
3244 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-date-selector.c (hildon_date_selector_init)
3247 (hildon_date_selector_constructor): Don't connect to the "changed"
3248 signal until the selector is completely constructed.
3250 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-touch-selector.c: (_create_new_column),
3253 (hildon_touch_selector_append_column),
3254 (hildon_touch_selector_set_column_selection_mode),
3255 (hildon_touch_selector_set_active),
3256 (hildon_touch_selector_select_iter):
3257 Emit the HildonTouchSelector::changed signal every time selection
3258 is changed in any of the methods above. This behavior was already
3259 documented but not fully functional.
3261 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3262 selection is programmatically changed)
3264 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3266 * doc/hildon-sections.txt: Remove obsolete icon
3267 sizes from here as well.
3269 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3271 * examples/hildon-stackable-window-example.c (add_window): Remove
3274 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-app-menu.c
3277 (hildon_app_menu_show): Check whether the parent window of a menu
3278 is topmost before popping it up.
3280 Fixes: NB#100468 (Application menu window is launched even when a
3281 new secondary-window/dialog is pending to be shown/realized.)
3283 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3285 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3288 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3290 Patch by Mox Soini (ext-mox.soini@nokia.com)
3292 * src/hildon-banner.c: (hildon_banner_show_animation):
3293 use stylus size instead of obsolete note size.
3294 * src/hildon-defines.h: Update icon sizes.
3296 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3298 * src/hildon-touch-selector-entry.c:
3299 (hildon_touch_selector_entry_init): Disable unsupported
3301 (hildon_touch_selector_entry_get_text_column): Emit a warning
3302 if an unsupported input modes is used and explicitile state
3303 these modes in the documentation.
3305 Fixes: NB#99802 (Hildon touch selector entry not working properly
3306 for some of the input modes)
3308 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3310 * src/hildon-pannable-area.c,
3311 (hildon_pannable_area_init): Added the changed signal handlers of
3314 Fixes: NB#100320 (HildonPannableArea does not listen to
3315 GtkAdjustment "change" signals)
3317 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3319 * doc/hildon-sections.txt
3320 * src/hildon-window-private.h
3321 * src/hildon-window.h
3322 * src/hildon-window.c (hildon_window_init)
3323 (hildon_window_realize, hildon_window_unrealize)
3324 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3325 (hildon_window_size_request, hildon_window_size_allocate)
3326 (hildon_window_forall, hildon_window_show_all)
3327 (hildon_window_destroy, +paint_edit_toolbar)
3328 (+hildon_window_set_edit_toolbar):
3329 New hildon_window_set_edit_toolbar() method, to add a
3330 HildonEditToolbar to a window without having to pack it manually.
3332 Reorganize hildon_window_size_allocate()
3334 * src/hildon-edit-toolbar.c: Update documentation.
3336 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3337 example to use the new API.
3339 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3341 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3343 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3344 Remove from stack before calling parent's hide.
3346 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3349 window is removed from the middle of the stack, update the
3350 transiency of the previous one.
3352 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3355 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3358 block/unblock the signal handler if it's not actually being used.
3359 Fixes some critical warnings.
3361 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3363 Based on a patch by Iván Gómez (igomez@igalia.com)
3365 * src/hildon-banner.c
3369 * src/hildon-pannable-area.c
3370 * src/hildon-picker-dialog.c
3371 * src/hildon-wizard-dialog.h
3372 * src/hildon-wizard-dialog.c: Documentation updates.
3374 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3375 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3377 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3379 * configure.ac: post release version bump.
3380 * debian/changelog: version bump.
3382 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3387 * configure.ac: Bump version.
3388 * debian/changelog: Updates.
3390 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3393 a stock icon nor change the relief of the back arrow.
3395 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3396 graphics from theme)
3398 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3400 * src/hildon-button.c (hildon_button_set_alignment): Use
3401 priv->alignment if the button has no child yet.
3403 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-button.c: (hildon_button_init): Set the
3406 button style during initialization to give it the proper
3409 Fixes: NB#99713 (HildonButton value label color is wrong)
3411 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-touch-selector.c: Document
3414 hildon_touch_selector_center_on_selected()
3416 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3419 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3420 all menu items, but not the menu itself.
3421 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3422 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3423 items after adding them to the menu so keyboard accelerators work.
3424 (hildon_app_menu_show): Don't show the menu if it contains items
3425 but none of them are visible.
3427 * examples/hildon-app-menu-example.c (create_menu): Use
3428 gtk_widget_show_all() to show all menu items.
3430 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c:
3433 (-_update_title_on_selector_changed_cb),
3434 (-_dialog_update_title): Removed.
3435 (_select_on_selector_changed_cb), (_on_dialog_response),
3436 (on_selector_columns_changed): Do not update the dialog title.
3437 (setup_interaction_mode): Do not connect to
3438 HildonTouchSelector::changed signal if there's a "done" button, as
3439 the dialog title doesn't need to be updated.
3441 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3444 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3446 Patch by Kristian Rietveld (kris@imendio.com)
3448 * src/hildon-touch-selector.c: (_create_new_column): Use new
3449 GtkTreeView::hildon-row-tapped signal to react to user interactions
3450 instead of ::changed.
3452 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3453 with some dynamic tree model)
3455 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3458 (+screen_size_changed, +label_size_request)
3459 (hildon_note_class_init): Make the Hildon information note have a
3460 minimum height, and make its text hvae a maximum width.
3462 Fixes: NB#98614 (Hildon information note (background) should have
3463 minimum height and maximum text width)
3465 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-banner.h
3468 * src/hildon-banner.c (hildon_banner_show_information)
3469 (hildon_banner_show_informationf)
3470 (hildon_banner_show_information_with_markup): Update documentation
3471 to reflect that the icon_name parameter is not used anymore.
3472 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3473 Remove all code from these functions and mark them as deprecated.
3474 (hildon_banner_show_progress): Mark as deprecated.
3476 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3478 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3480 * src/hildon-pannable-area.c,
3481 (hildon_pannable_area_class_init),
3482 (tranparency_color),
3483 (hildon_pannable_draw_vscroll),
3484 (hildon_pannable_draw_hscroll),
3485 (hildon_pannable_area_expose_event): Added a new way to render the
3486 scrollbars of the pannable area avoiding using cairo at all. This
3487 way we improve the performance of the pannable area rendering. The
3488 cairo rendering procedure is still in the code, we can control
3489 which one to use changing the value of the define
3490 USE_CAIRO_SCROLLBARS.
3492 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3494 * configure.ac: post release version bump.
3495 * debian/changelog: version bump.
3497 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3502 * configure.ac: Bump version.
3503 * debian/changelog: Updates.
3505 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3507 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3508 banners instead of destroying them when they receive a button
3511 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3513 Reverted commit 34028, it was causing regressions, probably the
3514 topmost condition is not correct, we have to check it in more
3515 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3516 propagation of button press events)
3518 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3521 that the selection is not empty before attempting to retrieve the
3522 current ampm selection.
3524 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-picker-button.c:
3527 (hildon_picker_button_on_dialog_response): Directly update the
3528 button contents when required instead of calling _selection_changed.
3530 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3532 * src/hildon-program.c (hildon_program_update_top_most): Update
3533 'is-topmost' property also when wm_hints is not set.
3535 Fixes: NB#98383 (is-topmost signal is not emitted when task
3536 switcher is clicked.)
3538 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3540 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3544 * src/hildon-animation-actor.c,
3545 * src/hildon-animation-actor.h: Added the animation actor class,
3546 this widget represents an animation actor for WM-assisted
3547 animation effects in the Hildon framework.
3549 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-window-stack-private.h
3552 * src/hildon-window-stack.c
3553 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3554 Avoid calling gtk_widget_show() again indirectly from
3555 hildon_stackable_window_show()
3557 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3562 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3565 (hildon_time_selector_init): Move the construction of the hours and
3566 ampm columns to the constructor to preserve the order the columns
3569 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-picker-dialog.c:
3572 (hildon_picker_dialog_class_init): Connect a realize method.
3573 (+hildon_picker_dialog_realize): Setup the interaction mode here
3575 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3576 yet, do it during the realize instead.
3577 (_on_dialog_response):
3578 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3579 if the widget is not realized, to avoid the dialog response before it
3582 Avoid premature responses in the HildonPickerDialog that can cause it
3583 to be hidden before it's even shown.
3585 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3587 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3588 (on_selector_columns_changed), (requires_done_button),
3589 (+prepare_action_area), (setup_interaction_mode),
3590 (_hildon_picker_dialog_set_selector):
3592 Split the interaction mode setup into preparation of the
3593 action area (prepare_action_area()) and the connection of
3594 the signals in setup_interaction_mode() and update the code to
3597 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3599 * src/hildon-pannable-area.c,
3600 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3601 per second to 15, we will check if this is ok regarding
3604 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3606 * src/hildon-pannable-area.c,
3607 (hildon_pannable_axis_scroll): Avoid resize if we already have
3608 reached overshoot_max.
3610 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3612 * src/hildon-pannable-area.c,
3613 (hildon_pannable_area_init),
3614 (hildon_pannable_area_realize),
3615 (hildon_pannable_area_size_allocate),
3616 (hildon_pannable_area_map),
3617 (hildon_pannable_area_unmap),
3618 (hildon_pannable_draw_vscroll),
3619 (hildon_pannable_draw_hscroll),
3620 (hildon_pannable_area_expose_event),
3621 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3622 pannable are to avoid the expose events go to the window and
3623 redraw the window. We save this way that part of the stack and the
3624 paint_boxes. We had to change the positions of the elements when
3627 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3629 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3630 * src/hildon-color-chooser-dialog.c:
3631 (hildon_color_chooser_dialog_init):
3632 * src/hildon-font-selection-dialog.c:
3633 (hildon_font_selection_dialog_init),
3634 (hildon_font_selection_dialog_show_preview):
3635 * src/hildon-get-password-dialog.c:
3636 * src/hildon-login-dialog.c:
3637 * src/hildon-set-password-dialog.c:
3638 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3639 * src/hildon-time-picker.c: (hildon_time_picker_init):
3641 Remove obsolete logical string IDs and update to the appropriate ones.
3643 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3645 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3648 that happens if the window hasn't been realized yet.
3650 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3651 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3653 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3655 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3656 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3659 Fixes: NB#98537 (Device hangs in account settings dialog)
3661 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3663 * configure.ac: post release version bump.
3664 * debian/changelog: version bump
3666 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3671 * configure.ac: Bump version.
3672 * debian/changelog: Updates.
3674 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3676 Added a new function to the HildonTimeButton widget that allows to
3677 change the step of the minutes in the selector associated with the
3678 button: hildon_time_button_new_step
3680 * src/hildon-time-button.c,
3681 (hildon_time_button_init),
3682 (hildon_time_button_new),
3683 (hildon_time_button_new_step):
3684 * src/hildon-time-button.h: Added the new function and refactored
3686 * examples/hildon-time-button-example.c,
3687 (main): We have replaced the function without parameters with the
3688 function with the steps set to 5
3690 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3692 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3694 * src/hildon-time-selector.c,
3695 (hildon_time_selector_class_init),
3696 (hildon_time_selector_constructor),
3697 (hildon_time_selector_get_property),
3698 (hildon_time_selector_set_property),
3699 (_create_minutes_model),
3700 (hildon_time_selector_new_step),
3701 (hildon_time_selector_set_time),
3702 * src/hildon-time-selector.h: Added a new property to the
3703 HildonTimeSelector (minutes-step), we use that property to control
3704 the steps between the minutes in the list of the selector. We have
3705 added a new function to the API to create a widget changing the
3706 step: hildon_time_selector_new_step.
3708 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3710 * src/hildon-time-selector.c,
3711 (hildon_time_selector_class_init),
3712 (hildon_time_selector_constructor),
3713 (hildon_time_selector_init): Overrided the construct function when
3714 creating the time selector object. We have moved the minutes model
3715 handling code from the init to the new construction function:
3716 hildon_time_selector_constructor.
3718 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3720 * examples/hildon-date-button-example.c: (main): Use the new
3721 hildon_date_button_new_with_year_range() method in the example.
3722 * src/hildon-date-button.c:
3723 (+hildon_date_button_new_with_year_range): New public method
3724 to conveniently create a HildonDateButton with a custom year range
3725 in its HildonDateSelector.
3726 * src/hildon-date-button.h: Add the new public method definition.
3728 Fixes: NB#97908 (Not possible to change the year range in
3729 HildonDateSelector/HildonDateButton)
3731 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-date-selector.c:
3734 (+hildon_date_selector_set_property),
3735 (+hildon_date_selector_get_property),
3736 (hildon_date_selector_class_init): Install new properties "min-year"
3737 and "max-year" to define boundaries for the year column.
3738 (_create_year_model): Use the boundary properties to populate the model.
3739 (+hildon_date_selector_new_with_year_range): New public method to
3740 create a HildonDateSelector with a user defined year range.
3741 (hildon_date_selector_select_current_date): Use the new boundaries to
3742 calculate the iterator of current year.
3743 * src/hildon-date-selector.h: Add the new public method definition.
3745 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3748 Install a constructor method.
3749 (+hildon_date_selector_construct_ui): construct the widget.
3750 (+hildon_date_selector_constructor): new constructor.
3751 (+hildon_date_selector_init): move out widget construction code to
3752 the new constructor.
3754 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3757 that there's actually a month or year selected before obtaining them.
3758 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3759 of the HildonTouchSelector::changed signal, as it was emitted on every
3760 single item selection.
3762 Fix some warnings and possible crashers due to the selection restoring.
3764 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3767 the signal handlers only after creating the dialog instead of on every
3770 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-button.c (hildon_button_init)
3773 * src/hildon-check-button.c (hildon_check_button_init)
3774 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3775 focus when clicked by default.
3777 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3782 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3784 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3785 Alejandro G. Castro (alex@igalia.com)
3787 * src/hildon-picker-dialog.c:
3788 (hildon_picker_dialog_class_init): install new "center-on-show"
3790 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3791 (hildon_picker_dialog_set_property): add setter code for the new
3793 (hildon_picker_dialog_get_property): add getter code for the new
3795 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3796 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3799 Fixes: NB#92849 (Selected item is not always visible when
3800 HildonTouchSelector is shown)
3802 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3804 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3805 Alejandro G. Castro (alex@igalia.com)
3807 * src/hildon-touch-selector.c:
3808 (_create_new_column): Do not connect to the "realize" signal of the
3810 (hildon_touch_selector_append_column): center on the selected items
3811 when a new column is appended.
3812 (hildon_touch_selector_select_iter): Factor out the code to select a
3813 column to hildon_touch_selector_scroll_to().
3814 (+search_nearest_element): Method to retrieve the nearest selected
3815 element to the visible area of the pannable area in a column.
3816 (+on_realize_cb): scroll to the initially selected item.
3817 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3818 the pannable area is realized, otherwise delay this until it is.
3819 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3820 selected items of a given column.
3821 (+hildon_touch_selector_center_on_selected): Public method to center
3822 all columns on the nearest selected item.
3823 * src/hildon-touch-selector.h: Add definition for
3824 hildon_touch_selector_center_on_selected().
3826 Implement public API to ensure visibility of all selected items in
3827 a HildonTouchSelector.
3829 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3831 Fixed a problem in the fading when calling the scroll_to API, and
3832 improve scrollbar fading handling.
3834 * src/hildon-pannable-area.c,
3835 (hildon_pannable_area_grab_notify): avoid the timeout when the
3837 (hildon_pannable_area_button_press_cb),
3838 (hildon_pannable_area_motion_notify_cb): Code style changes.
3839 (hildon_pannable_area_button_release_cb): Review the conditions
3840 when releasing the mouse button to avoid unrequired fading
3842 (hildon_pannable_area_scroll_to): Do not calculate and set the
3843 velocity if the scroll is not required.
3845 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3848 Don't check whether the new selector is NULL: it cannot be.
3849 Hold a reference to the selector while doing the replacement.
3851 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3854 unnecessary size_request in a removed widget.
3856 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3859 an unnecessary reference tracking that was leaking.
3861 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3863 Added delayed motion notify event handling, this way we can
3864 discard redrawing if more than 25 events arrive per second.
3866 * src/hildon-pannable-area.c,
3867 (hildon_pannable_area_init): Initialized the new private atributes
3868 controlling this timeout
3869 (hildon_pannable_area_dispose): Remove the timeout that controls
3870 the motion notify events.
3871 (hildon_pannable_area_scroll): Added a condition to control the
3872 use of the acceleration.
3873 (hildon_pannable_area_motion_event_scroll_timeout),
3874 (hildon_pannable_area_motion_event_scroll): Added this two
3875 functions, they handle the motion notify events inside the
3877 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3878 to the scroll method with the new function.
3879 (hildon_pannable_area_button_release_cb): We have to remove the
3880 timeout handler and move to the last position if the last motion
3881 events were not handled.
3883 Fixes: NB#97028 (Pannable area updates on every motion event)
3885 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3887 * src/hildon-pannable-area.c,
3888 (hildon_pannable_area_get_topmost): Added a new parameter to
3889 filter the the windows that do not include those events. Added
3890 also a condition when finding the window to filter windows that do
3891 not ask for those events.
3892 (hildon_pannable_area_button_press_cb),
3893 (hildon_pannable_area_button_release_cb),
3894 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3895 topmost function, we have added the new parameter.
3897 Fixes: NB#97458 (Pannable area prevents propagation of button
3900 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3902 * src/hildon-pannable-area.c,
3903 (hildon_pannable_area_initial_effect): Added controls before
3904 launching the timeout and the idle functions.
3905 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3906 of the method, in some situations it can return with TRUE and 0 in
3908 (hildon_pannable_area_button_press_cb): We do not need to set
3909 DELAY for fading out here.
3911 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3913 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3916 post-cleaning if the selection is not NULL.
3918 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3921 all items before restoring the selection.
3923 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-touch-selector.c:
3926 (+hildon_touch_selector_unselect_all):
3927 * src/hildon-touch-selector.h: New API to unselect all items in a
3928 column of the touch selector.
3930 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3932 * src/hildon-pannable-area.c,
3933 (hildon_pannable_area_redraw): Added a call to the refresh
3934 function inside the redraw because apparently in some cases the
3935 change in the adjustment does not imply a size allocate.
3937 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3938 despite the view not being scrollable)
3940 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3943 leak. Check for NULL before attempting to set the window title.
3945 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3948 whether to show or not the 'Done' button each time the dialog is
3949 shown, as it depends on the HildonTouchSelector selection mode.
3951 Fixes: NB#96226 (In multiple selection mode Done button is shown
3952 sometimes in listpicker)
3954 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3957 for the number of columns in the HildonTouchSelector more than once.
3959 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3961 * src/hildon-touch-selector.c: Minor documentation fixes.
3963 * src/hildon-picker-dialog.c (+_dialog_update_title)
3964 (_select_on_selector_changed_cb)
3965 (_update_title_on_selector_changed_cb)
3966 (on_selector_columns_changed): Update dialog title when there's no
3967 'Done' button and also when the number of columns in the selector
3971 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3972 (+_selection_changed, hildon_picker_button_on_dialog_response)
3973 (hildon_picker_button_selector_selection_changed)
3974 (+hildon_picker_button_selector_columns_changed)
3975 (hildon_picker_button_set_selector): Update button value and emit
3976 'value-changed' when the number of columns in the selector
3980 Fixes: NB#96225 (Dialog titles are not shown according to the
3981 values selected in the list picker)
3983 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3986 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3987 New "arrow-width" and "arrow-height" style properties to set the
3988 size of the arrow button.
3989 Set name of arrow button ("hildon-edit-toolbar-arrow").
3991 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3992 graphics from theme)
3994 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-picker-button.c:
3997 (hildon_picker_button_selector_selection_changed): Use
3998 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3999 the dialog is present.
4001 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4002 the selection is accepted in the dialog)
4004 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4006 * src/hildon-color-chooser.h
4007 * src/hildon-color-chooser-dialog.h:
4008 Added G_BEGIN_DECLS and G_END_DECLS
4010 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4012 (_clean_current_selection): plug a leak in the list.
4014 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4016 * src/hildon-picker-dialog.c:
4017 (+free_path_list): Method to free a GList of GtkTreePaths.
4018 (_clean_current_selection), (_save_current_selection),
4019 (_restore_current_selection): Save the current selection in
4020 as a list of lists, to support multiple selection properly.
4022 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4024 patch by Claudio Saavedra (csaavedra@igalia.com)
4026 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4027 Store the press position.
4028 (+hildon_text_view_button_release_event): If the release position is
4029 close enough to the press position, move the cursor here. Otherwise,
4031 (hildon_text_view_class_init): Override GtkTextView press, release, and
4032 motion event handlers, disabling this way text selection through
4033 pointer interaction, and allowing the container widget to handle the
4036 Fixes: NB#95828 (HildonTextView functionality)
4038 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4040 Based on a patch by Iván Gómez (igomez@igalia.com)
4042 * src/hildon-button.[ch]
4043 * src/hildon-calendar.c
4044 * src/hildon-check-button.c
4045 * src/hildon-date-editor.c
4046 * src/hildon-date-selector.c
4047 * src/hildon-picker-button.c
4048 * src/hildon-time-editor.c
4049 * src/hildon-time-selector.c
4050 * src/hildon-touch-selector.[ch]:
4051 Documentation updates
4053 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4055 * src/hildon-pannable-area.c,
4056 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4057 threshold, it was required due to X events handling.
4059 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-pannable-area.c,
4062 (hildon_pannable_area_grab_notify),
4063 (hildon_pannable_area_initial_effect),
4064 (hildon_pannable_area_button_press_cb),
4065 (hildon_pannable_area_button_release_cb),
4066 (hildon_pannable_area_scroll_cb),
4067 (hildon_pannable_area_scroll_to): Review the timeout management of
4068 the scrollbar, the frecuency was incorrectly set.
4070 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/hildon-picker-button.c:
4073 (+hildon_picker_button_on_dialog_response),
4074 (hildon_picker_button_clicked): Present the dialog instead of
4075 running it with gtk_dialog_run().
4077 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4080 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4083 (hildon_app_menu_finalize): When a window is hidden it doesn't
4084 emit notify::is-topmost, so make sure than the menu also
4085 disappears in that case.
4086 (parent_window_topmost_notify): Renamed from parent_window_hidden
4088 Fixes: NB#94460 (stackable window's menu is not closed when its
4091 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-touch-selector-entry.c:
4094 (+hildon_touch_selector_entry_set_input_mode),
4095 (+hildon_touch_selector_entry_get_input_mode):
4096 * src/hildon-touch-selector-entry.h: New methods to access the input
4097 mode in the selector's entry.
4099 Fixes: NB#93410 (API required for setting IM mode in
4100 HildonTouchSelectorEntry)
4102 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4104 * configure.ac: post release version bump.
4105 * debian/changelog: version bump
4107 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4112 * configure.ac: Bump version.
4113 * debian/changelog: Updates.
4115 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-touch-selector.c:
4118 (_hildon_touch_selector_has_multiple_selection): No need
4119 to initialize the variables here.
4121 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4123 * src/hildon-note-private.h
4124 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4125 (hildon_note_finalize, hildon_note_rebuild): Close information
4126 notes when they receive a button press.
4128 Fixes: NB#89890 (Information notes does not get disappeared after
4131 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4133 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4134 mark from the wizard title, as it's not really necessary. Also,
4135 do not display the page title if not set.
4137 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4139 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4140 (parent_window_hidden): Use the window's "is-topmost" property to
4141 detect when to hide the menu.
4143 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4146 (hildon_app_menu_finalize): If the parent window of the menu is
4147 hidden, hide the menu too.
4149 Fixes: NB#94460 (stackable window's menu is not closed when its
4152 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4155 * debian/libhildon1-examples.install
4157 * examples/Makefile.am:
4158 Use dh_install to install all examples.
4159 Use DEB_SRCDIR instead of defining SOURCE_DIR
4161 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4163 * configure.ac: post release version bump.
4164 * debian/changelog: version bump
4166 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4171 * configure.ac: bump version
4172 * debian/changelog: updates
4173 * debian/control: bump gtk+ dependency
4175 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4177 patch by Christian Dywan (christian@imendio.com)
4179 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4180 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4182 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-check-button.c (hildon_check_button_init)
4185 (hildon_check_button_class_init, hildon_check_button_style_set)
4186 (hildon_check_button_apply_style):
4187 New "checkbox-size" style property.
4189 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4190 larger / configurable size)
4192 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4194 * configure.ac: post release version bump.
4195 * debian/changelog: version bump
4197 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4202 * configure.ac: bump version
4203 * debian/changelog: updates
4205 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4207 * doc/hildon-sections.txt
4208 * src/hildon-pannable-area.c
4209 * src/hildon-program.c
4210 * src/hildon-time-editor.c
4211 * src/hildon-touch-selector-entry.c:
4213 More documentation updates.
4215 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4217 * doc/hildon-sections.txt
4218 * src/hildon-caption.c
4219 * src/hildon-code-dialog.c
4220 * src/hildon-color-button.c
4221 * src/hildon-controlbar.c
4222 * src/hildon-date-editor.c
4223 * src/hildon-date-selector.c
4224 * src/hildon-edit-toolbar.c
4225 * src/hildon-find-toolbar.c
4226 * src/hildon-font-selection-dialog.c
4228 * src/hildon-program.c
4229 * src/hildon-range-editor.c
4230 * src/hildon-seekbar.c
4231 * src/hildon-time-editor.c
4232 * src/hildon-time-selector.c
4233 * src/hildon-volumebar-range.c
4234 * src/hildon-volumebar.c
4235 * src/hildon-vvolumebar.c
4236 * src/hildon-weekday-picker.c
4237 * src/hildon-window.c
4238 * src/hildon-wizard-dialog.c:
4240 Lots of documentation fixes.
4242 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4244 Patch contributed by Iván Gómez (igomez@igalia.com)
4246 * src/hildon-check-button.c:
4247 * src/hildon-date-button.c:
4248 * src/hildon-date-selector.c:
4249 * src/hildon-dialog.c:
4250 * src/hildon-edit-toolbar.c:
4251 * src/hildon-entry.c:
4252 * src/hildon-picker-button.c:
4253 * src/hildon-program.c:
4254 * src/hildon-text-view.c:
4255 * src/hildon-time-button.c:
4256 * src/hildon-touch-selector-entry.c:
4257 * src/hildon-window-stack.c:
4259 Add more "since" tags to the new API.
4261 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4263 * doc/hildon-sections.txt: Add below method.
4264 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4265 version for the hildonized scale.
4266 * src/hildon-gtk.h: Add the definition.
4268 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4270 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4272 * doc/hildon-sections.txt: Add missing entries for new methods.
4274 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4276 Added API to pannable are in order to get its adjustments. We
4277 added two properties to manage the values we had in the private
4280 * src/hildon-pannable-area.c:
4281 (hildon_pannable_area_class_init): Added hadjustment and
4282 vadjustment properties in order to expose horizontal and vertical
4284 (hildon_pannable_area_get_property),
4285 (hildon_pannable_area_set_property): Added code to handle the new
4287 (hildon_pannable_area_get_hadjustment),
4288 (hildon_pannable_area_get_vadjustment): API functions to get the
4290 * src/hildon-pannable-area.h:
4291 (hildon_pannable_area_get_hadjustment),
4292 (hildon_pannable_area_get_vadjustment): API functions to get the
4295 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4297 Fixed some leaks, after valgrinding.
4299 * src/hildon-touch-selector.c:
4300 (_default_print_func): Fixed a leak.
4301 (hildon_touch_selector_append_column): Fixed a leak.
4302 * src/hildon-date-button.c:
4303 (hildon_date_button_init): Fixed a leak.
4304 * src/hildon-date-selector.c
4305 (hildon_date_selector_finalize): Fixed a leak.
4307 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4309 Based on a patch by Christian Dywan (christian@imendio.com)
4311 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4313 * src/hildon-gtk.h: Add definition.
4315 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4317 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4319 * src/hildon-picker-button.c: (hildon_picker_button_init),
4320 (hildon_picker_button_new): Set the HildonButton::style property
4321 in the init method, to propagate the value to the derived classes.
4323 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4325 * src/hildon-button.c: (hildon_button_class_init): Do not make
4326 the "style" property a construct property.
4328 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4330 * src/hildon-wizard-dialog.h
4331 * src/hildon-wizard-dialog.c
4332 (hildon_wizard_dialog_set_forward_page_func)
4333 * src/hildon-pannable-area.h
4334 * src/hildon-pannable-area.c
4335 (hildon_pannable_area_set_size_request_policy):
4336 Documentation fixes.
4338 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4340 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4342 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4344 * doc/hildon-sections.txt: Added sections file.
4346 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/*.[ch]: Updates.
4351 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4353 * examples/hildon-progress-indicator-example.c: new file
4354 * examples/Makefile.am: include the new example program
4356 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4358 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4360 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: post release version bump
4363 * debian/changelog: version bump
4365 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4370 * configure.ac: bump version
4371 * debian/changelog: updates
4372 * debian/control: bump gtk+ dependency
4374 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-dialog.c: Mark as deprecated.
4377 * src/hildon-dialog.h: Mark as deprecated.
4378 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4379 from HildonDialog and still work, even if
4380 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4381 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4383 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4384 maemo changes) instead)
4386 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4388 * src/hildon-pannable_area.h:
4389 * src/hildon-pannable_area.c:
4390 (hildon_pannable_area_class_init),
4391 (hildon_pannable_area_set_property),
4392 (hildon_pannable_area_get_property),
4393 (hildon_pannable_area_size_request),
4394 (hildon_pannable_area_get_size_request_policy),
4395 (hildon_pannable_area_set_size_request_policy): Added new API
4396 allowing applications to control the request policy. Now they can
4397 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4398 children allocation (HILDON_MOVEMENT_CHILDREN).
4400 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4404 (hildon_gtk_tree_view_set_ui_mode)
4405 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4406 mode of treeviews and iconviews.
4408 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4410 * src/hildon-touch-selector-entry.c:
4411 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4412 of a GtkEntry to get proper theming.
4414 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4415 widget, not GtkEntry)
4417 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4420 no HildonWizardDialogPageFunc.
4422 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4424 Patch contributed by Iván Gómez (igomez@igalia.com)
4426 * src/hildon-app-menu.c:
4427 * src/hildon-button.c:
4428 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4429 * src/hildon-stackable-window.c:
4430 * src/hildon-time-selector.c:
4431 * src/hildon-touch-selector.c:
4432 * src/hildon-window.c:
4434 Add more "since" tags to the new API in hildon 2.2.
4436 2008-12-05 Tim Janik <timj@imendio.com>
4438 Patch contributed by Christian Dywan (christian@imendio.com)
4440 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4441 HildonSizeType, which are supplied by Gtk+ now.
4443 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4445 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4446 (with maemo changes) instead)
4448 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4450 Patch contributed by Iván Gómez (igomez@igalia.com)
4452 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4455 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4457 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4458 (some_page_func), (main): Update the example to use a
4459 HildonWizardDialogPageFunc function.
4461 * src/hildon-wizard-dialog-private.h: Add private data for
4462 the HildonWizardDialogPageFunc function usage.
4464 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4465 (destroy), (hildon_wizard_dialog_init), (response),
4466 (hildon_wizard_dialog_set_forward_page_func):
4467 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4468 that applications can use to stop a HildonWizardDialog to jump to
4471 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4474 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-program.h
4477 * src/hildon-program-private.h
4478 * src/hildon-program.c (hildon_program_init)
4479 (hildon_program_set_common_app_menu)
4480 (hildon_program_get_common_app_menu):
4481 New API for setting a common HildonAppMenu for all
4482 HildonStackableWindows registered with the HildonProgram.
4484 * src/hildon-stackable-window.c
4485 (hildon_stackable_window_toggle_menu):
4486 Use the common HildonAppMenu if a window doesn't have a specific
4489 * src/hildon-app-menu-private.h
4490 * src/hildon-app-menu.c
4491 (hildon_app_menu_get_parent_window):
4492 Function to obtain the window a HildonAppMenu is attached to.
4493 (hildon_app_menu_set_parent_window):
4494 Hide the menu if the parent window is set to NULL.
4496 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4499 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4500 search widget to popup.
4502 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4504 * configure.ac: post release version bump
4505 * debian/changelog: version bump
4507 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4512 * configure.ac: bump version
4513 * debian/changelog: updates
4515 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4517 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4519 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4520 (hildon_window_stack_window_realized)
4521 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4522 Set the leader GdkWindow when a window is stacked and realized,
4523 unset it when it's unstacked.
4524 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4526 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4528 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-stackable-window.h
4531 * src/hildon-window-stack.h:
4532 Protect definition of HildonWindowStack using the preprocessor.
4534 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4537 Fix warning if all menu items are hidden.
4539 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4541 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4543 * src/hildon-controlbar.c:
4544 * src/hildon-hvolumebar.c:
4545 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4546 Multiple scale size defines updates.
4548 Fixes: NB#94322 (Scale Updates)
4550 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4552 * examples/hildon-app-menu-example.c (create_menu)
4553 Show items after adding them to the menu, as in the future the
4554 menu will no longer call gtk_widget_show() on the added items.
4556 * src/hildon-app-menu.c:
4557 Update example as explained above.
4559 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4561 * src/hildon-app-menu.c
4562 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4563 Make sure that all menu items have finger height.
4565 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4567 * src/hildon-picker-dialog.c:
4568 (_on_dialog_response), (_save_current_selection),
4569 (_restore_current_selection), (_clean_current_selection),
4570 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4571 Defined new functions in order to save the current internal selector
4572 selection previous open the dialog, in case that the use cancel the
4573 interaction, so the widget restores the previous selection.
4575 Fixes: NB#92032 (In calendar application, date values in 'new event'
4578 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4580 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-button.c: Add a reference to the button examples in
4583 hildon-button-example.c
4585 * examples/hildon-button-example.c: Added examples of the most
4586 common button layouts.
4588 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-app-menu.c (hildon_app_menu_show)
4591 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4593 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4595 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4597 * src/hildon-picker-dialog.c:
4598 (hildon_picker_dialog_init): Initialize the signal id for
4599 HildonTouchSelector::columns-changed.
4600 (+on_selector_columns_changed): Set up the interaction mode everytime a
4601 column is added or removed from the HildonTouchSelector.
4602 (_hildon_picker_dialog_set_selector): Connect to
4603 HildonTouchSelector::columns-changed and keep track of it.
4605 Make sure to update the interaction mode of the dialog everytime a
4606 column is added or removed in the HildonTouchSelector.
4608 Fixes: NB#93228 (Done button is not shown always in listpicker)
4610 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4612 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4613 a new ::columns-changed signal.
4614 (hildon_touch_selector_append_column): Emit ::columns-changed.
4615 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4617 Add a ::columns-changed signal, emitted when the number of columns in a
4618 HildonTouchSelector changes.
4620 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4623 (_hildon_picker_dialog_set_selector): Factor out the code
4624 to set up the dialog interaction mode.
4626 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4629 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4630 to signal_changed_id.
4632 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4634 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4637 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4639 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4640 Updated the logical ids related to ampm format, as now it is required to
4641 show it correctly localized even on languages with no default
4642 abbreviations for am or pm
4643 (_check_am_pm_format): check correctly the 24h format gconf property
4645 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4647 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-button.c: Documentation updates.
4651 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4654 * src/hildon-caption.c: (hildon_caption_class_init):
4655 * src/hildon-color-button.c: (hildon_color_button_class_init):
4656 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4657 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4658 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4659 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4661 Remove deprecated GTK+ marshalers and replace them with the ones
4662 provided by GLib, for those available, add a marshaler for
4663 BOOLEAN:VOID, which is not available in GLib, and use it.
4665 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4667 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4668 the text from the previous column if there is no
4669 HildonTouchSelectorColumn::text-property set.
4671 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-button.h
4674 * src/hildon-button.c (hildon_button_set_property)
4675 (hildon_button_get_property, hildon_button_class_init)
4676 (hildon_button_set_style, hildon_button_get_style):
4677 New "style" property to change the visual appearance of the
4680 * src/hildon-picker-button.c (hildon_picker_button_new):
4681 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4683 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4684 HildonButton look like PickerButton)
4686 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4688 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4689 column while building the default string.
4691 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4693 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4694 scroll indicator by default.
4696 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4698 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4700 * src/hildon-main.c: Fix the documentation for hildon_init()
4702 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4704 * doc/hildon-docs.sgml
4708 * src/hildon-window-stack-private.h
4709 * src/hildon-window-stack.h
4710 * src/hildon-window-stack.c:
4711 New HildonWindowStack object, that adds support for multiple
4712 stacks of windows per process.
4714 * src/hildon-stackable-window-private.h
4715 * src/hildon-stackable-window.h
4716 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4717 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4718 (hildon_stackable_window_show, hildon_stackable_window_hide)
4719 (hildon_stackable_window_class_init)
4720 (hildon_stackable_window_init):
4721 Use HildonWindowStack for stack management.
4723 * src/hildon-program.c (hildon_program_pop_window_stack)
4724 (hildon_program_peek_window_stack)
4725 (hildon_program_go_to_root_window):
4726 Add a fallback implementation to the deprecated functions using
4729 * examples/hildon-stackable-window-example.c:
4730 Use the new HildonWindowStack API.
4732 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4734 * src/hildon-stackable-window-private.h
4735 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4736 (hildon_stackable_window_hide, hildon_stackable_window_init):
4737 Remove all window stack management.
4739 * src/hildon-program-private.h
4740 * src/hildon-program.h
4741 * src/hildon-program.c (hildon_program_init)
4742 (hildon_program_pop_window_stack)
4743 (hildon_program_peek_window_stack)
4744 (hildon_program_go_to_root_window):
4745 Remove all window stack management and mark functions as
4748 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4750 * src/hildon-app-menu.c (hildon_app_menu_realize):
4751 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4753 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4755 * configure.ac: post release version bump
4756 * debian/changelog: version bump
4758 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4763 * configure.ac: bump version
4764 * debian/changelog: updates
4766 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4768 Based on initial code by Christian Dywan (christian@imendio.com)
4770 * doc/hildon-docs.sgml: Add section for hildon-main.
4771 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4772 * src/Makefile.am: Add new hildon-main.[ch]
4773 * src/hildon-defines.h: Update the icon sizes.
4774 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4775 new library initialization files and register icon sizes.
4776 * src/hildon-main.h: New declarations.
4777 * src/hildon.h: Include hildon-main.h
4779 Add new initialization functions to the library. These methods
4780 will register the hildon specific icon sizes and can be used in the
4781 future for other hildon specific bits.
4783 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4785 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-window.c: (hildon_window_realize),
4788 (hildon_window_notify), (-hildon_window_update_title): Do not set
4789 the application name in the window title.
4791 Fixes: NB#89754 (Applications shouldn't display their names in the
4794 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-note-private.h:
4797 * src/hildon-note.c: (hildon_note_set_property),
4798 (hildon_note_get_property), (hildon_note_class_init),
4799 (hildon_note_init), (hildon_note_finalize),
4800 (hildon_note_new_confirmation_with_icon_name),
4801 (hildon_note_new_information_with_icon_name):
4803 No need to mark as deprecated the actual code. Revert
4804 to avoid missing symbols in widgets using deprecated API.
4806 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4808 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4810 * src/hildon-volumebar.h
4811 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4812 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4814 * src/hildon-helper.h
4815 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4816 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4818 * examples/Makefile.am:
4819 Deprecate hildon-insensitive-example
4821 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4823 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4825 * examples/hildon-pannable-area-buttons-scroll-example.c:
4826 Make all buttons finger height
4828 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4830 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4832 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4833 update the day model only if it is really required, and to avoid the
4834 full-reconstruction aproach. Now it only add or remove the required days.
4836 The purpose of this is avoid superfluous HildonTouchSelector::changed
4839 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4840 with strange parameters)
4842 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4844 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4846 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4847 the WINDOW_TYPE property.
4849 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4851 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4854 Fix dependency to allow parallel compilation with make -jX
4856 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4859 color frame and some minor tweaks to make it more consistent with
4862 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4863 highlighted but not visible)
4865 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4867 * examples/Makefile.am: Fixed typo in the Makefile.am.
4869 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4871 Reviewed the use of MAEMO_GTK define, now we add the define in the
4872 compilation line, and we also add it to the pc file.
4874 * configure.ac: Added MAEMO_GTK define to the compilation command
4875 and removed it from the config.h.
4877 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4878 do not have to take care about this define if the library was
4882 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4884 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4886 * examples/Makefile.am,
4887 * examples/hildon-pannable-area-buttons-scroll-example.c,
4888 * examples/hildon-pannable-area-gesture-signals-example.c,
4889 * examples/hildon-pannable-area-scroll-jump-example.c,
4890 * examples/hildon-pannable-area-tree-view-example.c:
4891 Renamed the pannable area examples, now they have more meaningful
4894 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4896 * src/hildon-touch-selector.c:
4897 (hildon_touch_selector_set_column_selection_mode): Used of
4898 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4899 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4900 to avoid re-seting the same selection mode.
4902 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4903 breaks HildonPickerDialog)
4905 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4907 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4908 conditional in the Makefile.am
4910 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4913 Remove unused methods.
4915 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-button.c (hildon_button_init):
4918 Make button images center-aligned by default
4920 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4923 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4924 activated, we have to think about how to deal with both defines
4925 MAEMO_GTK and MAEMO_CHANGES.
4927 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4929 * examples/hildon-app-menu-example.c (create_menu): Make all
4930 buttons finger size.
4932 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4934 Fixed the compilation without maemo gtk adding ifdefs with
4935 MAEMO_GTK define to the code, we have to check this version more
4938 * examples/Makefile.am: Added control to avoid some examples that
4939 just make sense with maemo gtk.
4942 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4943 hildon modes with the define.
4945 * examples/hildon-edit-toolbar-example.c,
4946 (create_icon_view): Create the icon view without hildon-gtk
4947 helpers if we are not using maemo gtk.
4949 * src/hildon-touch-selector.c,
4950 (_create_new_column): Create the treeview without hildon-gtk
4951 helpers if we are not using maemo gtk.
4953 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4955 * src/hildon-pnnable-area.c,
4956 (hildon_pannable_area_dispose),
4957 (hildon_pannable_area_button_press_cb),
4958 (hildon_pannable_area_child_mapped),
4959 (hildon_pannable_area_add),
4960 (hildon_pannable_area_remove): Added code to control the position
4961 of the event_window when adding and removing children from the
4962 pannable. We have to raise the event window when the child is
4965 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4966 selection mode using custom widget inside pannable)
4968 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4970 * configure.ac: post release version bump
4971 * debian/changelog: version bump
4973 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4978 * configure.ac: bump version
4979 * debian/changelog: updates
4981 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4983 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4984 search mode, in order to avoid lose the focus on the treeview when
4985 a hw key (like enter) is pressed.
4987 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4988 in HildonDateSelector dialog)
4990 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4992 * debian/rules: Added --enable-maintainer-mode
4993 * Makefile.am: Added ACLOCAL_AMFLAGS
4995 This allows to properly regenerate the Makefiles if you modify the
4996 configure.ac or any Makefile.am.
4998 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5000 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5001 properties, not needed at all.
5003 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5007 * src/hildon-note.c: (hildon_note_set_property),
5008 (hildon_note_get_property), (hildon_note_class_init),
5009 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5010 (hildon_note_new_confirmation_add_buttons): Remove icons.
5011 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5012 (hildon_note_new_information_with_icon_name): Deprecate.
5013 (hildon_note_new_confirmation): Act directly, without calling
5014 the deprecated constructor.
5015 (hildon_note_new_information): Act directly, without calling
5016 the deprecated constructor.
5017 * src/hildon-note.h: Mark deprecate methods as such.
5018 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5019 not run tests on the deprecated methods if built with deprecation
5022 Fixes: NB#91688 (Never show icons in information notes/confirmation
5025 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5028 (hildon_app_menu_key_press): Remove leftover usage of the
5029 private structure in HildonAppMenu struct.
5030 * src/hildon-app-menu.h: Remove leftover private structure
5031 from the HildonAppMenu struct.
5033 Fixes a crasher when using the HildonAppMenu.
5035 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-picker-dialog.c: Use appropriate logical id
5038 for the default "Done" text.
5040 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5042 * configure.ac: post release version bump
5043 * debian/changelog: version bump
5045 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5047 Modified the way to scroll to the current selection just when the touch
5048 selector is shown on the screen, avoiding a g_idle. Added too a property
5049 to configure this behaviour. See hildon_pannable_area_jump_to_child
5050 documentation for more information.
5052 * src/hildon-touch-selector.c
5053 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5054 Added 'initial-scroll' property
5055 (hildon_touch_selector_set_property): Added
5056 (hildon_touch_selector_map): Removed as not required anymore
5057 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5058 only a concrete column, instead of iterate along all the columns
5060 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5065 * configure.ac: bump version
5066 * debian/changelog: updates
5068 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5070 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5071 compilation time warnings.
5073 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5076 the default value for HildonPannableArea::mov-mode to
5077 HILDON_PANNABLE_AREA_MODE_VERT.
5079 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5081 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5083 Reverting following commit:
5085 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-app-menu-private.h
5088 * src/hildon-app-menu.[ch]
5089 * src/hildon-button.[ch]
5090 * src/hildon-check-button.[ch]
5091 * src/hildon-entry.[ch]
5092 * src/hildon-pannable-area.[ch]
5093 * src/hildon-text-view.[ch]:
5094 Added private field to the object's structure.
5096 because it causes an ABI breakage. We will need to introduce these
5097 changes later at some point. See NB#91636 for an extensive
5098 explanation and status.
5100 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5102 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5104 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5105 remove special cases that are no longer necessary.
5107 Fixes: NB#91016 (Change toolbar sizes, simplification)
5109 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5112 is shown in the cancel note.
5114 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5117 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5118 (hildon_seekbar_init): Remove steppers, remove expose event.
5119 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5121 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5123 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5126 label font to "SmallSystemFont" for vertically arranged buttons.
5128 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5131 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-check-button.c
5134 (hildon_check_button_set_active, hildon_check_button_clicked):
5135 Don't access private parts directly, use getters instead.
5137 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-check-button.c (hildon_check_button_new):
5140 Align the contents of the check button to the left.
5142 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5144 * src/hildon-pannable-area.c,
5145 (hildon_pannable_area_scroll_to),
5146 (hildon_pannable_area_jump_to),
5147 (hildon_pannable_area_scroll_to_child),
5148 (hildon_pannable_area_jump_to_child): Replace the mapped
5149 precondition of these functions with the realized, it is the
5150 correct state of the widget in this case. Changed the
5151 documentation according to this modification.
5153 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5155 Added a new EXTRA_CFLAGS option to add the deprecated define to
5156 the compilation command. This way we can avoid using the define in
5157 the documentation compilation.
5159 * configure.ac: Defined EXTRA_CFLAGS.
5161 * examples/Makefile.am:
5163 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5165 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5167 * src/hildon-picker-dialog.c:
5168 Defined a utility macro with the desired touch selector height
5169 Removed currently unused separator, and title_label variables from
5171 (hildon_picker_dialog_init): Removed code related to the creation
5172 of unused private variables title_label and separator.
5173 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5174 to ensure correct visualization of the touch selector inside the dialog.
5175 * src/hildon-touch-selector.c
5176 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5177 ensure a concrete height of the widget.
5179 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5182 * tests/Makefile.am:
5184 Remove spurious whitespaces.
5186 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5188 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5189 compilation warning after the cancel button removal.
5191 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5193 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5195 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5196 Makefile.am, that way we can choose not to compile some examples
5197 and tests of the deprecated widgets.
5199 * examples/Makefile.am: Divided the sources in deprecated and
5202 * src/Makefile.am: Added undef statement of the deprecated
5203 symbol to the enums file generation process.
5205 * src/hildon-color-chooser-dialog.c
5206 * src/hildon-color-chooser-dialog.h
5207 * src/hildon-color-button.c
5208 * src/hildon-color-button.h
5209 * src/hildon-color-chooser.c
5210 * src/hildon-color-chooser.h
5211 * src/hildon-controlbar.c
5212 * src/hildon-controlbar.h
5213 * src/hildon-date-editor.c
5214 * src/hildon-date-editor.h
5215 * src/hildon-hvolumebar.c
5216 * src/hildon-hvolumebar.h
5217 * src/hildon-private.c
5218 * src/hildon-private.h
5219 * src/hildon-range-editor.c
5220 * src/hildon-range-editor.h
5221 * src/hildon-seekbar.c
5222 * src/hildon-seekbar.h
5223 * src/hildon-time-editor.c
5224 * src/hildon-time-editor.h
5225 * src/hildon-time-picker.c
5226 * src/hildon-time-picker.h
5227 * src/hildon-volumebar.c
5228 * src/hildon-volumebar.h
5229 * src/hildon-vvolumebar.c
5230 * src/hildon-vvolumebar.h
5231 * src/hildon-bread-crumb-trail.h
5232 * src/hildon-bread-crumb-trail.c
5233 * src/hildon-calendar-popup.c
5234 * src/hildon-calendar-popup.h
5235 * src/hildon-weekday-picker.c:
5236 * src/hildon-weekday-picker.h:
5237 * src/hildon-bread-crumb-widget.c:
5238 * src/hildon-bread-crumb-widget.h:
5239 * src/hildon-bread-crumb.c:
5240 * src/hildon-bread-crumb.h:
5241 * src/hildon-calendar.c:
5242 * src/hildon-calendar.h:
5243 * src/hildon-caption.c:
5244 * src/hildon-code-dialog.c:
5245 * src/hildon-code-dialog.h:
5246 * src/hildon-font-selection-dialog.c:
5247 * src/hildon-font-selection-dialog.h:
5248 * src/hildon-get-password-dialog.c:
5249 * src/hildon-get-password-dialog.h:
5250 * src/hildon-login-dialog.c:
5251 * src/hildon-login-dialog.h:
5252 * src/hildon-number-editor.c:
5253 * src/hildon-number-editor.h:
5254 * src/hildon-set-password-dialog.c:
5255 * src/hildon-set-password-dialog.h:
5256 * src/hildon-sort-dialog.c:
5257 * src/hildon-sort-dialog.h: This is the list of deprecated
5260 * src/hildon-touch-selector.c:
5261 * src/hildon-window.c: Added undef statement to avoid compilation
5264 * tests/Makefile.am: Divided the sources in deprecated and
5267 * tests/check_test.c,
5268 (configure_tests): Marked the deprecated code that was adding
5269 suites with deprecated tests.
5271 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5273 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5275 * src/hildon-touch-selector.c: (_default_print_func): Do not
5276 duplicate a string returned by gtk_tree_model_get(), it is already
5279 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5282 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5284 * src/hildon-pannable-area.c
5285 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5286 method, it had problems when adding a widget with viewport the
5287 second time. Now checks if it already has a viewport and uses it.
5289 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5292 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5294 * src/hildon-pannable-area.c,
5295 (hildon_pannable_area_scroll_to),
5296 (hildon_pannable_area_jump_to),
5297 (hildon_pannable_area_scroll_to_child),
5298 (hildon_pannable_area_jump_to_child): Added a precondition to the
5299 scroll and jump to functions: the widget must be mapped before we
5300 can safely call these functions. We have also added documentation
5301 to the functions to explain how to use them in this situation.
5304 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5306 Reviewed the threading handling of the pannable widget, we have
5307 used the gdk_threads_add_timeout function instead of the usual
5308 glib handlers. This avoids some problems with the threads.
5310 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5311 (hildon_pannable_area_initial_effect),
5312 (hildon_pannable_area_scroll_indicator_fade),
5313 (hildon_pannable_area_button_press_cb),
5314 (hildon_pannable_area_timeout),
5315 (hildon_pannable_area_motion_notify_cb),
5316 (hildon_pannable_area_button_release_cb),
5317 (hildon_pannable_area_scroll_cb),
5318 (hildon_pannable_area_scroll_to): Removed the
5319 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5320 gdk_threads_add_timeout.
5322 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5324 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5329 * configure.ac: bump version
5330 * debian/changelog: updates
5332 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5334 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5335 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5336 * src/hildon-color-chooser-dialog.c:
5337 (hildon_color_chooser_dialog_init):
5338 * src/hildon-font-selection-dialog.c:
5339 (hildon_font_selection_dialog_init):
5340 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5342 Remove all cancel/close-like dialogs, as these are not going to be
5345 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5347 * src/hildon-note.c: (hildon_note_rebuild),
5348 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5351 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5353 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5355 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5356 sure all buttons are shown, even the Cancel/Close-like ones.
5358 Fixes: NB#90861 (Custom Confirmation dialogs should be
5359 protected from cancel button removal)
5361 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5363 * debian/control: Change libhildon1-examples dependency from libhildon1
5365 * debian/libhildon1-examples.install
5367 * Makefile.am: Modified the final install directory for the examples on
5368 package libhildon1-examples
5369 * Makefile.static: Update clean target in order to remove all the binary
5372 Changes suggested by Claudio after review new libhildon1-examples package
5374 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5377 * src/hildon-touch-selector.c: Ditto.
5379 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5381 * debian/control: Added new package libhildon1-examples, in order to pack
5382 the current hildon examples as documentation
5383 * debian/rules: Not to compress .c files, modify some includes on the
5384 examples (as normally are compiled locally, but when installed it will
5385 require to include the installed libhildon1 library), and rename
5387 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5388 install all the example files on the new example package
5389 * examples/Makefile.static: Added static makefile that can be used to
5390 compile the examples, once installed the new example package
5391 * examples: Most of the examples were modified in order to grant that
5392 all use only '#include "hildon.h"', in order to be easy to prepare
5393 it on the example package
5395 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5398 * debian/libhildon1-dev.install
5399 * debian/libhildon1-doc.install:
5400 Move all gtk-doc files to a separate libhildon1-doc package.
5402 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5404 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5406 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5408 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5410 * debian/rules: Fixed a error in order to avoid unnecessary calls
5411 to autogen.sh on package building
5413 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5415 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5417 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5422 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5424 * src/hildon-picker-button.c
5425 (hildon_picker_button_finalize):
5426 Free priv->done_button_text
5428 * src/hildon-time-button.c
5429 (hildon_time_button_set_time)
5430 * src/hildon-picker-button.c
5431 (hildon_picker_button_clicked)
5432 (hildon_picker_button_selector_selection_changed)
5433 (hildon_picker_button_set_selector)
5434 * src/hildon-date-button.c
5435 (hildon_date_button_set_date):
5436 Free strings returned by hildon_touch_selector_get_current_text()
5438 * src/hildon-button.c (hildon_button_construct_child):
5439 Fix leaks in priv->image and priv->label_box
5441 Fixes: NB#90535 (Memory leak in picker button)
5443 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5445 * src/hildon-button.c: (hildon_button_get_property): Do not access
5446 private elements directly, use getters instead.
5448 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5450 * src/hildon-app-menu-private.h
5451 * src/hildon-app-menu.c
5452 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5453 Store the menu's parent window.
5455 * src/hildon-stackable-window.c
5456 (hildon_stackable_window_toggle_menu)
5457 (hildon_stackable_window_finalize):
5458 Set the menu's parent window when the menu is shown, unset it when
5461 * src/hildon-app-menu.c
5462 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5463 (hildon_app_menu_class_init):
5464 Send unhandled keyboard accelerators to the parent window.
5466 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-stackable-window.c
5469 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5471 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5473 * configure.ac: post release version bump
5475 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5478 * configure.ac: Bump version
5479 * debian/changelog: Updates
5480 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5483 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5485 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5488 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5489 GtkMenu with Hildon style.
5491 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5493 * src/hildon-picker-button.c:
5494 (hildon_picker_button_set_done_button_text): Set the dialog's
5495 done button text here as well.
5497 Fixes: NB#90232 (Picker button does not set the label on done button
5498 for the second time)
5500 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5502 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5505 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5507 * src/hildon-app-menu.c (hildon_app_menu_insert)
5508 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5509 the HildonAppMenu to be activatable using keyboard accelerators
5510 when the menu is not being shown.
5512 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5514 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-stackable-window.c
5517 (hildon_stackable_window_show):
5518 Don't hide old windows automatically when new windows are shown:
5519 this is now a task for the window manager.
5520 (hildon_stackable_window_class_init)
5521 (hildon_stackable_window_hide):
5522 Remove windows from the stack everytime they're hidden.
5523 (hildon_stackable_window_realize):
5524 Don't change the _NET_WM_WINDOW_TYPE property. Use
5525 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5526 it as a stackable window.
5528 * src/hildon-program.c
5529 (hildon_program_pop_window_stack):
5530 Just hide the window to remove it from the stack.
5531 (hildon_program_go_to_root_window):
5532 Don't call gtk_widget_show(), this is now a task for the window
5535 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5537 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5539 * src/hildon-button.c
5540 (hildon_button_construct_child):
5541 Don't pack anything in the button until text or image are
5542 set. This allows adding a custom child after creating the button
5543 with hildon_button_new().
5544 (hildon_button_finalize, hildon_button_class_init)
5545 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5546 alignment and the label box even when they're not packed in the
5549 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5551 * src/hildon-touch-selector.h:
5552 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5553 currently the type definition was using GTK_TYPE_VBOX
5554 * src/hildon-touch-selector.c:
5555 Added some implementation notes in order to clarify that any other widget
5556 added without the column related API will not be included on the
5557 selection logic, and how the widget is freed, as some people ask about
5559 (hildon_touch_selector_remove): Reimplemented in order to free properly
5560 the column related data when you remove the private hbox.
5561 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5562 to get a proper HildonTouchSelectorColumn documentation
5564 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5566 * src/hildon-touch-selector-entry.c:
5567 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5568 text in the GtkEntry and there is no item selected. Fixes a
5571 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-app-menu-private.h
5574 * src/hildon-app-menu.[ch]
5575 * src/hildon-button.[ch]
5576 * src/hildon-check-button.[ch]
5577 * src/hildon-entry.[ch]
5578 * src/hildon-pannable-area.[ch]
5579 * src/hildon-text-view.[ch]:
5580 Added private field to the object's structure.
5582 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5584 * configure.ac: post-release version bump
5586 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5590 * configure.ac: pre-release version bump
5592 * debian/changelog: updates.
5594 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5597 Disconnect the handler for HildonTouchSelector::changed.
5599 (hildon_picker_button_selector_selection_changed): Update the button
5600 value if the selection change was not triggered by the
5603 (hildon_picker_button_set_selector): connect to
5604 HildonTouchSelector::changed.
5606 Fixes: NB#89650 (Picker button is not updated, when selection in
5607 selector has changed)
5609 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5611 * src/hildon-picker-dialog.c
5612 (hildon_picker_dialog_realize): Removed as not required
5613 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5614 * src/hildon-picker-button.c
5615 (_current_selector_empty): New function, checks if the selector is empty
5616 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5617 if the current selector is empty, in order to avoid to show the dialog
5618 close the dialog in this case (and shows a g_warning).
5620 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5622 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5624 * src/hildon-pannable-area.c,
5625 (hildon_pannable_area_scroll): Added clause to stop movement when
5626 the child of pannable is smaller than one page.
5627 (hildon_pannable_area_scroll_to): Added conditions to avoid
5628 starting the scrolling movement if the child is smaller than one
5629 page, the complete child is in the screen, we do not have to move.
5631 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5633 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5635 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5636 this is managed automatically by the widget when the size of the
5639 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-picker-button.c
5642 (hildon_picker_button_set_done_button_text): Make a copy of the
5643 text, and free the previous value.
5645 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-touch-selector-entry.c:
5648 (hildon_touch_selector_entry_print_func): Return the selected row's
5649 text if the entry is empty.
5651 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5654 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5656 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5658 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-check-button.h
5662 * src/hildon-check-button.c
5663 * examples/hildon-check-button-example.c:
5664 HildonCheckButton is now a new widget. 'toggled' signal added.
5666 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-program-private.h
5669 * src/hildon-program.c (hildon_program_init)
5670 (hildon_program_finalize): Removed unused variables group_leader
5671 and name from HildonProgramPrivate.
5673 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-check-button.c (hildon_check_button_set_active)
5676 (hildon_check_button_get_active, hildon_check_button_new): Use
5677 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5679 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * src/hildon-touch-selector.h
5682 (hildon_touch_selector_set_column_attributes): added deprecation
5683 guard HILDON_DISABLE_DEPRECATED
5684 * src/hildon-time-selector.c
5685 (hildon_time_selector_set_time)
5686 (hildon_time_selector_get_time): Fixed a typo on documentation
5687 * src/hildon-touch-selector.c: update HildonTouchSelector and
5688 HildonTouchSelectorColumn documentation
5689 * src/hildon-touch-selector-entry.c: update "text-column" property
5691 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5692 to be added to the general documentation.
5694 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5696 * examples/hildon-pannable-area-example-4.c,
5698 * examples/hildon-pannable-area-example.c,
5699 (main): Modified the code in order to use the container add, with
5700 viewport treeviews could have problems if they are really big.
5702 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5704 * src/hildon-weekday-picker.c,
5705 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5706 the agreement regarding deprecation in the library.
5708 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5710 * examples/hildon-picker-button-multicolumn-example.c:
5711 (main): Use custom "done" button text.
5713 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5714 (hildon_picker_button_set_property),
5715 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5716 (hildon_picker_button_init),
5717 (+hildon_picker_button_get_done_button_text),
5718 (+hildon_picker_button_set_done_button_text): New methods to customize
5719 the "done" button label in the launched HildonPickerDialog. Also,
5722 * src/hildon-picker-button.h: add the public API.
5724 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/hildon-date-selector.h:
5727 * src/hildon-picker-dialog.h:
5728 * src/hildon-time-selector.h:
5729 * src/hildon-touch-selector-column.h:
5730 * src/hildon-touch-selector.h:
5732 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5733 declarations. Fixes gtk-doc warnings.
5735 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-picker-dialog.h
5738 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5739 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5741 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5742 long text is set as label for done button)
5744 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-dialog.c (hildon_dialog_add_button):
5747 Set fixed width to all buttons in the HildonDialog.
5749 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5751 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5753 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5754 Set widget name using class name plus "-finger" or "-thumb".
5756 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5758 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5759 'clicked' when the state of the button is manually changed.
5761 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5763 * src/hildon-app-menu.c (hildon_app_menu_realize)
5764 (hildon_app_menu_unrealize, hildon_app_menu_init)
5765 (hildon_app_menu_class_init, item_visibility_changed):
5766 Change the menu layout when the size of the screen changes.
5767 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5768 Show warning only when changing the number of colums using the
5771 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5773 * debian/compat: Set to 5
5774 * debian/control: Update dependencies.
5775 * debian/libhildon1-dbg.install: Remove.
5776 * debian/libhildon1-dev.install: Update according to cdbs paths.
5777 * debian/libhildon1.install: Update according to cdbs paths.
5778 * debian/rules: Switch to cdbs.
5780 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5782 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5783 'item' variable renamed to 'filter'
5785 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-app-menu.c (hildon_app_menu_insert)
5788 (hildon_app_menu_add_filter, remove_item_from_list)
5789 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5790 Don't leak hidden items when the menu is destroyed.
5792 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5794 * src/hildon-app-menu.c (hildon_app_menu_insert)
5795 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5796 (hildon_app_menu_set_columns, item_visibility_changed)
5797 (filter_visibility_changed, hildon_app_menu_repack_filters)
5798 (hildon_app_menu_repack_items):
5799 Repack items and filters separately.
5801 Don't repack all items, change only the ones that are needed to
5804 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5806 * src/Makefile.am: added hildon-touch-selector-column.h
5808 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * src/hildon-touch-selector.c: added the property "text-column" to the
5811 class HildonTouchSelectorColumn, and related get/set functions
5812 (_default_printf_func): updated to use "text-column" property
5813 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5814 "text-column" in his documentation, as this is now included on
5815 HildonTouchSelectorColumn. The get/set_property can still be used,
5816 working as a wrapper to the concrete column "text-column" property
5817 (_text_column_modified): callback added in order to handle the signal
5818 "notify::text-column" of the concrete HildonTouchSelectorColumn
5819 (hildon_touch_selector_entry_get_text_column)
5820 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5821 modified in order to use the HildonTouchSelectorColumn "text-column"
5823 * src/hildon-time-selector.c:
5824 * src/hildon-date-selector.c:
5825 * examples/hildon-touch-selector-example.c
5826 * examples/hildon-touch-selector-multi-cells-example.c
5827 * examples/hildon-picker-button-multicolumn-example.c
5828 Set the right value to "text-column" property on the creation of a new
5829 column using hildon_touch_selector_append_column()
5831 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5833 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5835 * src/hildon-app-menu.c
5836 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5837 updating the layout of the menu, don't create all widgets again,
5838 just repack the items in their new places.
5840 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5842 * src/hildon-time-selector.c
5843 (hildon_time_selector_get_time)
5844 (hildon_time_selector_set_time)
5845 Added documentation of these public methods
5847 * src/hildon-date-button.h
5848 * src/hildon-touch-selector-column.h
5849 * src/hildon-time-button.h
5850 * src/hildon-picker-dialog.h
5851 * src/hildon-time-selector.h
5852 * src/hildon-picker-button.h
5853 * src/hildon-touch-selector.h
5854 * src/hildon-time-picker.h
5855 * src/hildon-date-selector.h
5856 * src/hildon-touch-selector-entry.h
5857 Modified in order to use hildon-widgets code style
5859 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5861 Added deprecated support to the compilation process using
5862 HILDON_DISABLE_DEPRECATED
5864 * configure.ac: Added the --disable-deprecated to the configure
5867 * src/hildon-weekday-picker.c:
5868 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5869 to use the deprecated support. We will update the other deprecated
5870 widgets status in a new patch.
5872 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5874 * configure.ac: Fixed typo with fatal warnings support, the
5875 variable name was not correct
5877 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c
5880 * src/hildon-program.c: Update documentation.
5882 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5884 * configure.ac: Post-release version bump.
5886 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5891 * configure.ac: Pre-release version bump.
5892 * debian/changelog: Updates.
5894 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5896 * NEWS: Update news for previous releases.
5898 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5900 * examples/hildon-touch-selector-multi-cells-example.c:
5901 (create_selector): Update the example to use
5902 hildon_touch_selector_append_column() with a NULL renderer and set
5903 the renderers later.
5904 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5905 passed a NULL renderer. This is documented behavior now.
5907 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5908 This must be used if the developer wants full control on the layout of
5909 the renderers to be added to the column.
5911 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5913 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/hildon-touch-selector.c: Documentation fixes.
5917 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5919 * src/hildon-wizard-dialog-private.h: Remove image and box.
5920 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5921 (hildon_wizard_dialog_set_property), (response): Completely remove
5922 image/icon support, and the containers required for the layout.
5924 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5926 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-app-menu.c: Updated documentation.
5930 * src/hildon-stackable-window.c
5931 (hildon_stackable_window_set_main_menu): Unref the old menu after
5932 ref'ing the new one.
5934 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-stackable-window.c
5937 (hildon_stackable_window_set_main_menu): Unref the previous menu
5938 instead of destroying it.
5940 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5941 floating reference and set has_user_ref_count to FALSE to make
5942 HildonAppMenu act like a normal ref-counted widget and not a
5945 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5948 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5950 * src/hildon-touch-selector-column.h: new file
5951 * src/hildon-touch-selector.h
5952 * src/hildon-touch-selector.c
5953 Implemented GtkCellLayout interface, in order to allow to configure
5954 the cell layout on each individual selector column
5955 (hildon_touch_selector_set_column_attributes): marked as deprecated
5956 * examples/hildon-touch-selector-multi-cells-example.c
5957 Example of how to use the GtkCellLayout interface on the selector
5959 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5961 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-app-menu.h
5964 * src/hildon-app-menu.c
5965 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5966 (hildon_app_menu_append, hildon_app_menu_prepend):
5967 New methods to prepend, insert and move items in the menu.
5969 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-wizard-dialog.c:
5973 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5975 (create_title): Update logical IDs and related code.
5976 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5978 * src/hildon-wizard-dialog.h: Note that
5979 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5980 point, as it is not used anymore.
5982 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5984 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5986 * src/hildon-note.c:
5987 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5988 shown. Do not display an icon in confirmation notes nor information
5990 (hildon_note_set_button_text): Update logical ID for cancel button.
5992 Fixes: NB#88850 (Update HildonNote button strings + signals)
5994 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-stackable-window.c
5997 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5999 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6001 * src/hildon-app-menu-private.h
6002 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6003 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6004 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6005 temporary property 'columns' to change the number of columns.
6007 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6009 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6011 * examples/hildon-note-example.c: (on_information_clicked),
6012 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6013 debugging information.
6014 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6016 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6017 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6018 in order to close: this will be handled by the WM from now on.
6020 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6022 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-app-menu-private.h
6025 * src/hildon-app-menu.c
6026 (hildon_app_menu_append, hildon_app_menu_add_filter)
6027 (button_visibility_changed, hildon_app_menu_apply_style)
6028 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6029 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6030 layout everytime a button (item or filter) is shown or hidden.
6032 * src/hildon-stackable-window.c
6033 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6036 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6038 * src/hildon-touch-selector.c:
6039 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6040 that the treeview inside the touch selector is in fremantle hildon mode
6041 * examples/hildon-date-button-example.c
6042 * examples/hildon-picker-button-multicolumn-example.c
6043 * examples/hildon-touch-selector-entry-example.c
6044 * examples/hildon-touch-selector-example.c
6045 * examples/hildon-time-button-example.c
6046 * examples/hildon-picker-button-example.c:
6047 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6049 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6051 * examples/hildon-text-view-example.c: (main): Remove the
6052 gtkrc bits, now handled by the theme.
6054 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6059 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6061 * po/Makefile.am: Install properly the mo files.
6062 * po/en_GB.po: Update translation, to ease testing purposes.
6064 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6066 * examples/hildon-picker-button-example.c: (main): Select an item
6067 in the selector before setting it to the button.
6069 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6071 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6072 Update button's value if the selector has an item active.
6074 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6075 'value' with the selector)
6077 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6079 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6080 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6081 (hildon_picker_button_class_init): Plug the finalize method.
6082 (hildon_picker_button_set_selector): If there's a previously set
6083 selector, unref'it before setting a new one.
6085 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6086 HildonTouchSelector)
6088 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6090 * src/hildon-touch-selector-entry.c:
6091 (hildon_touch_selector_entry_changed): Check if there is no text
6092 selected before setting the entry text.
6095 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6097 * src/hildon-touch-selector.h
6098 * src/hildon-touch-selector.c
6099 (hildon_touch_selector_get_active)
6100 (hildon_touch_selector_set_active): New methods to set/get the
6101 index of the selected item.
6103 * src/hildon-picker-button.h
6104 * src/hildon-picker-button.c
6105 (hildon_picker_button_get_active)
6106 (hildon_picker_button_set_active): New methods to set/get the
6107 index of the selected item.
6109 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6111 * configure.ac: post-release version bump.
6113 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6117 * configure.ac: Pre-release version bump.
6118 * debian/changelog: Updates.
6119 * debian/control: Add myself as maintainer and depend on l10n
6122 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-window.c
6125 (hildon_window_set_main_menu)
6126 * src/hildon-stackable-window.c
6127 (hildon_stackable_window_set_main_menu):
6128 Updated documentation.
6130 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6132 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6133 Don't free selector->priv manually.
6136 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6139 (hildon_gtk_window_set_progress_indicator):
6140 * src/hildon-gtk.h: Added the new API
6141 hildon_gtk_window_set_progress_indicator, it changes the state of
6142 the window progress hint.
6144 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-button.c
6147 * src/hildon-stackable-window.c: Minor documentation updates.
6149 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6151 * src/hildon-stackable-window.c: Updated documentation.
6153 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6155 * src/hildon-defines.h: Update margins definitions
6156 to the Fremantle sizes.
6159 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6161 * src/hildon-touch-selector.c,
6162 (_hildon_touch_selector_set_model): Cleaning the code after
6163 review, removed g_print and #if 0 from the code.
6165 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6167 * src/hildon-edit-toolbar.c: Update documentation.
6169 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6171 * src/hildon-check-button.h
6172 * src/hildon-check-button.c
6173 (hildon_check_button_set_label, hildon_check_button_get_label)
6174 * examples/hildon-check-button-example.c
6175 (button_clicked_cb):
6176 Removed deprecated methods.
6178 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-text-view.c:
6181 Add sample code to the documentation.
6183 * src/hildon-entry.h
6184 * src/hildon-text-view.h:
6185 Minor cosmetic changes.
6187 * src/hildon-entry.c:
6188 Add sample code to the documentation.
6189 (hildon_entry_init, hildon_entry_refresh_contents):
6190 Don't allow NULL values in the placeholder.
6192 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6194 * doc/hildon-docs.sgml
6196 * examples/Makefile.am
6197 * examples/hildon-text-view-example.c
6199 * src/hildon-text-view.c
6200 * src/hildon-text-view.h
6202 New HildonTextView widget, with example.
6204 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6206 * po/POTFILES.in: Add missing files with translatable strings.
6207 Partially fixes NB#88287.
6209 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6211 * examples/hildon-pannable-area-example-2.c: (main): No need to
6212 set the cellrenderer height inside hildon touch lists, the theme does
6215 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6217 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6218 they are integrated in the theme.
6220 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6222 * examples/hildon-entry-example.c: Update the example adding
6223 widgets to modify the text and the placeholder of the HildonEntry.
6225 * src/hildon-entry.c: Show the placeholder everytime the widget
6226 is empty and loses the focus.
6228 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6230 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6232 * src/hildon-pannable-area.c,
6233 (hildon_pannable_area_size_request): Fixed bug in height
6234 requisition, avoid increasing size and add border twice.
6236 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6238 * configure.ac: postrelease version bump.
6240 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6244 * configure.ac: Prerelease version bump.
6245 * debian/changelog: update.
6246 * debian/rules: make -dbg package contain useful debugging symbols.
6248 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-dialog.h
6251 * src/hildon-dialog.c
6252 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6253 New methods to add buttons with finger size.
6254 (hildon_dialog_new_with_buttons):
6255 Create buttons with finger size.
6257 * examples/hildon-dialog-example.c (main): Use HildonDialog
6258 methods to add buttons.
6260 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-entry.c: Updated HildonButton documentation.
6264 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6267 button value label with (FALSE, FALSE) to prevent NB#88126 from
6270 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6272 * examples/hildon-pannable-area-example.c,
6273 (main): Removed examples panning a vbox inside a pannable
6274 area. Check bug NB#87965
6276 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6278 Patch contributed by Kris Rietveld (kris@imendio.com)
6280 * src/hildon-pannable-area.c,
6281 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6282 get_size and get_position, this saves an X server roundtrip.
6284 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6286 * doc/hildon-docs.sgml
6288 * examples/Makefile.am
6289 * examples/hildon-entry-example.c
6291 * src/hildon-entry.c
6292 * src/hildon-entry.h
6294 New HildonEntry widget, with example.
6296 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6298 * src/hildon-button.c (hildon_button_construct_child): Pack the
6299 image with expand == fill == FALSE. This is a workaround for a bug
6302 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6304 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6305 labels for the text column, to make it more look more dynamic.
6307 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6309 * src/hildon-time-selector.c
6310 Define gettext auxiliar macro N_
6311 (_create_minutes_model)
6312 (_create_hours_model)
6313 (_create_ampm_model): use of strftime in order to fill the model
6314 * src/hildon-date-selector.c
6315 (hildon_date_selector_finalize):
6316 (_locales_init): remove the logic related to get the name of the months
6317 using nl_langinfo, as it is not required anymore
6319 (_create_year_model)
6320 (_create_month_model)
6321 (_update_day_model): use of strftime in order to fill the model properly
6324 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-button.h
6327 * src/hildon-button.c (hildon_button_get_image): New method to
6330 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6332 * src/hildon-touch-selector.c:
6333 (hildon_touch_selector_remove_column): Remove from the correct parent
6334 and also remove the list element and free it.
6337 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6339 * src/hildon-time-selector.c
6340 (_create_hours_model): change the range on 12h ampm format in order to use
6341 a 12-11 range instead of previous 01-12 range
6342 (hildon_time_selector_set_time): change the way to select the current time
6343 on 12h ampm format, due the change on the range
6344 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6347 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6349 * src/hildon-touch-selector.c
6350 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6351 in order to allow use this function on multiple row selection mode if
6352 the column is different that the first one
6355 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6357 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6358 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6360 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6362 * src/hildon-date-selector.h: clean some comments, now on the .c
6363 * src/hildon-date-selector.c
6364 (hildon_date_selector_select_month): first implementation
6365 (hildon_date_selector_select_day): added documentation, reimplemented
6366 using hildon_date_selector_select_current_date to avoid repeat code
6369 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6371 Reviewed interaction logic based on device experiences, refactored
6374 * src/hildon-pannable-area.c,
6375 (hildon_pannable_area_class_init): Updated default vmax speed.
6376 (hildon_pannable_area_calculate_velocity): Added this function, it
6377 avoids duplicate valocity calculation. Adjusted calculation to
6378 avoid problems with zero dist events.
6380 (hildon_pannable_area_motion_notify_cb): Now we use the
6381 calculate_velocity function.
6383 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6385 * src/hildon-date-selector.c
6386 (hildon_date_selector_select_current_date): fix the day range check
6387 as it failed using the last day of the current month
6390 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6392 * src/hildon-touch-selector.c
6393 (hildon_touch_selector_get_num_columns): added a parameter validation
6396 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6398 * examples/Makefile.am
6399 * examples/hildon-edit-toolbar-example.c: Example of the
6400 HildonEditToolbar widget.
6402 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6404 * configure.ac: postrelease version bump.
6406 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6410 * configure.ac: prerelease version bump.
6411 * debian/changelog: update.
6413 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6415 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6416 renderer to display stock icons in the touch list. Also, set the sizes
6417 to the recommended in the style guide.
6419 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6420 * src/hildon-touch-selector.h
6421 (hildon_touch_selector_set_active_iter): renamed, now is
6422 hildon_touch_selector_select_iter
6423 (hildon_touch_selector_get_active_iter): renamed, now is
6424 hildon_touch_selector_get_selected
6425 (hildon_touch_selector_unselect_iter): added
6426 * src/hildon-touch-selector.c
6427 Update after API modification (methods renamed)
6428 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6429 order to avoid problems selecting multiple elements on the column
6430 (hildon_touch_selector_unselect_iter): added the implementation
6431 * src/hildon-time-selector.c
6432 * src/hildon-date-selector.c
6433 * src/hildon-touch-selector-entry.c
6434 Update methods calls after hildon-touch-selector.h API modification (methods
6437 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-stackable-window.c
6440 (hildon_stackable_window_finalize): Call the parent class's finalize.
6442 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6444 * examples/hildon-touch-selector-example.c: (create_selector): Use
6445 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6448 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6450 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6451 set a cell background color, to respect theming.
6453 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6455 * doc/hildon-docs.sgml
6458 * src/hildon-edit-toolbar.c
6459 * src/hildon-edit-toolbar.h
6460 * src/hildon.h: New HildonEditToolbar widget.
6462 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6464 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6467 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6468 * src/hildon-touch-selector.c
6469 (_create_new_column): use g_object_set instead of two g_object_set_property
6471 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6472 * src/hildon-touch-selector.c
6473 (_create_new_column): use of hildon_gtk_tree_view_new to create
6474 the treeview, instead of use directly g_object_new
6475 (_create_new_column): update the property name "vindicator-mode" for the
6476 new one "vscrollbar-policy"
6477 * examples/hildon-date-button-example.c
6478 * examples/hildon-picker-button-multicolumn-example.c
6479 * examples/hildon-touch-selector-entry-example.c
6480 * examples/hildon-touch-selector-example.c
6481 * examples/hildon-time-button-example.c
6482 * examples/hildon-picker-button-example.c
6483 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6484 to all the treeviews inside a pannable area.
6486 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-button.h
6489 * src/hildon-button.c (hildon_button_init)
6490 (hildon_button_set_arrangement, hildon_button_set_alignment)
6491 (hildon_button_set_title_alignment)
6492 (hildon_button_set_value_alignment)
6493 (hildon_button_set_image_alignment)
6494 (hildon_button_construct_child): New methods to set the alignment
6495 of the individual components of the button (title, value,
6496 image). Also, new method to alter the xscale and yscale properties
6497 of the GtkAlignment inside the button, so more complex layouts can
6500 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6502 * src/hildon-button.c (hildon_button_style_set)
6503 (hildon_button_class_init, hildon_button_set_arrangement)
6504 (hildon_button_construct_child): Apply style properties
6505 correctly. Use the 'image-spacing' style property too.
6507 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6509 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6510 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6513 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6515 * src/hildon-pannable-area.c,
6516 (hildon_pannable_area_size_request): Fixed problem with
6517 pannable-area size_request.
6519 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6521 Added management for the grab-focus to a child widget, like a
6522 range, we need to fade out the scrollbar when releasing.
6524 * src/hildon-pannable-area.c,
6525 (hildon_pannable_area_init): Connected the grab-focus signal to
6527 (hildon_pannable_area_grab_notify): Added this function in order
6528 to manage the situation when the grab-focus ends. We have to
6529 fade-out the scrollbar.
6531 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6533 * src/hildon-app-menu.c: Minor documentation update.
6535 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-app-menu.c
6538 * examples/hildon-app-menu-example.c (create_menu): Update
6539 examples and documentation to explain how to connect callbacks.
6541 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6543 * examples/hildon-button-example.c
6544 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6545 hildon_stackable_window_new instead of gtk_window_new
6547 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6550 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6551 (hildon_pannable_area_set_property),
6552 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6553 (hildon_pannable_area_unrealize),
6554 (hildon_pannable_area_size_request),
6555 (hildon_pannable_area_size_allocate),
6556 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6557 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6558 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6559 (hildon_pannable_area_initial_effect),
6560 (hildon_pannable_area_redraw),
6561 (hildon_pannable_area_scroll_indicator_fade),
6562 (hildon_pannable_area_expose_event),
6563 (hildon_pannable_area_get_topmost), (synth_crossing),
6564 (hildon_pannable_area_button_press_cb),
6565 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6566 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6567 (hildon_pannable_area_motion_notify_cb),
6568 (hildon_pannable_area_button_release_cb),
6569 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6570 (hildon_pannable_area_remove),
6571 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6572 chage the code layout to a more GtkWidget like. Review the use of
6575 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6577 * examples/hildon-pannable-area-example-4.c,
6578 (main): Modified the name of the hindicator_mode to
6581 * src/hildon-pannable-area.c,
6582 (hildon_pannable_area_class_init),
6583 (hildon_pannable_area_motion_notify_cb),
6584 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6585 we have reduced the amount of signals and managed reviewed its
6586 rationale. Changed the default decelerate value.
6588 (hildon_pannable_area_add),
6589 (hildon_pannable_area_redraw): Refactored functions.
6591 (hildon_pannable_area_init),
6592 (hildon_pannable_area_get_property),
6593 (hildon_pannable_area_set_property):
6594 (hildon_pannable_draw_vscroll),
6595 (hildon_pannable_draw_hscroll),
6596 (hildon_pannable_area_initial_effect),
6597 (hildon_pannable_area_expose_event),
6598 (hildon_pannable_area_scroll),
6599 (hildon_pannable_area_button_press_cb),
6600 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6601 and vindicator_mode with hscrollbar_policy and
6602 vscrollbar_policy. Replaced hscroll and vscroll with
6603 hscroll_visible and vscroll_visible.
6605 (hildon_pannable_area_refresh): Refactor the function, remove
6606 variables and check the calls to this function, added resize
6607 conditions in case the children change their layout.
6609 (hildon_pannable_area_size_request): Added more detailed
6610 size_request calculation.
6613 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6615 * src/hildon-color-chooser.c
6616 (init_borders): use the correct gtk_border_free instead of g_free, to
6617 avoid a crash when this widget is used (ie: the three color selection
6620 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6622 * src/hildon-check-button.c,
6623 (hildon_check_button_set_active): Fixed problem when setting the
6624 active value, the widget was not redrawn.
6626 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6628 * src/hildon-pannable-area.c,
6629 (hildon_pannable_area_refresh),
6630 (hildon_pannable_area_scroll),
6631 (hildon_pannable_area_motion_notify_cb): Small code style change.
6633 (hildon_pannable_area_class_init): Default initial_hint set to
6634 FALSE, it is not in the specs.
6636 (hildon_pannable_area_initial_effect),
6637 (hildon_pannable_area_expose_event),
6638 (hildon_pannable_area_map),
6639 (hildon_pannable_area_init): Moved the launching point of the
6640 initial effect, it was in map but the sizes where not correct in
6641 that method so we do not know if we have the reproduce it. Now it
6642 is placed in the expose_event method and uses a variable to
6643 reproduce it just once.
6645 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6647 * src/hildon-pannable-area.c,
6648 (hildon_pannable_draw_vscroll),
6649 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6650 position allowed for the scrollbars.
6652 (hildon_pannable_area_size_allocate): Small style change.
6654 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6656 * src/hildon-pannable-area.c,
6657 (hildon_pannable_area_scroll_indicator_fade),
6658 (hildon_pannable_area_button_press_cb),
6659 (hildon_pannable_area_button_release_cb),
6660 (hildon_pannable_area_scroll_cb),
6661 (hildon_pannable_area_expose_event),
6662 (hildon_pannable_area_init): Added the define parameter
6663 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6664 and refactor the fade variable.
6666 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6668 * src/hildon-pannable-area.c,
6669 (hildon_pannable_area_redraw),
6670 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6671 lines, we were reimplemeting the redraw code.
6673 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6675 * src/hildon-pannable-area.c,
6676 (hildon_pannable_area_scroll_cb),
6677 (hildon_pannable_area_realize),
6678 (hildon_pannable_area_class_init): Added scroll_event management
6679 for pannable area, now we can scroll the usual desktop method.
6681 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6682 initialization of the parameters should depend on idle_id.
6684 (hildon_pannable_area_init),
6685 (hildon_pannable_area_map): Small code style modifications
6687 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6689 * src/hildon-pannable-area.c
6690 (hildon_pannable_area_button_press_cb),
6691 (hildon_pannable_area_motion_notify_cb),
6692 (hildon_pannable_area_button_release_cb),
6693 (hildon_pannable_area_size_allocate),
6694 (hildon_pannable_area_scroll_to): Improved the timeouts
6695 management, we avoid creating them each time.
6697 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6699 * src/hildon-pannable-area.c:
6700 (hildon_pannable_area_refresh),
6701 (hildon_pannable_area_motion_notify_cb),
6702 (hildon_pannable_area_class_init):
6703 * src/hildon-pannable-area.h:
6704 * src/hildon-touch-selector.c
6705 (_create_new_column):
6706 * examples/hildon-pannable-area-example-4.c:
6707 (horizontal_movement),
6708 (vertical_movement),
6710 Replaced the names of enums in the HildonPannableArea:
6711 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6712 HILDON_MOVEMENT_MODE_*
6713 - HILDON_PANNABLE_AREA_MOV_* ->
6715 - Removed HildonPannableAreaIndicatorMode, now we
6718 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6720 * examples/hildon-pannable-area-touch-grid-example.c
6721 * examples/hildon-pannable-area-touch-list-example.c: Fix
6722 compilation warnings.
6724 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6726 * src/hildon-gtk.c (hildon_gtk_button_new)
6727 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6728 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6729 images overriding the value of the "gtk-button-images" setting.
6731 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6733 * src/hildon-check-button.c (hildon_check_button_new):
6734 Instead of using a custom container, display the label and the
6735 checkbox using the standard GtkButton API.
6737 * examples/hildon-check-button-example.c (main): Don't use
6738 hildon_check_button_set_label() anymore
6740 * src/hildon-check-button.h
6741 * src/hildon-check-button.c
6742 (hildon_check_button_set_label, hildon_check_button_get_label):
6743 Set as deprecated, now we're using gtk_button_{get,set}_label()
6745 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-pannable-area.c,
6748 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6749 GtkTreeview first line we detected it after the inclusion of the
6750 GtkWindowImpl in gtk+. We now check if the window is visible, not
6751 just if the pointer is over the window.
6752 (hildon_pannable_axis_scroll),
6753 (hildon_pannable_area_expose_event): Small style changes.
6755 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6757 * src/hildon-button.c: Update documentation.
6759 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6761 * examples/hildon-button-example.c: Add a switch to show images in
6764 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6766 * doc/hildon-docs.sgml: Some docs reorganization.
6768 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6770 * examples/hildon-pannable-area-touch-list-example.c
6772 * examples/hildon-pannable-area-touch-grid-example.c
6773 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6774 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6775 Fix memory leak when setting the tree model.
6777 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6781 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6783 * doc/hildon.types: Remove duplicated hildon_window_get_type
6784 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6785 documentation comment.
6787 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6789 * doc/Makefile.am: Complete list of private headers.
6791 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6793 * doc/hildon-docs.sgml
6794 * src/hildon-app-menu.c
6795 * src/hildon-bread-crumb.c
6796 * src/hildon-button.c
6798 * src/hildon-program.c
6799 * src/hildon-stackable-window.c
6800 * src/hildon-window.c: Lots of documentation updates.
6802 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6804 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6806 * configure.ac: Require Gtk+ 2.12.9 at least
6808 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6810 * src/hildon-pannable-area.c
6811 (hildon_pannable_area_scroll_indicator_fade),
6812 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6813 to protect the return of this timeout callbacks, avoiding deadlocks.
6815 2008-08-12 Christian Dywan <christian@imendio.com>
6818 * src/hildon-*.h: Ensure a consistent include order,
6819 include <gtk/gtk.h> instead of particular files and
6820 only include the topmost header in the gtk stack. See NB #39857
6822 2008-08-12 Christian Dywan <christian@imendio.com>
6824 * src/hildon-picker-dialog.c
6825 * src/hildon-touch-selector.c: Fix warnings about unused and
6826 uninitialized variables.
6828 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6830 * examples/Makefile.am
6831 * examples/hildon-check-button-example.c: Example of the hildon
6834 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6836 * src/hildon-window.h
6837 * src/hildon-window.c (hildon_window_class_init)
6838 (hildon_window_unset_program): Don't make
6839 hildon_window_unset_program a virtual function anymore.
6841 * src/hildon-stackable-window.c: Update documentation
6843 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6846 * doc/hildon-docs.sgml
6847 * doc/visual_index.xml
6848 * src/hildon-defines.c
6850 * src/hildon-helper.c
6851 * src/hildon-range-editor.c: Lots of documentation fixes.
6853 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6855 * examples/hildon-picker-button-multicolumn-example.c
6856 (create_touch_selector): Fix compilation warning.
6858 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6860 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6861 (hildon_pannable_area_button_release_cb)
6862 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6864 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6866 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6869 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6871 * src/hildon-bread-crumb-trail.h
6872 * src/hildon-date-editor.c
6873 * src/hildon-date-selector.c
6874 * src/hildon-pannable-area.c
6875 * src/hildon-picker-dialog.c
6876 * src/hildon-time-selector.c
6877 * src/hildon-touch-selector-entry.c
6878 * src/hildon-touch-selector.c
6879 * src/hildon-touch-selector.h: Misc documentation fixes
6881 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6883 * examples/hildon-date-editor-example.c (main): Updated date
6886 * examples/hildon-note-example.c (on_confirmation_clicked):
6887 Updated confirmation note example.
6889 * src/hildon-date-editor.c
6890 * src/hildon-note.c: Updated sample programs in documentation.
6893 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6895 * src/hildon-date-button.h:
6896 * src/hildon-picker-button.h:
6897 * src/hildon-time-button.c:
6898 * src/hildon-time-button.h:
6900 Some declarations changes to allow gtk-doc to document the widgets
6903 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6905 * src/hildon-date-button.c: Document the widget.
6906 * src/hildon-time-button.c: Document the widget.
6908 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6910 * src/hildon-picker-button.c: Document the widget.
6911 * src/hildon-touch-selector-entry.c: Document the widget.
6913 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6915 * doc/hildon-docs.sgml
6918 * src/hildon-check-button.h
6919 * src/hildon-check-button.c: New functions to create the Hildon
6923 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6925 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6927 * src/hildon-button.h
6928 * src/hildon-button.c
6929 (hildon_button_add_title_size_group)
6930 (hildon_button_add_value_size_group)
6931 (hildon_button_add_image_size_group)
6932 (hildon_button_add_size_groups): New functions to set size groups
6933 for the button labels and image.
6934 (hildon_button_new_full): Removed
6936 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6938 * src/hildon-time-selector.c
6939 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6940 in order to avoid a crash if gconf is not available
6942 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6944 * src/hildon-button.c (hildon_button_set_arrangement)
6945 (hildon_button_construct_child): Don't construct the button child
6946 before setting the arrangement.
6948 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6950 * src/hildon-program-private.h
6951 * src/hildon-program.c
6952 * src/hildon-program.h
6953 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6954 (hildon_program_peek_window_stack)
6955 (hildon_program_pop_window_stack)
6956 (hildon_program_go_to_root_window): HildonProgram now has a
6957 separate list for stackable windows. Functions are provided to
6958 manage that list with a stack-like API.
6960 * src/hildon-stackable-window.c: Stackable window management is
6961 now much simpler with the new HildonProgram API. Windows no
6962 longer need to be manually added to the program, they're
6963 automatically pushed to the top of the stack when shown.
6965 * examples/hildon-stackable-window-example.c: Updated example to
6966 reflect the API changes.
6968 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6970 * src/hildon-touch-selector.c: Comment out unimplemented
6971 hildon_touch_selector_insert_column() to avoid a compile warning.
6973 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6975 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6976 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6977 (hildon_touch_selector_set_column_selection_mode),
6978 (_hildon_touch_selector_set_model),
6979 (hildon_touch_selector_set_model):
6981 Complete review of HildonTouchSelector documentation.
6983 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6985 * doc/hildon-docs.sgml
6989 * src/hildon-gtk.c: Convenience functions for standard Gtk
6990 widgets, used to easily perform frequent operations.
6992 * src/hildon-button-helpers.h
6993 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6995 * src/hildon-helper.h
6996 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6997 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6999 * src/hildon-button.h
7000 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7002 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7004 * src/hildon-button.c (hildon_button_init)
7005 (hildon_button_set_arrangement, hildon_button_construct_child):
7006 Pack the image and the labels inside the same GtkAlignment so
7007 gtk_button_set_alignment() can be used
7009 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7011 * src/hildon-button.h
7012 * src/hildon-button.c
7013 (hildon_button_init, hildon_button_set_image)
7014 (hildon_button_set_image_position)
7015 (hildon_button_construct_child): New functions to add an image to
7018 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-date-button.c
7021 * src/hildon-picker-button.c
7022 * src/hildon-time-button.c
7023 * src/hildon-button.c:
7024 (hildon_button_class_init): "size-flags" renamed to "size"
7025 (hildon_button_set_title): Hide the title label if set to NULL.
7027 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7029 HildonButtonFlags split into HildonButtonArrangement (to set the
7030 button layout) and HildonSizeType (which can be used for any
7033 * src/hildon-button.h
7034 * src/hildon-button.c
7035 (hildon_button_class_init)
7036 (hildon_button_set_arrangement)
7037 (hildon_button_set_property): New "size-flags"
7038 property. "arrangement-flags" renamed to "arrangement".
7039 (hildon_button_new, hildon_button_new_with_text)
7040 (hildon_button_new_full): Constructors updated to reflect type changes.
7042 * src/hildon-helper.h
7043 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7044 to set the size of a widget.
7048 * src/hildon-button-helpers.c
7049 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7051 * src/hildon-date-button.c
7052 * src/hildon-date-button.h
7053 * src/hildon-picker-button.c
7054 * src/hildon-picker-button.h
7055 * src/hildon-time-button.c
7056 * src/hildon-time-button.h: Updated widgets to reflect
7057 HildonButton API changes.
7059 * examples/hildon-button-example.c
7060 * examples/hildon-date-button-example.c
7061 * examples/hildon-picker-button-example.c
7062 * examples/hildon-picker-button-multicolumn-example.c
7063 * examples/hildon-time-button-example.c
7064 * examples/hildon-touch-selector-entry-example.c
7065 * examples/hildon-touch-selector-example.c: Updated examples to
7066 reflect HildonButton API changes.
7068 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7070 * doc/hildon-docs.sgml:
7072 * examples/Makefile.am:
7073 * examples/hildon-touch-selector-entry-example.c:
7075 * src/hildon-touch-selector-entry.c:
7076 * src/hildon-touch-selector-entry.h:
7079 Moved HildonTouchSelectorEntry from sandbox. Added its
7080 documentation and examples.
7082 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7084 * src/hildon-touch-selector.h:
7085 * examples/hildon-picker-button-multicolumn-example.c:
7086 (hildon_touch_selector_append_text_column): Add a gboolean
7087 parameter to determine if text must be centered in the column.
7089 * src/hildon-date-selector.c: (hildon_date_selector_init):
7090 * src/hildon-time-selector.c: (hildon_time_selector_init):
7091 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7092 (create_touch_selector): Update widgets and example to reflect
7095 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7097 * src/hildon-touch-selector.c:
7098 (hildon_touch_selector_set_active_iter): Set also the cursor in
7101 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7103 * doc/hildon-docs.sgml
7106 * src/hildon-toggle-button.c
7107 * src/hildon-toggle-button.h
7108 * src/hildon.h: Removed HildonToggleButton widget, a derived
7109 class is not necessary for this.
7111 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7113 * src/hildon-pannable-area.c,
7114 (hildon_pannable_area_realize),
7115 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7118 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7120 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7121 "done" button the default widget for the dialog.
7123 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7125 * src/hildon-touch-selector.c:
7126 (hildon_touch_selector_class_init),
7127 (hildon_touch_selector_get_property),
7128 (_hildon_touch_selector_set_model),
7129 (_hildon_touch_selector_has_multiple_selection),
7130 (hildon_touch_selector_has_multiple_selection):
7131 Add a "has-multiple-selection" property with a virtual
7132 has_multiple_selection() method to allow derived classes to
7133 override the default value for it. See the method and property
7134 documentation for details.
7136 * src/hildon-touch-selector.h: Add the new API.
7138 * src/hildon-picker-dialog.c: (requires_done_button): Call
7139 hildon_touch_selector_has_multiple_selection() instead of
7140 determining the need for a button itself.
7142 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7144 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7145 (_hildon_touch_selector_set_model),
7146 (hildon_touch_selector_set_model): Move working code to
7147 _hildon_touch_selector_set_mode(). Call the class method instead.
7149 * src/hildon-touch-selector.h: Add (*set_model) to
7150 HildonTouchSelectorClass.
7152 Make hildon_touch_selector_set_model() a virtual method, so that
7153 derived classes can extend it and do fancy stuff with the model.
7155 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7157 * configure.ac: Set back the tarname in AC_INIT to hildon.
7159 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7163 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7164 instead of libesd (NB#86876). Volume handling is still an open issue.
7166 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7169 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7171 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7172 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7173 derived class to ease placement of an entry widget in
7174 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7175 end, where the selector columns are packed now.
7177 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7179 * src/hildon-picker-button.c: Removed the simple _text() API.
7180 * src/hildon-picker-button.h: Likewise.
7182 * src/hildon-touch-selector.h:
7183 * src/hildon-touch-selector.c:
7184 (hildon_touch_selector_new_text),
7185 (hildon_touch_selector_append_text),
7186 (hildon_touch_selector_prepend_text),
7187 (hildon_touch_selector_insert_text):
7189 Moved the simple _text() API from HildonPickerButton to
7190 HildonTouchPicker, to provide better escalability and not to tie
7191 that API to HildonPickerButton.
7193 * examples/hildon-picker-button-example.c: (main): Example updated.
7195 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7197 * src/hildon-button.c: Updated documentation.
7199 * examples/hildon-button-example.c: Add the posibility to create
7200 the buttons using horizontal layout for title and value.
7202 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-app-menu-private.h
7205 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7206 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7207 GtkSizeGroup for the filters, use the 'homogeneous' property of
7210 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7212 * examples/hildon-button-example.c: Updated example.
7214 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7216 * doc/hildon-docs.sgml:
7219 Update documentation.
7221 * examples/Makefile.am: Update renamed examples.
7223 * examples/hildon-picker-button-multicolumn-example.c:
7224 (create_touch_selector), (main): Update after the rename.
7226 * examples/hildon-touch-picker-example.c: Removed.
7227 * examples/hildon-touch-selector-example.c: (value_changed),
7228 (create_selector), (get_visible_content), (main): Renamed from
7229 hildon-touch-picker-example.c
7231 * src/Makefile.am: Updated renamed files.
7233 * src/hildon-date-button.c: (hildon_date_button_init),
7234 (hildon_date_button_get_date), (hildon_date_button_set_date):
7235 * src/hildon-date-selector.c: (hildon_date_selector_init),
7236 (_custom_print_func), (_update_day_model),
7237 (_manage_selector_change_cb),
7238 (hildon_date_selector_select_current_date),
7239 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7240 * src/hildon-date-selector.h:
7241 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7242 (hildon_picker_button_set_property),
7243 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7244 (hildon_picker_button_init), (hildon_picker_button_new_text),
7245 (hildon_picker_button_append_text),
7246 (hildon_picker_button_prepend_text),
7247 (hildon_picker_button_insert_text),
7248 (hildon_picker_button_set_selector),
7249 (hildon_picker_button_get_selector):
7250 * src/hildon-picker-button.h:
7251 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7252 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7253 (_update_title_on_selector_changed_cb), (requires_done_button),
7254 (_hildon_picker_dialog_set_selector),
7255 (hildon_picker_dialog_set_selector),
7256 (hildon_picker_dialog_get_selector):
7257 * src/hildon-picker-dialog.h:
7258 * src/hildon-time-button.c: (hildon_time_button_init),
7259 (hildon_time_button_get_time), (hildon_time_button_set_time):
7260 * src/hildon-time-selector.c: (hildon_time_selector_init),
7261 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7262 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7263 * src/hildon-time-selector.h:
7266 Massive code updates after the rename.
7268 * src/hildon-touch-picker.c: Removed.
7269 * src/hildon-touch-picker.h: Removed.
7271 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7272 (hildon_touch_selector_init), (hildon_touch_selector_map),
7273 (hildon_touch_selector_remove), (_default_print_func),
7274 (_selection_changed_cb), (_create_new_column),
7275 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7276 (hildon_touch_selector_append_text_column),
7277 (hildon_touch_selector_remove_column),
7278 (hildon_touch_selector_set_column_attributes),
7279 (hildon_touch_selector_insert_column),
7280 (hildon_touch_selector_get_num_columns),
7281 (hildon_touch_selector_get_column_selection_mode),
7282 (hildon_touch_selector_set_column_selection_mode),
7283 (hildon_touch_selector_set_print_func),
7284 (hildon_touch_selector_get_print_func),
7285 (hildon_touch_selector_get_active_iter),
7286 (hildon_touch_selector_set_active_iter),
7287 (hildon_touch_selector_get_selected_rows),
7288 (hildon_touch_selector_get_model),
7289 (hildon_touch_selector_set_model),
7290 (hildon_touch_selector_get_current_text),
7291 (_hildon_touch_selector_center_on_selected_items):
7292 * src/hildon-touch-selector.h: Renamed from
7293 hildon-touch-picker.[ch]
7295 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7296 references, code examples, and related documentation.
7298 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7300 * doc/hildon-docs.sgml
7303 * src/hildon-toggle-button.c
7304 * src/hildon-toggle-button.h
7305 * src/hildon.h: New HildonToggleButton widget.
7307 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7309 * src/hildon-button.c: Add API documentation.
7310 (hildon_button_set_size_groups): Check input parameters
7312 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7314 * src/hildon-pannable-area.c
7315 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7316 effect after reaching the movement thredshold. This way we start
7317 using the distance after passing the thredshold.
7319 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7321 * src/hildon-button.c: (hildon_button_set_property): Use the
7322 appropriate g_value_get_flags() method.
7324 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7326 * doc/hildon-docs.sgml:
7329 Add the touch pickers, picker dialogs, and picker button widgets
7330 to the documentation.
7332 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-button.c: (hildon_button_set_property),
7335 (hildon_button_class_init): Make "arrangement-flags" a proper
7336 G_TYPE_FLAGS derived property.
7338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7340 * examples/Makefile.am: Add below examples.
7341 * examples/hildon-date-button-example.c:
7342 * examples/hildon-picker-button-example.c:
7343 * examples/hildon-picker-button-multicolumn-example.c:
7344 * examples/hildon-time-button-example.c:
7345 * examples/hildon-touch-picker-example.c:
7347 Add examples for the recently added touch pickers,
7348 picker dialogs, and picker button widgets.
7350 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7352 * src/hildon-button.c: Add some API documentation
7354 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7356 * src/hildon-button.h
7357 * src/hildon-button.c
7359 (hildon_button_new_with_text): New constructor to create a button
7360 with no text at all.
7361 (hildon_button_init, hildon_button_set_arrangement)
7362 (hildon_button_set_title, hildon_button_set_value)
7363 (hildon_button_set_text)
7364 (hildon_button_construct_child): Hide the value when it's not used
7365 so the rest of the text is properly aligned.
7366 Allow creating buttons with arbitrary widgets inside (not just
7367 title/value labels).
7369 * examples/hildon-button-example.c (vertical_buttons_window)
7370 (horizontal_buttons_window): Update example to use new API.
7372 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7374 * src/Makefile.am: Added HildonTimeButton.
7375 * src/hildon-time-button.c: Added missing LGPL header.
7376 * src/hildon-time-button.h: Added missing LGPL header.
7377 * src/hildon.h: Add hildon-time-button.h
7379 Copied HildonTimeButton from sandbox to trunk. Future work on this
7380 widget must take place in trunk.
7382 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7384 * src/Makefile.am: Added HildonDateButton.
7385 * src/hildon-date-button.c: Update includes.
7386 * src/hildon.h: Add hildon-date-button.h
7388 Copied HildonDateButton from sandbox to trunk. Future work on this
7389 widget must take place in trunk.
7391 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7393 * src/Makefile.am: Added HildonPickerButton.
7394 * src/hildon-picker-button.h: Update includes.
7395 * src/hildon.h: Add hildon-picker-button.h
7397 Copied HildonPickerButton from sandbox to trunk. Future work on
7398 this widget must take place in trunk.
7400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7402 * src/Makefile.am: Added HildonPickerDialog.
7403 * src/hildon-picker-dialog.c: Update includes.
7404 * src/hildon.h: Add hildon-picker-dialog.h
7406 Copied HildonPickerDialog from sandbox to trunk. Future work
7407 on this widget must take place in trunk.
7409 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/Makefile.am: Added HildonTimeSelector.
7412 * src/hildon.h: Add hildon-time-selector.h
7414 Copied HildonTimeSelector 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 HildonDateSelector.
7420 * src/hildon.h: Add hildon-date-selector.h
7422 Copied HildonDateSelector widget from sandbox to trunk. Future
7423 work on this widget must happen in trunk.
7425 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7427 * src/Makefile.am: Added HildonTouchPicker.
7428 * src/hildon-touch-picker.c: Update includes.
7429 * src/hildon.h: Add hildon-touch-picker.h
7431 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7432 on this widget must happen in trunk.
7434 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7436 * src/hildon-pannable-area.c:
7437 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7439 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7441 * examples/hildon-app-menu-example.c (main): Let the window
7444 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7446 * src/hildon-pannable-area.c
7447 (hildon_pannable_area_class_init): Set the min value of the
7448 overshoot properties to zero, which points out that not
7449 overshooting allowed.
7451 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7453 Modified the procedure to get the widget at a point inside the
7454 pannable area when using the movement type signals. Now the user
7455 has to call a function to get the child, that way we just
7456 calculate the child in case the user really want to use it and not
7459 * src/hildon-marshalers.list: Modified the marshallers, now we do
7460 not have the widget as a parameter.
7462 * src/hildon-pannable-area.c
7463 (hildon_pannable_area_motion_notify_cb),
7464 (hildon_pannable_area_class_init),
7465 (hildon_pannable_get_child_widget_at): Removed the widget
7466 parameter from the signal callback. We have also refactored the
7467 emission of the signals.
7469 * src/hildon-pannable-area.h: Added a new method to the API to
7470 calculate a widget at a point inside the pannable area,
7471 hildon_pannable_get_child_widget_at.
7473 * examples/hildon-pannable-area-example-4.c
7474 (horizontal_movement): Modified the example to use the new API,
7475 added condition to control which widget is under the event. This
7476 way we can avoid scrolling laterally over other widgets.
7478 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7480 * src/hildon-pannable-area.c
7481 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7482 modes, we stop getting the pointer events due to returning the
7483 callback without properly calling the get pointer again. Fixed
7484 also an error using the hscroll and vscroll.
7486 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7488 * src/hildon-app-menu-private.h
7489 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7490 (hildon_app_menu_button_release, hildon_app_menu_init)
7491 (hildon_app_menu_class_init): Don't hide the menu on button
7492 release if the user didn't press outside first.
7494 * src/hildon-window.h
7495 * src/hildon-window.c (hildon_window_toggle_menu)
7496 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7497 hildon_window_toggle_menu a virtual function for the stackable
7498 window to override it.
7500 * src/hildon-stackable-window.h
7501 * src/hildon-stackable-window-private.h
7502 * src/hildon-stackable-window.c
7503 (hildon_stackable_window_realize)
7504 (hildon_stackable_window_finalize)
7505 (hildon_stackable_window_class_init)
7506 (hildon_stackable_window_init)
7507 (hildon_stackable_window_set_main_menu): New function to set the
7508 app menu of a HildonStackableWindow.
7510 * examples/hildon-app-menu-example.c: Remove the button to show
7511 the app menu, now it'll be shown when clicking on the title bar
7514 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7516 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7517 set the widget name if the arrangement flags do not specify
7520 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7522 * src/hildon-button.c: (hildon_button_set_property),
7523 (hildon_button_class_init), (hildon_button_new_full),
7524 (hildon_button_set_arrangement): Added "arrangement-flags"
7527 Make the HildonButtonFlags a construction-only property, to allow
7528 subclasses to set them properly.
7530 2008-07-21 Tim Janik <timj@imendio.com>
7532 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7533 insertion position after backspace, so additional digits are appended,
7536 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7538 * src/hildon-pannable-area.c,
7539 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7540 TODO list, it was complete and removed the g_debug and g_print
7543 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7545 Added the movement modes to the hildon-pannable-area, with this
7546 modes the developers can control in which directions the widget
7547 can scroll. They can also connect to signals in order to do
7548 something when that happens, allowing applications scroll. There
7549 is an example uploaded showing how to use it.
7551 * examples/Makefile.am:
7552 * examples/hildon-pannable-area-example-4.c: Added this example of
7553 an application using the modes.
7555 * src/hildon-marshalers.list: Added a new marshaller for the new
7558 * src/hildon-pannable-area.h: Added new enumerations and flags in
7559 order to control the movement modes and the new signals to warn
7560 about the movements in the area.
7562 * src/hildon-pannable-area.c:
7563 (hildon_pannable_axis_scroll),
7564 (hildon_pannable_area_scroll),
7565 (hildon_pannable_area_motion_notify_cb),
7566 (hildon_pannable_area_get_property),
7567 (hildon_pannable_area_set_property),
7568 (hildon_pannable_area_map),
7569 (hildon_pannable_area_class_init),
7570 (hildon_pannable_area_init),
7571 (hildon_pannable_area_jump_to): Added the modes to control the
7572 movement in the widget. We have added properties to control it,
7573 signals to warn about the movements and refactored some code.
7575 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7577 Changes required in order to allow vfast_factor set to zero to
7580 * src/hildon-pannable-area.c:
7581 (hildon_pannable_area_button_press_cb): Changed the condition, it
7582 is required for not allowing click when vfast_factor is zero.
7583 (hildon_pannable_area_timeout): Initialized velocity variables
7584 when we stop moving, it was less than 1 but not zero and we need
7585 to check zero in some situations.
7586 (hildon_pannable_area_class_init): Changed the default value of
7587 the speed factor, now the button_press is just sent in case the
7588 speed is 2 per cent of the max speed.
7589 (hildon_pannable_area_init): Initialization with 0.
7591 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7593 * src/hildon-pannable-area.c,
7594 (hildon_pannable_area_get_topmost): replaced
7595 gdk_window_get_children with gdk_window_peek_children, this way we
7596 do not have to free the list because it is not a copy.
7598 (hildon_pannable_axis_scroll),
7599 (hildon_pannable_area_scroll),
7600 (hildon_pannable_area_timeout),
7601 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7602 two parameters that were only used inside the
7603 hildon_pannable_area_scroll function.
7605 * examples/hildon-pannable-area-example.c,
7606 (get_sawtooth_label): Fixed small memory leak.
7608 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7610 More checks for the case where the overshoot is bigger than the
7613 * src/hildon-pannable-area.c:
7614 (hildon_pannable_draw_vscroll),
7615 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7616 to draw the slider of the scrollbar under the other scrollbar.
7617 (hildon_pannable_area_expose_event): added new checks to control
7618 the drawing of the overshooting area rectangle, in case it is too
7619 big for the area of the widget.
7620 (hildon_pannable_area_size_allocate): add more checks to avoid
7621 setting a position to the child widget outside the area.
7623 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7625 * src/hildon-pannable-area.c
7626 (hildon_pannable_area_size_allocate): Added conditions to control
7627 when overshooting is bigger than the allocated space for the
7628 children, this avoids negative allocations.
7630 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7632 * doc/hildon-docs.sgml
7634 * examples/Makefile.am
7635 * examples/hildon-button-example.c
7637 * src/hildon-button.c
7638 * src/hildon-button.h
7639 * src/hildon.h: Initial version of the new HildonButton widget,
7642 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7644 * src/hildon-pannable-area.c:
7645 (hildon_pannable_area_button_press_cb),
7646 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7647 (hildon_pannable_area_motion_notify_cb),
7648 (hildon_pannable_area_button_release_cb),
7649 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7650 (hildon_pannable_area_jump_to_child):
7652 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7654 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7656 * examples/Makefile.am
7657 * examples/hildon-pannable-area-touch-grid-example.c
7658 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7659 the Hildon Touch List and Hildon Touch Grid using the
7660 HildonPannableArea widget.
7662 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7664 * src/hildon-pannable-area.c,
7665 (hildon_pannable_area_button_press_cb),
7666 (hildon_pannable_area_refresh),
7667 (hildon_pannable_area_scroll),
7668 (hildon_pannable_area_motion_notify_cb),
7669 (hildon_pannable_area_button_release_cb),
7670 (hildon_pannable_area_expose_event),
7671 (hildon_pannable_area_add),
7672 (hildon_pannable_area_remove),
7673 (hildon_pannable_area_realize),
7674 (hildon_pannable_area_size_allocate),
7675 (hildon_pannable_area_class_init),
7676 (hildon_pannable_area_init),
7677 (hildon_pannable_area_scroll_to_child),
7678 (hildon_pannable_area_jump_to_child): Fixed the problem of
7679 removing the child from the GtkBin, we have rearranged the widget
7680 hierarchy, now there is no GtkAlignment which was not doing
7681 anything interesting but breaking some of the assumptions of
7682 GtkContainer. Now developers if they want to add a GtkAlignment
7683 they could, but it is not inside the area.
7685 We had to review the whole allocation/expose process, now it is
7686 improved and we save at least three signals which would be saving
7687 some time when rendering the widget. The allocation of the
7688 scrollbars is now made in the allocate method as usual.
7690 We have also added some conditions in order to control when there
7691 is no child of the pannable area. Maybe we will need more work
7694 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7696 * src/hildon-pannable-area.c,
7697 (hildon_pannable_area_dispose): Released the fade-out timeout when
7698 disposing the widget.
7700 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7702 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7703 zero, we are going to use that property in order to deactivate the
7705 (hildon_pannable_axis_scroll),
7706 (hildon_pannable_area_size_allocate): Added conditions to control
7707 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7708 call, now it is called in all situations and we can remove calls
7709 in the allocate method.
7710 (hildon_pannable_area_map): Control the situation when
7711 overshoot_max is zero, we do not need the timeout.
7712 (hildon_pannable_area_class_init): Added documentation in order to
7713 point out that setting zero to overshoot_max means deactivate
7716 NOTE: removed trailing whitespaces from my previous comments of
7719 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7721 * src/hildon-pannable-area.c
7722 (hildon_pannable_area_get_property),
7723 (hildon_pannable_area_set_property),
7724 (hildon_pannable_area_map),
7725 (hildon_pannable_area_class_init),
7726 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7727 to cause the widget give a hint about its panning abilities upon
7730 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7732 * src/hildon-pannable-area.c: Several documentation improvements.
7734 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7736 * src/hildon-program.c
7737 * src/hildon-stackable-window.c: Update documentation.
7739 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7741 * src/hildon-stackable-window.c (get_previous_window_if_last):
7742 Renamed get_last_window()
7743 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7744 (hildon_stackable_window_unset_program):
7746 (get_previous_window_if_last):
7747 Detect if the window hasn't been added to a HildonProgram.
7749 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7751 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7753 * src/hildon-pannable-area.c
7754 (hildon_pannable_area_button_press_cb),
7755 (hildon_pannable_axis_scroll),
7756 (hildon_pannable_area_scroll),
7757 (hildon_pannable_area_timeout),
7758 (hildon_pannable_calculate_vel_factor),
7759 (hildon_pannable_area_get_property),
7760 (hildon_pannable_area_set_property),
7761 (hildon_pannable_area_class_init),
7762 (hildon_pannable_area_init),
7763 (hildon_pannable_area_scroll_to),
7764 (hildon_pannable_area_jump_to),
7765 (hildon_pannable_area_scroll_to_child),
7766 (hildon_pannable_area_jump_to_child):
7767 * src/hildon-pannable-area.h: Added the new API functions:
7768 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7769 hildon_pannable_area_scroll_to_child,
7770 hildon_pannable_area_jump_to_child
7773 * examples/Makefile.am
7774 * examples/hildon-pannable-area-example-2.c
7775 * examples/hildon-pannable-area-example-3.c: Added these two new
7776 examples in order to test and show how the new APIs work.
7778 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7780 * examples/hildon-stackable-window-example.c (new_window):
7781 * src/Makefile.am (noinst_HEADERS):
7782 * src/hildon-program.c (hildon_program_go_to_root_window):
7783 * src/hildon-program.h:
7784 * src/hildon-stackable-window-private.h:
7785 * src/hildon-stackable-window.c:
7786 * src/hildon-stackable-window.h:
7787 Create hildon-stackable-window-private.h
7788 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7790 * examples/hildon-app-menu-example.c (create_menu):
7791 * examples/hildon-hvolumebar-insensitive-example.c (main):
7792 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7793 * examples/hildon-toolbar-seekbar-example.c (main):
7794 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7795 * src/hildon-banner.c (hildon_banner_set_property):
7796 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7797 Fix compilation warnings
7799 * src/hildon-window.c:
7802 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7804 * src/hildon-stackable-window.c
7805 (hildon_stackable_window_unset_program):
7806 Calculate correctly whether to show the previous window if the
7807 last one is removed from the stack.
7808 (hildon_stackable_window_go_to_root_window):
7809 Send delete events starting from the topmost window.
7810 Stop if one of the windows is not destroyed.
7812 (hildon_stackable_window_delete_event)
7813 (hildon_stackable_window_class_init):
7814 Ignore the delete event if the window is not the topmost one.
7816 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7818 * src/hildon-pannable-area.c
7819 (hildon_pannable_area_expose_event): Fixed a problem when
7820 selecting the background color of the scrollbars.
7822 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7824 * examples/hildon-stackable-window-example.c
7825 * src/hildon-stackable-window.c
7826 * src/hildon-stackable-window.h
7827 hildon_stackable_window_go_home() renamed to
7828 hildon_stackable_window_go_to_root_window()
7829 Send delete events to windows rather than closing them with
7830 gtk_widget_destroy()
7832 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7834 * src/hildon-pannable-area.c
7835 (hildon_pannable_area_button_release_cb): Fix overshooting in
7838 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7840 * src/hildon-pannable-area.c
7841 (hildon_pannable_area_init): Initially show the scroll indicators.
7842 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7844 Add initial effect showing the widget is pannable.
7846 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7848 * src/hildon-pannable-area.c
7849 (hildon_pannable_area_class_init)
7850 (hildon_pannable_area_set_property)
7851 (hildon_pannable_area_get_property)
7852 (hildon_pannable_area_button_press_cb):
7853 New 'velocity_fast_factor' property to decide which velocity is
7856 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7858 * src/hildon-pannable-area.c
7859 (hildon_pannable_draw_hscroll)
7860 (hildon_pannable_draw_vscroll):
7861 Use float variables to calculate the size of the scrollbars to
7862 avoid error propagation and resizing during scrolling.
7864 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7866 * src/hildon-pannable-area.c
7867 (hildon_pannable_draw_vscroll)
7868 (hildon_pannable_draw_hscroll):
7869 Define a minimum size for the scroll bars
7871 * src/hildon-stackable-window.c
7872 (hildon_stackable_window_go_home): Fix compilation warning
7873 (get_last_window): Minor optimizations
7874 (hildon_stackable_window_class_init): Fix initialization of
7877 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7879 * src/hildon-stackable-window.c: Fixed typos in doc
7881 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7883 * src/hildon-pannable-area.c
7884 (hildon_pannable_area_scroll):
7885 Calculate here whether we need to scroll instead of using the booleans
7886 that tell us whether to /draw/ the scrolling bars.
7888 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7890 * src/hildon-app-menu.h
7892 * src/hildon-app-menu.c
7893 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7894 multiple filter groups related code and API. Now we support only
7896 * examples/hildon-app-menu-example.c:
7898 Update to reflect API changes.
7900 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7902 * src/hildon-stackable-window.c
7903 (hildon_stackable_window_class_init):
7904 Add hildon_stackable_window_realize.
7905 (hildon_stackable_window_realize):
7906 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7907 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7908 to apply theming and behavior specific to HildonStackableWindow
7911 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7913 * src/hildon-note.c (hildon_note_button_release):
7914 Close information notes also when tapping on them
7916 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7918 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7919 ELASTICITY, refactor and review, fix some issues with drawing
7922 * src/hildon-pannable-area.c:
7923 (hildon_pannable_area_button_press_cb): removed the conditions to
7924 avoid clicks when overshooting. It is not required
7926 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7927 define. Refatored and reviewed the code, now we do not need to
7928 manage velocity in motion_notify.
7930 (hildon_pannable_area_motion_notify_cb): We have moved the code
7931 that controls the area_scroll to the axis_scroll function and get
7932 rid of duplicated code.
7934 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7936 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7938 (hildon_pannable_draw_vscroll),
7939 (hildon_pannable_draw_hscroll): Fixed the problems with the
7940 scrollbar drawing, now we do not use two surfaces, it is easier
7941 and saves resources.
7943 (hildon_pannable_area_get_property): Style modification.
7945 (hildon_pannable_area_class_init): Changed some default values.
7947 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7949 * src/hildon-stackable-window.c: Fix some typos in the
7952 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7954 * src/hildon-dialog.c:
7955 Change indentation style
7958 (hildon_note_button_release):
7959 Use root coordinates to check if the release event happened
7962 * src/hildon-app-menu.c
7963 (hildon_app_menu_button_release):
7964 Remove unnecessary check
7966 * examples/hildon-app-menu-example.c
7968 Add cast to fix warning
7970 * src/hildon-app-menu.c
7971 (hildon_app_menu_class_init):
7972 New inner-border style property.
7973 Set all default spacings to 16
7974 (hildon_app_menu_init):
7975 Use vertical-spacing to set the space between filter buttons and
7976 regular menu buttons.
7977 Set the default container border using the inner-border value.
7979 * examples/hildon-app-menu-example.c
7981 Don't set the menu border explicitly, now we have the inner-border
7982 style property for that.
7984 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7986 * src/hildon-app-menu.c (hildon_app_menu_init):
7987 Make the window modal
7989 * src/hildon-note.c (hildon_note_map)
7990 * src/hildon-app-menu.c (hildon_app_menu_map):
7991 Destroy the grab window if we're unable to grab the pointer
7993 * src/hildon-app-menu-private.h
7994 * src/hildon-app-menu.c
7995 (hildon_app_menu_init, hildon_app_menu_finalize)
7996 (hildon_app_menu_map, hildon_app_menu_unmap)
7997 (hildon_app_menu_button_release)
7998 (grab_transfer_window_get):
7999 Bring back the grab window
8000 (hildon_app_menu_realize):
8001 Decorate the window, set WM hint for Matchbox
8003 * src/hildon-note.c (hildon_note_realize):
8004 * src/hildon-banner.c (hildon_banner_realize):
8005 Add WM hints for Matchbox
8007 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8009 * src/hildon-app-menu-private.h
8010 * src/hildon-app-menu.c
8011 (hildon_app_menu_init, hildon_app_menu_finalize)
8012 (hildon_app_menu_map, hildon_app_menu_unmap)
8013 (hildon_app_menu_button_release):
8014 Remove the grab window, it's not needed anymore
8016 * src/hildon-program.c
8017 Fixed typo in documentation
8019 * src/hildon-app-menu.h
8020 * src/hildon-app-menu.c
8021 * examples/hildon-app-menu-example.c
8022 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8024 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8027 Added new transfer_window and close_if_pressed_outside private
8029 (hildon_note_rebuild):
8030 Don't add a cancel button to the information note. It will be
8031 closed when tapping outside
8032 Remove the comment about the OK button in the documentation
8033 (hildon_note_realize):
8034 Set the notification type hint
8035 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8036 Grab/ungrab pointer and keyboard if the note has to be closed when
8038 (hildon_note_button_release):
8039 Close the note when tapping outside (if applicable)
8041 * src/hildon-app-menu.c
8042 Grab/ungrab pointer and keyboard on map/unmap
8043 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8044 Close the menu on button release, not button press
8046 * src/hildon-banner.c
8047 (hildon_banner_set_property)
8048 (hildon_banner_check_position):
8049 Make the banner use the full width of the screen
8050 (hildon_banner_show_information)
8051 (hildon_banner_show_information_with_markup):
8052 Don't display an icon by default
8054 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8056 Added fading scrollbars and adapted all the overshooting code to
8057 horizontal scrolling. We have also fixed bugs with overshooting
8058 and current fading implementation.
8060 * src/hildon-pannable-area.c
8061 (hildon_pannable_area_scroll_indicator_fade): Time out function
8062 used to change the transparency of the scrollbars.
8064 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8065 control and fixed a problem with fading, we now remove the fade
8066 timeout before adding a new one.
8068 (hildon_pannable_axis_scroll):
8069 (hildon_pannable_area_scroll):
8070 (hildon_pannable_area_timeout): Added this functions so we can use
8071 the scroll code both for vertical and horizontal.
8073 (hildon_pannable_area_motion_notify_cb):
8074 (hildon_pannable_area_button_release_cb): Added the horizontal
8075 scrolling control, fixed a problem with the overshooting timeout.
8077 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8078 painting of the scrolls.
8080 (hildon_pannable_draw_vscroll):
8081 (hildon_pannable_draw_hscroll):
8082 (hildon_pannable_area_expose_event):
8083 Draw both scrollbars and rectangles in the overshooting area.
8085 (hildon_pannable_area_get_property):
8086 (hildon_pannable_area_set_property):
8087 Modified the overshoot property to overshoot_max
8089 (hildon_pannable_area_map):
8090 Replaced the comments symbols.
8092 (hildon_pannable_area_size_allocate):
8093 (hildon_pannable_area_class_init):
8094 (hildon_pannable_area_init): Added horizontal scroll, fading
8095 effect properties, fixed a problem when overshooting in the bottom
8098 * examples/hildon-pannable-area-example.c:
8099 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8100 looks better in the example.
8102 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8104 * src/hildon-window.c
8105 * src/hildon-window.h
8106 (hildon_window_class_init)
8107 (hildon_window_unset_program)
8108 (hildon_window_unset_program_real):
8109 Make unset_program a virtual function
8111 * src/hildon-stackable-window.c
8112 * src/hildon-stackable-window.h
8113 Added hildon_stackable_window_go_home()
8115 * examples/Makefile.am
8116 * examples/hildon-stackable-window-example.c
8117 HildonStackableWindow example
8119 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8121 * hildon-pannable-area.c: Added the overshoot property and removed
8122 the OVERSHOOT define. Fixed an indent style error.
8123 (hildon_pannable_area_motion_notify_cb):
8124 (hildon_pannable_area_get_property):
8125 (hildon_pannable_area_set_property): Add overshoot property.
8127 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8130 (hildon_pannable_area_class_init): Installed the new property.
8132 * hildon-pannable-area-example.c: Added a sawtooth function, this
8133 way it is easier to check the movement in the pannable.
8134 (get_sawtooth_label): Added this function.
8135 (main): Now we get the labels from the new get_sawtooth_label
8138 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8140 * src/hildon-app-menu.h
8141 * src/hildon-app-menu.c
8142 Renamed API variables for consistency
8144 (hildon_app_menu_popup): Use also the default window size to
8145 decide where to place the menu
8147 (hildon_app_menu_init, hildon_app_menu_class_init): New
8148 external-border style property
8150 2008-05-26 Michael Natterer <mitch@imendio.com>
8152 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8153 widget_class->tap_and_hold_setup signal slot doesn't exist any
8154 longer, stop overriding it.
8156 (hildon_time_editor_init): g_signal_connect() to the
8157 tap-and-hold-setup signal instead.
8159 (hildon_time_editor_entry_keypress): add cast to fix warning.
8161 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8163 * doc/hildon-docs.sgml
8165 * examples/Makefile.am
8166 * examples/hildon-app-menu-example.c
8168 * src/hildon-app-menu-private.h
8169 * src/hildon-app-menu.c
8170 * src/hildon-app-menu.h
8172 New HildonAppMenu widget
8174 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8176 Rearranged the inheritance of the pannable area, now it inherits
8177 from GtkBin. This will allow us to control the event_window and
8178 the allocation process of the widget, required for some effects.
8180 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8181 GtkBin structures. * src/hildon-pannable-area.c: Added the
8182 event_window variable.
8183 (hildon_pannable_area_button_press_cb):
8184 (hildon_pannable_area_button_release_cb):
8185 (hildon_pannable_area_motion_notify_cb):
8186 Changed the signature of the method, now we override the event
8187 callback instead of connecting to the signal.
8189 (hildon_pannable_area_realize):
8190 (hildon_pannable_area_unrealize):
8191 (hildon_pannable_area_map):
8192 (hildon_pannable_area_unmap):
8193 (hildon_pannable_area_size_allocate):
8194 Added functions to control the widget construction. We add a
8195 INPUT_ONLY window and we put it over the widgets inside the
8196 container, this event_window handles the events.
8198 (hildon_pannable_area_class_init):
8199 Replaced the signal connections with overrides of the event
8202 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8204 Bouncing effect added when touching the borders, you can change
8205 the elasticity of the border changing the ELASTICITY define.
8207 * src/hildon-pannable-area.c: Added ELASTICITY define.
8208 (hildon_pannable_area_timeout): Added inverse velocity when
8209 touching the border of the child widget, that causes a bounce.
8211 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8213 Improved performance, we now do not go to the X server in order to
8214 get the list of window children. Apparently the effect is the
8215 same, we have to be careful and check if this breaks something in
8218 * src/hildon-pannable-area.c:
8219 (get_ordered_children): Removed this function.
8220 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8221 the children windows function with gdk_window_get_children.
8223 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8225 * src/hildon-pannable-area.c:
8226 (hildon_pannable_area_dispose): Fixed a crash when closing the
8227 window and kinetics is activated.
8229 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8231 * src/hildon-pannable-area.h
8232 * src/hildon-pannable-area.c
8233 Changed indentation style to meet the one used in Hildon
8235 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8237 Reviewed the interaction of the AUTO mode, now we use the time
8238 attribute of the events and calculate the velocity in the motion,
8239 doing a gimp like calculation. The velocity is calculated in each
8240 motion event using the last velocity and the current one, the
8241 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8243 * src/hildon-pannable-area.c: Replaced the time based algorithm
8245 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8246 timeout for the AUTO mode when we are still moving the cursor. We
8247 added also the velocity calculation in this function.
8248 (hildon_pannable_area_button_release_cb): launch the timeout in
8249 case we are in AUTO mode. There are still some constants here that
8250 come from the old implementation that should be reviewed and
8253 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8255 * doc/hildon-docs.sgml
8258 * src/hildon-stackable-window.c
8259 * src/hildon-stackable-window.h
8261 New HildonStackableWindow widget
8263 * examples/hildon-dialog-example.c
8264 * examples/hildon-pannable-area-example.c
8267 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8269 * src/hildon-dialog.c
8270 (hildon_dialog_new_with_buttons): New constructor.
8272 * examples/hildon-dialog-example.c
8273 (main): Update the example to use the new
8274 hildon_dialog_new_with_buttons().
8276 * examples/hildon-pannable-area-example.c
8277 (main): Update example.
8279 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8281 * doc/hildon-docs.sgml
8283 Added HildonPannableArea to the documentation.
8285 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8287 * doc/visual_index.xml
8288 Fix reference to HildonLoginDialog in documentation
8290 * doc/hildon-docs.sgml
8292 * examples/Makefile.am
8293 * examples/hildon-dialog-example.c
8295 * src/hildon-dialog.c
8296 * src/hildon-dialog.h
8298 New HildonDialog widget.
8300 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8302 * src/hildon-pannable-area.c
8303 Merge latest changes (r4318, r4342) from libmokoui trunk
8305 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8307 * examples/Makefile.am
8308 * examples/hildon-pannable-area-example.c
8310 * src/hildon-pannable-area.c
8311 * src/hildon-pannable-area.h
8313 New HildonPannableArea widget.
8315 2008-04-15 18:05:19 <timj@imendio.com>
8317 * src/hildon-banner.c: revert the recent change, that introduced
8318 gtk_window_present() calls. this reopens:
8319 Bug 78481 - [freetest] information banners are hidden under browser menu
8320 But resolves another variant of:
8321 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8323 2008-04-15 13:21:13 <timj@imendio.com>
8325 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8326 recreated its layout, spotted by Kris. this fixes all remaining
8327 artefacts and stability issues with the banner code. in particular:
8328 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8330 2008-04-14 16:52:59 <timj@imendio.com>
8332 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8333 operating on unrealized widgets, fixes:
8334 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8336 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8338 2008-04-09 Kristian Rietveld <kris@imendio.com>
8340 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8341 makes banner disappear.
8342 Fixes: NB#79182: info banner flickering with certain message lengts.
8344 * src/hildon-banner.c (hildon_banner_constructor),
8345 (hildon_banner_init), (hildon_banner_set_text),
8346 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8347 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8348 FALSE, reset size requests of label and banner,
8349 (force_to_wrap_truncated): when the text is too wide, always enforce
8350 the maximum possible width instead of recalculating it from the
8351 layout; enforce the maximum banner height of 3 lines,
8352 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8353 nicer wrapping and no truncated chars if space gets tight.
8355 * src/hildon-banner-private.h: add has_been_wrapped and
8356 has_been_truncated fields.
8358 2008-04-07 Sven Herzberg <sven@imendio.com>
8360 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8361 local values in hildon_date_editor_size_allocate
8363 * src/hildon-date-editor.c: moved the real allocation code into the
8366 2008-04-07 Sven Herzberg <sven@imendio.com>
8368 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8369 local values in hildon_date_editor_size_allocate
8371 * src/hildon-date-editor.c: merged the two if() branches together
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: changed the arguments of the if()
8381 2008-04-07 Sven Herzberg <sven@imendio.com>
8383 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8384 local values in hildon_date_editor_size_allocate
8386 * src/hildon-date-editor.c: split the calculation of the allocation
8387 from the real allocation
8389 2008-03-27 Michael Natterer <mitch@imendio.com>
8391 Fixes: NB#81696: The passcode is not overwritten even after
8394 * src/hildon-code-dialog.c
8395 (hildon_code_dialog_button_clicked)
8396 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8397 because that doesn't overwrite selected text. Instead, emit the
8398 "commit" signal on the entry's im_context so the entry's normal
8399 insert logic is triggered. Set the cursor to the end of the entry
8400 after each insert operation so that we *only* insert in the middle
8401 of the text if something was selected.
8403 2008-03-27 Michael Natterer <mitch@imendio.com>
8405 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8406 selector cannot be opened
8408 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8409 when the popup color selector is created. Please connect to this
8410 signal in order to set the dialog's help ID.
8412 2008-03-25 Sven Herzberg <sven@imendio.com>
8414 Fixes: MB#1212: Hide info banners (infoprints) on click
8416 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8417 extracted the close event simulation into an extra function
8418 (hildon_banner_button_press_event): simulate a close event and destroy
8419 the widget if the event wasn't handled
8420 (hildon_banner_class_init): added the button_press_event handler
8421 (hildon_banner_init): added button-press events to the widget
8423 2008-03-25 Sven Herzberg <sven@imendio.com>
8425 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8426 Patch from: Mohammad Anwari <mdamt@maemo.org>
8428 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8429 instead of the right in RTL mode
8430 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8431 breadcrumb button list in RTL mode
8432 * src/hildon-caption.c: mirror the appearance of the caption widget in
8434 * src/hildon-date-editor.c: mirror appearance of the date editor in
8436 * src/hildon-time-editor.c: mirror appearance of the time editor in
8438 * src/hildon-window.c: fix the position of the popup in RTL mode
8440 2008-03-25 Sven Herzberg <sven@imendio.com>
8442 Amendment to the fix of NB#22072. Fix compilation.
8444 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8446 2008-03-19 Sven Herzberg <sven@imendio.com>
8448 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8451 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8452 timeout id properly when the timeout will disappear this leaves no
8453 artifacts around in the destroy(); there will only be the timeout
8454 created by hildon_banner_ensure_timeout() and adding a new timeout
8455 will also work if the timeout gets removed because the timeout_handler
8458 2008-03-19 Michael Natterer <mitch@imendio.com>
8460 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8462 * src/hildon-volumebar.c
8463 * src/hildon-vvolumebar.c
8464 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8465 the widget becomes focussable at all.
8467 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8468 set the focus to wither the mute button or the volumebar.
8470 Remove own "can-focus" property and instead listen to
8471 notify::can-focus in order to update the widget's state.
8473 Implement GtkWidget::focus() and make sure we can also *leave* the
8474 widget, not only enter it, depending on volumebar orientation and
8475 requested focus direction.
8477 Clean up set_mute() to cooperate nicely with all the above.
8479 2008-03-04 Michael Natterer <mitch@imendio.com>
8481 Fixes: NB#78481: information banners are hidden under browser menu
8483 * src/hildon-banner.c: call gtk_window_present() on the banners so
8484 they are risen if they are already visible.
8486 2008-03-03 Sven Herzberg <sven@imendio.com>
8488 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8490 * examples/hildon-window-menu-example.c: (main): extended the window
8491 menu example to serve as a testcase for automatically added
8492 accelerator groups, too
8493 * src/hildon-window.c: (hildon_window_add_accel_group),
8494 (hildon_window_set_menu): added patch by Tommi Komulainen
8496 2008-03-03 Sven Herzberg <sven@imendio.com>
8498 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8500 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8501 knowledge about the border allocators used within GTK+
8503 2008-02-26 Sven Herzberg <sven@imendio.com>
8505 Fixes: MB#2981: Build with asserts broken
8507 * src/hildon-date-editor.c,
8508 * src/hildon-number-editor.c,
8509 * src/hildon-time-editor.c,
8510 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8511 the proper GType instance check
8513 2008-02-25 Sven Herzberg <sven@imendio.com>
8515 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8517 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8518 * examples/hildon-window-menu-example.c: (main): explicitly show
8520 * src/hildon-window.c:
8521 (hildon_window_set_main_menu): moved most of the code from set_menu()
8522 to this place; skipped the call to gtk_widget_show_all(); also didn't
8523 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8524 (hildon_window_set_menu): removed most of the code, just keep the
8525 questionable gtk_widget_show_all()
8526 * src/hildon-window.h: added the new function and deprecate the old
8529 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8535 * debian/changelog: Updating.
8537 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8540 * pkgconfig/Makefile.am:
8541 * pkgconfig/hildon.pc.in:
8544 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8545 use newly created API_MAJOR_VERSION.
8547 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8553 * debian/changelog: Updating.
8555 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8557 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8559 Add outer_border style property, we use it but don't define it (!).
8563 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8565 * examples/hildon-bread-crumb-trail-example.c (main):
8569 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8571 Fix logic for the bread crumb trail node removal.
8575 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * debian/changelog: Updating.
8583 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 Patch by Alejandro to get/set passwords dialogs accesibility.
8587 * hildon-1/src/hildon-get-password-dialog.c:
8588 * hildon-1/src/hildon-set-password-dialog.c:
8589 Set atk_set_name to the passwd entries in order to allow
8590 accessibility by name on this entries.
8592 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8597 * debian/control: Updating gtk dep.
8599 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8601 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8602 USE_MAEMO_GTK is enabled.
8604 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8607 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8609 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * debian/changelog: Updating.
8617 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * examples/Makefile.am:
8620 * examples/hildon-logical-color-example.c:
8621 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8622 applied + adding a test case. Fixes: NB#71660.
8624 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8626 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8627 to be visible, fixes warning on map for windows without toolbars.
8629 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8631 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8632 2.11.0, add a check for that besides the MAEMO_GTK check.
8634 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8640 * debian/changelog: Updating.
8642 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8645 visibility. Fixes: NB#70842 and MB#615.
8647 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8649 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8650 set the separator as no-show-all so it doesn't unintentionally appear when
8651 someone does a show_all.
8653 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8655 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8656 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8657 toplevel item. Fixes: NB#62031
8659 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8661 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8662 fix the name of the function in the docs.
8664 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * debian/changelog: Updating.
8672 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8674 * examples/hildon-banner-long-example.c: Adding a test-case for long
8677 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8679 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8681 * src/hildon-color-chooser-dialog.c:
8682 * src/hildon-color-chooser.c:
8683 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8684 memory leaks in font selector and color selector. Fixes: NB#70499 and
8687 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8689 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8691 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8694 little bit bigger. Fixes: #NB63694.
8696 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8702 * debian/changelog: Updating.
8704 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * doc/hildon-docs.sgml:
8708 * doc/images/bread-crumb-trail.png:
8709 * doc/images/calendar-popup.png:
8710 * doc/images/caption.png:
8711 * doc/images/code-dialog.png:
8712 * doc/images/color-button.png:
8713 * doc/images/color-chooser-dialog.png:
8714 * doc/images/color-chooser.png:
8715 * doc/images/controlbar.png:
8716 * doc/images/date-editor.png:
8717 * doc/images/font-selection-dialog.png:
8718 * doc/images/get-password-dialog.png:
8719 * doc/images/hvolumebar.png:
8720 * doc/images/login-dialog.png:
8721 * doc/images/note.png:
8722 * doc/images/number-editor.png:
8723 * doc/images/range-editor.png:
8724 * doc/images/seekbar.png:
8725 * doc/images/set-password-dialog.png:
8726 * doc/images/sort-dialog.png:
8727 * doc/images/time-editor.png:
8728 * doc/images/time-picker.png:
8729 * doc/images/vvolumebar.png:
8730 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8731 Adding the bread-crumb-trial and helpers to the documentation.
8733 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * examples/hildon-find-toolbar-example.c:
8736 * src/hildon-find-toolbar.c:
8737 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8738 actually continue firing the other handlers if connected. Adding a new
8740 hildon_find_toolbar_get_last_index that gets the index of the most
8741 recently added (last) item. Fixes: NB#52301.
8743 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8745 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8746 behaviour. Fixes: NB#68610.
8748 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8750 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8753 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8755 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8756 when realizing the banner. Should make the infonbanner effect a bit more
8759 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * src/hildon-volumebar.c:
8762 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8763 hildon_volumebar_set_range_insensitive_message and
8764 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8766 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8768 * src/hildon-window.c: Fixing the border freeing on destroy.
8770 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-code-dialog-private.h:
8773 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8774 kw keyboard support in HildonCodeDialog.
8776 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * debian/changelog: Updating.
8784 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8786 * src/hildon-date-editor.c:
8787 * src/hildon-number-editor.c:
8788 * src/hildon-private.c:
8789 * src/hildon-private.h:
8790 * src/hildon-time-editor.c:
8791 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8792 handling in subclassed composite widgets. Fixes: NB#66628.
8794 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8797 from destroy_ callback as it introduces problems in async dbus signal
8798 handlers. Fixes NB#66673.
8800 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * examples/hildon-hvolumebar-example.c:
8803 * src/hildon-volumebar.c: Improving the focus handling in the
8804 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8805 set_property accessor so that "mute" property can be actually set. I'm
8806 scared that nobody noticed it's totally broken.
8808 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8813 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * src/hildon-calendar.c:
8816 * src/hildon-number-editor.c:
8817 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8818 matches the spec of 6 chars per second. Fixes: NB#60489.
8820 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8823 gtk_style_lookup_color sometime returns FALSE even though color was
8824 found and values were filled properly. Weird. Removing the warning for the
8827 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8830 expand vertically. Adding some extra space to the find toolbar buttons to
8831 make them thumbable. Fixes NB#66060.
8833 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8836 popup with "Ok" and "Cancel". Fixes NB#59299.
8838 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-calendar.c: Process all window updates before executing next
8841 timeout. Fixes: NB#54146.
8843 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * debian/changelog: Updating.
8851 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8854 the client event and ignore it, since we use the delete event to close
8857 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * src/hildon-helper.c: Remove the bogus warning about color not being
8860 found. Fixes NB#58352.
8862 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * examples/Makefile.am:
8865 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8866 HildonSeekbar widget inside a toolbar.
8868 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8870 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8871 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8872 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8873 don't want to be closed by non-temporary windows on map.
8875 Also use G_DEFINE_TYPE instead of manually typed code.
8877 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * debian/rules: Updating.
8886 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * examples/Makefile.am:
8889 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8890 bug NB#61128. Strangely it works.
8892 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * src/hildon-date-editor.c: When the date editor entry has been changed
8895 but the numbers of characters < max, turn off the skip validation flag.
8896 Prevents a situation when we enter first a valid year and later re-write
8897 it with an invalid one. Fixes NB#60154.
8899 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8902 code dialog. Fixes NB#64355.
8904 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8907 switching the page. Fixes NB#49374.
8909 * examples/Makefile.am:
8910 * examples/hildon-wizard-dialog-example.c: Adding an example for
8911 HildonWizardDialog that shows how to handle manual sensitivity setting on
8914 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * src/hildon-version.h.in:
8919 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8921 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * src/hildon-volumebar.c: Updating the docs.
8925 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * debian/changelog: Updating.
8933 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * src/hildon-find-toolbar.c:
8936 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8937 selected item: hildon_find_toolbar_set_active,
8938 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8939 hildon_find_toolbar_get_active_iter . They correspond to respective
8940 GtkComboBox functions.
8942 * examples/Makefile.am:
8943 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8946 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8948 * examples/Makefile.am:
8949 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8952 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8953 when font size > 32 and we pack a focusable widget inside. Actually using
8954 the default response would work too, but since we don't show default
8955 response state in any way (no theming) it would not be visible to the
8956 user. Fixes NB#63430.
8958 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-date-editor.c: Adding the missing variable setter in the
8961 set_property handler. Fixes NB#54182.
8963 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * src/hildon-window.h: Changing the long key press time from 1500ms to
8966 800ms as requested in NB#63700. I have a bad feeling about this, let's
8967 see... Fixes NB#63700.
8969 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8971 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8972 hildon_time_picker_map, hildon_time_picker_realize,
8973 hildon_time_picker_style_set): Split the contents of map to more
8974 appropriate functions; set window decorations on realize and update
8975 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8977 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8982 * debian/changelog: Updating.
8984 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8986 * src/Makefile.am: fixed installation of the header files
8988 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * debian/changelog: Updating.
8996 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * configure.ac: Removing some remaining of --enable-xan.
9000 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9003 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9005 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9006 2.10.12-osso6 because the move-focus signal needs to be available in
9009 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * examples/Makefile.am:
9012 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9013 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9014 fine. Prolly NB#61128 is fixed now.
9016 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * src/hildon-volumebar.c:
9019 * src/hildon-volumebar.h: Adding the
9020 hildon_volumebar_set_range_insensitive_message and
9021 hildon_volumebar_set_range_insensitive_messagef functions to set
9022 insensitive message on the slider of the volumebar. Fixes NB#61129.
9024 * examples/Makefile.am:
9025 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9026 test the new insensitive messsage functionality on HildonVolumebar.
9028 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9030 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9033 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9035 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9036 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9037 button on after clearing the trail.
9039 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9043 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9045 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9046 by splitting the installed headers in generated and non-generated groups. Use
9047 only the non-generated headers to create the hildon-enum-types.h file.
9049 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9051 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9053 * src/hildon-window.c: Hide the window before performing the destroy.
9054 Should make the app closing a little tiny bit more snappy.
9056 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9058 * src/hildon-seekbar.c: add gtkrange.h header
9059 * src/hildon-caption.c: remove unused variable
9061 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9063 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9066 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * debian/changelog: Updating.
9074 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9076 * src/hildon-window.c (hildon_window_window_state_event,
9077 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9078 escape timeout on focus-out-event rather than notify::is-topmost; the
9079 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9081 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9084 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9086 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9088 * src/hildon-window: actually, you need to use the macro always, there's
9089 no private pointer in the instance structure. We should have cleaned this up
9090 when we had the chance...
9092 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9094 * src/hildon-window.c: do not get the private date from HildonWindow before
9095 it passes the g_return_if_fail check. Once it's passed the test, there's no
9096 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9097 if you are only going to access the data once. Whitespace cleanups.
9099 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9101 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9102 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9104 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * debian/changelog: Updating.
9112 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * src/hildon-window.c: When destroying the window, remove (if exists) the
9115 escape timeout handler. Fixes #NB59276.
9117 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-banner.c: When realizing the widget, set the window
9120 transiency. Setting the transiency in the gobject constructor is not
9121 good, as the widget is not realized at that point. Fixes: #NB56624.
9123 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9125 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9126 Add padding for future expansions.
9128 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9130 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9131 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9132 will fake an activation on the previous to the last item of the trail, so
9133 the effect can be overrided by the developer as usual.
9134 Also change the callback for the back button to do the same thing, so its
9135 effect can be overrided too. Fixes: NB#58982
9137 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9140 HildonCaption. Fixes NB#52379.
9142 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9144 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9145 the internal state of the trail after the user has had the chance of executing
9146 his handler for the signal. Specifically, it may happen that the activated button
9147 is removed and the user still lets the default handler run. This would segfault
9150 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9153 scrollbar to the preview dialog. Fixes NB#54147.
9155 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9158 max/min year properties can be altered, so the client can modify it
9159 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9161 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9164 hildonlike by default. Fixing a problem with disappearing arrows when
9165 scrolling through months and years. Fixes NB#54127.
9167 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * examples/hildon-date-editor-example.c: Adding error callback to the date
9172 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * configure.ac: Updating.
9180 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * configure.ac: Adding a special '--enable-xan' configure option that
9183 turns off the -Werror compilation setting. Usefull for development.
9185 * src/hildon-calendar.c:
9186 * src/hildon-number-editor.c:
9187 * src/hildon-time-picker.c: Adding the 5* multiplier to
9190 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9192 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9193 instead of g_object_ref + gtk_object_sink.
9195 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 * debian/changelog: Updating.
9203 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-color-chooser-dialog.c:
9206 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9207 straight from Tommi labs.
9209 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * examples/hildon-finger-example.c: Correcting the header file path.
9213 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9214 the changed signal. Fixes a small memory leak.
9216 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9220 * src/hildon-banner.c: Importing several usefull fixes from the
9221 ubuntu-mobile branch.
9223 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9225 * examples/Makefile.am:
9226 * examples/hildon-finger-example.c: Adding a finger-checking code
9229 * src/hildon-font-selection-dialog.c: Do not allocate the color
9230 structure using the g_new. Fixes NB#54061.
9232 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9234 * src/hildon-helper.c: Correcting tabs in file.
9236 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9238 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9239 control the visibility of the children.
9241 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9243 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * debian/changelog: Updating.
9251 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9253 * src/hildon-bread-crumb-trail.c:
9254 (hildon_bread_crumb_trail_size_allocate):
9256 Make the back button always a square.
9258 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9260 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9261 from the .c file as it's a private file.
9263 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9266 uses slightly bigger height.
9268 * src/hildon-font-selection-dialog.c: Adding some checks before
9269 freeing memory in the font selection dialog.
9271 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-font-selection-dialog.c: Adding a small check when
9276 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9277 buttons sensitivity on page switching.
9279 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9281 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9282 internal details of adding a bread crumb to the trail.
9284 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * debian/changelog: Updating.
9292 * src/hildon-bread-crumb-trail.h:
9293 * src/hildon-bread-crumb.h: Changing the API guard to
9294 HILDON_ENABLE_UNSTABLE_API.
9296 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * src/hildon-helper.h: Updating.
9306 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9314 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9318 * src/hildon-helper.h: Small fix to make the package actually compile.
9320 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9322 * src/hildon-bread-crumb-trail.h:
9323 * src/hildon-bread-crumb.h:
9325 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9326 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9328 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9330 * examples/hildon-bread-crumb-trail-example.c:
9332 * src/hildon-bread-crumb-trail.c:
9333 * src/hildon-bread-crumb-trail.h:
9334 * src/hildon-bread-crumb.c:
9335 * src/hildon-bread-crumb.h:
9336 * src/hildon-marshalers.list:
9337 * src/hildon-bread-crumb-widget.c:
9338 * src/hildon-bread-crumb-widget.h:
9340 Slight change in the widget design. The bread crumb trail API is
9341 unchanged, but HildonBreadCrumb is now an interface. A *private*
9342 implementation, hildon-bread-crumb-widget, is provided and used
9343 internally by the trail for the push_text/push_icon functions.
9345 The generic push API is still available, so anyone can implement
9346 and use its own bread crumb widget.
9348 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * debian/rules: Fixing the shlibs.
9352 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9354 * src/hildon-banner.c: Fixing a problem with timed banners having
9355 their parrent destroyed before they are.
9357 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9359 * src/hildon-bread-crumb.c:
9360 * src/hildon-bread-crumb.h:
9362 Make the get_natural_size function a vfunc.
9364 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9366 * src/hildon-bread-crumb.c:
9367 * src/hildon-bread-crumb-trail.c:
9371 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * debian/changelog: Updating for release.
9380 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9382 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9383 don't leak the pango layout.
9385 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9388 * examples/hildon-bread-crumb-trail-example.c:
9392 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9394 * debian/changelog: Removing the bug-fixed entries that were actually
9395 resolved as WONTFIX.
9397 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9400 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9402 * src/hildon-bread-crumb-trail.c:
9403 * src/hildon-bread-crumb-trail.h:
9404 * src/hildon-bread-crumb.c:
9405 * src/hildon-bread-crumb.h:
9409 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9411 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9412 until it's passed the type check.
9414 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9416 * examples/hildon-bread-crumb-trail-example.c
9420 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9422 * examples/Makefile.am
9423 * examples/hildon-bread-crumb-trail-example.c
9425 * src/hildon-bread-crumb-trail.c
9426 * src/hildon-bread-crumb-trail.h
9427 * src/hildon-bread-crumb.c
9428 * src/hildon-bread-crumb.h
9430 New HildonBreadCrumbTrail widget.
9432 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9434 * src/hildon-range-editor.c (hildon_range_editor_init),
9435 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9436 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9437 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9438 hildon_time_editor_class_init, hildon_time_editor_init),
9439 src/hildon-get-password-dialog.c (invalid_input,
9440 hildon_get_password_set_property, hildon_get_password_get_property,
9441 create_contents, hildon_get_password_dialog_set_max_characters),
9442 src/hildon-set-password-dialog.c (create_contents),
9443 src/hildon-date-editor.c (hildon_date_editor_init),
9444 src/hildon-login-dialog.c (hildon_login_dialog_init),
9445 src/hildon-number-editor.c (hildon_number_editor_init),
9446 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9447 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9448 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9449 configure option and adding the respective checks in the code.
9450 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9451 hildon_calendar_drag_data_received): fixed some build warnings.
9453 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * debian/changelog: A 1.0.0 release notes.