1 2009-08-06 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): Increased the overshooting max
5 speed to get a faster effect.
6 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
7 deceleration of the overshooting
8 (hildon_pannable_area_button_release_cb): Calculate initial
9 overshooting speed when finger on the screen using the distance to
10 launch the effect faster.
12 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
13 lists with slow row renderers)
15 2009-08-05 Alberto Garcia <agarcia@igalia.com>
17 * doc/hildon-sections.txt: Add new functions
19 2009-08-05 Alberto Garcia <agarcia@igalia.com>
21 * hildon/hildon-text-view.[ch]
22 * hildon/hildon-entry.[ch]:
23 Add deprecation guards around deprecated functions.
25 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
27 * hildon/hildon-app-menu.c: Remove leftover function declaration.
29 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
31 Remove the grab from HildonAppMenu
33 * hildon/hildon-app-menu.c:
34 Now hildon-desktop places a blocker window behind the menu to handle
35 its closing, so the grab is no longer needed. This simplifies its
36 implementation and allows the system blanking to succeed.
38 Fixes: NB#130910 (Screen gets unlocked when menu is open)
40 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
44 * configure.ac: bump version
46 * debian/changelog: updates
47 * debian/control: raise debian dependency on GTK+
49 2009-08-04 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-text-view.c
52 * hildon/hildon-entry.c:
53 Remove all placeholder code from HildonEntry and HildonTextView
54 and use the API in GtkEntry and GtkTextView instead.
56 * examples/hildon-entry-example.c
57 * examples/hildon-text-view-example.c
58 * examples/hildon-wizard-dialog-example.c
59 * hildon/hildon-get-password-dialog.c
60 * hildon/hildon-login-dialog.c
61 * hildon/hildon-picker-dialog.c
62 * hildon/hildon-set-password-dialog.c
63 * hildon/hildon-touch-selector-entry.c:
64 Replace all deprecated calls to HildonEntry and HildonTextView
65 with their Gtk counterparts.
67 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
70 2009-08-03 Alejandro G. Castro <alex@igalia.com>
72 * hildon/hildon-pannable-area.c,
73 (hildon_pannable_area_check_move),
74 (hildon_pannable_area_button_release_cb),
75 (hildon_pannable_area_scroll_to): Reverted the priority change of
76 the timeout, in some situations, slow renderers, the click do not
77 make it to the mainloop on time.
79 Fixes NB#131013 (unable to stop panning file manager by tapping on
82 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
84 * configure.ac: bump version
86 * debian/changelog: updates
88 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
90 * hildon/hildon-touch-selector.[ch]
91 (hildon_touch_selector_center_on_index): New method that allows to center
92 on a item not selected
94 Fixes NB#130291 (New HildonTouchSelector API is required to center on
97 2009-07-29 Alberto Garcia <agarcia@igalia.com>
99 * hildon/hildon-text-view.c
100 (+set_logical_color, +hildon_text_view_style_set)
101 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
102 (hildon_text_view_init)
103 * hildon/hildon-entry.c
104 (+set_logical_color, +hildon_entry_style_set)
105 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
106 (hildon_entry_class_init, hildon_entry_init)
107 * hildon/hildon-button.c
108 (+set_logical_font, +set_logical_color)
109 (hildon_button_style_set, hildon_button_init)
110 (hildon_button_set_arrangement, hildon_button_set_style):
111 Remove all calls to hildon_helper_set_logical_font() and
112 hildon_helper_set_logical_color(), which are recursive, from
115 Fixes: NB#123409 (Showing dialog consumes significant amount of
118 2009-07-29 Alejandro G. Castro <alex@igalia.com>
120 * hildon/hildon-pannable-area.c,
121 (hildon_pannable_area_timeout): Added the process updates of the
122 scrollbars window in the pannable.
124 Fixes: NB#130043 (scrollindicator not smooth while panning)
126 2009-07-23 Alejandro G. Castro <alex@igalia.com>
128 * hildon/hildon-pannable-area.c,
129 (hildon_pannable_area_check_move),
130 (hildon_pannable_area_button_release_cb),
131 (hildon_pannable_area_scroll_to): Increased the priority of the
132 timeout this way it is going to be handled before the events.
134 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
138 * configure.ac: bump version
139 * debian/changelog: updates
141 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
143 * hildon/hildon-entry.c: (set_property): Do not allow to set
144 automatic height and use finger height instead, to prevent an to
145 have a smaller size than than its theme pixbuf.
147 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
149 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
151 * configure.ac: postrelease version bump.
152 * debian/changelog: post release version bump
154 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
159 * configure.ac: Bump version.
160 * debian/changelog: Updates.
162 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
164 * hildon/hildon-note.c: (label_size_request): Take the note
165 padding into account when setting the size request.
167 Fixes: NB#127896 (Information notes text truncated)
169 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
171 * configure.ac: postrelease version bump.
172 * debian/changelog: post release version bump
174 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
179 * configure.ac: Bump version.
180 * debian/changelog: Updates.
182 2009-07-16 Alejandro G. Castro <alex@igalia.com>
185 * hildon/hildon-text-view.c,
186 (hildon_text_view_button_press_event): Grabbed the focus in button
187 press, this way we are sure the widget has the focus in the
188 release event, required for HIM.
190 Fixes: NB#121445 (Virtual keyboard opening is not working in same
191 way for each text entry field)
193 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
195 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
196 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
197 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
198 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
199 (hildon_pannable_area_[gs]et_center_on_child_focus)
200 Redefined GtkContainer set-focus-child signal, in order to center
201 properly on a child when it receives the focus. Defined a new property
202 "center-on-child-focus" in order to activate this feature (deactivated
203 by default). Public get/set methods defined to manage the property.
205 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
207 2009-07-14 László Pere <lpere@blumsoft.eu>
209 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
210 the new size is applied.
212 Fixes: NB#124510 (The Application Menu is distorted when switched
213 between portrait and landscape mode)
214 Fixes: NB#115388 (Power key menu does not resize itself)
216 2009-07-01 Alberto Garcia <agarcia@igalia.com>
218 * hildon/hildon-banner.c (hildon_banner_map):
219 Set banner position after mapping.
221 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
223 * configure.ac: postrelease version bump.
224 * debian/changelog: post release version bump
226 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
231 * configure.ac: Bump version.
232 * debian/changelog: Updates.
234 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
236 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
239 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
241 * tests/check-hildon-banner.c
243 * tests/test_suites.h
244 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
245 were testing deprecated functions.
246 * examples/hildon-banner-example.c: typo on button3 type, that causes
247 a fail compiling with --with-examples but without --disable-deprecated
249 Missed commit in order to fix compilation using '--enable-fatal' and
250 '--disable-deprecated' (see previous commit)
252 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
254 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
255 functions with #ifndef HILDON_DISABLE_DEPRECATED
256 * examples/hildon-find-toolbar.c: Protect deprecated
257 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
258 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
259 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
260 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
262 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
263 to allow proper compilation of deprecated functions defined on the header
265 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
267 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
269 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
270 Cache the panning indicator color.,
271 (hildon_pannable_area_style_set): Query the color on style changes.
272 (hildon_pannable_draw_vscroll),
273 (hildon_pannable_draw_hscroll),
274 (hildon_pannable_area_expose_event): Use the cached panning indicator
275 color instead of looking it up on every expose and more.
277 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
279 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
280 (hildon_pannable_draw_hscroll),
281 (hildon_pannable_area_expose_event): Fix the panning indicator color,
282 so that it's "SecondaryTextColor", as desired.
284 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
286 * hildon/hildon-picker-dialog.c:
287 (selection_completed): take into account HILDON_UI_MODE_NORMAL
288 * hildon/hildon-touch-selector.c
289 (hildon_touch_selector_init): Initialize hildon-ui-mode
290 (hildon_touch_selector_row_activated): new callback for the
291 "row-activated" signal, in order to save the last activated
292 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
293 if the current hildon-ui-mode is coherent with the touch selector
294 (hildon_touch_selector_class_init)
295 (hildon_touch_selector_get_property)
296 (hildon_touch_selector_set_property)
297 Added "hildon-ui-mode" property
298 (disconnect_model_handlers): renamed to clean_column
299 (hildon_touch_selector_remove): use clean_column function
300 (_create_new_column): use the hildon-ui-mode to create the treeview, and
301 only select the first element on HILDON_UI_MODE_EDIT
302 (hildon_touch_selector_column_init): Initialize last_activate
303 (hildon_touch_selector_append_column): check that the touch selector
304 is coherent with the current hildon-ui-mode
305 (hildon_touch_selector_get_hildon_ui_mode)
306 (hildon_touch_selector_set_hildon_ui_mode)
307 Added a getter/setter for the hildon-ui-mode property
308 (hildon_touch_selector_get_last_activated_row): Added this method in
309 order to get the last activated row.
310 * examples/hildon-touch-selector-normal-mode-example.c
311 New example, that shows how to use the HildonTouchSelector in
312 HILDON_UI_MODE_NORMAL
314 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
315 Kristian Rietveld <kris@lanedo.com> advices
317 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
319 * hildon/hildon-time-selector.c: (update_format_policy): Do
320 not call update_format_dependant_columns() if not necessary.
321 (update_format_dependant_columns): Remove unnecessary check for
322 the number of columns.
324 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
326 * hildon/hildon-note.c (+hildon_note_constructor),
327 (hildon_note_class_init), (+hildon_note_set_padding),
328 (hildon_note_rebuild): Install a constructor where to set the
329 padding properties in the note, so that it actually works fine.
330 Use hildon_note_set_padding() for this, and also to set it during
333 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
335 * configure.ac: Bump GTK+ requirement to 2.14.3.
336 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
337 when using maemo-gtk to define proper margins for the notes.
339 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
340 with the dialog edge)
342 2009-06-24 Alberto Garcia <agarcia@igalia.com>
344 * hildon/hildon-banner.c
345 (hildon_banner_class_init):
347 (+hildon_banner_size_request):
348 Request always the full width of the screen.
349 (hildon_banner_realize)
350 (-hildon_banner_check_position, hildon_banner_map):
351 hildon_banner_check_position() is not needed in Hildon 2.2.
352 (-hildon_banner_reset_wrap_state)
353 (hildon_banner_constructor, hildon_banner_init):
354 Remove unnecessary calls to hildon_banner_reset_wrap_state()
355 (+banner_do_set_text)
356 (force_to_wrap_truncated):
357 Remove has_been_wrapped and has_been_truncated attributes.
358 (+reshow_banner, hildon_banner_real_show_information)
359 (hildon_banner_show_information_with_markup)
360 (hildon_banner_show_animation, hildon_banner_show_progress)
361 (hildon_banner_set_text, hildon_banner_set_markup):
362 Refactor code. Shrink banner vertically to use the minimum space
363 necessary everytime the text of the label is updated.
364 (screen_size_changed):
365 Call force_to_wrap_truncated() when the size of the screen
368 Fixes: NB#120500 (only device memory connect mmc in use info
369 banner is left aligned)
371 Fixes: NB#120613 (Size of HildonBanner varies depending on
372 previously opened banners)
374 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
376 * hildon/hildon-color-chooser.c
377 (hildon_color_chooser_pointer_motion): Take the widget allocation
380 Fixes: NB#124385 (Unable to select exact point in color mixing box
381 in color palette dialog)
383 2009-06-23 Alejandro G. Castro <alex@igalia.com>
385 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
386 (hildon_pannable_area_dispose)
387 (hildon_pannable_area_button_press_cb)
388 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
389 (hildon_pannable_area_button_release_cb)
390 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
391 New 'panning-started' and 'panning-finished' signals.
393 Fixes: NB#121732 (New feature request: Signal to pannable area
394 that informs when panning is stopped.)
396 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
398 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
399 instead of hardcoded colon.
401 Fixes: NB#124090 (New calendar wizard title is not using
402 ecdg_ti_caption_separator)
404 2009-06-22 David King <davidk@openismus.com>
406 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
407 constants and functions, as well as correct many typos throughout the
410 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
413 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
415 * configure.ac: postrelease version bump.
416 * debian/changelog: post release version bump
418 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
423 * configure.ac: Bump version.
424 * debian/changelog: Updates.
426 2009-06-18 Alberto Garcia <agarcia@igalia.com>
428 * hildon/hildon-window-stack.c
429 (hildon_window_stack_pop_and_push_list):
430 Prevent windows from having the same stack index
432 2009-06-18 Alberto Garcia <agarcia@igalia.com>
434 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
435 Use the index of the previous window rather than the stack length
436 to calculate the new index.
440 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
442 * hildon/hildon-date-selector.c
443 (hildon_date_selector_select_current_date)
444 (hildon_date_selector_get_date)
445 (hildon_date_selector_select_day):
446 Update the documentation: uses always the range (1-31), as it is obvious
447 that the final one will depend on the month and the year, but globally
448 the range is this, in a similar GtkCalendar approach
449 (hildon_date_selector_get_date):
450 Update the documentation: add NULL as a valid value for the day, month
453 Fix some details, after talk with David King on bug MB#4698
455 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
457 * hildon/hildon-touch-selector-entry.c
458 * hildon/hildon-touch-selector.c
459 Update the documentation of the "text-column" property
461 2009-06-18 David King <davidk@openismus.com>
463 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
464 several typos and errors throughout the documentation.
466 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
469 2009-06-18 Alberto Garcia <agarcia@igalia.com>
471 * hildon/hildon-note.c (hildon_note_realize):
472 Make HildonNote support portrait mode.
474 Fixes: NB#123448 (HildonNote is not portrait-friendly)
476 2009-06-17 Alberto Garcia <agarcia@igalia.com>
478 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
479 Document this function
481 2009-06-17 David King <davidk@openismus.com>
483 * hildon/hildon-date-selector.c
484 (hildon_date_selector_select_current_date)
485 (hildon_date_selector_get_date): Update documentation regarding days,
486 as the day of the month is dependent on both the month and the year.
487 (hildon_date_selector_get_date): Fix documentation of output arguments.
489 Fixes: MB#4698 (DateSelector documentation has bad output argument
490 description, and the day depends on both the month and the year)
492 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
494 * hildon/hildon-caption.c: Other documentation fixes to
497 2009-06-17 David King <davidk@openismus.com>
499 * hildon/hildon-caption.c: Minor documentation updates for
500 HildonCaption. Fixes MB#4697.
502 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
504 * doc/hildon-docs.sgml: Add hildon-version section.
505 * doc/hildon-sections.txt:
506 * hildon/hildon-version.h.in: Document versioning macros and
509 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
511 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
512 from HildonPickerDialog section.
514 2009-06-16 Alberto Garcia <agarcia@igalia.com>
516 * hildon/hildon-banner.c (hildon_banner_bind_style)
517 (screen_size_changed, hildon_banner_init)
518 (hildon_banner_real_show_information)
519 (hildon_banner_show_information_with_markup)
520 (hildon_banner_show_animation, hildon_banner_show_progress):
521 Set a different widget name to banners in portrait mode, for them
522 to be themed correctly.
524 2009-06-16 Alberto Garcia <agarcia@igalia.com>
526 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
527 Set a different widget name to notes in portrait mode, for them to
530 Partially fixes: NB#118401 (HildonNote causes unnecessary
533 2009-06-16 Alberto Garcia <agarcia@igalia.com>
535 * hildon/hildon-note.c (hildon_note_class_init)
536 (+hildon_note_size_request, screen_size_changed):
537 Always request the full width of the screen.
539 Fixes: NB#118375 (unnecessary rescaling of images)
541 2009-06-16 Alejandro G. Castro <alex@igalia.com>
543 * hildon/hildon-pannable-area.c,
544 (hildon_pannable_area_init),
545 (hildon_pannable_area_realize): Replaced old code adding flags in
546 the object init, now we add it with the other flags in the realize
549 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
551 * hildon/hildon-note.c: (hildon_note_class_init): Several
552 documentation improvements to the HildonNote widget.
554 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
556 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
558 Fixes: MB#4556 (HildonNoteType is undocumented)
560 2009-06-15 Alberto Garcia <agarcia@igalia.com>
562 * hildon/hildon-picker-button.c:
563 Explain how HildonPickerButton sets the title of its dialog
565 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
566 the title of its dialog)
568 2009-06-15 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-check-button.c:
571 Documentation updates
573 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
576 2009-06-15 Alberto Garcia <agarcia@igalia.com>
579 * hildon/hildon-edit-toolbar-private.h
580 * hildon/hildon-edit-toolbar.c
581 (+hildon_edit_toolbar_set_progress_indicator)
582 (hildon_edit_toolbar_init): Add progress indicator to the
585 * hildon/hildon-gtk.c
586 (hildon_gtk_window_set_progress_indicator):
587 If the window contains a HildonEditToolbar, enable the progress
590 * hildon/hildon-private.h
591 * hildon/hildon-private.c
592 (+hildon_private_create_animation)
593 * hildon/hildon-banner.c
594 (-hildon_banner_create_animation):
595 Moved to hildon-private.c
597 Fixes: NB#102373 (Progress indicator also for the Edit mode
600 2009-06-15 Alberto Garcia <agarcia@igalia.com>
602 * hildon/hildon-app-menu-private.h
603 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
604 (hildon_app_menu_add_filter, +menu_item_button_event)
605 (hildon_app_menu_button_release, hildon_app_menu_init):
606 Make sure that buttons receive 'button-release-event' in spite of
607 the grab held by HildonAppMenu
609 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
611 2009-06-15 Alberto Garcia <agarcia@igalia.com>
613 * hildon/hildon-app-menu.c
614 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
615 New style property to set the size of the group of filter buttons.
617 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
619 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
624 * configure.ac: Bump version.
625 * debian/changelog: Updates.
627 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
629 * hildon/hildon-main.c: Minor documentation fixes.
631 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
633 * doc/hildon-sections.txt:
634 * hildon/hildon-defines.h: Document the defines, organize them,
635 and mark deprecations as such.
637 Fixes: MB#4463 (Hildon size #defines are undocumented)
639 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
641 * hildon/hildon-animation-actor.c:
642 * hildon/hildon-app-menu.c:
643 * hildon/hildon-button.c:
644 * hildon/hildon-date-editor.c:
645 * hildon/hildon-dialog.c:
646 * hildon/hildon-edit-toolbar.c:
647 * hildon/hildon-entry.c:
648 * hildon/hildon-program.c:
649 * hildon/hildon-remote-texture.c:
650 * hildon/hildon-stackable-window.c:
651 * hildon/hildon-text-view.c:
652 * hildon/hildon-touch-selector.c:
653 * hildon/hildon-window-stack.c:
654 * hildon/hildon-window.c:
656 Remove redundant "represents" wording from most of the documentation.
658 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
660 2009-06-12 Alberto Garcia <agarcia@igalia.com>
665 * hildon/hildon-banner-private.h
666 * hildon/hildon-banner.c:
667 Move HildonBannerPrivate to hildon-banner.c and remove
668 hildon-banner-private.h
669 Use a bit field to store private booleans.
671 2009-06-12 Alberto Garcia <agarcia@igalia.com>
673 * hildon/hildon-app-menu.c (hildon_app_menu_map):
674 Don't install a new idle function if there's already one
679 2009-06-11 Alberto Garcia <agarcia@igalia.com>
681 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
682 (+legacy_menu_realized, +legacy_menu_unmapped)
683 (+set_legacy_menu_type):
684 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
685 they can be identified by the window manager.
687 Fixes: NB#101437 (Invoking CSM on the left side of page area is
688 displayed in wrong location)
690 Fixes: MB#4563 (Popup menu won't locate at the left side of the
693 2009-06-11 Alberto Garcia <agarcia@igalia.com>
695 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
697 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
700 2009-06-11 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-code-dialog.c
703 * hildon/hildon-date-editor.c
704 * hildon/hildon-number-editor.c
705 * hildon/hildon-seekbar.c
706 * hildon/hildon-stackable-window.c
707 * hildon/hildon-window.c:
708 Misc documentation updates
710 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
712 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
713 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
715 Fixes: NB#117931 (Theming issues in accounts dialogs)
717 2009-06-09 Alejandro G. Castro <alex@igalia.com>
719 * hildon/hildon-pannable-area.c,
720 (hildon_pannable_area_button_release_cb): Changed the coordinates
721 of the original release in case we want to discard the release,
722 some widgets in Fremantle do not handle the leave-notify.
724 2009-06-09 Alejandro G. Castro <alex@igalia.com>
726 * hildon/hildon-pannable-area.c,
727 (hildon_pannable_area_button_release_cb): Reviewed the logic of
728 the release using the last refactored functions and avoiding the
729 movement if an element was selected.
731 2009-06-09 Alejandro G. Castro <alex@igalia.com>
733 * hildon/hildon-pannable-area.c,
734 (hildon_pannable_area_check_move),
735 (hildon_pannable_area_handle_move),
736 (hildon_pannable_area_motion_notify_cb): Refactored the
737 motion_notify method using a couple of new functions.
739 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
741 * hildon/hildon-date-selector.c:
742 (hildon_date_selector_construct_ui):
743 * hildon/hildon-time-selector.c:
744 (hildon_time_selector_constructor):
745 * hildon/hildon-touch-selector-entry.c:
746 (hildon_touch_selector_entry_set_text_column),
747 (hildon_touch_selector_entry_get_text_column):
748 * hildon/hildon-touch-selector.c: (_default_print_func),
749 (hildon_touch_selector_new_text): Use
750 hildon_touch_selector_set/get_text_column() instead of
751 setting/getting the "text-column" property.
753 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
755 * doc/hildon-sections.txt: Add the new public methods below.
757 * examples/hildon-picker-button-multicolumn-example.c:
758 (create_touch_selector):
759 * examples/hildon-touch-selector-example.c: (create_selector):
760 * examples/hildon-touch-selector-multi-cells-example.c:
762 Use hildon_touch_selector_column_set_text_column()
764 * hildon/hildon-touch-selector-column.h:
765 * hildon/hildon-touch-selector.c:
766 (hildon_touch_selector_column_set_text_column),
767 (hildon_touch_selector_column_get_text_column):
768 Make hildon_touch_selector_column_set/get_column() public, use
769 them in the inline example, document them, and reference to them
772 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
774 * hildon/hildon-time-selector.c: Fix the docs for
775 hildon_time_selector_new_step().
777 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
779 * hildon/hildon-touch-selector.c: Improve the documentation for
780 hildon_touch_selector_append_column().
782 Fixes MB#4641 (Documentation:
783 hildon_touch_selector_append_column() ref-counting)
785 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
787 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
788 Comment out test 5, since the hildon_controlbar_set_range() range
789 check is broken and fixing it would have side effects. Also,
790 this finally fixes make distcheck.
792 Fixes: NB#101420 (Update unit tests and fix make distcheck)
794 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
796 * tests/TEST-CASES.txt: Remove other bogus test.
797 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
798 Remove bogus test that was setting/retrieving a valid value.
800 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
802 * tests/TEST-CASES.txt: Remove bogus tests.
803 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
804 Remove three bogus tests that were actually setting valid colors.
806 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
808 * configure.ac: post release version bump
809 * debian/changelog: post release version bump
811 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
816 * configure.ac: Bump version.
817 * debian/changelog: Updates.
819 2009-06-08 Christian Dywan <christian@lanedo.com>
823 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
824 Correct errors in hildon_format_file-size_for_display and use
825 translations from the hildon-fm package instead of osso-filemanager.
827 2009-06-08 Alejandro G. Castro <alex@igalia.com>
829 * hildon/hildon-pannable-area.c,
830 (hildon_pannable_area_init): Initialized new values to handle the
832 (hildon_pannable_area_adjust_value_changed): Check if the values
833 changed before even call the redraw function.
834 (hildon_pannable_area_size_allocate),
835 (hildon_pannable_axis_scroll),
836 (hildon_pannable_area_scroll),
837 (hildon_pannable_area_jump_to): Improved the diagonal movement
840 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
843 2009-06-08 Alberto Garcia <agarcia@igalia.com>
845 * examples/hildon-banner-example.c:
846 Several style updates
847 (on_animation_clicked, on_animation_idle)
848 (on_progress_clicked, on_progress_idle):
849 Add additional reference for the cases when the parent window is
852 2009-06-08 Alberto Garcia <agarcia@igalia.com>
854 * doc/hildon-sections.txt
855 * hildon/hildon-pannable-area.c
856 * hildon/hildon-banner.h
857 * hildon/hildon-banner.c: Documentation updates.
859 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
862 2009-06-05 Alejandro G. Castro <alex@igalia.com>
864 * hildon/hildon-calendar-popup.h:
865 * hildon/hildon-caption.h:
866 * hildon/hildon-code-dialog.h:
867 * hildon/hildon-controlbar.h:
868 * hildon/hildon-date-editor.h:
869 * hildon/hildon-dialog.h:
870 * hildon/hildon-get-password-dialog.h:
871 * hildon/hildon-hvolumebar.h:
872 * hildon/hildon-login-dialog.h:
873 * hildon/hildon-note.h:
874 * hildon/hildon-number-editor.h:
875 * hildon/hildon-range-editor.h:
876 * hildon/hildon-seekbar.h:
877 * hildon/hildon-set-password-dialog.h:
878 * hildon/hildon-sort-dialog.h:
879 * hildon/hildon-time-editor.h:
880 * hildon/hildon-time-picker.h:
881 * hildon/hildon-volumebar-range.h:
882 * hildon/hildon-volumebar.h:
883 * hildon/hildon-vvolumebar.h:
884 * hildon/hildon-weekday-picker.h:
885 * hildon/hildon-window.h:
886 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
887 macros with the current replacements
889 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
891 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
893 * hildon/hildon-color-button.c (hildon_color_button_init): Use
894 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
895 itself, to make it fit better with Fremantle style.
897 Fixes: NB#109878 (height and width of focus on color icon is not
898 consistent with other item in the application tool bar)
900 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
902 * hildon/hildon-touch-selector.c:
903 (hildon_touch_selector_optimal_size_request): use the current requisition
904 as the base, in order to include any possible extra widget, like the
905 hildon entry on HildonTouchSelectorEntry
907 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
909 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
911 * configure.ac: post release version bump
912 * debian/changelog: post release version bump
914 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
919 * configure.ac: Bump version.
920 * debian/changelog: Updates.
922 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
924 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
926 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
927 to ensure the banner contents are centered, instead of relying on
928 the expand and fill properties in GtkHBox.
929 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
931 Fixes: NB#108265 (Animation banner not properly centered)
933 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
935 * hildon/hildon-pannable-area.c
936 (hildon_pannable_area_initial_effect): Remove the initial_effect
937 management, check initial_hint
938 (hildon_pannable_are_expose_event): Remove the initial_hint management,
939 set initial_effect to FALSE
940 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
941 by launching the fade_timeout if the scrollbars state has changed and are
943 * examples/hildon-pannable-area-initial-hint-example.c
944 Modified to allow to remove rows too. Add and remove rows one by one.
946 2009-05-28 Alberto Garcia <agarcia@igalia.com>
948 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
949 Don't close the menu if there's an animation actor below it.
951 Fixes: NB#117927 (Application menu not usable with animation
954 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
956 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
957 "focus-on-click" from the dialog button, to avoid stealing the
958 focus from the entry.
960 Fixes: NB#118903 (Account setup wizard: Text in Search field
961 should be focused when "Region" touch list picker is reopened
964 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
966 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
967 (prepare_action_area): Completely hide the dialog separator.
969 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
971 * hildon/hildon-touch-selector-entry.c
972 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
973 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
974 now that the entry is exposed.
976 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
978 * hildon/hildon-touch-selector-entry.c
979 (hildon_touch_selector_entry_init): Change the entry's size
980 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
982 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
985 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
986 avoid unnecessary scaling.
988 2009-05-27 Alberto Garcia <agarcia@igalia.com>
990 * hildon/hildon-app-menu.c (hildon_app_menu_map):
991 Create grab transfer window before calling parent's map function.
993 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
994 "crushed" button(s) in the top left corner)
996 2009-05-26 Alberto Garcia <agarcia@igalia.com>
998 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
999 Check if the window is already realized when pushing it.
1001 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1003 * configure.ac: post release version bump
1004 * debian/changelog: post release version bump
1006 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1011 * configure.ac: Bump version.
1012 * debian/changelog: Updates.
1014 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1016 * hildon/hildon-app-menu.c: Doc updates.
1018 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1020 * hildon/hildon-banner.c: Remove leftover macro.
1022 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1024 * hildon/hildon-pannable-area.c,
1025 (hildon_pannable_area_scroll_indicator_fade),
1026 (hildon_pannable_area_button_release_cb): Reviewed vmin
1027 conditions, it could cause problems in the fadeout procedure.
1029 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1031 * hildon/hildon-pannable-area.c
1032 (hildon_pannable_area_button_release_cb): Added a threshold to
1033 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1035 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1037 * hildon/hildon-pannable-area.c,
1038 (hildon_pannable_area_set_property): Added code to sync the gtk
1039 dnd threshold with the panning threshold.
1041 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1043 * hildon/hildon-pannable-area.c,
1044 (hildon_pannable_area_class_init): Changed some of the default
1045 values, now it should be less responsive and more accurate.
1047 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1049 * hildon/hildon-pannable-area.c,
1050 (hildon_pannable_area_init),
1051 (hildon_pannable_area_scroll_indicator_fade),
1052 (hildon_pannable_area_button_press_cb),
1053 (hildon_pannable_axis_scroll),
1054 (hildon_pannable_area_timeout),
1055 (hildon_pannable_area_motion_notify_cb),
1056 (hildon_pannable_area_button_release_cb): Changed the name of the
1057 clicked attribute to button_pressed, it is more clear about its use.
1059 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-pannable-area.c
1062 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1064 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1065 vertical scrollbar visibility, and use the data on private section instead,
1066 remove the initial_hint check
1067 (hildon_pannable_area_expose_event): add the initial_hint check here
1069 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1071 * src/hildon-pannable-area.c
1072 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1073 if the fadeout effect was used
1074 (hildon_pannable_area_expose_event): check if it is required to
1075 manage the initial effect on the begining of the function. Previously
1076 it was made at the end, but this doesn't ensure that the scrollbars
1077 will be painted on the first show. Do not set to FALSE initial_effect,
1078 to ensure that the initial hint is showed the first time the pannable
1080 * examples/Makefile.am
1081 * examples/hildon-pannable-area-initial-hint-example.c:
1082 New example, to show that the initial-hint is showed when the widget
1085 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1086 initially if the application can be scrolled)
1088 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1090 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1091 Resize table before adding new items to make sure that
1092 gtk_table_resize() is called just once.
1094 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1096 * hildon/hildon-app-menu-private.h
1097 * hildon/hildon-app-menu.c (item_visibility_changed)
1098 (filter_visibility_changed, hildon_app_menu_show_all)
1099 (hildon_app_menu_hide_all, hildon_app_menu_init):
1100 Rearrange items just once when gtk_widget_show_all()/hide_all()
1103 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1105 * hildon/hildon-app-menu.c
1106 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1107 Don't call gtk_widget_show() on added items.
1109 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1110 automatically when they're added)
1112 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1114 * hildon/hildon-banner.c
1115 (hildon_banner_realize, +hildon_banner_unrealize)
1116 (+screen_size_changed, hildon_banner_class_init):
1117 Redisplay the banner if the screen is rotated.
1119 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1120 on transition from landscape to portrait)
1122 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1124 * hildon/hildon-banner.[ch]:
1125 (hildon_banner_show_information_override_dnd): remove icon_name from the
1126 method definition as it is ignored.
1127 * examples/hildon-banner-dnd-example.c: updated with the change on
1130 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1132 * hildon/hildon-banner-private.h: new require_override_dnd and
1133 overrides_dnd variables
1134 * hildon/hildon-banner.h:
1135 (hildon_banner_show_information_override_dnd): new method, that shows
1136 the information but sets the override flag, in order to show important
1138 * hildon/hildon-banner.c
1139 (hildon_banner_show_information_override_dnd): new method
1140 (hildon_banner_set_override_flag): new utility function
1141 (hildon_banner_real_show_information): new utility function, in order to
1142 generalize the current hildon_banner_show_information_override_dnd and
1143 hildon_banner_show_information_override_dnd
1144 * examples/Makefile.am
1145 * examples/hildon-banner-dnd-example.c: New example that show how to
1146 use the new hildon_banner_show_information_override_dnd
1148 Fixes: NB#114874 (There is no possibility to show hildon banners with
1151 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1153 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1154 behind hildon_pannable_calculate_vel_factor().
1156 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1158 * hildon/hildon-pannable-area.c
1159 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1160 deceleration factors.
1162 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1164 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1165 Reduce the default value for 'scroll_time' to 1 second, since the
1166 current initial scrolling takes too much time.
1168 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1170 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1171 calculate velocity factor during initialization, since the properties
1174 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1176 * hildon/hildon-pannable-area.c
1177 (hildon_pannable_area_set_property): Calculate the velocity factor
1178 after setting the deceleration property and not after.
1180 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1182 * hildon/hildon-entry.c
1183 (hildon_entry_class_init, +set_property, hildon_entry_new)
1184 * hildon/hildon-check-button.c
1185 (hildon_check_button_class_init)
1186 (+set_property, hildon_check_button_new):
1187 Make the theme size a property.
1189 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1190 others) do too much in the _new function)
1192 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: post release version bump
1195 * debian/changelog: post release version bump
1197 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1202 * configure.ac: Bump version.
1203 * debian/changelog: Updates.
1205 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1207 * hildon/hildon-gtk.h
1208 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1209 New API function to take a screenshot of a window
1211 Fixes: NB#106374 (Need API to take a loading screenshot)
1213 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1215 * hildon/hildon-time-selector.c
1216 (update_format_policy): prevent to use hours and minutes unitialized
1218 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1220 * hildon/hildon-window.c (hildon_window_size_request):
1221 Always request the full size of the screen (minus the title bar if
1222 not in fullscreen mode).
1224 Fixes: NB#107486 (HildonWindow should size itself properly)
1226 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1228 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1229 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1230 (on_show_cb), (sound_handling): Disconnect the idle handler for
1231 the sound when the note is finalized to avoid possible crashes.
1233 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1236 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1238 * src/hildon-animation-actor.c,
1239 * src/hildon-remote-texture.c:
1240 Added proper object cleanup to remove signal handler and object
1241 references as HildonAnimationActor and HildonRemoteTexture
1242 objects get destroyed.
1244 Fixes: NB#116682 (Destroying parented animation actors when
1245 parent in unmapped leads to crash)
1247 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1249 Based on a patch by Christian Dywan (christian@imendio.com)
1251 * doc/hildon-sections.txt:
1252 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1253 * hildon/hildon-helper.h: New file size formatting method.
1255 * debian/control: Depend on osso-filemanager l10n package for
1256 proper localization strings.
1258 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1260 * tests/Makefile.am: Include top_srcdir to make possible to build
1261 tests in a different builddir.
1262 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1263 on a different builddir.
1265 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1268 (hildon_touch_selector_remove): Disconnect model's signal handler
1271 Fixes: NB#116289 (Hildon home crashes while adding task
1274 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1276 * hildon/hildon-button.c
1277 (hildon_button_set_title, hildon_button_set_value):
1278 Hide labels containing an empty string.
1280 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1282 * configure.ac: post release version bump
1283 * debian/changelog: post release version bump
1285 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1290 * configure.ac: Bump version.
1291 * debian/changelog: Updates.
1293 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1295 * hildon/hildon-note-private.h: Removed sound_signal_handler
1296 * hildon/hildon-note.c
1297 (on_show_cb): new callback on note "show" event, this simply adds
1298 a idle, with the function sound_handling
1299 (sound_handling): removed the sound_signal_handler management
1300 (hildon_note_init): connect note "show" event to on_show_cb
1301 (hildon_note_realize): remove the connection to "expose-event"
1303 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1304 device?' confirmation note)
1306 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1308 * hildon/hildon-note.c
1309 (hildon_note_new_information_with_icon_name)
1310 (hildon_note_new_confirmation_with_icon_name):
1311 Terminate the list of parameters in g_object_set() calls
1313 Fixes: NB#115166 (Formatting memory card is not taking place)
1315 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1317 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1318 "dialog-information" role for the sound being played.
1320 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1322 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1323 Don't make the menu a modal window, it causes strange interactions
1324 with the pointer grab and it's not really needed.
1326 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1328 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1330 * hildon/hildon-touch-selector.[ch]
1331 (hildon_touch_selector_optimal_size_request): function added to get a
1332 optimal size request from the touch selector, when you want a dialog to
1333 show as much of the selector
1334 * hildon/hildon-picker-dialog.c:
1335 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1336 (hildon_app_menu_class_init):
1337 New "max-height-landscape" and "max-height-portrait" style properties
1338 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1339 (hildon_picker_dialog_get_max_height): returns the maximum height using
1340 the style properties defined and checking the current portrait/landscape
1342 (_hildon_picker_dialog_set_selector): removed the set_size_request
1344 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1346 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1348 * hildon/hildon-bread-crumb-trail.c:
1349 * hildon/hildon-bread-crumb.c:
1350 * hildon/hildon-seekbar.c:
1351 Add reference to replacements for these deprecated widgets.
1353 Fixes: MB#4461 (Documentation: All deprecations should mention
1356 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1358 * examples/hildon-remote-texture-example.c
1360 Change the include to the hildon-remote-texture in order to compile
1361 properly the examples on the installed libhildon1-examples package
1363 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1365 * tests/Makefile.am: Add check for HildonPickerButton.
1366 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1367 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1368 checks for the HildonPickerButton.
1369 * tests/check_test.c (configure_tests): Add the test suite.
1370 * tests/test_suites.h: likewise.
1372 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1374 * hildon/hildon-touch-selector.c
1375 (+on_row_changed): Emit HildonTouchSelector:changed when the
1376 contents of a selected row change.
1377 (_create_new_column), (_hildon_touch_selector_set_model): connect
1378 to GtkTreeModel:row-changed on a newly set model.
1380 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1382 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1384 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1386 * hildon/hildon-banner.c (hildon_banner_destroy)
1387 (hildon_banner_show_progress, hildon_banner_set_fraction):
1388 Remove the progress bar from HildonBanner and use a progress
1391 Fixes: NB#113761 (Update progress banner to use progress
1394 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1396 * hildon/hildon-banner.c:
1397 Calculate size of the banner label using the actual screen width
1398 rather than using a fixed value.
1400 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1403 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1405 * hildon/hildon-pannable-area.c,
1406 (hildon_pannable_area_class_init): Fixed signals documentation
1409 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1411 * configure.ac: post release version bump
1412 * debian/changelog: post release version bump
1414 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1419 * configure.ac: Bump version.
1420 * debian/changelog: Updates.
1422 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1424 * hildon/hildon-edit-toolbar.c
1425 (hildon_edit_toolbar_init):
1426 Don't let buttons in HildonEditToolbar receive focus.
1428 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1429 typing on an HW arrows key)
1431 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1433 * doc/Makefile.am: Fix build.
1435 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1437 * doc/Makefile.am: Do not redefine content_files.
1439 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1447 Renamed src/ to hildon/
1452 Include <hildon/hildon.h> directly in all examples.
1454 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1456 * src/hildon-sort-dialog.c
1457 (hildon_sort_dialog_add_sort_key_with_sorting)
1461 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1463 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1464 make distcheck passes.
1466 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1468 * Makefile.am: Enable gtk-doc during distcheck.
1470 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1472 * Makefile.am: Do not distribute the debian/ directory.
1474 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1476 * doc/Makefile.am: Add the extra SGML files to content_files,
1477 so that they are distributed properly.
1479 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1481 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1484 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1487 (hildon_note_new_information_with_icon_name): Set the "icon" property
1488 to preserve soundness.
1490 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-font-selection-dialog.c
1493 (hildon_font_selection_dialog_set_property): Fail when the "family"
1494 property is set to NULL.
1496 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1498 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1501 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1503 * src/hildon-time-selector.h:
1504 Added HildonTimeSelectorFormatPolicy
1505 * src/hildon-time-selector.c:
1506 Added PROP_TIME_FORMAT_POLICY
1507 (_check_ampm_format): renamed to check_automatic_ampm_format
1508 (update_format_policy), (update_format_dependant_columns): new functions
1509 (hildon_time_selector_class_init)
1510 (hildon_time_selector_contructor)
1511 (hildon_time_selector_init)
1512 (hildon_time_selector_get_property)
1513 (hildon_time_selector_set_property)
1514 (hildon_time_selector_get_time)
1515 (hildon_time_selector_set_time)
1516 * src/hildon-touch-selector.h: new file
1517 * src/hildon-touch-selector.c
1518 (hildon_touch_selector_emit_changed)
1519 (hildon_touch_selector_block_changed)
1520 (hildon_touch_selector_unblock_changed)
1521 Added functions to allow to block the emission of the "changed" signal
1522 * src/hildon-picker-dialog.c
1523 (hildon_picker_dialog_show): call the parent show before the custom code
1524 * examples/hildon-time-button-example.c
1525 Modified, so now you can configure the time format using the new property
1527 Added a new property "time-format-policy" that allow to choose the time
1528 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1529 case it uses gconf in order to check if the time selector must use
1532 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1535 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-note.c (hildon_note_init):
1538 Label in HildonNote must be left aligned, not centered. This
1539 reverts the last commit in HildonNote.
1541 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1542 is connectivity dialog)
1544 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1549 * doc/hildon-sections.txt:
1550 Added hildon_gtk_window_set_do_not_disturb()
1552 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-note.c (hildon_note_init): Center label.
1556 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1559 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1564 * configure.ac: Bump version.
1565 * debian/changelog: Updates.
1567 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1569 * src/hildon-note-private.h: Add button-width to the private data.
1570 * src/hildon-note.c (+resize_button),
1571 (+hildon_note_orientation_update): methods to repack widgets on orientation
1573 (screen_size_changed): Call above method for confirmation notes.
1574 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1575 (hildon_note_rebuild): Store the original width request from buttons.
1577 Fixes: NB#109635 (Confirmation notes do not support portrait)
1579 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1582 when it is a progress note.
1584 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1587 in the note, since there are no horizontally arranged contents.
1589 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1591 * src/hildon-gtk.c (+set_flag): new generic method to
1592 set/delay a flag setting in a window.
1593 (hildon_gtk_window_set_progress_indicator):
1594 (hildon_gtk_window_set_do_not_disturb),
1595 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1596 avoid code redundance.
1598 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1600 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1602 * src/hildon-gtk.c (set_clear_window_flag),
1603 (do_set_progress_indicator), (do_set_do_not_disturb),
1604 (do_set_portrait_flags),
1605 (hildon_gtk_window_set_progress_indicator),
1606 (hildon_gtk_window_set_do_not_disturb),
1607 (hildon_gtk_window_set_portrait_flags):
1608 Allow setting dnd-flag, progress indicator, and portrait flags
1609 when the window is not realized.
1611 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1613 * src/hildon-pannable-area.c,
1614 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1615 the size request policy function and defines.
1617 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1619 * doc/hildon-sections.txt: Add the new API.
1620 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1621 method to set the portrait flags.
1622 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1624 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1626 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1629 to allow using this method with other flags.
1630 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1631 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1633 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-touch-selector.c
1636 (hildon_touch_selector_append_text_column):
1637 Make the cell renderer use the smallest width possible.
1639 Fixes: NB#108470 (Selected items in multiple selection are either
1640 having a tick that is cut or not visible at all.)
1642 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-touch-selector.c
1645 (hildon_touch_selector_append_text_column):
1648 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1651 Use g_strdup_printf() instead of a fixed size buffer.
1653 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1656 Close banners when a HildonAppMenu is popped up.
1658 Fixes: NB#111027 (Title menu closed immediately if activated when
1659 "Invalid e-mail address" banner is shown)
1661 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1666 * configure.ac: Bump version.
1667 * debian/changelog: Updates.
1669 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-banner.c (hildon_banner_realize):
1672 Mark HildonBanner as supporting portrait mode.
1673 Use GDK to set window properties insetad of direct Xlib calls.
1675 Fixes: NB#111830 (HildonBanner should be marked as supporting
1678 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-note.c (hildon_note_rebuild):
1681 Hide action area in information notes. Prevents text from being
1682 slightly aligned to the left.
1684 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1687 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1689 Patch by Mox Soini (ext-mox.soini@nokia.com)
1691 * src/hildon-banner.c (hildon_banner_create_animation):
1692 Use stylus-sized icons in animation banner.
1694 Fixes: NB#111206 (stylus sized icon for animation banner)
1696 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1700 (+hildon_gtk_window_set_do_not_disturb):
1701 New API to set the do-not-disturb flag.
1703 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1705 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1707 * examples/hildon-progress-indicator-example.c: Fix example
1709 * src/hildon-gtk.c (set_clear_window_flag)
1710 (hildon_gtk_window_set_progress_indicator):
1711 Create a generic function for setting flags to a window.
1712 Use GDK instead of direct Xlib calls.
1714 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-button.c (hildon_button_set_arrangement):
1717 Due to NB#88126, if one of the labels is too long it will be
1718 painted outside the button. The 'value' label is more likely to be
1719 the longest one, so we change its packing options in order to
1720 truncate it if necessary. As a side effect, the 'title' label will
1721 no longer be truncated.
1723 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1725 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1730 * configure.ac: Bump version.
1731 * debian/changelog: Updates.
1733 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1735 Deprecation of the hildon_pannable_area_set_size_request_policy
1736 API, the only policy properly supported in gtk+ nowadays is the
1739 * src/hildon-pannable-area.c,
1740 (hildon_pannable_area_size_request): Added a workaround for the
1741 size_request to avoid the problems of huge pixmaps in case someone
1742 is still using the function.
1743 * src/hildon-pannable-area.h: Deprecated the enum with the
1746 Fixes: NB#110244 (Problems with the
1747 hildon_pannable_area_set_size_request_policy API)
1749 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1751 * src/hildon-pannable-area.c,
1752 (hildon_pannable_area_init),
1753 (hildon_pannable_area_size_request),
1754 (hildon_pannable_area_style_set),
1755 (hildon_pannable_draw_vscroll),
1756 (hildon_pannable_draw_hscroll),
1757 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1758 indicator_width to clarify the use of the attribute.
1760 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1765 * configure.ac: Bump version.
1766 * debian/changelog: Updates.
1768 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1770 * src/hildon-picker-dialog.c
1771 * src/hildon-touch-selector.c
1772 Reverting the change that tried to avoid the hardcoded height on
1773 the picker dialog, as causes problems on the hildon-touch-selector
1776 Fixes: NB#110029 (selectors not scrolling to selected value)
1778 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-touch-selector.c: Fix typos
1782 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1785 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1786 request more motions after using it.
1788 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-calendar.c (hildon_calendar_expose),
1791 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1792 Remove unused variables.
1794 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1796 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1797 variable assignment.
1799 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1802 Check the return value of gtk_tree_selection_get_selected()
1805 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-animation-actor.c
1808 * src/hildon-button.c
1810 * src/hildon-pannable-area.c
1811 * src/hildon-picker-button.c
1812 * src/hildon-program.c
1813 * src/hildon-remote-texture.c
1814 * src/hildon-text-view.c
1815 * src/hildon-touch-selector.c
1816 * src/hildon-window-stack.c
1817 * src/hildon-window.c:
1818 Add missing 'Since: 2.2' tags.
1820 * doc/hildon-sections.txt:
1821 Add some missing symbols.
1823 * doc/hildon-docs.sgml:
1824 New 'Other' section for HildonAnimationActor and
1827 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1829 Patch by Iván Gómez (igomez@igalia.com)
1832 * doc/compiling.sgml
1833 * doc/hildon-docs.sgml
1834 * doc/hildon-sections.txt
1835 * doc/migration.sgml
1836 * doc/resources.sgml
1838 New chapters on using the Hildon library.
1839 Updated the general structure of the reference manual.
1840 Other minor documentation fixes.
1842 * src/hildon-calendar-popup.c
1843 * src/hildon-calendar.c
1844 * src/hildon-controlbar.c
1845 * src/hildon-date-editor.c
1846 * src/hildon-dialog.c
1847 * src/hildon-hvolumebar.c
1848 * src/hildon-number-editor.c
1849 * src/hildon-range-editor.c
1850 * src/hildon-sort-dialog.c
1851 * src/hildon-time-editor.c
1852 * src/hildon-time-picker.c
1853 * src/hildon-volumebar-range.c
1854 * src/hildon-volumebar.c
1855 * src/hildon-vvolumebar.c
1856 * src/hildon-weekday-picker.c:
1857 Add deprecation notes
1859 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1860 Document 'horizontal-movement' and 'vertical-movement' signals.
1862 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: Bump version.
1868 * debian/changelog: Updates.
1870 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1872 * src/hildon-pannable-area.c,
1873 (hildon_pannable_area_class_init): increased the minimum velocity.
1874 (hildon_pannable_area_button_release_cb): Updated the
1875 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1876 setup. Review the code to control that last event.
1878 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1881 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1883 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1885 * src/hildon-get-password-dialog.c
1886 (hildon_get_password_set_property),
1887 (hildon_get_password_get_property), (create_contents):
1888 * src/hildon-login-dialog-private.h:
1889 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1890 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1891 (hildon_login_dialog_get_password):
1892 * src/hildon-set-password-dialog-private.h:
1893 * src/hildon-set-password-dialog.c
1894 (hildon_set_password_set_property),
1895 (hildon_set_password_get_property), (create_contents),
1896 (hildon_set_password_response_change),
1897 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1899 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1900 instead and look more Fremantle style.
1902 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1904 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1906 * doc/hildon-sections.txt
1907 * src/hildon-window-stack.h
1908 * src/hildon-window-stack.c
1909 (+hildon_window_stack_get_windows):
1910 New API to obtain the list of windows on a stack.
1912 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-app-menu.c (hildon_app_menu_popup)
1915 (hildon_app_menu_class_init, -hildon_app_menu_show):
1916 Remove hildon_app_menu_show() and move all its checks to
1917 hildon_app_menu_popup()
1919 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1921 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1922 (_hildon_picker_dialog_set_selector): removed call to
1923 gtk_widget_set_size_request
1924 * src/hildon-touch-selector.c
1925 (_create_new_column): change the pannable size request policy
1927 Avoid to use a hardcoded height for the hildon picker dialog. In order
1928 to get that, we needed to change the hildon pannable size request
1930 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1932 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1935 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1938 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1940 * debian/control: Depend on osso-system-lock localization package.
1941 * src/hildon-code-dialog.c: Obtain the secu_application_title
1942 translation from osso-system-lock.
1943 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1944 for translation the atk related strings, that's not necessary.
1945 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1946 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1947 cancel button, it is not required.
1949 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1951 * src/hildon-pannable-area.c,
1952 (hildon_pannable_area_class_init): Modified the default value of
1953 the overshooting max speed, we have reduced it.
1955 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1957 * doc/hildon-sections.txt
1958 * src/hildon-window-private.h
1959 * src/hildon-window.h
1960 * src/hildon-window.c (hildon_window_class_init)
1961 (hildon_window_init, hildon_window_finalize)
1962 (hildon_window_realize, hildon_window_get_property)
1963 (hildon_window_set_property, hildon_window_update_markup)
1964 (hildon_window_get_markup, hildon_window_set_markup):
1965 New "markup" property and hildon_window_{get,set}_markup() methods.
1967 * examples/hildon-stackable-window-example.c (new_window):
1968 Update example to use hildon_window_set_markup()
1970 Fixes: NB#106375 (Need API to retitle a window with a title
1973 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1975 * src/hildon-pannable-area.c,
1976 (hildon_pannable_area_class_init): Changed the default value of
1977 the initial_hint to TRUE.
1978 (hildon_pannable_area_initial_effect): Changed the initial effect,
1979 not the effect is just the fade-out of the scrollbars.
1981 Fixes: NB#107775 (No scrollbars can be seen when several items are
1982 available in a dialog)
1984 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-program.c (hildon_program_update_top_most):
1989 Fixes: NB#109179 (Memory leak in Hildon program)
1991 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-banner.c (-get_current_app_window):
1994 Remove unused function.
1996 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-pannable-area.c: Modified the documentation of the
1999 get adjustments functions to explain the problem of using the
2000 adjustment directly.
2001 (hildon_pannable_area_class_init): Improved the explanation about
2004 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-app-menu-private.h
2007 * src/hildon-app-menu.c
2008 (hildon_app_menu_class_init):
2009 Bring back the 'external-border' style property
2010 (hildon_app_menu_class_init, hildon_app_menu_init)
2011 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2012 Set a fixed width-request for the menu, independent of the number
2015 Fixes: NB#94957 (Smoothly opened application menu)
2017 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2021 * src/hildon-banner.c
2022 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2024 Make sure that the banner is correctly placed the first time it's
2026 (hildon_banner_check_position, -check_fullscreen_state):
2027 Show the banner in the same place no matter if the window is in
2028 fullscreen mode or not.
2030 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2032 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-touch-selector.c (_default_print_func): reorder
2035 concatenation for clarity.
2037 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2039 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2040 for multicolumn selectors.
2042 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2044 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2049 * configure.ac: Bump version.
2050 * debian/changelog: Updates.
2052 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2057 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2059 * configure.ac: removed libcangerra-gtk dependency
2060 * debian/control: removed libcanberra-gtk dependency
2061 * src/Makefile.am: removed libcanberra gtk related flags
2062 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2063 context, and manage a global canberra context instead
2065 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2067 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2069 Patch by Daniel Borgmann (danielb@openismus.com)
2071 * src/hildon-edit-toolbar.c:
2072 Adjust the left padding.
2073 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2074 Paint background of the edit toolbar.
2076 Fixes: NB#107897 (Patch to make editmodetoolbar background
2077 themeable and adjust margin)
2079 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2081 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2083 * src/hildon-program.c (hildon_program_update_top_most):
2084 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2086 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2087 change when the user tasks in/out of an application)
2089 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2091 * configure.ac: added libcangerra-gtk dependency
2092 * debian/control: added libcanberra-gtk dependency
2093 * src/Makefile.am: added libcanberra gtk related flags
2094 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2097 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2099 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-program.c (hildon_program_remove_window)
2102 (hildon_program_add_window): Add checks for the window
2103 parameter. Don't decrease the window counter if the window is not
2106 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-pannable-area.c,
2109 (hildon_pannable_area_realize): Fixed position of the event_window
2110 in the realize method.
2112 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-app-menu-private.h
2115 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2116 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2117 (hildon_app_menu_key_press, hildon_app_menu_init)
2118 (hildon_app_menu_finalize):
2119 Make sure that all idle functions are removed when the widget is
2122 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2124 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2129 * configure.ac: Bump version.
2130 * debian/changelog: Updates.
2132 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2134 * src/hildon-entry.c
2135 (+hildon_entry_show_placeholder),
2136 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2137 that replace hildon_entry_update_contents().
2138 (hildon_entry_set_text),
2139 (hildon_entry_set_placeholder),
2140 (hildon_entry_focus_in_event),
2141 (hildon_entry_focus_out_event): Determine when it is needed
2142 either to show or hide the placeholder and call the above methods.
2144 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2145 when the placeholder text is already set)
2147 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2150 simple GdkPixbufAnim using the new icons for the banner.
2151 (hildon_banner_show_animation): Use the above mentioned method to
2152 create the animation widget.
2154 Fixes: NB#103564 (Make hildon animation banner use individual
2155 image files as the animation)
2157 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2159 * src/hildon-pannable-area.c,
2160 (hildon_pannable_leave_notify_event): Check if the child is NULL
2161 to avoid sending the leave.
2163 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2165 * src/hildon-pannable-area.c,
2166 (hildon_pannable_area_class_init),
2167 (hildon_pannable_leave_notify_event): Added a handler of the
2168 leave-notify-signal to consider when no motion notify before
2171 Fixes: NB#107494 (Items stay selected when clicking and moving
2172 away when inside pannable area)
2174 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2179 * configure.ac: Bump version.
2180 * debian/changelog: Updates.
2182 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2184 Patch by Alberto Garcia (agarcia@igalia.com)
2186 * src/hildon-date-button.c,
2187 (hildon_date_button_class_init),
2188 (hildon_date_button_init): Removed the construct property handling
2189 and created a default selector in the init method.
2190 * src/hildon-picker-button.c,
2191 (hildon_picker_button_class_init): Removed the construct flag of the
2194 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-main.c (hildon_init):
2197 Don't allow hildon_init() to be called more than once.
2199 Fixes: NB#106607 (hildon_init should issue error message upon
2202 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2204 * examples/hildon-pannable-area-touch-list-example.c
2205 * examples/hildon-pannagle-area-touch-grid-example.c
2206 * examples/hildon-edit-toolbar-example.c
2207 * examples/hildon-touch-selector-multi-cells-example.c
2208 Removed the call to gtk_rc_parse_string, as it is not required since
2211 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-pannable-area.c,
2214 (hildon_pannable_area_class_init): Modified the default panning
2215 threshold of the widget to 6px.
2217 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2218 than the threshold value ) within the button is not sending the
2221 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2224 for the treeview in the new column. This way, the touch list will never
2227 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2228 be selected manually for the HW keys to work)
2230 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2233 comparison instead of using strcmp(). Fixes a compiler warning as well.
2235 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2237 * doc/hildon-docs.sgml: Do not set the library version in the
2238 document title, use the releaseinfo tag for that purpose instead.
2240 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2242 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2243 Do not jump to the first item if the text in the entry is removed.
2245 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2250 * configure.ac: Bump version.
2251 * debian/changelog: Updates.
2253 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-entry.c (hildon_entry_refresh_contents):
2256 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2257 Use "ReversedSecondaryTextColor" for the placeholder text.
2259 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-text-view.c: Fix compilation warning.
2263 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2265 * src/hildon-button.c (hildon_button_class_init): Don't make
2266 "title" and "value" construction properties, to prevent them from
2267 overwriting labels set from derived classes.
2269 * src/hildon-picker-button.c
2270 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2271 (hildon_picker_button_class_init): Make touch-selector a
2272 construction property.
2274 * src/hildon-date-button.c (hildon_date_button_class_init)
2275 (+hildon_date_button_constructed): Add a default date selector if
2278 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/hildon-touch-selector.c: Small documentation fixes.
2282 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2284 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2286 * src/hildon-entry.c (hildon_entry_refresh_contents),
2287 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2288 widget name, set the logical color directly instead and a boolean
2289 showing_placeholder instead.
2290 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2291 use the widget name here either.
2293 Fixes: NB#105678 (HildonTextView should use logical colours
2294 instead of setting widget name)
2296 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2298 Patch by Daniel Elster (danielk@openismus.com)
2300 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2301 Add user_data parameter.
2302 (hildon_touch_selector_set_print_func_full): New function akin
2303 hildon_touch_selector_set_print_func() but with support for user
2304 data and a destroy callback.
2305 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2306 to clean up the print function user data.
2307 (hildon_touch_selector_class_init): Install dispose function.
2308 (HildonTouchSelectorPrivate::print_user_data),
2309 (HildonTouchSelectorPrivate::print_destroy_func): New private
2311 (hildon_touch_selector_init): Initialize new private members.
2312 (hildon_touch_selector_get_current_text): Pass along user data
2313 to the print function.
2314 (_default_print_func): Add dummy user_data to parameter list.
2315 * hildon-date-selector.c (_custom_print_func): ditto,
2316 * hildon-time-selector.c (_custom_print_func): ditto,
2317 * hildon-touch-selector-entry.c
2318 (hildon_touch_selector_entry_print_func): ditto.
2320 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2322 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2324 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2326 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2328 * src/hildon-pannable-area.c,
2329 (hildon_pannable_area_init),
2330 (hildon_pannable_area_button_press_cb),
2331 (hildon_pannable_area_motion_notify_cb): We have added code to
2332 handle the leave and enter events when using the motion events.
2334 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2336 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-date-button.c (hildon_date_button_get_date)
2339 (hildon_date_button_set_date): Make sure that the button has a
2342 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2344 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2346 * src/hildon-pannable-area.c,
2347 (hildon_pannable_area_class_init),
2348 (hildon_pannable_area_calculate_velocity): Modify the use of the
2349 force and adapt the value.
2351 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2353 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2354 (hildon_app_menu_class_init): Hide the menu if it receives a
2355 delete-event, but don't destroy it
2357 Fixes: NB#104485 (Not able to address the call when application
2358 menu is opened at background)
2360 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-app-menu.c
2363 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2364 Remove the "external-border" style property, let the menu take its
2365 natural size (or the one set by the window manager)
2366 (hildon_app_menu_repack_items):
2367 Don't reshow the menu, avoid flickers.
2369 Partially fixes NB#94957 (Smoothly opened application menu)
2371 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2376 * configure.ac: Bump version.
2377 * debian/changelog: Updates.
2379 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2381 * src/hildon-pannable-area.c,
2382 (hildon_pannable_area_motion_notify_cb): We control that the
2383 direction error margin is used just in case the movement is
2384 allowed in the other direction.
2386 Fixes: NB#105012 (buttons inside a pannable area not getting
2387 release event when dragging/releasing)
2389 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2391 * src/hildon-pannable-area.c,
2392 (hildon_pannable_area_class_init),
2393 (hildon_pannable_area_get_property),
2394 (hildon_pannable_area_set_property),
2395 (hildon_pannable_area_initial_effect),
2396 (hildon_pannable_axis_scroll),
2397 (hildon_pannable_area_button_release_cb): Reviewed the
2398 overshooting effect, now it has its own max
2399 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2400 speed when bouncing.
2402 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2407 * configure.ac: Bump version.
2408 * debian/changelog: Updates.
2410 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2412 * src/hildon-pannable-area.c,
2413 (hildon_pannable_area_class_init): Changed the max speed, now
2414 users can launch the widget very fast. Reduced the default force,
2415 that way it is easier to control the launch speed.
2417 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_button_release_cb): Removed this check
2421 because it causes problems when the device is overloaded.
2423 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2426 add a current_text field to store the text entered in the
2427 touch selector entry.
2428 (_clean_current_selection): clean up the current text as well.
2429 (_save_current_selection), (_restore_current_selection):
2430 Save/restore the text in the entry if the selector is a
2431 HildonTouchSelectorEntry.
2433 Fixes: NB#102541 (value entered in the touch selector entry is not
2434 shown when opened for second time)
2436 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2438 * doc/hildon-sections.txt:
2439 * src/hildon-touch-selector-entry.c
2440 (+hildon_touch_selector_entry_get_entry):
2441 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2443 Fixes: NB#104815 (I need accessor to the entry inside
2444 HildonTouchSelectorEntry)
2446 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2449 (hildon_app_menu_class_init):
2450 New "filter-vertical-spacing" style property.
2452 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-find-toolbar.c
2455 (hildon_find_toolbar_emit_close)
2456 (hildon_find_toolbar_emit_invalid_input)
2457 (hildon_find_toolbar_entry_activate):
2458 Use g_signal_emit() instead of g_signal_emit_by_name()
2460 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2462 Patch by Mox Soini (ext-mox.soini@nokia.com)
2464 * tests/TEST-CASES.txt
2465 * tests/check-hildon-banner.c
2466 * tests/check-hildon-note.c
2467 * src/hildon-banner.c
2468 * src/hildon-code-dialog.c
2469 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2470 * src/hildon-time-editor.c
2471 * examples/hildon-lookup-example.c (main):
2472 Replace obsolete icon names with new ones.
2474 * src/hildon-find-toolbar-private.h:
2475 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2476 (-hildon_find_toolbar_emit_search):
2477 Remove find button and change icon of close button.
2479 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2481 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-time-button.c (hildon_time_button_new_step):
2484 Use the "touch-selector" property to set the selector directly
2485 when creating the object.
2487 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2489 Added a new example application that allows tuning the pannable
2490 area and replaced defines with properties in order to simplify the
2491 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2492 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2493 PROP_DIRECTION_ERROR_MARGIN.
2495 * examples/hildon-pannable-area-tuning-example.c: New example
2497 * src/hildon-pannable-area.c,
2498 (hildon_pannable_area_class_init),
2499 (hildon_pannable_area_init),
2500 (hildon_pannable_area_get_property),
2501 (hildon_pannable_area_set_property),
2502 (hildon_pannable_area_launch_fade_timeout),
2503 (hildon_pannable_area_adjust_value_changed),
2504 (hildon_pannable_axis_scroll),
2505 (hildon_pannable_area_motion_notify_cb),
2506 (hildon_pannable_area_scroll_cb),
2507 (hildon_pannable_area_button_release_cb): We have converted some
2508 of the defines that control the widget to properties to simplify
2511 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2513 * src/hildon-app-menu.c (hildon_app_menu_map)
2514 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2515 so it's closed if a new window appears.
2517 Fixes: NB#104485 (Not able to address the call when application
2518 menu is opened at background)
2520 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2523 missing 'break' statement in in 'case' construct to avoid
2526 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2528 * src/hildon-touch-selector-entry.c
2529 (hildon_touch_selector_entry_get_property),
2530 (hildon_touch_selector_entry_set_property): Add missing 'break'
2531 statements in in 'case' constructs to avoid incorrect warnings.
2533 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-time-editor.c
2536 (hildon_time_editor_get_time_separators): Do not crash if
2537 the first label is NULL.
2539 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-date-selector.c (_month_days): Check for month to be
2542 strictly less than 12, since otherwise we may overrun the array.
2544 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-date-button.c (+hildon_date_button_new_full)
2547 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2548 (hildon_date_button_init): Set the date selector using a
2549 construction property, to make it happen after HildonButton's
2550 "value" property is set.
2552 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2553 current date by default)
2555 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2557 * doc/hildon-sections.txt
2558 * src/hildon-program.c
2559 * src/hildon-stackable-window.c
2560 * src/hildon-window.c:
2561 Documentation updates
2563 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2566 (hildon_window_stack_new, +hildon_window_stack_set_property)
2567 (+hildon_window_stack_get_property)
2568 (hildon_window_stack_class_init)
2569 (+hildon_window_stack_set_window_group)
2570 (+hildon_window_stack_get_window_group):
2571 Make the window group a construction property.
2573 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2575 * doc/hildon-sections.txt
2576 * src/hildon-stackable-window-private.h
2577 * src/hildon-stackable-window.h
2578 * src/hildon-stackable-window.c
2579 (-hildon_stackable_window_set_app_menu)
2580 (-hildon_stackable_window_get_app_menu)
2581 (-hildon_stackable_window_toggle_menu)
2582 (-hildon_stackable_window_finalize)
2583 (hildon_stackable_window_class_init)
2584 (hildon_stackable_window_init)
2585 * src/hildon-window-private.h
2586 * src/hildon-window.h
2587 * src/hildon-window.c (hildon_window_init)
2588 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2589 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2590 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2591 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2592 Moved all HildonAppMenu code to HildonWindow. The menu does not
2593 require a HildonStackableWindow anymore.
2595 * src/hildon-app-menu.c
2596 * src/hildon-program.c
2597 * examples/hildon-app-menu-example.c (main):
2598 Update examples and documentation to reflect HildonAppMenu
2601 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2603 * src/hildon-remote-texture.c
2604 * src/hildon-animation-actor.c:
2605 Don't include unused private headers.
2607 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2609 * src/hildon-program-private.h
2610 * src/hildon-program.c
2611 (hildon_program_set_common_menu)
2612 (hildon_program_get_common_menu)
2613 (hildon_program_set_common_app_menu)
2614 (hildon_program_get_common_app_menu):
2615 Change common menu pointers from GtkWidget* to GtkMenu* and
2616 HildonAppMenu* to avoid unnecessary casts.
2618 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2620 * src/hildon-window.c (hildon_window_set_main_menu):
2621 Removed incorrect 'Since:' tag
2623 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2625 * src/hildon-pannable-area.c,
2626 (hildon_pannable_area_calculate_velocity): We use now the
2627 RATIO_TOLERANCE here to check the distance, fixed typo in the
2629 (hildon_pannable_area_motion_notify_cb): We have to set the type
2630 and time even if we are not sending the motion.
2632 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2634 * doc/hildon-sections.txt
2635 * src/hildon-app-menu.h
2636 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2637 (+hildon_app_menu_get_filters): New methods to get the contents of
2640 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2643 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-app-menu.c (hildon_app_menu_popup):
2648 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2650 * src/hildon-window.h
2651 * src/hildon-window.c (+hildon_window_get_main_menu)
2652 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2653 and deprecated hildon_window_get_menu().
2655 * src/hildon-stackable-window.h
2656 * src/hildon-stackable-window.c
2657 (+hildon_stackable_window_set_app_menu)
2658 (+hildon_stackable_window_get_app_menu)
2659 (hildon_stackable_window_set_main_menu): Created
2660 hildon_stackable_window_{get,set}_app_menu() and deprecated
2661 hildon_stackable_window_set_main_menu().
2663 * doc/hildon-sections.txt
2664 * examples/hildon-app-menu-example.c (main)
2665 * src/hildon-app-menu.c
2666 * src/hildon-program.c:
2667 Updated examples and documentation.
2669 Fixes: NB#103758 (No way to obtain a menu from a
2670 HildonStackableWindow)
2672 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2677 * configure.ac: Bump version.
2678 * debian/changelog: Updates.
2680 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2682 * examples/hildon-remote-texture-example.c: Include
2683 hildon-remote-texture.h explicitely.
2684 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2685 applications not defining _XOPEN_SOURCE which don't require this header.
2687 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2689 * doc/hildon-sections.txt
2690 * src/hildon-app-menu.h
2691 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2692 New function to pop up a HildonAppMenu
2694 * src/hildon-stackable-window.c
2695 (hildon_stackable_window_toggle_menu):
2696 Use hildon_app_menu_popup() to show the menu.
2698 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-app-menu.c (hildon_app_menu_show)
2701 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2702 menu if there's another window between it and its parent window.
2704 Fixes: NB#100468 (Application menu window is launched even when a
2705 new secondary-window/dialog is pending to be shown/realized)
2707 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-window-stack.c (hildon_window_stack_push)
2710 (hildon_window_stack_pop_and_push):
2711 Don't forget to push/pop the first window.
2712 Reverse the window list before calling _push_list()
2714 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-picker-button.h
2717 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2718 Remove "value_changed" slot to avoid ABI breakage
2720 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2722 * src/hildon-pannable-area.c,
2723 (hildon_pannable_area_realize),
2724 (hildon_pannable_area_unrealize),
2725 (hildon_pannable_draw_vscroll),
2726 (hildon_pannable_draw_hscroll): Changed the method to handle the
2727 GC used to draw the transparent scrollbar, this way we avoid
2728 creating the GC all the time when drawing the scrollbars.
2730 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2732 * src/hildon-pannable-area.c,
2733 (hildon_pannable_area_init),
2734 (hildon_pannable_area_remove): Removed some unnecessary casts.
2735 (hildon_pannable_area_dispose): Disconnected some signals before
2736 releasing the adjustments.
2738 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2741 Make sure that all widgets contained in the toolbar are shown.
2743 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2745 * doc/hildon-sections.txt
2746 * src/hildon-picker-button.h
2747 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2748 (_selection_changed, hildon_picker_button_on_dialog_response)
2749 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2750 New hildon_picker_button_value_changed() method.
2753 * src/hildon-picker-button-private.h
2754 * src/hildon-picker-button.c (hildon_picker_button_init)
2755 (+hildon_picker_button_disable_value_changed): Add protected
2756 function for disabling the "value-changed" signal.
2758 * src/hildon-date-button.c (hildon_date_button_set_date):
2759 Don't emit "value-changed" for each one of the three columns.
2761 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2762 before actual change of values)
2764 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2766 * src/hildon-pannable-area.c,
2767 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2768 for the treeview overshooting.
2770 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-banner.c (+hildon_banner_bind_style):
2773 Renamed from hildon_banner_bind_label_style(), now naming the
2774 banner itself as well.
2775 (hildon_banner_show_information),
2776 (hildon_banner_show_information_with_markup),
2777 (hildon_banner_show_animation), (hildon_banner_show_progress):
2778 Name the widgets and labels, based on their type.
2780 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2783 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2785 * src/hildon-note.c (hildon_note_set_property): call
2786 hildon_note_rename() on HildonNote:note-type set.
2787 (hildon_note_rename): Name the note and its label, based on the
2788 HildonNote:note-type property.
2790 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2793 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2795 * src/hildon-pannable-area.c,
2796 (hildon_pannable_area_class_init),
2797 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2798 panning parameters, increased SPS and deceleration factor. Added
2799 also a margin to control fake directions.
2801 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2803 Patch by Sven Herzberg (sven@imendio.com)
2805 * configure.ac: Add missing AM_PROG_CC_C_0
2806 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2808 See NB#101420 (Update unit tests and fix make check)
2810 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2812 This patch was applied before but reverted because it caused
2813 problems, we have changed the main condition and tested the
2814 regressions we detected before and they work ok. We have done a
2815 complete review of the topmost algorithm in order to get a more
2818 * src/hildon-pannable-area.c,
2819 (hildon_pannable_area_get_topmost): Added a new parameter to
2820 filter the the windows that do not include those events.
2821 (hildon_pannable_area_button_press_cb),
2822 (hildon_pannable_area_button_release_cb),
2823 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2824 topmost function, we have added the new parameter.
2826 Fixes: NB#97458 (Pannable area prevents propagation of button
2829 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2831 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2832 if all columns in the selector have an item selected.
2833 (_on_dialog_response): Stop "response" signal emission if there is
2834 any selector column without selected items.
2836 Fixes: NB#101889 (Picker dialog should not close when nothing is
2837 selected in multiple selection list)
2839 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-font-selection-dialog.c
2842 (hildon_font_selection_dialog_class_init),
2843 (hildon_font_selection_dialog_init): Remove the preview
2844 button and dialog, since previewing with default theming is likely
2845 to be overcomplicated. The :preview property has now no effect.
2846 Update documentation blurbs to inform about this.
2848 Fixes: NB#92297 (Preview content is not clearly visible for
2849 default colour text)
2851 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2853 Reviewed the geometry that handles the children size and
2854 scrollbar, now it tries a size and reviews the results depending
2855 on the scrollbars visibility.
2857 * src/hildon-pannable-area.c,
2858 (hildon_pannable_area_realize): Fixed a typo.
2859 (hildon_pannable_area_child_allocate_calculate): Added this
2860 function to calculate the child allocation.
2861 (hildon_pannable_area_size_allocate): Reviewed the allocation
2863 (hildon_pannable_area_check_scrollbars),
2864 (hildon_pannable_area_refresh): Refactored refresh function, this
2865 way we can call the code handling the scrollbars without causing a
2866 size_request, it is interesting in the allocate.
2867 (hildon_pannable_area_init): Replace the callbacks of the
2868 value_changed and changed signals to propertly deal with the
2870 (hildon_pannable_area_grab_notify),
2871 (hildon_pannable_area_initial_effect),
2872 (hildon_pannable_area_launch_fade_timeout),
2873 (hildon_pannable_area_adjust_changed),
2874 (hildon_pannable_area_adjust_value_changed),
2875 (hildon_pannable_area_redraw),
2876 (hildon_pannable_area_button_press_cb),
2877 (hildon_pannable_area_button_release_cb),
2878 (hildon_pannable_area_scroll_cb),
2879 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2880 code and use the new functions adjust_changed and
2881 adjust_value_changed.
2883 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2884 Contact editor dialog)
2886 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2891 * configure.ac: Bump version.
2892 * debian/changelog: Updates.
2894 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_get_topmost),
2898 (hildon_pannable_area_button_press_cb),
2899 (hildon_pannable_area_button_release_cb),
2900 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2901 topmost function adding the event mask. We have to try a
2902 differente approach because it is still causing problems (NB#9745,
2905 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2907 * src/hildon-banner.c:
2908 Update the maximum width of timed banners.
2909 (force_to_wrap_truncated): Enforce the maximum text width if the
2912 Fixes: NB#102413 (The text margins (wrapping) in information
2913 banner should be HILDON_MARGIN_TRIPLE)
2915 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2917 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2919 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2920 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2921 bound when calculating the scroll indicator position.
2923 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2924 treat ->lower correctly)
2926 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2929 expose event handling, since it is not necessary to draw the focus
2932 Fixes: NB#102467 (Do not show highlight on the text in
2935 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2938 full height of the toolbar for the button and the label.
2940 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2942 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2943 padding before the label and after the button.
2945 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2947 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2949 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2950 Add a GtkVSeparator between the button and the back arrow.
2951 Let the button have automatic size.
2952 Set a name to the widget for theming handling.
2954 Fixes: NB#101793 (Make edit toolbar the same height as window
2955 title bar (use title area theming))
2957 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-helper.c (attach_new_color_element): Fix memory
2962 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2964 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2966 * examples/hildon-button-example.c (common_buttons_window): Don't
2969 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2972 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2974 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2976 * src/hildon-gtk.c: Check that the window is realized.
2978 Fixes: NB#102225 (Crash setting the progress indicator to a non
2981 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2984 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2985 instead of modifying the one in the widget style.
2987 Fixes: NB#101043 (Second row of all the command button are
2988 displayed in transparent mode.)
2990 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-date-button.c
2993 * src/hildon-time-button.c: Add gettext macros
2995 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-date-button.c (hildon_date_button_new):
2998 * src/hildon-time-button.c (hildon_time_button_new_step):
2999 Use new logical strings to set the button default title.
3001 Fixes: NB#99915 (Date and Time options are not localised in Date
3004 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3006 * src/hildon-pannable-area.c
3007 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3008 the PANNING_THRESHOLD.
3010 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3012 * src/hildon-pannable-area.c,
3013 (hildon_pannable_area_class_init): Increased the maximum speed.
3014 (hildon_pannable_area_get_property),
3015 (hildon_pannable_area_set_property),
3016 (hildon_pannable_area_timeout): Added a new low friction mode, it
3017 allows the user avoid friction when launching the widget fast
3018 enough. It is interesting to traverse long lists.
3020 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3022 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3023 (+hildon_stackable_window_delete_event): Ignore delete events if
3024 the window is not the topmost one.
3026 Fixes: NB#101698 (Back button long press and delete-event handling)
3028 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3030 * src/hildon-pannable-area.c,
3031 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3032 gtk-dnd-drag-threshold, it was too big. We have defined our own
3033 dnd define and set a smaller value: PANNIG_THRESHOLD.
3035 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3037 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3038 user-defined icons, use always the default one.
3040 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3042 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3044 This patch was applied before but reverted because it caused
3045 problems, we have changed the main condition and tested the
3046 regressions we detected before and they work ok.
3048 * src/hildon-pannable-area.c,
3049 (hildon_pannable_area_get_topmost): Added a new parameter to
3050 filter the the windows that do not include those events. Added
3051 also a condition when finding the window to filter windows that do
3052 not ask for those events.
3053 (hildon_pannable_area_button_press_cb),
3054 (hildon_pannable_area_button_release_cb),
3055 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3056 topmost function, we have added the new parameter.
3058 Fixes: NB#97458 (Pannable area prevents propagation of button
3061 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3063 * tests/check-hildon-color-button.c (START_TEST): do not leak
3066 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-font-selection-dialog.c
3069 (hildon_font_selection_dialog_get_preview_text): Return NULL
3070 instead of FALSE on the g_return_val_if_fail().
3072 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3074 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3075 * src/hildon-date-selector.c
3076 (hildon_date_selector_select_current_date):
3077 Do not compare unsigned integers to be greater than or equal 0,
3078 because it's always TRUE.
3080 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3083 (hildon_date_selector_constructor): Do not select the current
3084 date until we are handle the "changed" signal, to avoid having bogus
3085 elements in the days model.
3087 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3090 for num_days, since _month_days() can return a negative value.
3092 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-caption.c (hildon_caption_size_allocate):
3095 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3096 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3098 Initialize allocation variables to 0, to avoid eventually using
3099 unitialized variables.
3101 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3103 * src/hildon-bread-crumb-trail.c
3104 (hildon_bread_crumb_trail_size_allocate):
3105 * src/hildon-calendar.c (hildon_calendar_set_background):
3106 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3107 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3108 * src/hildon-seekbar.c (hildon_seekbar_init):
3109 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3110 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3111 * src/hildon-touch-selector-entry.c
3112 (hildon_touch_selector_get_text_from_model):
3113 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3114 * src/hildon-window.c (hildon_window_finalize):
3116 Remove many unused variables.
3118 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-seekbar.c: (hildon_seekbar_init),
3121 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3123 Remove unnecessary g_assert() calls.
3125 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-caption.c: (hildon_caption_expose),
3128 (hildon_caption_set_property), (hildon_caption_init),
3129 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3130 (hildon_caption_size_request), (hildon_caption_size_allocate),
3131 (hildon_caption_forall), (hildon_caption_set_separator),
3132 (hildon_caption_activate), (hildon_caption_set_child_expand),
3133 (hildon_caption_set_label_text),
3134 (hildon_caption_get_label_alignment):
3136 Remove unnecessary g_assert() calls.
3138 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-banner.c
3141 (hildon_banner_map, hildon_banner_init): Make banner temporary
3142 before mapping it to avoid closing other temporary windows, but
3143 make it non-temporary afterwards to avoid being closed by other
3144 non-temporary windows.
3145 (-hildon_banner_client_event, hildon_banner_init):
3146 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3148 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3151 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3153 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3156 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3158 * src/hildon-remote-texture.c
3159 * src/hildon-remote-texture.h
3160 * src/hildon-remote-texture-private.h
3161 * examples/hildon-remote-texture-example.c:
3162 Updates/fixes to remote-texture and its example.
3164 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3166 Patch by Mox Soini (ext-mox.soini@nokia.com)
3168 * src/hildon-code-dialog.c: Update logical id.
3169 * src/hildon-set-password-dialog.c: Update logical id.
3171 Fixes: NB#100646 (Logical strings is shown for ok in set
3172 password,Password needed dialogs)
3174 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3177 * src/hildon-remote-texture.c
3178 * src/hildon-remote-texture.h
3179 * src/hildon-remote-texture-private.h
3181 Added remote texture widget (for Clutter shared memory textures)
3183 * examples/hildon-remote-texture-example.c
3184 * examples/Makefile.am
3185 Added example file for remote texture usage
3187 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3189 * configure.ac: post release version bump.
3190 * debian/changelog: version bump.
3192 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3197 * configure.ac: Bump version.
3198 * debian/changelog: Updates.
3200 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-date-selector.c (hildon_date_selector_init)
3203 (hildon_date_selector_constructor): Don't connect to the "changed"
3204 signal until the selector is completely constructed.
3206 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-touch-selector.c: (_create_new_column),
3209 (hildon_touch_selector_append_column),
3210 (hildon_touch_selector_set_column_selection_mode),
3211 (hildon_touch_selector_set_active),
3212 (hildon_touch_selector_select_iter):
3213 Emit the HildonTouchSelector::changed signal every time selection
3214 is changed in any of the methods above. This behavior was already
3215 documented but not fully functional.
3217 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3218 selection is programmatically changed)
3220 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3222 * doc/hildon-sections.txt: Remove obsolete icon
3223 sizes from here as well.
3225 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3227 * examples/hildon-stackable-window-example.c (add_window): Remove
3230 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-app-menu.c
3233 (hildon_app_menu_show): Check whether the parent window of a menu
3234 is topmost before popping it up.
3236 Fixes: NB#100468 (Application menu window is launched even when a
3237 new secondary-window/dialog is pending to be shown/realized.)
3239 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3241 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3244 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3246 Patch by Mox Soini (ext-mox.soini@nokia.com)
3248 * src/hildon-banner.c: (hildon_banner_show_animation):
3249 use stylus size instead of obsolete note size.
3250 * src/hildon-defines.h: Update icon sizes.
3252 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-touch-selector-entry.c:
3255 (hildon_touch_selector_entry_init): Disable unsupported
3257 (hildon_touch_selector_entry_get_text_column): Emit a warning
3258 if an unsupported input modes is used and explicitile state
3259 these modes in the documentation.
3261 Fixes: NB#99802 (Hildon touch selector entry not working properly
3262 for some of the input modes)
3264 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3266 * src/hildon-pannable-area.c,
3267 (hildon_pannable_area_init): Added the changed signal handlers of
3270 Fixes: NB#100320 (HildonPannableArea does not listen to
3271 GtkAdjustment "change" signals)
3273 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3275 * doc/hildon-sections.txt
3276 * src/hildon-window-private.h
3277 * src/hildon-window.h
3278 * src/hildon-window.c (hildon_window_init)
3279 (hildon_window_realize, hildon_window_unrealize)
3280 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3281 (hildon_window_size_request, hildon_window_size_allocate)
3282 (hildon_window_forall, hildon_window_show_all)
3283 (hildon_window_destroy, +paint_edit_toolbar)
3284 (+hildon_window_set_edit_toolbar):
3285 New hildon_window_set_edit_toolbar() method, to add a
3286 HildonEditToolbar to a window without having to pack it manually.
3288 Reorganize hildon_window_size_allocate()
3290 * src/hildon-edit-toolbar.c: Update documentation.
3292 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3293 example to use the new API.
3295 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3297 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3299 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3300 Remove from stack before calling parent's hide.
3302 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3304 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3305 window is removed from the middle of the stack, update the
3306 transiency of the previous one.
3308 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3311 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3314 block/unblock the signal handler if it's not actually being used.
3315 Fixes some critical warnings.
3317 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3319 Based on a patch by Iván Gómez (igomez@igalia.com)
3321 * src/hildon-banner.c
3325 * src/hildon-pannable-area.c
3326 * src/hildon-picker-dialog.c
3327 * src/hildon-wizard-dialog.h
3328 * src/hildon-wizard-dialog.c: Documentation updates.
3330 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3331 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3333 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3335 * configure.ac: post release version bump.
3336 * debian/changelog: version bump.
3338 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3343 * configure.ac: Bump version.
3344 * debian/changelog: Updates.
3346 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3349 a stock icon nor change the relief of the back arrow.
3351 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3352 graphics from theme)
3354 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-button.c (hildon_button_set_alignment): Use
3357 priv->alignment if the button has no child yet.
3359 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-button.c: (hildon_button_init): Set the
3362 button style during initialization to give it the proper
3365 Fixes: NB#99713 (HildonButton value label color is wrong)
3367 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-touch-selector.c: Document
3370 hildon_touch_selector_center_on_selected()
3372 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3375 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3376 all menu items, but not the menu itself.
3377 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3378 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3379 items after adding them to the menu so keyboard accelerators work.
3380 (hildon_app_menu_show): Don't show the menu if it contains items
3381 but none of them are visible.
3383 * examples/hildon-app-menu-example.c (create_menu): Use
3384 gtk_widget_show_all() to show all menu items.
3386 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-picker-dialog.c:
3389 (-_update_title_on_selector_changed_cb),
3390 (-_dialog_update_title): Removed.
3391 (_select_on_selector_changed_cb), (_on_dialog_response),
3392 (on_selector_columns_changed): Do not update the dialog title.
3393 (setup_interaction_mode): Do not connect to
3394 HildonTouchSelector::changed signal if there's a "done" button, as
3395 the dialog title doesn't need to be updated.
3397 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3400 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3402 Patch by Kristian Rietveld (kris@imendio.com)
3404 * src/hildon-touch-selector.c: (_create_new_column): Use new
3405 GtkTreeView::hildon-row-tapped signal to react to user interactions
3406 instead of ::changed.
3408 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3409 with some dynamic tree model)
3411 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3414 (+screen_size_changed, +label_size_request)
3415 (hildon_note_class_init): Make the Hildon information note have a
3416 minimum height, and make its text hvae a maximum width.
3418 Fixes: NB#98614 (Hildon information note (background) should have
3419 minimum height and maximum text width)
3421 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-banner.h
3424 * src/hildon-banner.c (hildon_banner_show_information)
3425 (hildon_banner_show_informationf)
3426 (hildon_banner_show_information_with_markup): Update documentation
3427 to reflect that the icon_name parameter is not used anymore.
3428 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3429 Remove all code from these functions and mark them as deprecated.
3430 (hildon_banner_show_progress): Mark as deprecated.
3432 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3434 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3436 * src/hildon-pannable-area.c,
3437 (hildon_pannable_area_class_init),
3438 (tranparency_color),
3439 (hildon_pannable_draw_vscroll),
3440 (hildon_pannable_draw_hscroll),
3441 (hildon_pannable_area_expose_event): Added a new way to render the
3442 scrollbars of the pannable area avoiding using cairo at all. This
3443 way we improve the performance of the pannable area rendering. The
3444 cairo rendering procedure is still in the code, we can control
3445 which one to use changing the value of the define
3446 USE_CAIRO_SCROLLBARS.
3448 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3450 * configure.ac: post release version bump.
3451 * debian/changelog: version bump.
3453 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: Bump version.
3459 * debian/changelog: Updates.
3461 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3464 banners instead of destroying them when they receive a button
3467 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3469 Reverted commit 34028, it was causing regressions, probably the
3470 topmost condition is not correct, we have to check it in more
3471 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3472 propagation of button press events)
3474 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3477 that the selection is not empty before attempting to retrieve the
3478 current ampm selection.
3480 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-picker-button.c:
3483 (hildon_picker_button_on_dialog_response): Directly update the
3484 button contents when required instead of calling _selection_changed.
3486 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3488 * src/hildon-program.c (hildon_program_update_top_most): Update
3489 'is-topmost' property also when wm_hints is not set.
3491 Fixes: NB#98383 (is-topmost signal is not emitted when task
3492 switcher is clicked.)
3494 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3496 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3500 * src/hildon-animation-actor.c,
3501 * src/hildon-animation-actor.h: Added the animation actor class,
3502 this widget represents an animation actor for WM-assisted
3503 animation effects in the Hildon framework.
3505 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3507 * src/hildon-window-stack-private.h
3508 * src/hildon-window-stack.c
3509 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3510 Avoid calling gtk_widget_show() again indirectly from
3511 hildon_stackable_window_show()
3513 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3518 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3521 (hildon_time_selector_init): Move the construction of the hours and
3522 ampm columns to the constructor to preserve the order the columns
3525 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-picker-dialog.c:
3528 (hildon_picker_dialog_class_init): Connect a realize method.
3529 (+hildon_picker_dialog_realize): Setup the interaction mode here
3531 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3532 yet, do it during the realize instead.
3533 (_on_dialog_response):
3534 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3535 if the widget is not realized, to avoid the dialog response before it
3538 Avoid premature responses in the HildonPickerDialog that can cause it
3539 to be hidden before it's even shown.
3541 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3543 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3544 (on_selector_columns_changed), (requires_done_button),
3545 (+prepare_action_area), (setup_interaction_mode),
3546 (_hildon_picker_dialog_set_selector):
3548 Split the interaction mode setup into preparation of the
3549 action area (prepare_action_area()) and the connection of
3550 the signals in setup_interaction_mode() and update the code to
3553 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3555 * src/hildon-pannable-area.c,
3556 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3557 per second to 15, we will check if this is ok regarding
3560 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3562 * src/hildon-pannable-area.c,
3563 (hildon_pannable_axis_scroll): Avoid resize if we already have
3564 reached overshoot_max.
3566 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3568 * src/hildon-pannable-area.c,
3569 (hildon_pannable_area_init),
3570 (hildon_pannable_area_realize),
3571 (hildon_pannable_area_size_allocate),
3572 (hildon_pannable_area_map),
3573 (hildon_pannable_area_unmap),
3574 (hildon_pannable_draw_vscroll),
3575 (hildon_pannable_draw_hscroll),
3576 (hildon_pannable_area_expose_event),
3577 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3578 pannable are to avoid the expose events go to the window and
3579 redraw the window. We save this way that part of the stack and the
3580 paint_boxes. We had to change the positions of the elements when
3583 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3586 * src/hildon-color-chooser-dialog.c:
3587 (hildon_color_chooser_dialog_init):
3588 * src/hildon-font-selection-dialog.c:
3589 (hildon_font_selection_dialog_init),
3590 (hildon_font_selection_dialog_show_preview):
3591 * src/hildon-get-password-dialog.c:
3592 * src/hildon-login-dialog.c:
3593 * src/hildon-set-password-dialog.c:
3594 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3595 * src/hildon-time-picker.c: (hildon_time_picker_init):
3597 Remove obsolete logical string IDs and update to the appropriate ones.
3599 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3601 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3604 that happens if the window hasn't been realized yet.
3606 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3607 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3609 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3612 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3615 Fixes: NB#98537 (Device hangs in account settings dialog)
3617 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3619 * configure.ac: post release version bump.
3620 * debian/changelog: version bump
3622 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3627 * configure.ac: Bump version.
3628 * debian/changelog: Updates.
3630 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3632 Added a new function to the HildonTimeButton widget that allows to
3633 change the step of the minutes in the selector associated with the
3634 button: hildon_time_button_new_step
3636 * src/hildon-time-button.c,
3637 (hildon_time_button_init),
3638 (hildon_time_button_new),
3639 (hildon_time_button_new_step):
3640 * src/hildon-time-button.h: Added the new function and refactored
3642 * examples/hildon-time-button-example.c,
3643 (main): We have replaced the function without parameters with the
3644 function with the steps set to 5
3646 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3648 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3650 * src/hildon-time-selector.c,
3651 (hildon_time_selector_class_init),
3652 (hildon_time_selector_constructor),
3653 (hildon_time_selector_get_property),
3654 (hildon_time_selector_set_property),
3655 (_create_minutes_model),
3656 (hildon_time_selector_new_step),
3657 (hildon_time_selector_set_time),
3658 * src/hildon-time-selector.h: Added a new property to the
3659 HildonTimeSelector (minutes-step), we use that property to control
3660 the steps between the minutes in the list of the selector. We have
3661 added a new function to the API to create a widget changing the
3662 step: hildon_time_selector_new_step.
3664 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-time-selector.c,
3667 (hildon_time_selector_class_init),
3668 (hildon_time_selector_constructor),
3669 (hildon_time_selector_init): Overrided the construct function when
3670 creating the time selector object. We have moved the minutes model
3671 handling code from the init to the new construction function:
3672 hildon_time_selector_constructor.
3674 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3676 * examples/hildon-date-button-example.c: (main): Use the new
3677 hildon_date_button_new_with_year_range() method in the example.
3678 * src/hildon-date-button.c:
3679 (+hildon_date_button_new_with_year_range): New public method
3680 to conveniently create a HildonDateButton with a custom year range
3681 in its HildonDateSelector.
3682 * src/hildon-date-button.h: Add the new public method definition.
3684 Fixes: NB#97908 (Not possible to change the year range in
3685 HildonDateSelector/HildonDateButton)
3687 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-date-selector.c:
3690 (+hildon_date_selector_set_property),
3691 (+hildon_date_selector_get_property),
3692 (hildon_date_selector_class_init): Install new properties "min-year"
3693 and "max-year" to define boundaries for the year column.
3694 (_create_year_model): Use the boundary properties to populate the model.
3695 (+hildon_date_selector_new_with_year_range): New public method to
3696 create a HildonDateSelector with a user defined year range.
3697 (hildon_date_selector_select_current_date): Use the new boundaries to
3698 calculate the iterator of current year.
3699 * src/hildon-date-selector.h: Add the new public method definition.
3701 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3704 Install a constructor method.
3705 (+hildon_date_selector_construct_ui): construct the widget.
3706 (+hildon_date_selector_constructor): new constructor.
3707 (+hildon_date_selector_init): move out widget construction code to
3708 the new constructor.
3710 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3713 that there's actually a month or year selected before obtaining them.
3714 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3715 of the HildonTouchSelector::changed signal, as it was emitted on every
3716 single item selection.
3718 Fix some warnings and possible crashers due to the selection restoring.
3720 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3723 the signal handlers only after creating the dialog instead of on every
3726 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-button.c (hildon_button_init)
3729 * src/hildon-check-button.c (hildon_check_button_init)
3730 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3731 focus when clicked by default.
3733 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3738 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3740 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3741 Alejandro G. Castro (alex@igalia.com)
3743 * src/hildon-picker-dialog.c:
3744 (hildon_picker_dialog_class_init): install new "center-on-show"
3746 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3747 (hildon_picker_dialog_set_property): add setter code for the new
3749 (hildon_picker_dialog_get_property): add getter code for the new
3751 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3752 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3755 Fixes: NB#92849 (Selected item is not always visible when
3756 HildonTouchSelector is shown)
3758 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3760 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3761 Alejandro G. Castro (alex@igalia.com)
3763 * src/hildon-touch-selector.c:
3764 (_create_new_column): Do not connect to the "realize" signal of the
3766 (hildon_touch_selector_append_column): center on the selected items
3767 when a new column is appended.
3768 (hildon_touch_selector_select_iter): Factor out the code to select a
3769 column to hildon_touch_selector_scroll_to().
3770 (+search_nearest_element): Method to retrieve the nearest selected
3771 element to the visible area of the pannable area in a column.
3772 (+on_realize_cb): scroll to the initially selected item.
3773 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3774 the pannable area is realized, otherwise delay this until it is.
3775 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3776 selected items of a given column.
3777 (+hildon_touch_selector_center_on_selected): Public method to center
3778 all columns on the nearest selected item.
3779 * src/hildon-touch-selector.h: Add definition for
3780 hildon_touch_selector_center_on_selected().
3782 Implement public API to ensure visibility of all selected items in
3783 a HildonTouchSelector.
3785 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3787 Fixed a problem in the fading when calling the scroll_to API, and
3788 improve scrollbar fading handling.
3790 * src/hildon-pannable-area.c,
3791 (hildon_pannable_area_grab_notify): avoid the timeout when the
3793 (hildon_pannable_area_button_press_cb),
3794 (hildon_pannable_area_motion_notify_cb): Code style changes.
3795 (hildon_pannable_area_button_release_cb): Review the conditions
3796 when releasing the mouse button to avoid unrequired fading
3798 (hildon_pannable_area_scroll_to): Do not calculate and set the
3799 velocity if the scroll is not required.
3801 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3804 Don't check whether the new selector is NULL: it cannot be.
3805 Hold a reference to the selector while doing the replacement.
3807 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3809 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3810 unnecessary size_request in a removed widget.
3812 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3815 an unnecessary reference tracking that was leaking.
3817 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3819 Added delayed motion notify event handling, this way we can
3820 discard redrawing if more than 25 events arrive per second.
3822 * src/hildon-pannable-area.c,
3823 (hildon_pannable_area_init): Initialized the new private atributes
3824 controlling this timeout
3825 (hildon_pannable_area_dispose): Remove the timeout that controls
3826 the motion notify events.
3827 (hildon_pannable_area_scroll): Added a condition to control the
3828 use of the acceleration.
3829 (hildon_pannable_area_motion_event_scroll_timeout),
3830 (hildon_pannable_area_motion_event_scroll): Added this two
3831 functions, they handle the motion notify events inside the
3833 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3834 to the scroll method with the new function.
3835 (hildon_pannable_area_button_release_cb): We have to remove the
3836 timeout handler and move to the last position if the last motion
3837 events were not handled.
3839 Fixes: NB#97028 (Pannable area updates on every motion event)
3841 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3843 * src/hildon-pannable-area.c,
3844 (hildon_pannable_area_get_topmost): Added a new parameter to
3845 filter the the windows that do not include those events. Added
3846 also a condition when finding the window to filter windows that do
3847 not ask for those events.
3848 (hildon_pannable_area_button_press_cb),
3849 (hildon_pannable_area_button_release_cb),
3850 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3851 topmost function, we have added the new parameter.
3853 Fixes: NB#97458 (Pannable area prevents propagation of button
3856 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3858 * src/hildon-pannable-area.c,
3859 (hildon_pannable_area_initial_effect): Added controls before
3860 launching the timeout and the idle functions.
3861 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3862 of the method, in some situations it can return with TRUE and 0 in
3864 (hildon_pannable_area_button_press_cb): We do not need to set
3865 DELAY for fading out here.
3867 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3869 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3872 post-cleaning if the selection is not NULL.
3874 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3877 all items before restoring the selection.
3879 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-touch-selector.c:
3882 (+hildon_touch_selector_unselect_all):
3883 * src/hildon-touch-selector.h: New API to unselect all items in a
3884 column of the touch selector.
3886 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3888 * src/hildon-pannable-area.c,
3889 (hildon_pannable_area_redraw): Added a call to the refresh
3890 function inside the redraw because apparently in some cases the
3891 change in the adjustment does not imply a size allocate.
3893 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3894 despite the view not being scrollable)
3896 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3899 leak. Check for NULL before attempting to set the window title.
3901 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3903 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3904 whether to show or not the 'Done' button each time the dialog is
3905 shown, as it depends on the HildonTouchSelector selection mode.
3907 Fixes: NB#96226 (In multiple selection mode Done button is shown
3908 sometimes in listpicker)
3910 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3912 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3913 for the number of columns in the HildonTouchSelector more than once.
3915 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-touch-selector.c: Minor documentation fixes.
3919 * src/hildon-picker-dialog.c (+_dialog_update_title)
3920 (_select_on_selector_changed_cb)
3921 (_update_title_on_selector_changed_cb)
3922 (on_selector_columns_changed): Update dialog title when there's no
3923 'Done' button and also when the number of columns in the selector
3927 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3928 (+_selection_changed, hildon_picker_button_on_dialog_response)
3929 (hildon_picker_button_selector_selection_changed)
3930 (+hildon_picker_button_selector_columns_changed)
3931 (hildon_picker_button_set_selector): Update button value and emit
3932 'value-changed' when the number of columns in the selector
3936 Fixes: NB#96225 (Dialog titles are not shown according to the
3937 values selected in the list picker)
3939 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3941 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3942 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3943 New "arrow-width" and "arrow-height" style properties to set the
3944 size of the arrow button.
3945 Set name of arrow button ("hildon-edit-toolbar-arrow").
3947 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3948 graphics from theme)
3950 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-button.c:
3953 (hildon_picker_button_selector_selection_changed): Use
3954 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3955 the dialog is present.
3957 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3958 the selection is accepted in the dialog)
3960 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-color-chooser.h
3963 * src/hildon-color-chooser-dialog.h:
3964 Added G_BEGIN_DECLS and G_END_DECLS
3966 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3968 (_clean_current_selection): plug a leak in the list.
3970 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-picker-dialog.c:
3973 (+free_path_list): Method to free a GList of GtkTreePaths.
3974 (_clean_current_selection), (_save_current_selection),
3975 (_restore_current_selection): Save the current selection in
3976 as a list of lists, to support multiple selection properly.
3978 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3980 patch by Claudio Saavedra (csaavedra@igalia.com)
3982 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3983 Store the press position.
3984 (+hildon_text_view_button_release_event): If the release position is
3985 close enough to the press position, move the cursor here. Otherwise,
3987 (hildon_text_view_class_init): Override GtkTextView press, release, and
3988 motion event handlers, disabling this way text selection through
3989 pointer interaction, and allowing the container widget to handle the
3992 Fixes: NB#95828 (HildonTextView functionality)
3994 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3996 Based on a patch by Iván Gómez (igomez@igalia.com)
3998 * src/hildon-button.[ch]
3999 * src/hildon-calendar.c
4000 * src/hildon-check-button.c
4001 * src/hildon-date-editor.c
4002 * src/hildon-date-selector.c
4003 * src/hildon-picker-button.c
4004 * src/hildon-time-editor.c
4005 * src/hildon-time-selector.c
4006 * src/hildon-touch-selector.[ch]:
4007 Documentation updates
4009 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4011 * src/hildon-pannable-area.c,
4012 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4013 threshold, it was required due to X events handling.
4015 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4017 * src/hildon-pannable-area.c,
4018 (hildon_pannable_area_grab_notify),
4019 (hildon_pannable_area_initial_effect),
4020 (hildon_pannable_area_button_press_cb),
4021 (hildon_pannable_area_button_release_cb),
4022 (hildon_pannable_area_scroll_cb),
4023 (hildon_pannable_area_scroll_to): Review the timeout management of
4024 the scrollbar, the frecuency was incorrectly set.
4026 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4028 * src/hildon-picker-button.c:
4029 (+hildon_picker_button_on_dialog_response),
4030 (hildon_picker_button_clicked): Present the dialog instead of
4031 running it with gtk_dialog_run().
4033 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4036 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4038 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4039 (hildon_app_menu_finalize): When a window is hidden it doesn't
4040 emit notify::is-topmost, so make sure than the menu also
4041 disappears in that case.
4042 (parent_window_topmost_notify): Renamed from parent_window_hidden
4044 Fixes: NB#94460 (stackable window's menu is not closed when its
4047 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4049 * src/hildon-touch-selector-entry.c:
4050 (+hildon_touch_selector_entry_set_input_mode),
4051 (+hildon_touch_selector_entry_get_input_mode):
4052 * src/hildon-touch-selector-entry.h: New methods to access the input
4053 mode in the selector's entry.
4055 Fixes: NB#93410 (API required for setting IM mode in
4056 HildonTouchSelectorEntry)
4058 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4060 * configure.ac: post release version bump.
4061 * debian/changelog: version bump
4063 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4068 * configure.ac: Bump version.
4069 * debian/changelog: Updates.
4071 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-touch-selector.c:
4074 (_hildon_touch_selector_has_multiple_selection): No need
4075 to initialize the variables here.
4077 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4079 * src/hildon-note-private.h
4080 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4081 (hildon_note_finalize, hildon_note_rebuild): Close information
4082 notes when they receive a button press.
4084 Fixes: NB#89890 (Information notes does not get disappeared after
4087 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4089 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4090 mark from the wizard title, as it's not really necessary. Also,
4091 do not display the page title if not set.
4093 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4095 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4096 (parent_window_hidden): Use the window's "is-topmost" property to
4097 detect when to hide the menu.
4099 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4102 (hildon_app_menu_finalize): If the parent window of the menu is
4103 hidden, hide the menu too.
4105 Fixes: NB#94460 (stackable window's menu is not closed when its
4108 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4111 * debian/libhildon1-examples.install
4113 * examples/Makefile.am:
4114 Use dh_install to install all examples.
4115 Use DEB_SRCDIR instead of defining SOURCE_DIR
4117 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4119 * configure.ac: post release version bump.
4120 * debian/changelog: version bump
4122 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4127 * configure.ac: bump version
4128 * debian/changelog: updates
4129 * debian/control: bump gtk+ dependency
4131 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4133 patch by Christian Dywan (christian@imendio.com)
4135 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4136 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4138 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4140 * src/hildon-check-button.c (hildon_check_button_init)
4141 (hildon_check_button_class_init, hildon_check_button_style_set)
4142 (hildon_check_button_apply_style):
4143 New "checkbox-size" style property.
4145 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4146 larger / configurable size)
4148 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4150 * configure.ac: post release version bump.
4151 * debian/changelog: version bump
4153 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4158 * configure.ac: bump version
4159 * debian/changelog: updates
4161 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4163 * doc/hildon-sections.txt
4164 * src/hildon-pannable-area.c
4165 * src/hildon-program.c
4166 * src/hildon-time-editor.c
4167 * src/hildon-touch-selector-entry.c:
4169 More documentation updates.
4171 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4173 * doc/hildon-sections.txt
4174 * src/hildon-caption.c
4175 * src/hildon-code-dialog.c
4176 * src/hildon-color-button.c
4177 * src/hildon-controlbar.c
4178 * src/hildon-date-editor.c
4179 * src/hildon-date-selector.c
4180 * src/hildon-edit-toolbar.c
4181 * src/hildon-find-toolbar.c
4182 * src/hildon-font-selection-dialog.c
4184 * src/hildon-program.c
4185 * src/hildon-range-editor.c
4186 * src/hildon-seekbar.c
4187 * src/hildon-time-editor.c
4188 * src/hildon-time-selector.c
4189 * src/hildon-volumebar-range.c
4190 * src/hildon-volumebar.c
4191 * src/hildon-vvolumebar.c
4192 * src/hildon-weekday-picker.c
4193 * src/hildon-window.c
4194 * src/hildon-wizard-dialog.c:
4196 Lots of documentation fixes.
4198 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4200 Patch contributed by Iván Gómez (igomez@igalia.com)
4202 * src/hildon-check-button.c:
4203 * src/hildon-date-button.c:
4204 * src/hildon-date-selector.c:
4205 * src/hildon-dialog.c:
4206 * src/hildon-edit-toolbar.c:
4207 * src/hildon-entry.c:
4208 * src/hildon-picker-button.c:
4209 * src/hildon-program.c:
4210 * src/hildon-text-view.c:
4211 * src/hildon-time-button.c:
4212 * src/hildon-touch-selector-entry.c:
4213 * src/hildon-window-stack.c:
4215 Add more "since" tags to the new API.
4217 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4219 * doc/hildon-sections.txt: Add below method.
4220 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4221 version for the hildonized scale.
4222 * src/hildon-gtk.h: Add the definition.
4224 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4226 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4228 * doc/hildon-sections.txt: Add missing entries for new methods.
4230 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4232 Added API to pannable are in order to get its adjustments. We
4233 added two properties to manage the values we had in the private
4236 * src/hildon-pannable-area.c:
4237 (hildon_pannable_area_class_init): Added hadjustment and
4238 vadjustment properties in order to expose horizontal and vertical
4240 (hildon_pannable_area_get_property),
4241 (hildon_pannable_area_set_property): Added code to handle the new
4243 (hildon_pannable_area_get_hadjustment),
4244 (hildon_pannable_area_get_vadjustment): API functions to get the
4246 * src/hildon-pannable-area.h:
4247 (hildon_pannable_area_get_hadjustment),
4248 (hildon_pannable_area_get_vadjustment): API functions to get the
4251 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4253 Fixed some leaks, after valgrinding.
4255 * src/hildon-touch-selector.c:
4256 (_default_print_func): Fixed a leak.
4257 (hildon_touch_selector_append_column): Fixed a leak.
4258 * src/hildon-date-button.c:
4259 (hildon_date_button_init): Fixed a leak.
4260 * src/hildon-date-selector.c
4261 (hildon_date_selector_finalize): Fixed a leak.
4263 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4265 Based on a patch by Christian Dywan (christian@imendio.com)
4267 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4269 * src/hildon-gtk.h: Add definition.
4271 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4273 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4275 * src/hildon-picker-button.c: (hildon_picker_button_init),
4276 (hildon_picker_button_new): Set the HildonButton::style property
4277 in the init method, to propagate the value to the derived classes.
4279 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/hildon-button.c: (hildon_button_class_init): Do not make
4282 the "style" property a construct property.
4284 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4286 * src/hildon-wizard-dialog.h
4287 * src/hildon-wizard-dialog.c
4288 (hildon_wizard_dialog_set_forward_page_func)
4289 * src/hildon-pannable-area.h
4290 * src/hildon-pannable-area.c
4291 (hildon_pannable_area_set_size_request_policy):
4292 Documentation fixes.
4294 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4296 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4298 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4300 * doc/hildon-sections.txt: Added sections file.
4302 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/*.[ch]: Updates.
4307 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4309 * examples/hildon-progress-indicator-example.c: new file
4310 * examples/Makefile.am: include the new example program
4312 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4314 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4316 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4318 * configure.ac: post release version bump
4319 * debian/changelog: version bump
4321 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4326 * configure.ac: bump version
4327 * debian/changelog: updates
4328 * debian/control: bump gtk+ dependency
4330 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-dialog.c: Mark as deprecated.
4333 * src/hildon-dialog.h: Mark as deprecated.
4334 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4335 from HildonDialog and still work, even if
4336 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4337 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4339 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4340 maemo changes) instead)
4342 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4344 * src/hildon-pannable_area.h:
4345 * src/hildon-pannable_area.c:
4346 (hildon_pannable_area_class_init),
4347 (hildon_pannable_area_set_property),
4348 (hildon_pannable_area_get_property),
4349 (hildon_pannable_area_size_request),
4350 (hildon_pannable_area_get_size_request_policy),
4351 (hildon_pannable_area_set_size_request_policy): Added new API
4352 allowing applications to control the request policy. Now they can
4353 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4354 children allocation (HILDON_MOVEMENT_CHILDREN).
4356 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4360 (hildon_gtk_tree_view_set_ui_mode)
4361 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4362 mode of treeviews and iconviews.
4364 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4366 * src/hildon-touch-selector-entry.c:
4367 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4368 of a GtkEntry to get proper theming.
4370 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4371 widget, not GtkEntry)
4373 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4376 no HildonWizardDialogPageFunc.
4378 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4380 Patch contributed by Iván Gómez (igomez@igalia.com)
4382 * src/hildon-app-menu.c:
4383 * src/hildon-button.c:
4384 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4385 * src/hildon-stackable-window.c:
4386 * src/hildon-time-selector.c:
4387 * src/hildon-touch-selector.c:
4388 * src/hildon-window.c:
4390 Add more "since" tags to the new API in hildon 2.2.
4392 2008-12-05 Tim Janik <timj@imendio.com>
4394 Patch contributed by Christian Dywan (christian@imendio.com)
4396 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4397 HildonSizeType, which are supplied by Gtk+ now.
4399 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4401 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4402 (with maemo changes) instead)
4404 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4406 Patch contributed by Iván Gómez (igomez@igalia.com)
4408 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4411 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4413 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4414 (some_page_func), (main): Update the example to use a
4415 HildonWizardDialogPageFunc function.
4417 * src/hildon-wizard-dialog-private.h: Add private data for
4418 the HildonWizardDialogPageFunc function usage.
4420 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4421 (destroy), (hildon_wizard_dialog_init), (response),
4422 (hildon_wizard_dialog_set_forward_page_func):
4423 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4424 that applications can use to stop a HildonWizardDialog to jump to
4427 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4430 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4432 * src/hildon-program.h
4433 * src/hildon-program-private.h
4434 * src/hildon-program.c (hildon_program_init)
4435 (hildon_program_set_common_app_menu)
4436 (hildon_program_get_common_app_menu):
4437 New API for setting a common HildonAppMenu for all
4438 HildonStackableWindows registered with the HildonProgram.
4440 * src/hildon-stackable-window.c
4441 (hildon_stackable_window_toggle_menu):
4442 Use the common HildonAppMenu if a window doesn't have a specific
4445 * src/hildon-app-menu-private.h
4446 * src/hildon-app-menu.c
4447 (hildon_app_menu_get_parent_window):
4448 Function to obtain the window a HildonAppMenu is attached to.
4449 (hildon_app_menu_set_parent_window):
4450 Hide the menu if the parent window is set to NULL.
4452 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4454 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4455 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4456 search widget to popup.
4458 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4460 * configure.ac: post release version bump
4461 * debian/changelog: version bump
4463 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: bump version
4469 * debian/changelog: updates
4471 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4473 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4475 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4476 (hildon_window_stack_window_realized)
4477 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4478 Set the leader GdkWindow when a window is stacked and realized,
4479 unset it when it's unstacked.
4480 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4482 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4484 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-stackable-window.h
4487 * src/hildon-window-stack.h:
4488 Protect definition of HildonWindowStack using the preprocessor.
4490 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4492 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4493 Fix warning if all menu items are hidden.
4495 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4497 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4499 * src/hildon-controlbar.c:
4500 * src/hildon-hvolumebar.c:
4501 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4502 Multiple scale size defines updates.
4504 Fixes: NB#94322 (Scale Updates)
4506 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4508 * examples/hildon-app-menu-example.c (create_menu)
4509 Show items after adding them to the menu, as in the future the
4510 menu will no longer call gtk_widget_show() on the added items.
4512 * src/hildon-app-menu.c:
4513 Update example as explained above.
4515 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4517 * src/hildon-app-menu.c
4518 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4519 Make sure that all menu items have finger height.
4521 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4523 * src/hildon-picker-dialog.c:
4524 (_on_dialog_response), (_save_current_selection),
4525 (_restore_current_selection), (_clean_current_selection),
4526 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4527 Defined new functions in order to save the current internal selector
4528 selection previous open the dialog, in case that the use cancel the
4529 interaction, so the widget restores the previous selection.
4531 Fixes: NB#92032 (In calendar application, date values in 'new event'
4534 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4536 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-button.c: Add a reference to the button examples in
4539 hildon-button-example.c
4541 * examples/hildon-button-example.c: Added examples of the most
4542 common button layouts.
4544 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4546 * src/hildon-app-menu.c (hildon_app_menu_show)
4547 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4549 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4551 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-picker-dialog.c:
4554 (hildon_picker_dialog_init): Initialize the signal id for
4555 HildonTouchSelector::columns-changed.
4556 (+on_selector_columns_changed): Set up the interaction mode everytime a
4557 column is added or removed from the HildonTouchSelector.
4558 (_hildon_picker_dialog_set_selector): Connect to
4559 HildonTouchSelector::columns-changed and keep track of it.
4561 Make sure to update the interaction mode of the dialog everytime a
4562 column is added or removed in the HildonTouchSelector.
4564 Fixes: NB#93228 (Done button is not shown always in listpicker)
4566 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4569 a new ::columns-changed signal.
4570 (hildon_touch_selector_append_column): Emit ::columns-changed.
4571 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4573 Add a ::columns-changed signal, emitted when the number of columns in a
4574 HildonTouchSelector changes.
4576 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4578 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4579 (_hildon_picker_dialog_set_selector): Factor out the code
4580 to set up the dialog interaction mode.
4582 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4585 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4586 to signal_changed_id.
4588 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4593 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4595 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4596 Updated the logical ids related to ampm format, as now it is required to
4597 show it correctly localized even on languages with no default
4598 abbreviations for am or pm
4599 (_check_am_pm_format): check correctly the 24h format gconf property
4601 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4603 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-button.c: Documentation updates.
4607 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4610 * src/hildon-caption.c: (hildon_caption_class_init):
4611 * src/hildon-color-button.c: (hildon_color_button_class_init):
4612 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4613 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4614 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4615 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4617 Remove deprecated GTK+ marshalers and replace them with the ones
4618 provided by GLib, for those available, add a marshaler for
4619 BOOLEAN:VOID, which is not available in GLib, and use it.
4621 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4624 the text from the previous column if there is no
4625 HildonTouchSelectorColumn::text-property set.
4627 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4629 * src/hildon-button.h
4630 * src/hildon-button.c (hildon_button_set_property)
4631 (hildon_button_get_property, hildon_button_class_init)
4632 (hildon_button_set_style, hildon_button_get_style):
4633 New "style" property to change the visual appearance of the
4636 * src/hildon-picker-button.c (hildon_picker_button_new):
4637 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4639 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4640 HildonButton look like PickerButton)
4642 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4645 column while building the default string.
4647 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4650 scroll indicator by default.
4652 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4654 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-main.c: Fix the documentation for hildon_init()
4658 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4660 * doc/hildon-docs.sgml
4664 * src/hildon-window-stack-private.h
4665 * src/hildon-window-stack.h
4666 * src/hildon-window-stack.c:
4667 New HildonWindowStack object, that adds support for multiple
4668 stacks of windows per process.
4670 * src/hildon-stackable-window-private.h
4671 * src/hildon-stackable-window.h
4672 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4673 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4674 (hildon_stackable_window_show, hildon_stackable_window_hide)
4675 (hildon_stackable_window_class_init)
4676 (hildon_stackable_window_init):
4677 Use HildonWindowStack for stack management.
4679 * src/hildon-program.c (hildon_program_pop_window_stack)
4680 (hildon_program_peek_window_stack)
4681 (hildon_program_go_to_root_window):
4682 Add a fallback implementation to the deprecated functions using
4685 * examples/hildon-stackable-window-example.c:
4686 Use the new HildonWindowStack API.
4688 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4690 * src/hildon-stackable-window-private.h
4691 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4692 (hildon_stackable_window_hide, hildon_stackable_window_init):
4693 Remove all window stack management.
4695 * src/hildon-program-private.h
4696 * src/hildon-program.h
4697 * src/hildon-program.c (hildon_program_init)
4698 (hildon_program_pop_window_stack)
4699 (hildon_program_peek_window_stack)
4700 (hildon_program_go_to_root_window):
4701 Remove all window stack management and mark functions as
4704 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-app-menu.c (hildon_app_menu_realize):
4707 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4709 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: post release version bump
4712 * debian/changelog: version bump
4714 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4719 * configure.ac: bump version
4720 * debian/changelog: updates
4722 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4724 Based on initial code by Christian Dywan (christian@imendio.com)
4726 * doc/hildon-docs.sgml: Add section for hildon-main.
4727 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4728 * src/Makefile.am: Add new hildon-main.[ch]
4729 * src/hildon-defines.h: Update the icon sizes.
4730 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4731 new library initialization files and register icon sizes.
4732 * src/hildon-main.h: New declarations.
4733 * src/hildon.h: Include hildon-main.h
4735 Add new initialization functions to the library. These methods
4736 will register the hildon specific icon sizes and can be used in the
4737 future for other hildon specific bits.
4739 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4741 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-window.c: (hildon_window_realize),
4744 (hildon_window_notify), (-hildon_window_update_title): Do not set
4745 the application name in the window title.
4747 Fixes: NB#89754 (Applications shouldn't display their names in the
4750 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4752 * src/hildon-note-private.h:
4753 * src/hildon-note.c: (hildon_note_set_property),
4754 (hildon_note_get_property), (hildon_note_class_init),
4755 (hildon_note_init), (hildon_note_finalize),
4756 (hildon_note_new_confirmation_with_icon_name),
4757 (hildon_note_new_information_with_icon_name):
4759 No need to mark as deprecated the actual code. Revert
4760 to avoid missing symbols in widgets using deprecated API.
4762 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4764 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4766 * src/hildon-volumebar.h
4767 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4768 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4770 * src/hildon-helper.h
4771 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4772 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4774 * examples/Makefile.am:
4775 Deprecate hildon-insensitive-example
4777 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4779 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4781 * examples/hildon-pannable-area-buttons-scroll-example.c:
4782 Make all buttons finger height
4784 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4786 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4788 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4789 update the day model only if it is really required, and to avoid the
4790 full-reconstruction aproach. Now it only add or remove the required days.
4792 The purpose of this is avoid superfluous HildonTouchSelector::changed
4795 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4796 with strange parameters)
4798 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4800 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4802 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4803 the WINDOW_TYPE property.
4805 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4807 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4810 Fix dependency to allow parallel compilation with make -jX
4812 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4815 color frame and some minor tweaks to make it more consistent with
4818 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4819 highlighted but not visible)
4821 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4823 * examples/Makefile.am: Fixed typo in the Makefile.am.
4825 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4827 Reviewed the use of MAEMO_GTK define, now we add the define in the
4828 compilation line, and we also add it to the pc file.
4830 * configure.ac: Added MAEMO_GTK define to the compilation command
4831 and removed it from the config.h.
4833 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4834 do not have to take care about this define if the library was
4838 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4840 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4842 * examples/Makefile.am,
4843 * examples/hildon-pannable-area-buttons-scroll-example.c,
4844 * examples/hildon-pannable-area-gesture-signals-example.c,
4845 * examples/hildon-pannable-area-scroll-jump-example.c,
4846 * examples/hildon-pannable-area-tree-view-example.c:
4847 Renamed the pannable area examples, now they have more meaningful
4850 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * src/hildon-touch-selector.c:
4853 (hildon_touch_selector_set_column_selection_mode): Used of
4854 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4855 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4856 to avoid re-seting the same selection mode.
4858 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4859 breaks HildonPickerDialog)
4861 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4863 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4864 conditional in the Makefile.am
4866 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4869 Remove unused methods.
4871 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4873 * src/hildon-button.c (hildon_button_init):
4874 Make button images center-aligned by default
4876 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4879 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4880 activated, we have to think about how to deal with both defines
4881 MAEMO_GTK and MAEMO_CHANGES.
4883 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4885 * examples/hildon-app-menu-example.c (create_menu): Make all
4886 buttons finger size.
4888 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4890 Fixed the compilation without maemo gtk adding ifdefs with
4891 MAEMO_GTK define to the code, we have to check this version more
4894 * examples/Makefile.am: Added control to avoid some examples that
4895 just make sense with maemo gtk.
4898 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4899 hildon modes with the define.
4901 * examples/hildon-edit-toolbar-example.c,
4902 (create_icon_view): Create the icon view without hildon-gtk
4903 helpers if we are not using maemo gtk.
4905 * src/hildon-touch-selector.c,
4906 (_create_new_column): Create the treeview without hildon-gtk
4907 helpers if we are not using maemo gtk.
4909 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4911 * src/hildon-pnnable-area.c,
4912 (hildon_pannable_area_dispose),
4913 (hildon_pannable_area_button_press_cb),
4914 (hildon_pannable_area_child_mapped),
4915 (hildon_pannable_area_add),
4916 (hildon_pannable_area_remove): Added code to control the position
4917 of the event_window when adding and removing children from the
4918 pannable. We have to raise the event window when the child is
4921 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4922 selection mode using custom widget inside pannable)
4924 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4926 * configure.ac: post release version bump
4927 * debian/changelog: version bump
4929 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4934 * configure.ac: bump version
4935 * debian/changelog: updates
4937 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4939 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4940 search mode, in order to avoid lose the focus on the treeview when
4941 a hw key (like enter) is pressed.
4943 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4944 in HildonDateSelector dialog)
4946 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4948 * debian/rules: Added --enable-maintainer-mode
4949 * Makefile.am: Added ACLOCAL_AMFLAGS
4951 This allows to properly regenerate the Makefiles if you modify the
4952 configure.ac or any Makefile.am.
4954 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4956 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4957 properties, not needed at all.
4959 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4961 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4963 * src/hildon-note.c: (hildon_note_set_property),
4964 (hildon_note_get_property), (hildon_note_class_init),
4965 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4966 (hildon_note_new_confirmation_add_buttons): Remove icons.
4967 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4968 (hildon_note_new_information_with_icon_name): Deprecate.
4969 (hildon_note_new_confirmation): Act directly, without calling
4970 the deprecated constructor.
4971 (hildon_note_new_information): Act directly, without calling
4972 the deprecated constructor.
4973 * src/hildon-note.h: Mark deprecate methods as such.
4974 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4975 not run tests on the deprecated methods if built with deprecation
4978 Fixes: NB#91688 (Never show icons in information notes/confirmation
4981 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4983 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4984 (hildon_app_menu_key_press): Remove leftover usage of the
4985 private structure in HildonAppMenu struct.
4986 * src/hildon-app-menu.h: Remove leftover private structure
4987 from the HildonAppMenu struct.
4989 Fixes a crasher when using the HildonAppMenu.
4991 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-picker-dialog.c: Use appropriate logical id
4994 for the default "Done" text.
4996 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4998 * configure.ac: post release version bump
4999 * debian/changelog: version bump
5001 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5003 Modified the way to scroll to the current selection just when the touch
5004 selector is shown on the screen, avoiding a g_idle. Added too a property
5005 to configure this behaviour. See hildon_pannable_area_jump_to_child
5006 documentation for more information.
5008 * src/hildon-touch-selector.c
5009 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5010 Added 'initial-scroll' property
5011 (hildon_touch_selector_set_property): Added
5012 (hildon_touch_selector_map): Removed as not required anymore
5013 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5014 only a concrete column, instead of iterate along all the columns
5016 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: bump version
5022 * debian/changelog: updates
5024 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5026 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5027 compilation time warnings.
5029 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5032 the default value for HildonPannableArea::mov-mode to
5033 HILDON_PANNABLE_AREA_MODE_VERT.
5035 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5037 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5039 Reverting following commit:
5041 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-app-menu-private.h
5044 * src/hildon-app-menu.[ch]
5045 * src/hildon-button.[ch]
5046 * src/hildon-check-button.[ch]
5047 * src/hildon-entry.[ch]
5048 * src/hildon-pannable-area.[ch]
5049 * src/hildon-text-view.[ch]:
5050 Added private field to the object's structure.
5052 because it causes an ABI breakage. We will need to introduce these
5053 changes later at some point. See NB#91636 for an extensive
5054 explanation and status.
5056 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5058 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5060 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5061 remove special cases that are no longer necessary.
5063 Fixes: NB#91016 (Change toolbar sizes, simplification)
5065 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5068 is shown in the cancel note.
5070 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5073 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5074 (hildon_seekbar_init): Remove steppers, remove expose event.
5075 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5077 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5079 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5082 label font to "SmallSystemFont" for vertically arranged buttons.
5084 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5087 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-check-button.c
5090 (hildon_check_button_set_active, hildon_check_button_clicked):
5091 Don't access private parts directly, use getters instead.
5093 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5095 * src/hildon-check-button.c (hildon_check_button_new):
5096 Align the contents of the check button to the left.
5098 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5100 * src/hildon-pannable-area.c,
5101 (hildon_pannable_area_scroll_to),
5102 (hildon_pannable_area_jump_to),
5103 (hildon_pannable_area_scroll_to_child),
5104 (hildon_pannable_area_jump_to_child): Replace the mapped
5105 precondition of these functions with the realized, it is the
5106 correct state of the widget in this case. Changed the
5107 documentation according to this modification.
5109 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5111 Added a new EXTRA_CFLAGS option to add the deprecated define to
5112 the compilation command. This way we can avoid using the define in
5113 the documentation compilation.
5115 * configure.ac: Defined EXTRA_CFLAGS.
5117 * examples/Makefile.am:
5119 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5121 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5123 * src/hildon-picker-dialog.c:
5124 Defined a utility macro with the desired touch selector height
5125 Removed currently unused separator, and title_label variables from
5127 (hildon_picker_dialog_init): Removed code related to the creation
5128 of unused private variables title_label and separator.
5129 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5130 to ensure correct visualization of the touch selector inside the dialog.
5131 * src/hildon-touch-selector.c
5132 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5133 ensure a concrete height of the widget.
5135 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5138 * tests/Makefile.am:
5140 Remove spurious whitespaces.
5142 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5145 compilation warning after the cancel button removal.
5147 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5149 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5151 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5152 Makefile.am, that way we can choose not to compile some examples
5153 and tests of the deprecated widgets.
5155 * examples/Makefile.am: Divided the sources in deprecated and
5158 * src/Makefile.am: Added undef statement of the deprecated
5159 symbol to the enums file generation process.
5161 * src/hildon-color-chooser-dialog.c
5162 * src/hildon-color-chooser-dialog.h
5163 * src/hildon-color-button.c
5164 * src/hildon-color-button.h
5165 * src/hildon-color-chooser.c
5166 * src/hildon-color-chooser.h
5167 * src/hildon-controlbar.c
5168 * src/hildon-controlbar.h
5169 * src/hildon-date-editor.c
5170 * src/hildon-date-editor.h
5171 * src/hildon-hvolumebar.c
5172 * src/hildon-hvolumebar.h
5173 * src/hildon-private.c
5174 * src/hildon-private.h
5175 * src/hildon-range-editor.c
5176 * src/hildon-range-editor.h
5177 * src/hildon-seekbar.c
5178 * src/hildon-seekbar.h
5179 * src/hildon-time-editor.c
5180 * src/hildon-time-editor.h
5181 * src/hildon-time-picker.c
5182 * src/hildon-time-picker.h
5183 * src/hildon-volumebar.c
5184 * src/hildon-volumebar.h
5185 * src/hildon-vvolumebar.c
5186 * src/hildon-vvolumebar.h
5187 * src/hildon-bread-crumb-trail.h
5188 * src/hildon-bread-crumb-trail.c
5189 * src/hildon-calendar-popup.c
5190 * src/hildon-calendar-popup.h
5191 * src/hildon-weekday-picker.c:
5192 * src/hildon-weekday-picker.h:
5193 * src/hildon-bread-crumb-widget.c:
5194 * src/hildon-bread-crumb-widget.h:
5195 * src/hildon-bread-crumb.c:
5196 * src/hildon-bread-crumb.h:
5197 * src/hildon-calendar.c:
5198 * src/hildon-calendar.h:
5199 * src/hildon-caption.c:
5200 * src/hildon-code-dialog.c:
5201 * src/hildon-code-dialog.h:
5202 * src/hildon-font-selection-dialog.c:
5203 * src/hildon-font-selection-dialog.h:
5204 * src/hildon-get-password-dialog.c:
5205 * src/hildon-get-password-dialog.h:
5206 * src/hildon-login-dialog.c:
5207 * src/hildon-login-dialog.h:
5208 * src/hildon-number-editor.c:
5209 * src/hildon-number-editor.h:
5210 * src/hildon-set-password-dialog.c:
5211 * src/hildon-set-password-dialog.h:
5212 * src/hildon-sort-dialog.c:
5213 * src/hildon-sort-dialog.h: This is the list of deprecated
5216 * src/hildon-touch-selector.c:
5217 * src/hildon-window.c: Added undef statement to avoid compilation
5220 * tests/Makefile.am: Divided the sources in deprecated and
5223 * tests/check_test.c,
5224 (configure_tests): Marked the deprecated code that was adding
5225 suites with deprecated tests.
5227 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5229 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5231 * src/hildon-touch-selector.c: (_default_print_func): Do not
5232 duplicate a string returned by gtk_tree_model_get(), it is already
5235 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5238 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5240 * src/hildon-pannable-area.c
5241 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5242 method, it had problems when adding a widget with viewport the
5243 second time. Now checks if it already has a viewport and uses it.
5245 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5248 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5250 * src/hildon-pannable-area.c,
5251 (hildon_pannable_area_scroll_to),
5252 (hildon_pannable_area_jump_to),
5253 (hildon_pannable_area_scroll_to_child),
5254 (hildon_pannable_area_jump_to_child): Added a precondition to the
5255 scroll and jump to functions: the widget must be mapped before we
5256 can safely call these functions. We have also added documentation
5257 to the functions to explain how to use them in this situation.
5260 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5262 Reviewed the threading handling of the pannable widget, we have
5263 used the gdk_threads_add_timeout function instead of the usual
5264 glib handlers. This avoids some problems with the threads.
5266 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5267 (hildon_pannable_area_initial_effect),
5268 (hildon_pannable_area_scroll_indicator_fade),
5269 (hildon_pannable_area_button_press_cb),
5270 (hildon_pannable_area_timeout),
5271 (hildon_pannable_area_motion_notify_cb),
5272 (hildon_pannable_area_button_release_cb),
5273 (hildon_pannable_area_scroll_cb),
5274 (hildon_pannable_area_scroll_to): Removed the
5275 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5276 gdk_threads_add_timeout.
5278 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5280 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5285 * configure.ac: bump version
5286 * debian/changelog: updates
5288 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5290 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5291 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5292 * src/hildon-color-chooser-dialog.c:
5293 (hildon_color_chooser_dialog_init):
5294 * src/hildon-font-selection-dialog.c:
5295 (hildon_font_selection_dialog_init):
5296 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5298 Remove all cancel/close-like dialogs, as these are not going to be
5301 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5303 * src/hildon-note.c: (hildon_note_rebuild),
5304 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5307 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5309 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5311 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5312 sure all buttons are shown, even the Cancel/Close-like ones.
5314 Fixes: NB#90861 (Custom Confirmation dialogs should be
5315 protected from cancel button removal)
5317 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5319 * debian/control: Change libhildon1-examples dependency from libhildon1
5321 * debian/libhildon1-examples.install
5323 * Makefile.am: Modified the final install directory for the examples on
5324 package libhildon1-examples
5325 * Makefile.static: Update clean target in order to remove all the binary
5328 Changes suggested by Claudio after review new libhildon1-examples package
5330 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5333 * src/hildon-touch-selector.c: Ditto.
5335 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5337 * debian/control: Added new package libhildon1-examples, in order to pack
5338 the current hildon examples as documentation
5339 * debian/rules: Not to compress .c files, modify some includes on the
5340 examples (as normally are compiled locally, but when installed it will
5341 require to include the installed libhildon1 library), and rename
5343 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5344 install all the example files on the new example package
5345 * examples/Makefile.static: Added static makefile that can be used to
5346 compile the examples, once installed the new example package
5347 * examples: Most of the examples were modified in order to grant that
5348 all use only '#include "hildon.h"', in order to be easy to prepare
5349 it on the example package
5351 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5354 * debian/libhildon1-dev.install
5355 * debian/libhildon1-doc.install:
5356 Move all gtk-doc files to a separate libhildon1-doc package.
5358 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5360 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5364 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5366 * debian/rules: Fixed a error in order to avoid unnecessary calls
5367 to autogen.sh on package building
5369 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5371 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5373 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5378 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5380 * src/hildon-picker-button.c
5381 (hildon_picker_button_finalize):
5382 Free priv->done_button_text
5384 * src/hildon-time-button.c
5385 (hildon_time_button_set_time)
5386 * src/hildon-picker-button.c
5387 (hildon_picker_button_clicked)
5388 (hildon_picker_button_selector_selection_changed)
5389 (hildon_picker_button_set_selector)
5390 * src/hildon-date-button.c
5391 (hildon_date_button_set_date):
5392 Free strings returned by hildon_touch_selector_get_current_text()
5394 * src/hildon-button.c (hildon_button_construct_child):
5395 Fix leaks in priv->image and priv->label_box
5397 Fixes: NB#90535 (Memory leak in picker button)
5399 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-button.c: (hildon_button_get_property): Do not access
5402 private elements directly, use getters instead.
5404 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5406 * src/hildon-app-menu-private.h
5407 * src/hildon-app-menu.c
5408 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5409 Store the menu's parent window.
5411 * src/hildon-stackable-window.c
5412 (hildon_stackable_window_toggle_menu)
5413 (hildon_stackable_window_finalize):
5414 Set the menu's parent window when the menu is shown, unset it when
5417 * src/hildon-app-menu.c
5418 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5419 (hildon_app_menu_class_init):
5420 Send unhandled keyboard accelerators to the parent window.
5422 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5424 * src/hildon-stackable-window.c
5425 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5427 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5429 * configure.ac: post release version bump
5431 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5434 * configure.ac: Bump version
5435 * debian/changelog: Updates
5436 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5439 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5441 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5444 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5445 GtkMenu with Hildon style.
5447 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-picker-button.c:
5450 (hildon_picker_button_set_done_button_text): Set the dialog's
5451 done button text here as well.
5453 Fixes: NB#90232 (Picker button does not set the label on done button
5454 for the second time)
5456 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5461 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5463 * src/hildon-app-menu.c (hildon_app_menu_insert)
5464 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5465 the HildonAppMenu to be activatable using keyboard accelerators
5466 when the menu is not being shown.
5468 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5470 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-stackable-window.c
5473 (hildon_stackable_window_show):
5474 Don't hide old windows automatically when new windows are shown:
5475 this is now a task for the window manager.
5476 (hildon_stackable_window_class_init)
5477 (hildon_stackable_window_hide):
5478 Remove windows from the stack everytime they're hidden.
5479 (hildon_stackable_window_realize):
5480 Don't change the _NET_WM_WINDOW_TYPE property. Use
5481 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5482 it as a stackable window.
5484 * src/hildon-program.c
5485 (hildon_program_pop_window_stack):
5486 Just hide the window to remove it from the stack.
5487 (hildon_program_go_to_root_window):
5488 Don't call gtk_widget_show(), this is now a task for the window
5491 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5493 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5495 * src/hildon-button.c
5496 (hildon_button_construct_child):
5497 Don't pack anything in the button until text or image are
5498 set. This allows adding a custom child after creating the button
5499 with hildon_button_new().
5500 (hildon_button_finalize, hildon_button_class_init)
5501 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5502 alignment and the label box even when they're not packed in the
5505 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5507 * src/hildon-touch-selector.h:
5508 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5509 currently the type definition was using GTK_TYPE_VBOX
5510 * src/hildon-touch-selector.c:
5511 Added some implementation notes in order to clarify that any other widget
5512 added without the column related API will not be included on the
5513 selection logic, and how the widget is freed, as some people ask about
5515 (hildon_touch_selector_remove): Reimplemented in order to free properly
5516 the column related data when you remove the private hbox.
5517 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5518 to get a proper HildonTouchSelectorColumn documentation
5520 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-touch-selector-entry.c:
5523 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5524 text in the GtkEntry and there is no item selected. Fixes a
5527 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5529 * src/hildon-app-menu-private.h
5530 * src/hildon-app-menu.[ch]
5531 * src/hildon-button.[ch]
5532 * src/hildon-check-button.[ch]
5533 * src/hildon-entry.[ch]
5534 * src/hildon-pannable-area.[ch]
5535 * src/hildon-text-view.[ch]:
5536 Added private field to the object's structure.
5538 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5540 * configure.ac: post-release version bump
5542 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5546 * configure.ac: pre-release version bump
5548 * debian/changelog: updates.
5550 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5553 Disconnect the handler for HildonTouchSelector::changed.
5555 (hildon_picker_button_selector_selection_changed): Update the button
5556 value if the selection change was not triggered by the
5559 (hildon_picker_button_set_selector): connect to
5560 HildonTouchSelector::changed.
5562 Fixes: NB#89650 (Picker button is not updated, when selection in
5563 selector has changed)
5565 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5567 * src/hildon-picker-dialog.c
5568 (hildon_picker_dialog_realize): Removed as not required
5569 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5570 * src/hildon-picker-button.c
5571 (_current_selector_empty): New function, checks if the selector is empty
5572 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5573 if the current selector is empty, in order to avoid to show the dialog
5574 close the dialog in this case (and shows a g_warning).
5576 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5578 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5580 * src/hildon-pannable-area.c,
5581 (hildon_pannable_area_scroll): Added clause to stop movement when
5582 the child of pannable is smaller than one page.
5583 (hildon_pannable_area_scroll_to): Added conditions to avoid
5584 starting the scrolling movement if the child is smaller than one
5585 page, the complete child is in the screen, we do not have to move.
5587 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5589 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5591 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5592 this is managed automatically by the widget when the size of the
5595 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-picker-button.c
5598 (hildon_picker_button_set_done_button_text): Make a copy of the
5599 text, and free the previous value.
5601 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-touch-selector-entry.c:
5604 (hildon_touch_selector_entry_print_func): Return the selected row's
5605 text if the entry is empty.
5607 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5610 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5612 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5614 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-check-button.h
5618 * src/hildon-check-button.c
5619 * examples/hildon-check-button-example.c:
5620 HildonCheckButton is now a new widget. 'toggled' signal added.
5622 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5624 * src/hildon-program-private.h
5625 * src/hildon-program.c (hildon_program_init)
5626 (hildon_program_finalize): Removed unused variables group_leader
5627 and name from HildonProgramPrivate.
5629 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-check-button.c (hildon_check_button_set_active)
5632 (hildon_check_button_get_active, hildon_check_button_new): Use
5633 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5635 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5637 * src/hildon-touch-selector.h
5638 (hildon_touch_selector_set_column_attributes): added deprecation
5639 guard HILDON_DISABLE_DEPRECATED
5640 * src/hildon-time-selector.c
5641 (hildon_time_selector_set_time)
5642 (hildon_time_selector_get_time): Fixed a typo on documentation
5643 * src/hildon-touch-selector.c: update HildonTouchSelector and
5644 HildonTouchSelectorColumn documentation
5645 * src/hildon-touch-selector-entry.c: update "text-column" property
5647 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5648 to be added to the general documentation.
5650 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5652 * examples/hildon-pannable-area-example-4.c,
5654 * examples/hildon-pannable-area-example.c,
5655 (main): Modified the code in order to use the container add, with
5656 viewport treeviews could have problems if they are really big.
5658 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5660 * src/hildon-weekday-picker.c,
5661 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5662 the agreement regarding deprecation in the library.
5664 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5666 * examples/hildon-picker-button-multicolumn-example.c:
5667 (main): Use custom "done" button text.
5669 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5670 (hildon_picker_button_set_property),
5671 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5672 (hildon_picker_button_init),
5673 (+hildon_picker_button_get_done_button_text),
5674 (+hildon_picker_button_set_done_button_text): New methods to customize
5675 the "done" button label in the launched HildonPickerDialog. Also,
5678 * src/hildon-picker-button.h: add the public API.
5680 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5682 * src/hildon-date-selector.h:
5683 * src/hildon-picker-dialog.h:
5684 * src/hildon-time-selector.h:
5685 * src/hildon-touch-selector-column.h:
5686 * src/hildon-touch-selector.h:
5688 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5689 declarations. Fixes gtk-doc warnings.
5691 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-picker-dialog.h
5694 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5695 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5697 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5698 long text is set as label for done button)
5700 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-dialog.c (hildon_dialog_add_button):
5703 Set fixed width to all buttons in the HildonDialog.
5705 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5707 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5709 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5710 Set widget name using class name plus "-finger" or "-thumb".
5712 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5715 'clicked' when the state of the button is manually changed.
5717 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-app-menu.c (hildon_app_menu_realize)
5720 (hildon_app_menu_unrealize, hildon_app_menu_init)
5721 (hildon_app_menu_class_init, item_visibility_changed):
5722 Change the menu layout when the size of the screen changes.
5723 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5724 Show warning only when changing the number of colums using the
5727 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5729 * debian/compat: Set to 5
5730 * debian/control: Update dependencies.
5731 * debian/libhildon1-dbg.install: Remove.
5732 * debian/libhildon1-dev.install: Update according to cdbs paths.
5733 * debian/libhildon1.install: Update according to cdbs paths.
5734 * debian/rules: Switch to cdbs.
5736 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5738 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5739 'item' variable renamed to 'filter'
5741 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-app-menu.c (hildon_app_menu_insert)
5744 (hildon_app_menu_add_filter, remove_item_from_list)
5745 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5746 Don't leak hidden items when the menu is destroyed.
5748 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5750 * src/hildon-app-menu.c (hildon_app_menu_insert)
5751 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5752 (hildon_app_menu_set_columns, item_visibility_changed)
5753 (filter_visibility_changed, hildon_app_menu_repack_filters)
5754 (hildon_app_menu_repack_items):
5755 Repack items and filters separately.
5757 Don't repack all items, change only the ones that are needed to
5760 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5762 * src/Makefile.am: added hildon-touch-selector-column.h
5764 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5766 * src/hildon-touch-selector.c: added the property "text-column" to the
5767 class HildonTouchSelectorColumn, and related get/set functions
5768 (_default_printf_func): updated to use "text-column" property
5769 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5770 "text-column" in his documentation, as this is now included on
5771 HildonTouchSelectorColumn. The get/set_property can still be used,
5772 working as a wrapper to the concrete column "text-column" property
5773 (_text_column_modified): callback added in order to handle the signal
5774 "notify::text-column" of the concrete HildonTouchSelectorColumn
5775 (hildon_touch_selector_entry_get_text_column)
5776 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5777 modified in order to use the HildonTouchSelectorColumn "text-column"
5779 * src/hildon-time-selector.c:
5780 * src/hildon-date-selector.c:
5781 * examples/hildon-touch-selector-example.c
5782 * examples/hildon-touch-selector-multi-cells-example.c
5783 * examples/hildon-picker-button-multicolumn-example.c
5784 Set the right value to "text-column" property on the creation of a new
5785 column using hildon_touch_selector_append_column()
5787 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5789 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5791 * src/hildon-app-menu.c
5792 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5793 updating the layout of the menu, don't create all widgets again,
5794 just repack the items in their new places.
5796 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5798 * src/hildon-time-selector.c
5799 (hildon_time_selector_get_time)
5800 (hildon_time_selector_set_time)
5801 Added documentation of these public methods
5803 * src/hildon-date-button.h
5804 * src/hildon-touch-selector-column.h
5805 * src/hildon-time-button.h
5806 * src/hildon-picker-dialog.h
5807 * src/hildon-time-selector.h
5808 * src/hildon-picker-button.h
5809 * src/hildon-touch-selector.h
5810 * src/hildon-time-picker.h
5811 * src/hildon-date-selector.h
5812 * src/hildon-touch-selector-entry.h
5813 Modified in order to use hildon-widgets code style
5815 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5817 Added deprecated support to the compilation process using
5818 HILDON_DISABLE_DEPRECATED
5820 * configure.ac: Added the --disable-deprecated to the configure
5823 * src/hildon-weekday-picker.c:
5824 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5825 to use the deprecated support. We will update the other deprecated
5826 widgets status in a new patch.
5828 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5830 * configure.ac: Fixed typo with fatal warnings support, the
5831 variable name was not correct
5833 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5835 * src/hildon-app-menu.c
5836 * src/hildon-program.c: Update documentation.
5838 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5840 * configure.ac: Post-release version bump.
5842 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5847 * configure.ac: Pre-release version bump.
5848 * debian/changelog: Updates.
5850 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5852 * NEWS: Update news for previous releases.
5854 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5856 * examples/hildon-touch-selector-multi-cells-example.c:
5857 (create_selector): Update the example to use
5858 hildon_touch_selector_append_column() with a NULL renderer and set
5859 the renderers later.
5860 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5861 passed a NULL renderer. This is documented behavior now.
5863 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5864 This must be used if the developer wants full control on the layout of
5865 the renderers to be added to the column.
5867 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5869 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5871 * src/hildon-touch-selector.c: Documentation fixes.
5873 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5875 * src/hildon-wizard-dialog-private.h: Remove image and box.
5876 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5877 (hildon_wizard_dialog_set_property), (response): Completely remove
5878 image/icon support, and the containers required for the layout.
5880 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5882 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-app-menu.c: Updated documentation.
5886 * src/hildon-stackable-window.c
5887 (hildon_stackable_window_set_main_menu): Unref the old menu after
5888 ref'ing the new one.
5890 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5892 * src/hildon-stackable-window.c
5893 (hildon_stackable_window_set_main_menu): Unref the previous menu
5894 instead of destroying it.
5896 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5897 floating reference and set has_user_ref_count to FALSE to make
5898 HildonAppMenu act like a normal ref-counted widget and not a
5901 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5904 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5906 * src/hildon-touch-selector-column.h: new file
5907 * src/hildon-touch-selector.h
5908 * src/hildon-touch-selector.c
5909 Implemented GtkCellLayout interface, in order to allow to configure
5910 the cell layout on each individual selector column
5911 (hildon_touch_selector_set_column_attributes): marked as deprecated
5912 * examples/hildon-touch-selector-multi-cells-example.c
5913 Example of how to use the GtkCellLayout interface on the selector
5915 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5917 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-app-menu.h
5920 * src/hildon-app-menu.c
5921 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5922 (hildon_app_menu_append, hildon_app_menu_prepend):
5923 New methods to prepend, insert and move items in the menu.
5925 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5927 * src/hildon-wizard-dialog.c:
5929 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5931 (create_title): Update logical IDs and related code.
5932 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5934 * src/hildon-wizard-dialog.h: Note that
5935 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5936 point, as it is not used anymore.
5938 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5940 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5942 * src/hildon-note.c:
5943 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5944 shown. Do not display an icon in confirmation notes nor information
5946 (hildon_note_set_button_text): Update logical ID for cancel button.
5948 Fixes: NB#88850 (Update HildonNote button strings + signals)
5950 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5952 * src/hildon-stackable-window.c
5953 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5955 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-app-menu-private.h
5958 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5959 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5960 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5961 temporary property 'columns' to change the number of columns.
5963 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5965 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5967 * examples/hildon-note-example.c: (on_information_clicked),
5968 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5969 debugging information.
5970 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5972 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5973 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5974 in order to close: this will be handled by the WM from now on.
5976 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5978 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-app-menu-private.h
5981 * src/hildon-app-menu.c
5982 (hildon_app_menu_append, hildon_app_menu_add_filter)
5983 (button_visibility_changed, hildon_app_menu_apply_style)
5984 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5985 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5986 layout everytime a button (item or filter) is shown or hidden.
5988 * src/hildon-stackable-window.c
5989 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5992 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5994 * src/hildon-touch-selector.c:
5995 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5996 that the treeview inside the touch selector is in fremantle hildon mode
5997 * examples/hildon-date-button-example.c
5998 * examples/hildon-picker-button-multicolumn-example.c
5999 * examples/hildon-touch-selector-entry-example.c
6000 * examples/hildon-touch-selector-example.c
6001 * examples/hildon-time-button-example.c
6002 * examples/hildon-picker-button-example.c:
6003 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6005 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6007 * examples/hildon-text-view-example.c: (main): Remove the
6008 gtkrc bits, now handled by the theme.
6010 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6012 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6015 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6017 * po/Makefile.am: Install properly the mo files.
6018 * po/en_GB.po: Update translation, to ease testing purposes.
6020 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6022 * examples/hildon-picker-button-example.c: (main): Select an item
6023 in the selector before setting it to the button.
6025 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6027 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6028 Update button's value if the selector has an item active.
6030 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6031 'value' with the selector)
6033 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6036 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6037 (hildon_picker_button_class_init): Plug the finalize method.
6038 (hildon_picker_button_set_selector): If there's a previously set
6039 selector, unref'it before setting a new one.
6041 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6042 HildonTouchSelector)
6044 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6046 * src/hildon-touch-selector-entry.c:
6047 (hildon_touch_selector_entry_changed): Check if there is no text
6048 selected before setting the entry text.
6051 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-touch-selector.h
6054 * src/hildon-touch-selector.c
6055 (hildon_touch_selector_get_active)
6056 (hildon_touch_selector_set_active): New methods to set/get the
6057 index of the selected item.
6059 * src/hildon-picker-button.h
6060 * src/hildon-picker-button.c
6061 (hildon_picker_button_get_active)
6062 (hildon_picker_button_set_active): New methods to set/get the
6063 index of the selected item.
6065 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6067 * configure.ac: post-release version bump.
6069 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6073 * configure.ac: Pre-release version bump.
6074 * debian/changelog: Updates.
6075 * debian/control: Add myself as maintainer and depend on l10n
6078 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6080 * src/hildon-window.c
6081 (hildon_window_set_main_menu)
6082 * src/hildon-stackable-window.c
6083 (hildon_stackable_window_set_main_menu):
6084 Updated documentation.
6086 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6089 Don't free selector->priv manually.
6092 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6095 (hildon_gtk_window_set_progress_indicator):
6096 * src/hildon-gtk.h: Added the new API
6097 hildon_gtk_window_set_progress_indicator, it changes the state of
6098 the window progress hint.
6100 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-button.c
6103 * src/hildon-stackable-window.c: Minor documentation updates.
6105 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-stackable-window.c: Updated documentation.
6109 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-defines.h: Update margins definitions
6112 to the Fremantle sizes.
6115 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6117 * src/hildon-touch-selector.c,
6118 (_hildon_touch_selector_set_model): Cleaning the code after
6119 review, removed g_print and #if 0 from the code.
6121 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-edit-toolbar.c: Update documentation.
6125 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6127 * src/hildon-check-button.h
6128 * src/hildon-check-button.c
6129 (hildon_check_button_set_label, hildon_check_button_get_label)
6130 * examples/hildon-check-button-example.c
6131 (button_clicked_cb):
6132 Removed deprecated methods.
6134 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-text-view.c:
6137 Add sample code to the documentation.
6139 * src/hildon-entry.h
6140 * src/hildon-text-view.h:
6141 Minor cosmetic changes.
6143 * src/hildon-entry.c:
6144 Add sample code to the documentation.
6145 (hildon_entry_init, hildon_entry_refresh_contents):
6146 Don't allow NULL values in the placeholder.
6148 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6150 * doc/hildon-docs.sgml
6152 * examples/Makefile.am
6153 * examples/hildon-text-view-example.c
6155 * src/hildon-text-view.c
6156 * src/hildon-text-view.h
6158 New HildonTextView widget, with example.
6160 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6162 * po/POTFILES.in: Add missing files with translatable strings.
6163 Partially fixes NB#88287.
6165 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/hildon-pannable-area-example-2.c: (main): No need to
6168 set the cellrenderer height inside hildon touch lists, the theme does
6171 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6173 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6174 they are integrated in the theme.
6176 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6178 * examples/hildon-entry-example.c: Update the example adding
6179 widgets to modify the text and the placeholder of the HildonEntry.
6181 * src/hildon-entry.c: Show the placeholder everytime the widget
6182 is empty and loses the focus.
6184 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6186 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6188 * src/hildon-pannable-area.c,
6189 (hildon_pannable_area_size_request): Fixed bug in height
6190 requisition, avoid increasing size and add border twice.
6192 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6194 * configure.ac: postrelease version bump.
6196 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6200 * configure.ac: Prerelease version bump.
6201 * debian/changelog: update.
6202 * debian/rules: make -dbg package contain useful debugging symbols.
6204 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-dialog.h
6207 * src/hildon-dialog.c
6208 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6209 New methods to add buttons with finger size.
6210 (hildon_dialog_new_with_buttons):
6211 Create buttons with finger size.
6213 * examples/hildon-dialog-example.c (main): Use HildonDialog
6214 methods to add buttons.
6216 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-entry.c: Updated HildonButton documentation.
6220 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6223 button value label with (FALSE, FALSE) to prevent NB#88126 from
6226 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6228 * examples/hildon-pannable-area-example.c,
6229 (main): Removed examples panning a vbox inside a pannable
6230 area. Check bug NB#87965
6232 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6234 Patch contributed by Kris Rietveld (kris@imendio.com)
6236 * src/hildon-pannable-area.c,
6237 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6238 get_size and get_position, this saves an X server roundtrip.
6240 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6242 * doc/hildon-docs.sgml
6244 * examples/Makefile.am
6245 * examples/hildon-entry-example.c
6247 * src/hildon-entry.c
6248 * src/hildon-entry.h
6250 New HildonEntry widget, with example.
6252 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-button.c (hildon_button_construct_child): Pack the
6255 image with expand == fill == FALSE. This is a workaround for a bug
6258 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6260 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6261 labels for the text column, to make it more look more dynamic.
6263 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6265 * src/hildon-time-selector.c
6266 Define gettext auxiliar macro N_
6267 (_create_minutes_model)
6268 (_create_hours_model)
6269 (_create_ampm_model): use of strftime in order to fill the model
6270 * src/hildon-date-selector.c
6271 (hildon_date_selector_finalize):
6272 (_locales_init): remove the logic related to get the name of the months
6273 using nl_langinfo, as it is not required anymore
6275 (_create_year_model)
6276 (_create_month_model)
6277 (_update_day_model): use of strftime in order to fill the model properly
6280 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-button.h
6283 * src/hildon-button.c (hildon_button_get_image): New method to
6286 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/hildon-touch-selector.c:
6289 (hildon_touch_selector_remove_column): Remove from the correct parent
6290 and also remove the list element and free it.
6293 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6295 * src/hildon-time-selector.c
6296 (_create_hours_model): change the range on 12h ampm format in order to use
6297 a 12-11 range instead of previous 01-12 range
6298 (hildon_time_selector_set_time): change the way to select the current time
6299 on 12h ampm format, due the change on the range
6300 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6303 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6305 * src/hildon-touch-selector.c
6306 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6307 in order to allow use this function on multiple row selection mode if
6308 the column is different that the first one
6311 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6313 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6314 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6316 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6318 * src/hildon-date-selector.h: clean some comments, now on the .c
6319 * src/hildon-date-selector.c
6320 (hildon_date_selector_select_month): first implementation
6321 (hildon_date_selector_select_day): added documentation, reimplemented
6322 using hildon_date_selector_select_current_date to avoid repeat code
6325 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6327 Reviewed interaction logic based on device experiences, refactored
6330 * src/hildon-pannable-area.c,
6331 (hildon_pannable_area_class_init): Updated default vmax speed.
6332 (hildon_pannable_area_calculate_velocity): Added this function, it
6333 avoids duplicate valocity calculation. Adjusted calculation to
6334 avoid problems with zero dist events.
6336 (hildon_pannable_area_motion_notify_cb): Now we use the
6337 calculate_velocity function.
6339 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6341 * src/hildon-date-selector.c
6342 (hildon_date_selector_select_current_date): fix the day range check
6343 as it failed using the last day of the current month
6346 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6348 * src/hildon-touch-selector.c
6349 (hildon_touch_selector_get_num_columns): added a parameter validation
6352 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6354 * examples/Makefile.am
6355 * examples/hildon-edit-toolbar-example.c: Example of the
6356 HildonEditToolbar widget.
6358 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6360 * configure.ac: postrelease version bump.
6362 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6366 * configure.ac: prerelease version bump.
6367 * debian/changelog: update.
6369 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6371 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6372 renderer to display stock icons in the touch list. Also, set the sizes
6373 to the recommended in the style guide.
6375 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6376 * src/hildon-touch-selector.h
6377 (hildon_touch_selector_set_active_iter): renamed, now is
6378 hildon_touch_selector_select_iter
6379 (hildon_touch_selector_get_active_iter): renamed, now is
6380 hildon_touch_selector_get_selected
6381 (hildon_touch_selector_unselect_iter): added
6382 * src/hildon-touch-selector.c
6383 Update after API modification (methods renamed)
6384 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6385 order to avoid problems selecting multiple elements on the column
6386 (hildon_touch_selector_unselect_iter): added the implementation
6387 * src/hildon-time-selector.c
6388 * src/hildon-date-selector.c
6389 * src/hildon-touch-selector-entry.c
6390 Update methods calls after hildon-touch-selector.h API modification (methods
6393 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6395 * src/hildon-stackable-window.c
6396 (hildon_stackable_window_finalize): Call the parent class's finalize.
6398 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6400 * examples/hildon-touch-selector-example.c: (create_selector): Use
6401 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6404 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6406 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6407 set a cell background color, to respect theming.
6409 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6411 * doc/hildon-docs.sgml
6414 * src/hildon-edit-toolbar.c
6415 * src/hildon-edit-toolbar.h
6416 * src/hildon.h: New HildonEditToolbar widget.
6418 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6420 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6423 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6424 * src/hildon-touch-selector.c
6425 (_create_new_column): use g_object_set instead of two g_object_set_property
6427 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6428 * src/hildon-touch-selector.c
6429 (_create_new_column): use of hildon_gtk_tree_view_new to create
6430 the treeview, instead of use directly g_object_new
6431 (_create_new_column): update the property name "vindicator-mode" for the
6432 new one "vscrollbar-policy"
6433 * examples/hildon-date-button-example.c
6434 * examples/hildon-picker-button-multicolumn-example.c
6435 * examples/hildon-touch-selector-entry-example.c
6436 * examples/hildon-touch-selector-example.c
6437 * examples/hildon-time-button-example.c
6438 * examples/hildon-picker-button-example.c
6439 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6440 to all the treeviews inside a pannable area.
6442 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.h
6445 * src/hildon-button.c (hildon_button_init)
6446 (hildon_button_set_arrangement, hildon_button_set_alignment)
6447 (hildon_button_set_title_alignment)
6448 (hildon_button_set_value_alignment)
6449 (hildon_button_set_image_alignment)
6450 (hildon_button_construct_child): New methods to set the alignment
6451 of the individual components of the button (title, value,
6452 image). Also, new method to alter the xscale and yscale properties
6453 of the GtkAlignment inside the button, so more complex layouts can
6456 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6458 * src/hildon-button.c (hildon_button_style_set)
6459 (hildon_button_class_init, hildon_button_set_arrangement)
6460 (hildon_button_construct_child): Apply style properties
6461 correctly. Use the 'image-spacing' style property too.
6463 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6465 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6466 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6469 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6471 * src/hildon-pannable-area.c,
6472 (hildon_pannable_area_size_request): Fixed problem with
6473 pannable-area size_request.
6475 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6477 Added management for the grab-focus to a child widget, like a
6478 range, we need to fade out the scrollbar when releasing.
6480 * src/hildon-pannable-area.c,
6481 (hildon_pannable_area_init): Connected the grab-focus signal to
6483 (hildon_pannable_area_grab_notify): Added this function in order
6484 to manage the situation when the grab-focus ends. We have to
6485 fade-out the scrollbar.
6487 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6489 * src/hildon-app-menu.c: Minor documentation update.
6491 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-app-menu.c
6494 * examples/hildon-app-menu-example.c (create_menu): Update
6495 examples and documentation to explain how to connect callbacks.
6497 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6499 * examples/hildon-button-example.c
6500 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6501 hildon_stackable_window_new instead of gtk_window_new
6503 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6505 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6506 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6507 (hildon_pannable_area_set_property),
6508 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6509 (hildon_pannable_area_unrealize),
6510 (hildon_pannable_area_size_request),
6511 (hildon_pannable_area_size_allocate),
6512 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6513 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6514 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6515 (hildon_pannable_area_initial_effect),
6516 (hildon_pannable_area_redraw),
6517 (hildon_pannable_area_scroll_indicator_fade),
6518 (hildon_pannable_area_expose_event),
6519 (hildon_pannable_area_get_topmost), (synth_crossing),
6520 (hildon_pannable_area_button_press_cb),
6521 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6522 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6523 (hildon_pannable_area_motion_notify_cb),
6524 (hildon_pannable_area_button_release_cb),
6525 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6526 (hildon_pannable_area_remove),
6527 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6528 chage the code layout to a more GtkWidget like. Review the use of
6531 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6533 * examples/hildon-pannable-area-example-4.c,
6534 (main): Modified the name of the hindicator_mode to
6537 * src/hildon-pannable-area.c,
6538 (hildon_pannable_area_class_init),
6539 (hildon_pannable_area_motion_notify_cb),
6540 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6541 we have reduced the amount of signals and managed reviewed its
6542 rationale. Changed the default decelerate value.
6544 (hildon_pannable_area_add),
6545 (hildon_pannable_area_redraw): Refactored functions.
6547 (hildon_pannable_area_init),
6548 (hildon_pannable_area_get_property),
6549 (hildon_pannable_area_set_property):
6550 (hildon_pannable_draw_vscroll),
6551 (hildon_pannable_draw_hscroll),
6552 (hildon_pannable_area_initial_effect),
6553 (hildon_pannable_area_expose_event),
6554 (hildon_pannable_area_scroll),
6555 (hildon_pannable_area_button_press_cb),
6556 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6557 and vindicator_mode with hscrollbar_policy and
6558 vscrollbar_policy. Replaced hscroll and vscroll with
6559 hscroll_visible and vscroll_visible.
6561 (hildon_pannable_area_refresh): Refactor the function, remove
6562 variables and check the calls to this function, added resize
6563 conditions in case the children change their layout.
6565 (hildon_pannable_area_size_request): Added more detailed
6566 size_request calculation.
6569 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6571 * src/hildon-color-chooser.c
6572 (init_borders): use the correct gtk_border_free instead of g_free, to
6573 avoid a crash when this widget is used (ie: the three color selection
6576 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-check-button.c,
6579 (hildon_check_button_set_active): Fixed problem when setting the
6580 active value, the widget was not redrawn.
6582 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6584 * src/hildon-pannable-area.c,
6585 (hildon_pannable_area_refresh),
6586 (hildon_pannable_area_scroll),
6587 (hildon_pannable_area_motion_notify_cb): Small code style change.
6589 (hildon_pannable_area_class_init): Default initial_hint set to
6590 FALSE, it is not in the specs.
6592 (hildon_pannable_area_initial_effect),
6593 (hildon_pannable_area_expose_event),
6594 (hildon_pannable_area_map),
6595 (hildon_pannable_area_init): Moved the launching point of the
6596 initial effect, it was in map but the sizes where not correct in
6597 that method so we do not know if we have the reproduce it. Now it
6598 is placed in the expose_event method and uses a variable to
6599 reproduce it just once.
6601 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6603 * src/hildon-pannable-area.c,
6604 (hildon_pannable_draw_vscroll),
6605 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6606 position allowed for the scrollbars.
6608 (hildon_pannable_area_size_allocate): Small style change.
6610 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6612 * src/hildon-pannable-area.c,
6613 (hildon_pannable_area_scroll_indicator_fade),
6614 (hildon_pannable_area_button_press_cb),
6615 (hildon_pannable_area_button_release_cb),
6616 (hildon_pannable_area_scroll_cb),
6617 (hildon_pannable_area_expose_event),
6618 (hildon_pannable_area_init): Added the define parameter
6619 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6620 and refactor the fade variable.
6622 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6624 * src/hildon-pannable-area.c,
6625 (hildon_pannable_area_redraw),
6626 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6627 lines, we were reimplemeting the redraw code.
6629 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c,
6632 (hildon_pannable_area_scroll_cb),
6633 (hildon_pannable_area_realize),
6634 (hildon_pannable_area_class_init): Added scroll_event management
6635 for pannable area, now we can scroll the usual desktop method.
6637 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6638 initialization of the parameters should depend on idle_id.
6640 (hildon_pannable_area_init),
6641 (hildon_pannable_area_map): Small code style modifications
6643 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6645 * src/hildon-pannable-area.c
6646 (hildon_pannable_area_button_press_cb),
6647 (hildon_pannable_area_motion_notify_cb),
6648 (hildon_pannable_area_button_release_cb),
6649 (hildon_pannable_area_size_allocate),
6650 (hildon_pannable_area_scroll_to): Improved the timeouts
6651 management, we avoid creating them each time.
6653 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6655 * src/hildon-pannable-area.c:
6656 (hildon_pannable_area_refresh),
6657 (hildon_pannable_area_motion_notify_cb),
6658 (hildon_pannable_area_class_init):
6659 * src/hildon-pannable-area.h:
6660 * src/hildon-touch-selector.c
6661 (_create_new_column):
6662 * examples/hildon-pannable-area-example-4.c:
6663 (horizontal_movement),
6664 (vertical_movement),
6666 Replaced the names of enums in the HildonPannableArea:
6667 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6668 HILDON_MOVEMENT_MODE_*
6669 - HILDON_PANNABLE_AREA_MOV_* ->
6671 - Removed HildonPannableAreaIndicatorMode, now we
6674 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6676 * examples/hildon-pannable-area-touch-grid-example.c
6677 * examples/hildon-pannable-area-touch-list-example.c: Fix
6678 compilation warnings.
6680 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6682 * src/hildon-gtk.c (hildon_gtk_button_new)
6683 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6684 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6685 images overriding the value of the "gtk-button-images" setting.
6687 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6689 * src/hildon-check-button.c (hildon_check_button_new):
6690 Instead of using a custom container, display the label and the
6691 checkbox using the standard GtkButton API.
6693 * examples/hildon-check-button-example.c (main): Don't use
6694 hildon_check_button_set_label() anymore
6696 * src/hildon-check-button.h
6697 * src/hildon-check-button.c
6698 (hildon_check_button_set_label, hildon_check_button_get_label):
6699 Set as deprecated, now we're using gtk_button_{get,set}_label()
6701 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6703 * src/hildon-pannable-area.c,
6704 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6705 GtkTreeview first line we detected it after the inclusion of the
6706 GtkWindowImpl in gtk+. We now check if the window is visible, not
6707 just if the pointer is over the window.
6708 (hildon_pannable_axis_scroll),
6709 (hildon_pannable_area_expose_event): Small style changes.
6711 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6713 * src/hildon-button.c: Update documentation.
6715 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6717 * examples/hildon-button-example.c: Add a switch to show images in
6720 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6722 * doc/hildon-docs.sgml: Some docs reorganization.
6724 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6726 * examples/hildon-pannable-area-touch-list-example.c
6728 * examples/hildon-pannable-area-touch-grid-example.c
6729 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6730 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6731 Fix memory leak when setting the tree model.
6733 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6737 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6739 * doc/hildon.types: Remove duplicated hildon_window_get_type
6740 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6741 documentation comment.
6743 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6745 * doc/Makefile.am: Complete list of private headers.
6747 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6749 * doc/hildon-docs.sgml
6750 * src/hildon-app-menu.c
6751 * src/hildon-bread-crumb.c
6752 * src/hildon-button.c
6754 * src/hildon-program.c
6755 * src/hildon-stackable-window.c
6756 * src/hildon-window.c: Lots of documentation updates.
6758 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6760 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6762 * configure.ac: Require Gtk+ 2.12.9 at least
6764 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6766 * src/hildon-pannable-area.c
6767 (hildon_pannable_area_scroll_indicator_fade),
6768 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6769 to protect the return of this timeout callbacks, avoiding deadlocks.
6771 2008-08-12 Christian Dywan <christian@imendio.com>
6774 * src/hildon-*.h: Ensure a consistent include order,
6775 include <gtk/gtk.h> instead of particular files and
6776 only include the topmost header in the gtk stack. See NB #39857
6778 2008-08-12 Christian Dywan <christian@imendio.com>
6780 * src/hildon-picker-dialog.c
6781 * src/hildon-touch-selector.c: Fix warnings about unused and
6782 uninitialized variables.
6784 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6786 * examples/Makefile.am
6787 * examples/hildon-check-button-example.c: Example of the hildon
6790 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6792 * src/hildon-window.h
6793 * src/hildon-window.c (hildon_window_class_init)
6794 (hildon_window_unset_program): Don't make
6795 hildon_window_unset_program a virtual function anymore.
6797 * src/hildon-stackable-window.c: Update documentation
6799 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6802 * doc/hildon-docs.sgml
6803 * doc/visual_index.xml
6804 * src/hildon-defines.c
6806 * src/hildon-helper.c
6807 * src/hildon-range-editor.c: Lots of documentation fixes.
6809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6811 * examples/hildon-picker-button-multicolumn-example.c
6812 (create_touch_selector): Fix compilation warning.
6814 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6816 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6817 (hildon_pannable_area_button_release_cb)
6818 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6820 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6822 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6825 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-bread-crumb-trail.h
6828 * src/hildon-date-editor.c
6829 * src/hildon-date-selector.c
6830 * src/hildon-pannable-area.c
6831 * src/hildon-picker-dialog.c
6832 * src/hildon-time-selector.c
6833 * src/hildon-touch-selector-entry.c
6834 * src/hildon-touch-selector.c
6835 * src/hildon-touch-selector.h: Misc documentation fixes
6837 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6839 * examples/hildon-date-editor-example.c (main): Updated date
6842 * examples/hildon-note-example.c (on_confirmation_clicked):
6843 Updated confirmation note example.
6845 * src/hildon-date-editor.c
6846 * src/hildon-note.c: Updated sample programs in documentation.
6849 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6851 * src/hildon-date-button.h:
6852 * src/hildon-picker-button.h:
6853 * src/hildon-time-button.c:
6854 * src/hildon-time-button.h:
6856 Some declarations changes to allow gtk-doc to document the widgets
6859 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-date-button.c: Document the widget.
6862 * src/hildon-time-button.c: Document the widget.
6864 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6866 * src/hildon-picker-button.c: Document the widget.
6867 * src/hildon-touch-selector-entry.c: Document the widget.
6869 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6871 * doc/hildon-docs.sgml
6874 * src/hildon-check-button.h
6875 * src/hildon-check-button.c: New functions to create the Hildon
6879 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6881 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6883 * src/hildon-button.h
6884 * src/hildon-button.c
6885 (hildon_button_add_title_size_group)
6886 (hildon_button_add_value_size_group)
6887 (hildon_button_add_image_size_group)
6888 (hildon_button_add_size_groups): New functions to set size groups
6889 for the button labels and image.
6890 (hildon_button_new_full): Removed
6892 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6894 * src/hildon-time-selector.c
6895 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6896 in order to avoid a crash if gconf is not available
6898 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6900 * src/hildon-button.c (hildon_button_set_arrangement)
6901 (hildon_button_construct_child): Don't construct the button child
6902 before setting the arrangement.
6904 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6906 * src/hildon-program-private.h
6907 * src/hildon-program.c
6908 * src/hildon-program.h
6909 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6910 (hildon_program_peek_window_stack)
6911 (hildon_program_pop_window_stack)
6912 (hildon_program_go_to_root_window): HildonProgram now has a
6913 separate list for stackable windows. Functions are provided to
6914 manage that list with a stack-like API.
6916 * src/hildon-stackable-window.c: Stackable window management is
6917 now much simpler with the new HildonProgram API. Windows no
6918 longer need to be manually added to the program, they're
6919 automatically pushed to the top of the stack when shown.
6921 * examples/hildon-stackable-window-example.c: Updated example to
6922 reflect the API changes.
6924 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6926 * src/hildon-touch-selector.c: Comment out unimplemented
6927 hildon_touch_selector_insert_column() to avoid a compile warning.
6929 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6931 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6932 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6933 (hildon_touch_selector_set_column_selection_mode),
6934 (_hildon_touch_selector_set_model),
6935 (hildon_touch_selector_set_model):
6937 Complete review of HildonTouchSelector documentation.
6939 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6941 * doc/hildon-docs.sgml
6945 * src/hildon-gtk.c: Convenience functions for standard Gtk
6946 widgets, used to easily perform frequent operations.
6948 * src/hildon-button-helpers.h
6949 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6951 * src/hildon-helper.h
6952 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6953 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6955 * src/hildon-button.h
6956 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6958 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6960 * src/hildon-button.c (hildon_button_init)
6961 (hildon_button_set_arrangement, hildon_button_construct_child):
6962 Pack the image and the labels inside the same GtkAlignment so
6963 gtk_button_set_alignment() can be used
6965 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6967 * src/hildon-button.h
6968 * src/hildon-button.c
6969 (hildon_button_init, hildon_button_set_image)
6970 (hildon_button_set_image_position)
6971 (hildon_button_construct_child): New functions to add an image to
6974 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6976 * src/hildon-date-button.c
6977 * src/hildon-picker-button.c
6978 * src/hildon-time-button.c
6979 * src/hildon-button.c:
6980 (hildon_button_class_init): "size-flags" renamed to "size"
6981 (hildon_button_set_title): Hide the title label if set to NULL.
6983 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6985 HildonButtonFlags split into HildonButtonArrangement (to set the
6986 button layout) and HildonSizeType (which can be used for any
6989 * src/hildon-button.h
6990 * src/hildon-button.c
6991 (hildon_button_class_init)
6992 (hildon_button_set_arrangement)
6993 (hildon_button_set_property): New "size-flags"
6994 property. "arrangement-flags" renamed to "arrangement".
6995 (hildon_button_new, hildon_button_new_with_text)
6996 (hildon_button_new_full): Constructors updated to reflect type changes.
6998 * src/hildon-helper.h
6999 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7000 to set the size of a widget.
7004 * src/hildon-button-helpers.c
7005 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7007 * src/hildon-date-button.c
7008 * src/hildon-date-button.h
7009 * src/hildon-picker-button.c
7010 * src/hildon-picker-button.h
7011 * src/hildon-time-button.c
7012 * src/hildon-time-button.h: Updated widgets to reflect
7013 HildonButton API changes.
7015 * examples/hildon-button-example.c
7016 * examples/hildon-date-button-example.c
7017 * examples/hildon-picker-button-example.c
7018 * examples/hildon-picker-button-multicolumn-example.c
7019 * examples/hildon-time-button-example.c
7020 * examples/hildon-touch-selector-entry-example.c
7021 * examples/hildon-touch-selector-example.c: Updated examples to
7022 reflect HildonButton API changes.
7024 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7026 * doc/hildon-docs.sgml:
7028 * examples/Makefile.am:
7029 * examples/hildon-touch-selector-entry-example.c:
7031 * src/hildon-touch-selector-entry.c:
7032 * src/hildon-touch-selector-entry.h:
7035 Moved HildonTouchSelectorEntry from sandbox. Added its
7036 documentation and examples.
7038 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7040 * src/hildon-touch-selector.h:
7041 * examples/hildon-picker-button-multicolumn-example.c:
7042 (hildon_touch_selector_append_text_column): Add a gboolean
7043 parameter to determine if text must be centered in the column.
7045 * src/hildon-date-selector.c: (hildon_date_selector_init):
7046 * src/hildon-time-selector.c: (hildon_time_selector_init):
7047 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7048 (create_touch_selector): Update widgets and example to reflect
7051 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7053 * src/hildon-touch-selector.c:
7054 (hildon_touch_selector_set_active_iter): Set also the cursor in
7057 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7059 * doc/hildon-docs.sgml
7062 * src/hildon-toggle-button.c
7063 * src/hildon-toggle-button.h
7064 * src/hildon.h: Removed HildonToggleButton widget, a derived
7065 class is not necessary for this.
7067 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7069 * src/hildon-pannable-area.c,
7070 (hildon_pannable_area_realize),
7071 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7074 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7076 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7077 "done" button the default widget for the dialog.
7079 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7081 * src/hildon-touch-selector.c:
7082 (hildon_touch_selector_class_init),
7083 (hildon_touch_selector_get_property),
7084 (_hildon_touch_selector_set_model),
7085 (_hildon_touch_selector_has_multiple_selection),
7086 (hildon_touch_selector_has_multiple_selection):
7087 Add a "has-multiple-selection" property with a virtual
7088 has_multiple_selection() method to allow derived classes to
7089 override the default value for it. See the method and property
7090 documentation for details.
7092 * src/hildon-touch-selector.h: Add the new API.
7094 * src/hildon-picker-dialog.c: (requires_done_button): Call
7095 hildon_touch_selector_has_multiple_selection() instead of
7096 determining the need for a button itself.
7098 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7100 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7101 (_hildon_touch_selector_set_model),
7102 (hildon_touch_selector_set_model): Move working code to
7103 _hildon_touch_selector_set_mode(). Call the class method instead.
7105 * src/hildon-touch-selector.h: Add (*set_model) to
7106 HildonTouchSelectorClass.
7108 Make hildon_touch_selector_set_model() a virtual method, so that
7109 derived classes can extend it and do fancy stuff with the model.
7111 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7113 * configure.ac: Set back the tarname in AC_INIT to hildon.
7115 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7119 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7120 instead of libesd (NB#86876). Volume handling is still an open issue.
7122 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7125 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7127 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7128 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7129 derived class to ease placement of an entry widget in
7130 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7131 end, where the selector columns are packed now.
7133 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7135 * src/hildon-picker-button.c: Removed the simple _text() API.
7136 * src/hildon-picker-button.h: Likewise.
7138 * src/hildon-touch-selector.h:
7139 * src/hildon-touch-selector.c:
7140 (hildon_touch_selector_new_text),
7141 (hildon_touch_selector_append_text),
7142 (hildon_touch_selector_prepend_text),
7143 (hildon_touch_selector_insert_text):
7145 Moved the simple _text() API from HildonPickerButton to
7146 HildonTouchPicker, to provide better escalability and not to tie
7147 that API to HildonPickerButton.
7149 * examples/hildon-picker-button-example.c: (main): Example updated.
7151 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7153 * src/hildon-button.c: Updated documentation.
7155 * examples/hildon-button-example.c: Add the posibility to create
7156 the buttons using horizontal layout for title and value.
7158 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7160 * src/hildon-app-menu-private.h
7161 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7162 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7163 GtkSizeGroup for the filters, use the 'homogeneous' property of
7166 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7168 * examples/hildon-button-example.c: Updated example.
7170 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7172 * doc/hildon-docs.sgml:
7175 Update documentation.
7177 * examples/Makefile.am: Update renamed examples.
7179 * examples/hildon-picker-button-multicolumn-example.c:
7180 (create_touch_selector), (main): Update after the rename.
7182 * examples/hildon-touch-picker-example.c: Removed.
7183 * examples/hildon-touch-selector-example.c: (value_changed),
7184 (create_selector), (get_visible_content), (main): Renamed from
7185 hildon-touch-picker-example.c
7187 * src/Makefile.am: Updated renamed files.
7189 * src/hildon-date-button.c: (hildon_date_button_init),
7190 (hildon_date_button_get_date), (hildon_date_button_set_date):
7191 * src/hildon-date-selector.c: (hildon_date_selector_init),
7192 (_custom_print_func), (_update_day_model),
7193 (_manage_selector_change_cb),
7194 (hildon_date_selector_select_current_date),
7195 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7196 * src/hildon-date-selector.h:
7197 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7198 (hildon_picker_button_set_property),
7199 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7200 (hildon_picker_button_init), (hildon_picker_button_new_text),
7201 (hildon_picker_button_append_text),
7202 (hildon_picker_button_prepend_text),
7203 (hildon_picker_button_insert_text),
7204 (hildon_picker_button_set_selector),
7205 (hildon_picker_button_get_selector):
7206 * src/hildon-picker-button.h:
7207 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7208 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7209 (_update_title_on_selector_changed_cb), (requires_done_button),
7210 (_hildon_picker_dialog_set_selector),
7211 (hildon_picker_dialog_set_selector),
7212 (hildon_picker_dialog_get_selector):
7213 * src/hildon-picker-dialog.h:
7214 * src/hildon-time-button.c: (hildon_time_button_init),
7215 (hildon_time_button_get_time), (hildon_time_button_set_time):
7216 * src/hildon-time-selector.c: (hildon_time_selector_init),
7217 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7218 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7219 * src/hildon-time-selector.h:
7222 Massive code updates after the rename.
7224 * src/hildon-touch-picker.c: Removed.
7225 * src/hildon-touch-picker.h: Removed.
7227 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7228 (hildon_touch_selector_init), (hildon_touch_selector_map),
7229 (hildon_touch_selector_remove), (_default_print_func),
7230 (_selection_changed_cb), (_create_new_column),
7231 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7232 (hildon_touch_selector_append_text_column),
7233 (hildon_touch_selector_remove_column),
7234 (hildon_touch_selector_set_column_attributes),
7235 (hildon_touch_selector_insert_column),
7236 (hildon_touch_selector_get_num_columns),
7237 (hildon_touch_selector_get_column_selection_mode),
7238 (hildon_touch_selector_set_column_selection_mode),
7239 (hildon_touch_selector_set_print_func),
7240 (hildon_touch_selector_get_print_func),
7241 (hildon_touch_selector_get_active_iter),
7242 (hildon_touch_selector_set_active_iter),
7243 (hildon_touch_selector_get_selected_rows),
7244 (hildon_touch_selector_get_model),
7245 (hildon_touch_selector_set_model),
7246 (hildon_touch_selector_get_current_text),
7247 (_hildon_touch_selector_center_on_selected_items):
7248 * src/hildon-touch-selector.h: Renamed from
7249 hildon-touch-picker.[ch]
7251 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7252 references, code examples, and related documentation.
7254 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7256 * doc/hildon-docs.sgml
7259 * src/hildon-toggle-button.c
7260 * src/hildon-toggle-button.h
7261 * src/hildon.h: New HildonToggleButton widget.
7263 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7265 * src/hildon-button.c: Add API documentation.
7266 (hildon_button_set_size_groups): Check input parameters
7268 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7270 * src/hildon-pannable-area.c
7271 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7272 effect after reaching the movement thredshold. This way we start
7273 using the distance after passing the thredshold.
7275 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7277 * src/hildon-button.c: (hildon_button_set_property): Use the
7278 appropriate g_value_get_flags() method.
7280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7282 * doc/hildon-docs.sgml:
7285 Add the touch pickers, picker dialogs, and picker button widgets
7286 to the documentation.
7288 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7290 * src/hildon-button.c: (hildon_button_set_property),
7291 (hildon_button_class_init): Make "arrangement-flags" a proper
7292 G_TYPE_FLAGS derived property.
7294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7296 * examples/Makefile.am: Add below examples.
7297 * examples/hildon-date-button-example.c:
7298 * examples/hildon-picker-button-example.c:
7299 * examples/hildon-picker-button-multicolumn-example.c:
7300 * examples/hildon-time-button-example.c:
7301 * examples/hildon-touch-picker-example.c:
7303 Add examples for the recently added touch pickers,
7304 picker dialogs, and picker button widgets.
7306 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7308 * src/hildon-button.c: Add some API documentation
7310 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7312 * src/hildon-button.h
7313 * src/hildon-button.c
7315 (hildon_button_new_with_text): New constructor to create a button
7316 with no text at all.
7317 (hildon_button_init, hildon_button_set_arrangement)
7318 (hildon_button_set_title, hildon_button_set_value)
7319 (hildon_button_set_text)
7320 (hildon_button_construct_child): Hide the value when it's not used
7321 so the rest of the text is properly aligned.
7322 Allow creating buttons with arbitrary widgets inside (not just
7323 title/value labels).
7325 * examples/hildon-button-example.c (vertical_buttons_window)
7326 (horizontal_buttons_window): Update example to use new API.
7328 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7330 * src/Makefile.am: Added HildonTimeButton.
7331 * src/hildon-time-button.c: Added missing LGPL header.
7332 * src/hildon-time-button.h: Added missing LGPL header.
7333 * src/hildon.h: Add hildon-time-button.h
7335 Copied HildonTimeButton from sandbox to trunk. Future work on this
7336 widget must take place in trunk.
7338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7340 * src/Makefile.am: Added HildonDateButton.
7341 * src/hildon-date-button.c: Update includes.
7342 * src/hildon.h: Add hildon-date-button.h
7344 Copied HildonDateButton from sandbox to trunk. Future work on this
7345 widget must take place in trunk.
7347 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7349 * src/Makefile.am: Added HildonPickerButton.
7350 * src/hildon-picker-button.h: Update includes.
7351 * src/hildon.h: Add hildon-picker-button.h
7353 Copied HildonPickerButton from sandbox to trunk. Future work on
7354 this widget must take place in trunk.
7356 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7358 * src/Makefile.am: Added HildonPickerDialog.
7359 * src/hildon-picker-dialog.c: Update includes.
7360 * src/hildon.h: Add hildon-picker-dialog.h
7362 Copied HildonPickerDialog from sandbox to trunk. Future work
7363 on this widget must take place in trunk.
7365 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7367 * src/Makefile.am: Added HildonTimeSelector.
7368 * src/hildon.h: Add hildon-time-selector.h
7370 Copied HildonTimeSelector widget from sandbox to trunk. Future
7371 work on this widget must happen in trunk.
7373 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7375 * src/Makefile.am: Added HildonDateSelector.
7376 * src/hildon.h: Add hildon-date-selector.h
7378 Copied HildonDateSelector widget from sandbox to trunk. Future
7379 work on this widget must happen in trunk.
7381 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/Makefile.am: Added HildonTouchPicker.
7384 * src/hildon-touch-picker.c: Update includes.
7385 * src/hildon.h: Add hildon-touch-picker.h
7387 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7388 on this widget must happen in trunk.
7390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7392 * src/hildon-pannable-area.c:
7393 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7395 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7397 * examples/hildon-app-menu-example.c (main): Let the window
7400 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7402 * src/hildon-pannable-area.c
7403 (hildon_pannable_area_class_init): Set the min value of the
7404 overshoot properties to zero, which points out that not
7405 overshooting allowed.
7407 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7409 Modified the procedure to get the widget at a point inside the
7410 pannable area when using the movement type signals. Now the user
7411 has to call a function to get the child, that way we just
7412 calculate the child in case the user really want to use it and not
7415 * src/hildon-marshalers.list: Modified the marshallers, now we do
7416 not have the widget as a parameter.
7418 * src/hildon-pannable-area.c
7419 (hildon_pannable_area_motion_notify_cb),
7420 (hildon_pannable_area_class_init),
7421 (hildon_pannable_get_child_widget_at): Removed the widget
7422 parameter from the signal callback. We have also refactored the
7423 emission of the signals.
7425 * src/hildon-pannable-area.h: Added a new method to the API to
7426 calculate a widget at a point inside the pannable area,
7427 hildon_pannable_get_child_widget_at.
7429 * examples/hildon-pannable-area-example-4.c
7430 (horizontal_movement): Modified the example to use the new API,
7431 added condition to control which widget is under the event. This
7432 way we can avoid scrolling laterally over other widgets.
7434 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7436 * src/hildon-pannable-area.c
7437 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7438 modes, we stop getting the pointer events due to returning the
7439 callback without properly calling the get pointer again. Fixed
7440 also an error using the hscroll and vscroll.
7442 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7444 * src/hildon-app-menu-private.h
7445 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7446 (hildon_app_menu_button_release, hildon_app_menu_init)
7447 (hildon_app_menu_class_init): Don't hide the menu on button
7448 release if the user didn't press outside first.
7450 * src/hildon-window.h
7451 * src/hildon-window.c (hildon_window_toggle_menu)
7452 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7453 hildon_window_toggle_menu a virtual function for the stackable
7454 window to override it.
7456 * src/hildon-stackable-window.h
7457 * src/hildon-stackable-window-private.h
7458 * src/hildon-stackable-window.c
7459 (hildon_stackable_window_realize)
7460 (hildon_stackable_window_finalize)
7461 (hildon_stackable_window_class_init)
7462 (hildon_stackable_window_init)
7463 (hildon_stackable_window_set_main_menu): New function to set the
7464 app menu of a HildonStackableWindow.
7466 * examples/hildon-app-menu-example.c: Remove the button to show
7467 the app menu, now it'll be shown when clicking on the title bar
7470 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7472 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7473 set the widget name if the arrangement flags do not specify
7476 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7478 * src/hildon-button.c: (hildon_button_set_property),
7479 (hildon_button_class_init), (hildon_button_new_full),
7480 (hildon_button_set_arrangement): Added "arrangement-flags"
7483 Make the HildonButtonFlags a construction-only property, to allow
7484 subclasses to set them properly.
7486 2008-07-21 Tim Janik <timj@imendio.com>
7488 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7489 insertion position after backspace, so additional digits are appended,
7492 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7494 * src/hildon-pannable-area.c,
7495 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7496 TODO list, it was complete and removed the g_debug and g_print
7499 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7501 Added the movement modes to the hildon-pannable-area, with this
7502 modes the developers can control in which directions the widget
7503 can scroll. They can also connect to signals in order to do
7504 something when that happens, allowing applications scroll. There
7505 is an example uploaded showing how to use it.
7507 * examples/Makefile.am:
7508 * examples/hildon-pannable-area-example-4.c: Added this example of
7509 an application using the modes.
7511 * src/hildon-marshalers.list: Added a new marshaller for the new
7514 * src/hildon-pannable-area.h: Added new enumerations and flags in
7515 order to control the movement modes and the new signals to warn
7516 about the movements in the area.
7518 * src/hildon-pannable-area.c:
7519 (hildon_pannable_axis_scroll),
7520 (hildon_pannable_area_scroll),
7521 (hildon_pannable_area_motion_notify_cb),
7522 (hildon_pannable_area_get_property),
7523 (hildon_pannable_area_set_property),
7524 (hildon_pannable_area_map),
7525 (hildon_pannable_area_class_init),
7526 (hildon_pannable_area_init),
7527 (hildon_pannable_area_jump_to): Added the modes to control the
7528 movement in the widget. We have added properties to control it,
7529 signals to warn about the movements and refactored some code.
7531 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7533 Changes required in order to allow vfast_factor set to zero to
7536 * src/hildon-pannable-area.c:
7537 (hildon_pannable_area_button_press_cb): Changed the condition, it
7538 is required for not allowing click when vfast_factor is zero.
7539 (hildon_pannable_area_timeout): Initialized velocity variables
7540 when we stop moving, it was less than 1 but not zero and we need
7541 to check zero in some situations.
7542 (hildon_pannable_area_class_init): Changed the default value of
7543 the speed factor, now the button_press is just sent in case the
7544 speed is 2 per cent of the max speed.
7545 (hildon_pannable_area_init): Initialization with 0.
7547 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7549 * src/hildon-pannable-area.c,
7550 (hildon_pannable_area_get_topmost): replaced
7551 gdk_window_get_children with gdk_window_peek_children, this way we
7552 do not have to free the list because it is not a copy.
7554 (hildon_pannable_axis_scroll),
7555 (hildon_pannable_area_scroll),
7556 (hildon_pannable_area_timeout),
7557 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7558 two parameters that were only used inside the
7559 hildon_pannable_area_scroll function.
7561 * examples/hildon-pannable-area-example.c,
7562 (get_sawtooth_label): Fixed small memory leak.
7564 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7566 More checks for the case where the overshoot is bigger than the
7569 * src/hildon-pannable-area.c:
7570 (hildon_pannable_draw_vscroll),
7571 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7572 to draw the slider of the scrollbar under the other scrollbar.
7573 (hildon_pannable_area_expose_event): added new checks to control
7574 the drawing of the overshooting area rectangle, in case it is too
7575 big for the area of the widget.
7576 (hildon_pannable_area_size_allocate): add more checks to avoid
7577 setting a position to the child widget outside the area.
7579 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_area_size_allocate): Added conditions to control
7583 when overshooting is bigger than the allocated space for the
7584 children, this avoids negative allocations.
7586 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7588 * doc/hildon-docs.sgml
7590 * examples/Makefile.am
7591 * examples/hildon-button-example.c
7593 * src/hildon-button.c
7594 * src/hildon-button.h
7595 * src/hildon.h: Initial version of the new HildonButton widget,
7598 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7600 * src/hildon-pannable-area.c:
7601 (hildon_pannable_area_button_press_cb),
7602 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7603 (hildon_pannable_area_motion_notify_cb),
7604 (hildon_pannable_area_button_release_cb),
7605 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7606 (hildon_pannable_area_jump_to_child):
7608 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7610 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7612 * examples/Makefile.am
7613 * examples/hildon-pannable-area-touch-grid-example.c
7614 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7615 the Hildon Touch List and Hildon Touch Grid using the
7616 HildonPannableArea widget.
7618 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7620 * src/hildon-pannable-area.c,
7621 (hildon_pannable_area_button_press_cb),
7622 (hildon_pannable_area_refresh),
7623 (hildon_pannable_area_scroll),
7624 (hildon_pannable_area_motion_notify_cb),
7625 (hildon_pannable_area_button_release_cb),
7626 (hildon_pannable_area_expose_event),
7627 (hildon_pannable_area_add),
7628 (hildon_pannable_area_remove),
7629 (hildon_pannable_area_realize),
7630 (hildon_pannable_area_size_allocate),
7631 (hildon_pannable_area_class_init),
7632 (hildon_pannable_area_init),
7633 (hildon_pannable_area_scroll_to_child),
7634 (hildon_pannable_area_jump_to_child): Fixed the problem of
7635 removing the child from the GtkBin, we have rearranged the widget
7636 hierarchy, now there is no GtkAlignment which was not doing
7637 anything interesting but breaking some of the assumptions of
7638 GtkContainer. Now developers if they want to add a GtkAlignment
7639 they could, but it is not inside the area.
7641 We had to review the whole allocation/expose process, now it is
7642 improved and we save at least three signals which would be saving
7643 some time when rendering the widget. The allocation of the
7644 scrollbars is now made in the allocate method as usual.
7646 We have also added some conditions in order to control when there
7647 is no child of the pannable area. Maybe we will need more work
7650 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7652 * src/hildon-pannable-area.c,
7653 (hildon_pannable_area_dispose): Released the fade-out timeout when
7654 disposing the widget.
7656 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7658 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7659 zero, we are going to use that property in order to deactivate the
7661 (hildon_pannable_axis_scroll),
7662 (hildon_pannable_area_size_allocate): Added conditions to control
7663 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7664 call, now it is called in all situations and we can remove calls
7665 in the allocate method.
7666 (hildon_pannable_area_map): Control the situation when
7667 overshoot_max is zero, we do not need the timeout.
7668 (hildon_pannable_area_class_init): Added documentation in order to
7669 point out that setting zero to overshoot_max means deactivate
7672 NOTE: removed trailing whitespaces from my previous comments of
7675 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7677 * src/hildon-pannable-area.c
7678 (hildon_pannable_area_get_property),
7679 (hildon_pannable_area_set_property),
7680 (hildon_pannable_area_map),
7681 (hildon_pannable_area_class_init),
7682 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7683 to cause the widget give a hint about its panning abilities upon
7686 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7688 * src/hildon-pannable-area.c: Several documentation improvements.
7690 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7692 * src/hildon-program.c
7693 * src/hildon-stackable-window.c: Update documentation.
7695 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7697 * src/hildon-stackable-window.c (get_previous_window_if_last):
7698 Renamed get_last_window()
7699 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7700 (hildon_stackable_window_unset_program):
7702 (get_previous_window_if_last):
7703 Detect if the window hasn't been added to a HildonProgram.
7705 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7707 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7709 * src/hildon-pannable-area.c
7710 (hildon_pannable_area_button_press_cb),
7711 (hildon_pannable_axis_scroll),
7712 (hildon_pannable_area_scroll),
7713 (hildon_pannable_area_timeout),
7714 (hildon_pannable_calculate_vel_factor),
7715 (hildon_pannable_area_get_property),
7716 (hildon_pannable_area_set_property),
7717 (hildon_pannable_area_class_init),
7718 (hildon_pannable_area_init),
7719 (hildon_pannable_area_scroll_to),
7720 (hildon_pannable_area_jump_to),
7721 (hildon_pannable_area_scroll_to_child),
7722 (hildon_pannable_area_jump_to_child):
7723 * src/hildon-pannable-area.h: Added the new API functions:
7724 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7725 hildon_pannable_area_scroll_to_child,
7726 hildon_pannable_area_jump_to_child
7729 * examples/Makefile.am
7730 * examples/hildon-pannable-area-example-2.c
7731 * examples/hildon-pannable-area-example-3.c: Added these two new
7732 examples in order to test and show how the new APIs work.
7734 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7736 * examples/hildon-stackable-window-example.c (new_window):
7737 * src/Makefile.am (noinst_HEADERS):
7738 * src/hildon-program.c (hildon_program_go_to_root_window):
7739 * src/hildon-program.h:
7740 * src/hildon-stackable-window-private.h:
7741 * src/hildon-stackable-window.c:
7742 * src/hildon-stackable-window.h:
7743 Create hildon-stackable-window-private.h
7744 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7746 * examples/hildon-app-menu-example.c (create_menu):
7747 * examples/hildon-hvolumebar-insensitive-example.c (main):
7748 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7749 * examples/hildon-toolbar-seekbar-example.c (main):
7750 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7751 * src/hildon-banner.c (hildon_banner_set_property):
7752 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7753 Fix compilation warnings
7755 * src/hildon-window.c:
7758 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7760 * src/hildon-stackable-window.c
7761 (hildon_stackable_window_unset_program):
7762 Calculate correctly whether to show the previous window if the
7763 last one is removed from the stack.
7764 (hildon_stackable_window_go_to_root_window):
7765 Send delete events starting from the topmost window.
7766 Stop if one of the windows is not destroyed.
7768 (hildon_stackable_window_delete_event)
7769 (hildon_stackable_window_class_init):
7770 Ignore the delete event if the window is not the topmost one.
7772 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7774 * src/hildon-pannable-area.c
7775 (hildon_pannable_area_expose_event): Fixed a problem when
7776 selecting the background color of the scrollbars.
7778 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7780 * examples/hildon-stackable-window-example.c
7781 * src/hildon-stackable-window.c
7782 * src/hildon-stackable-window.h
7783 hildon_stackable_window_go_home() renamed to
7784 hildon_stackable_window_go_to_root_window()
7785 Send delete events to windows rather than closing them with
7786 gtk_widget_destroy()
7788 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7790 * src/hildon-pannable-area.c
7791 (hildon_pannable_area_button_release_cb): Fix overshooting in
7794 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7796 * src/hildon-pannable-area.c
7797 (hildon_pannable_area_init): Initially show the scroll indicators.
7798 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7800 Add initial effect showing the widget is pannable.
7802 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7804 * src/hildon-pannable-area.c
7805 (hildon_pannable_area_class_init)
7806 (hildon_pannable_area_set_property)
7807 (hildon_pannable_area_get_property)
7808 (hildon_pannable_area_button_press_cb):
7809 New 'velocity_fast_factor' property to decide which velocity is
7812 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7814 * src/hildon-pannable-area.c
7815 (hildon_pannable_draw_hscroll)
7816 (hildon_pannable_draw_vscroll):
7817 Use float variables to calculate the size of the scrollbars to
7818 avoid error propagation and resizing during scrolling.
7820 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7822 * src/hildon-pannable-area.c
7823 (hildon_pannable_draw_vscroll)
7824 (hildon_pannable_draw_hscroll):
7825 Define a minimum size for the scroll bars
7827 * src/hildon-stackable-window.c
7828 (hildon_stackable_window_go_home): Fix compilation warning
7829 (get_last_window): Minor optimizations
7830 (hildon_stackable_window_class_init): Fix initialization of
7833 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7835 * src/hildon-stackable-window.c: Fixed typos in doc
7837 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7839 * src/hildon-pannable-area.c
7840 (hildon_pannable_area_scroll):
7841 Calculate here whether we need to scroll instead of using the booleans
7842 that tell us whether to /draw/ the scrolling bars.
7844 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7846 * src/hildon-app-menu.h
7848 * src/hildon-app-menu.c
7849 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7850 multiple filter groups related code and API. Now we support only
7852 * examples/hildon-app-menu-example.c:
7854 Update to reflect API changes.
7856 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7858 * src/hildon-stackable-window.c
7859 (hildon_stackable_window_class_init):
7860 Add hildon_stackable_window_realize.
7861 (hildon_stackable_window_realize):
7862 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7863 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7864 to apply theming and behavior specific to HildonStackableWindow
7867 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7869 * src/hildon-note.c (hildon_note_button_release):
7870 Close information notes also when tapping on them
7872 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7874 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7875 ELASTICITY, refactor and review, fix some issues with drawing
7878 * src/hildon-pannable-area.c:
7879 (hildon_pannable_area_button_press_cb): removed the conditions to
7880 avoid clicks when overshooting. It is not required
7882 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7883 define. Refatored and reviewed the code, now we do not need to
7884 manage velocity in motion_notify.
7886 (hildon_pannable_area_motion_notify_cb): We have moved the code
7887 that controls the area_scroll to the axis_scroll function and get
7888 rid of duplicated code.
7890 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7892 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7894 (hildon_pannable_draw_vscroll),
7895 (hildon_pannable_draw_hscroll): Fixed the problems with the
7896 scrollbar drawing, now we do not use two surfaces, it is easier
7897 and saves resources.
7899 (hildon_pannable_area_get_property): Style modification.
7901 (hildon_pannable_area_class_init): Changed some default values.
7903 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7905 * src/hildon-stackable-window.c: Fix some typos in the
7908 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7910 * src/hildon-dialog.c:
7911 Change indentation style
7914 (hildon_note_button_release):
7915 Use root coordinates to check if the release event happened
7918 * src/hildon-app-menu.c
7919 (hildon_app_menu_button_release):
7920 Remove unnecessary check
7922 * examples/hildon-app-menu-example.c
7924 Add cast to fix warning
7926 * src/hildon-app-menu.c
7927 (hildon_app_menu_class_init):
7928 New inner-border style property.
7929 Set all default spacings to 16
7930 (hildon_app_menu_init):
7931 Use vertical-spacing to set the space between filter buttons and
7932 regular menu buttons.
7933 Set the default container border using the inner-border value.
7935 * examples/hildon-app-menu-example.c
7937 Don't set the menu border explicitly, now we have the inner-border
7938 style property for that.
7940 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7942 * src/hildon-app-menu.c (hildon_app_menu_init):
7943 Make the window modal
7945 * src/hildon-note.c (hildon_note_map)
7946 * src/hildon-app-menu.c (hildon_app_menu_map):
7947 Destroy the grab window if we're unable to grab the pointer
7949 * src/hildon-app-menu-private.h
7950 * src/hildon-app-menu.c
7951 (hildon_app_menu_init, hildon_app_menu_finalize)
7952 (hildon_app_menu_map, hildon_app_menu_unmap)
7953 (hildon_app_menu_button_release)
7954 (grab_transfer_window_get):
7955 Bring back the grab window
7956 (hildon_app_menu_realize):
7957 Decorate the window, set WM hint for Matchbox
7959 * src/hildon-note.c (hildon_note_realize):
7960 * src/hildon-banner.c (hildon_banner_realize):
7961 Add WM hints for Matchbox
7963 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7965 * src/hildon-app-menu-private.h
7966 * src/hildon-app-menu.c
7967 (hildon_app_menu_init, hildon_app_menu_finalize)
7968 (hildon_app_menu_map, hildon_app_menu_unmap)
7969 (hildon_app_menu_button_release):
7970 Remove the grab window, it's not needed anymore
7972 * src/hildon-program.c
7973 Fixed typo in documentation
7975 * src/hildon-app-menu.h
7976 * src/hildon-app-menu.c
7977 * examples/hildon-app-menu-example.c
7978 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7980 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7983 Added new transfer_window and close_if_pressed_outside private
7985 (hildon_note_rebuild):
7986 Don't add a cancel button to the information note. It will be
7987 closed when tapping outside
7988 Remove the comment about the OK button in the documentation
7989 (hildon_note_realize):
7990 Set the notification type hint
7991 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7992 Grab/ungrab pointer and keyboard if the note has to be closed when
7994 (hildon_note_button_release):
7995 Close the note when tapping outside (if applicable)
7997 * src/hildon-app-menu.c
7998 Grab/ungrab pointer and keyboard on map/unmap
7999 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8000 Close the menu on button release, not button press
8002 * src/hildon-banner.c
8003 (hildon_banner_set_property)
8004 (hildon_banner_check_position):
8005 Make the banner use the full width of the screen
8006 (hildon_banner_show_information)
8007 (hildon_banner_show_information_with_markup):
8008 Don't display an icon by default
8010 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8012 Added fading scrollbars and adapted all the overshooting code to
8013 horizontal scrolling. We have also fixed bugs with overshooting
8014 and current fading implementation.
8016 * src/hildon-pannable-area.c
8017 (hildon_pannable_area_scroll_indicator_fade): Time out function
8018 used to change the transparency of the scrollbars.
8020 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8021 control and fixed a problem with fading, we now remove the fade
8022 timeout before adding a new one.
8024 (hildon_pannable_axis_scroll):
8025 (hildon_pannable_area_scroll):
8026 (hildon_pannable_area_timeout): Added this functions so we can use
8027 the scroll code both for vertical and horizontal.
8029 (hildon_pannable_area_motion_notify_cb):
8030 (hildon_pannable_area_button_release_cb): Added the horizontal
8031 scrolling control, fixed a problem with the overshooting timeout.
8033 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8034 painting of the scrolls.
8036 (hildon_pannable_draw_vscroll):
8037 (hildon_pannable_draw_hscroll):
8038 (hildon_pannable_area_expose_event):
8039 Draw both scrollbars and rectangles in the overshooting area.
8041 (hildon_pannable_area_get_property):
8042 (hildon_pannable_area_set_property):
8043 Modified the overshoot property to overshoot_max
8045 (hildon_pannable_area_map):
8046 Replaced the comments symbols.
8048 (hildon_pannable_area_size_allocate):
8049 (hildon_pannable_area_class_init):
8050 (hildon_pannable_area_init): Added horizontal scroll, fading
8051 effect properties, fixed a problem when overshooting in the bottom
8054 * examples/hildon-pannable-area-example.c:
8055 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8056 looks better in the example.
8058 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8060 * src/hildon-window.c
8061 * src/hildon-window.h
8062 (hildon_window_class_init)
8063 (hildon_window_unset_program)
8064 (hildon_window_unset_program_real):
8065 Make unset_program a virtual function
8067 * src/hildon-stackable-window.c
8068 * src/hildon-stackable-window.h
8069 Added hildon_stackable_window_go_home()
8071 * examples/Makefile.am
8072 * examples/hildon-stackable-window-example.c
8073 HildonStackableWindow example
8075 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8077 * hildon-pannable-area.c: Added the overshoot property and removed
8078 the OVERSHOOT define. Fixed an indent style error.
8079 (hildon_pannable_area_motion_notify_cb):
8080 (hildon_pannable_area_get_property):
8081 (hildon_pannable_area_set_property): Add overshoot property.
8083 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8086 (hildon_pannable_area_class_init): Installed the new property.
8088 * hildon-pannable-area-example.c: Added a sawtooth function, this
8089 way it is easier to check the movement in the pannable.
8090 (get_sawtooth_label): Added this function.
8091 (main): Now we get the labels from the new get_sawtooth_label
8094 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8096 * src/hildon-app-menu.h
8097 * src/hildon-app-menu.c
8098 Renamed API variables for consistency
8100 (hildon_app_menu_popup): Use also the default window size to
8101 decide where to place the menu
8103 (hildon_app_menu_init, hildon_app_menu_class_init): New
8104 external-border style property
8106 2008-05-26 Michael Natterer <mitch@imendio.com>
8108 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8109 widget_class->tap_and_hold_setup signal slot doesn't exist any
8110 longer, stop overriding it.
8112 (hildon_time_editor_init): g_signal_connect() to the
8113 tap-and-hold-setup signal instead.
8115 (hildon_time_editor_entry_keypress): add cast to fix warning.
8117 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8119 * doc/hildon-docs.sgml
8121 * examples/Makefile.am
8122 * examples/hildon-app-menu-example.c
8124 * src/hildon-app-menu-private.h
8125 * src/hildon-app-menu.c
8126 * src/hildon-app-menu.h
8128 New HildonAppMenu widget
8130 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8132 Rearranged the inheritance of the pannable area, now it inherits
8133 from GtkBin. This will allow us to control the event_window and
8134 the allocation process of the widget, required for some effects.
8136 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8137 GtkBin structures. * src/hildon-pannable-area.c: Added the
8138 event_window variable.
8139 (hildon_pannable_area_button_press_cb):
8140 (hildon_pannable_area_button_release_cb):
8141 (hildon_pannable_area_motion_notify_cb):
8142 Changed the signature of the method, now we override the event
8143 callback instead of connecting to the signal.
8145 (hildon_pannable_area_realize):
8146 (hildon_pannable_area_unrealize):
8147 (hildon_pannable_area_map):
8148 (hildon_pannable_area_unmap):
8149 (hildon_pannable_area_size_allocate):
8150 Added functions to control the widget construction. We add a
8151 INPUT_ONLY window and we put it over the widgets inside the
8152 container, this event_window handles the events.
8154 (hildon_pannable_area_class_init):
8155 Replaced the signal connections with overrides of the event
8158 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8160 Bouncing effect added when touching the borders, you can change
8161 the elasticity of the border changing the ELASTICITY define.
8163 * src/hildon-pannable-area.c: Added ELASTICITY define.
8164 (hildon_pannable_area_timeout): Added inverse velocity when
8165 touching the border of the child widget, that causes a bounce.
8167 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8169 Improved performance, we now do not go to the X server in order to
8170 get the list of window children. Apparently the effect is the
8171 same, we have to be careful and check if this breaks something in
8174 * src/hildon-pannable-area.c:
8175 (get_ordered_children): Removed this function.
8176 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8177 the children windows function with gdk_window_get_children.
8179 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8181 * src/hildon-pannable-area.c:
8182 (hildon_pannable_area_dispose): Fixed a crash when closing the
8183 window and kinetics is activated.
8185 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8187 * src/hildon-pannable-area.h
8188 * src/hildon-pannable-area.c
8189 Changed indentation style to meet the one used in Hildon
8191 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8193 Reviewed the interaction of the AUTO mode, now we use the time
8194 attribute of the events and calculate the velocity in the motion,
8195 doing a gimp like calculation. The velocity is calculated in each
8196 motion event using the last velocity and the current one, the
8197 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8199 * src/hildon-pannable-area.c: Replaced the time based algorithm
8201 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8202 timeout for the AUTO mode when we are still moving the cursor. We
8203 added also the velocity calculation in this function.
8204 (hildon_pannable_area_button_release_cb): launch the timeout in
8205 case we are in AUTO mode. There are still some constants here that
8206 come from the old implementation that should be reviewed and
8209 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8211 * doc/hildon-docs.sgml
8214 * src/hildon-stackable-window.c
8215 * src/hildon-stackable-window.h
8217 New HildonStackableWindow widget
8219 * examples/hildon-dialog-example.c
8220 * examples/hildon-pannable-area-example.c
8223 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8225 * src/hildon-dialog.c
8226 (hildon_dialog_new_with_buttons): New constructor.
8228 * examples/hildon-dialog-example.c
8229 (main): Update the example to use the new
8230 hildon_dialog_new_with_buttons().
8232 * examples/hildon-pannable-area-example.c
8233 (main): Update example.
8235 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8237 * doc/hildon-docs.sgml
8239 Added HildonPannableArea to the documentation.
8241 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8243 * doc/visual_index.xml
8244 Fix reference to HildonLoginDialog in documentation
8246 * doc/hildon-docs.sgml
8248 * examples/Makefile.am
8249 * examples/hildon-dialog-example.c
8251 * src/hildon-dialog.c
8252 * src/hildon-dialog.h
8254 New HildonDialog widget.
8256 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8258 * src/hildon-pannable-area.c
8259 Merge latest changes (r4318, r4342) from libmokoui trunk
8261 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8263 * examples/Makefile.am
8264 * examples/hildon-pannable-area-example.c
8266 * src/hildon-pannable-area.c
8267 * src/hildon-pannable-area.h
8269 New HildonPannableArea widget.
8271 2008-04-15 18:05:19 <timj@imendio.com>
8273 * src/hildon-banner.c: revert the recent change, that introduced
8274 gtk_window_present() calls. this reopens:
8275 Bug 78481 - [freetest] information banners are hidden under browser menu
8276 But resolves another variant of:
8277 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8279 2008-04-15 13:21:13 <timj@imendio.com>
8281 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8282 recreated its layout, spotted by Kris. this fixes all remaining
8283 artefacts and stability issues with the banner code. in particular:
8284 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8286 2008-04-14 16:52:59 <timj@imendio.com>
8288 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8289 operating on unrealized widgets, fixes:
8290 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8292 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8294 2008-04-09 Kristian Rietveld <kris@imendio.com>
8296 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8297 makes banner disappear.
8298 Fixes: NB#79182: info banner flickering with certain message lengts.
8300 * src/hildon-banner.c (hildon_banner_constructor),
8301 (hildon_banner_init), (hildon_banner_set_text),
8302 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8303 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8304 FALSE, reset size requests of label and banner,
8305 (force_to_wrap_truncated): when the text is too wide, always enforce
8306 the maximum possible width instead of recalculating it from the
8307 layout; enforce the maximum banner height of 3 lines,
8308 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8309 nicer wrapping and no truncated chars if space gets tight.
8311 * src/hildon-banner-private.h: add has_been_wrapped and
8312 has_been_truncated fields.
8314 2008-04-07 Sven Herzberg <sven@imendio.com>
8316 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8317 local values in hildon_date_editor_size_allocate
8319 * src/hildon-date-editor.c: moved the real allocation code into the
8322 2008-04-07 Sven Herzberg <sven@imendio.com>
8324 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8325 local values in hildon_date_editor_size_allocate
8327 * src/hildon-date-editor.c: merged the two if() branches together
8329 2008-04-07 Sven Herzberg <sven@imendio.com>
8331 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8332 local values in hildon_date_editor_size_allocate
8334 * src/hildon-date-editor.c: changed the arguments of the if()
8337 2008-04-07 Sven Herzberg <sven@imendio.com>
8339 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8340 local values in hildon_date_editor_size_allocate
8342 * src/hildon-date-editor.c: split the calculation of the allocation
8343 from the real allocation
8345 2008-03-27 Michael Natterer <mitch@imendio.com>
8347 Fixes: NB#81696: The passcode is not overwritten even after
8350 * src/hildon-code-dialog.c
8351 (hildon_code_dialog_button_clicked)
8352 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8353 because that doesn't overwrite selected text. Instead, emit the
8354 "commit" signal on the entry's im_context so the entry's normal
8355 insert logic is triggered. Set the cursor to the end of the entry
8356 after each insert operation so that we *only* insert in the middle
8357 of the text if something was selected.
8359 2008-03-27 Michael Natterer <mitch@imendio.com>
8361 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8362 selector cannot be opened
8364 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8365 when the popup color selector is created. Please connect to this
8366 signal in order to set the dialog's help ID.
8368 2008-03-25 Sven Herzberg <sven@imendio.com>
8370 Fixes: MB#1212: Hide info banners (infoprints) on click
8372 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8373 extracted the close event simulation into an extra function
8374 (hildon_banner_button_press_event): simulate a close event and destroy
8375 the widget if the event wasn't handled
8376 (hildon_banner_class_init): added the button_press_event handler
8377 (hildon_banner_init): added button-press events to the widget
8379 2008-03-25 Sven Herzberg <sven@imendio.com>
8381 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8382 Patch from: Mohammad Anwari <mdamt@maemo.org>
8384 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8385 instead of the right in RTL mode
8386 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8387 breadcrumb button list in RTL mode
8388 * src/hildon-caption.c: mirror the appearance of the caption widget in
8390 * src/hildon-date-editor.c: mirror appearance of the date editor in
8392 * src/hildon-time-editor.c: mirror appearance of the time editor in
8394 * src/hildon-window.c: fix the position of the popup in RTL mode
8396 2008-03-25 Sven Herzberg <sven@imendio.com>
8398 Amendment to the fix of NB#22072. Fix compilation.
8400 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8402 2008-03-19 Sven Herzberg <sven@imendio.com>
8404 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8407 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8408 timeout id properly when the timeout will disappear this leaves no
8409 artifacts around in the destroy(); there will only be the timeout
8410 created by hildon_banner_ensure_timeout() and adding a new timeout
8411 will also work if the timeout gets removed because the timeout_handler
8414 2008-03-19 Michael Natterer <mitch@imendio.com>
8416 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8418 * src/hildon-volumebar.c
8419 * src/hildon-vvolumebar.c
8420 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8421 the widget becomes focussable at all.
8423 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8424 set the focus to wither the mute button or the volumebar.
8426 Remove own "can-focus" property and instead listen to
8427 notify::can-focus in order to update the widget's state.
8429 Implement GtkWidget::focus() and make sure we can also *leave* the
8430 widget, not only enter it, depending on volumebar orientation and
8431 requested focus direction.
8433 Clean up set_mute() to cooperate nicely with all the above.
8435 2008-03-04 Michael Natterer <mitch@imendio.com>
8437 Fixes: NB#78481: information banners are hidden under browser menu
8439 * src/hildon-banner.c: call gtk_window_present() on the banners so
8440 they are risen if they are already visible.
8442 2008-03-03 Sven Herzberg <sven@imendio.com>
8444 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8446 * examples/hildon-window-menu-example.c: (main): extended the window
8447 menu example to serve as a testcase for automatically added
8448 accelerator groups, too
8449 * src/hildon-window.c: (hildon_window_add_accel_group),
8450 (hildon_window_set_menu): added patch by Tommi Komulainen
8452 2008-03-03 Sven Herzberg <sven@imendio.com>
8454 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8456 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8457 knowledge about the border allocators used within GTK+
8459 2008-02-26 Sven Herzberg <sven@imendio.com>
8461 Fixes: MB#2981: Build with asserts broken
8463 * src/hildon-date-editor.c,
8464 * src/hildon-number-editor.c,
8465 * src/hildon-time-editor.c,
8466 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8467 the proper GType instance check
8469 2008-02-25 Sven Herzberg <sven@imendio.com>
8471 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8473 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8474 * examples/hildon-window-menu-example.c: (main): explicitly show
8476 * src/hildon-window.c:
8477 (hildon_window_set_main_menu): moved most of the code from set_menu()
8478 to this place; skipped the call to gtk_widget_show_all(); also didn't
8479 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8480 (hildon_window_set_menu): removed most of the code, just keep the
8481 questionable gtk_widget_show_all()
8482 * src/hildon-window.h: added the new function and deprecate the old
8485 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8491 * debian/changelog: Updating.
8493 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8496 * pkgconfig/Makefile.am:
8497 * pkgconfig/hildon.pc.in:
8500 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8501 use newly created API_MAJOR_VERSION.
8503 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8509 * debian/changelog: Updating.
8511 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8513 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8515 Add outer_border style property, we use it but don't define it (!).
8519 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8521 * examples/hildon-bread-crumb-trail-example.c (main):
8525 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8527 Fix logic for the bread crumb trail node removal.
8531 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * debian/changelog: Updating.
8539 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8541 Patch by Alejandro to get/set passwords dialogs accesibility.
8543 * hildon-1/src/hildon-get-password-dialog.c:
8544 * hildon-1/src/hildon-set-password-dialog.c:
8545 Set atk_set_name to the passwd entries in order to allow
8546 accessibility by name on this entries.
8548 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8553 * debian/control: Updating gtk dep.
8555 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8557 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8558 USE_MAEMO_GTK is enabled.
8560 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8562 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8563 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8565 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * debian/changelog: Updating.
8573 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8575 * examples/Makefile.am:
8576 * examples/hildon-logical-color-example.c:
8577 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8578 applied + adding a test case. Fixes: NB#71660.
8580 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8582 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8583 to be visible, fixes warning on map for windows without toolbars.
8585 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8587 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8588 2.11.0, add a check for that besides the MAEMO_GTK check.
8590 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * debian/changelog: Updating.
8598 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8601 visibility. Fixes: NB#70842 and MB#615.
8603 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8605 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8606 set the separator as no-show-all so it doesn't unintentionally appear when
8607 someone does a show_all.
8609 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8612 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8613 toplevel item. Fixes: NB#62031
8615 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8617 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8618 fix the name of the function in the docs.
8620 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * debian/changelog: Updating.
8628 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * examples/hildon-banner-long-example.c: Adding a test-case for long
8633 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8635 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-color-chooser-dialog.c:
8638 * src/hildon-color-chooser.c:
8639 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8640 memory leaks in font selector and color selector. Fixes: NB#70499 and
8643 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8645 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8647 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8649 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8650 little bit bigger. Fixes: #NB63694.
8652 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * debian/changelog: Updating.
8660 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * doc/hildon-docs.sgml:
8664 * doc/images/bread-crumb-trail.png:
8665 * doc/images/calendar-popup.png:
8666 * doc/images/caption.png:
8667 * doc/images/code-dialog.png:
8668 * doc/images/color-button.png:
8669 * doc/images/color-chooser-dialog.png:
8670 * doc/images/color-chooser.png:
8671 * doc/images/controlbar.png:
8672 * doc/images/date-editor.png:
8673 * doc/images/font-selection-dialog.png:
8674 * doc/images/get-password-dialog.png:
8675 * doc/images/hvolumebar.png:
8676 * doc/images/login-dialog.png:
8677 * doc/images/note.png:
8678 * doc/images/number-editor.png:
8679 * doc/images/range-editor.png:
8680 * doc/images/seekbar.png:
8681 * doc/images/set-password-dialog.png:
8682 * doc/images/sort-dialog.png:
8683 * doc/images/time-editor.png:
8684 * doc/images/time-picker.png:
8685 * doc/images/vvolumebar.png:
8686 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8687 Adding the bread-crumb-trial and helpers to the documentation.
8689 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * examples/hildon-find-toolbar-example.c:
8692 * src/hildon-find-toolbar.c:
8693 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8694 actually continue firing the other handlers if connected. Adding a new
8696 hildon_find_toolbar_get_last_index that gets the index of the most
8697 recently added (last) item. Fixes: NB#52301.
8699 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8702 behaviour. Fixes: NB#68610.
8704 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8709 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8712 when realizing the banner. Should make the infonbanner effect a bit more
8715 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * src/hildon-volumebar.c:
8718 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8719 hildon_volumebar_set_range_insensitive_message and
8720 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8722 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * src/hildon-window.c: Fixing the border freeing on destroy.
8726 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8728 * src/hildon-code-dialog-private.h:
8729 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8730 kw keyboard support in HildonCodeDialog.
8732 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * debian/changelog: Updating.
8740 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * src/hildon-date-editor.c:
8743 * src/hildon-number-editor.c:
8744 * src/hildon-private.c:
8745 * src/hildon-private.h:
8746 * src/hildon-time-editor.c:
8747 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8748 handling in subclassed composite widgets. Fixes: NB#66628.
8750 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8753 from destroy_ callback as it introduces problems in async dbus signal
8754 handlers. Fixes NB#66673.
8756 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * examples/hildon-hvolumebar-example.c:
8759 * src/hildon-volumebar.c: Improving the focus handling in the
8760 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8761 set_property accessor so that "mute" property can be actually set. I'm
8762 scared that nobody noticed it's totally broken.
8764 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8769 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * src/hildon-calendar.c:
8772 * src/hildon-number-editor.c:
8773 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8774 matches the spec of 6 chars per second. Fixes: NB#60489.
8776 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8779 gtk_style_lookup_color sometime returns FALSE even though color was
8780 found and values were filled properly. Weird. Removing the warning for the
8783 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8786 expand vertically. Adding some extra space to the find toolbar buttons to
8787 make them thumbable. Fixes NB#66060.
8789 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8792 popup with "Ok" and "Cancel". Fixes NB#59299.
8794 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * src/hildon-calendar.c: Process all window updates before executing next
8797 timeout. Fixes: NB#54146.
8799 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * debian/changelog: Updating.
8807 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8809 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8810 the client event and ignore it, since we use the delete event to close
8813 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * src/hildon-helper.c: Remove the bogus warning about color not being
8816 found. Fixes NB#58352.
8818 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * examples/Makefile.am:
8821 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8822 HildonSeekbar widget inside a toolbar.
8824 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8826 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8827 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8828 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8829 don't want to be closed by non-temporary windows on map.
8831 Also use G_DEFINE_TYPE instead of manually typed code.
8833 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * debian/rules: Updating.
8842 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * examples/Makefile.am:
8845 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8846 bug NB#61128. Strangely it works.
8848 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8850 * src/hildon-date-editor.c: When the date editor entry has been changed
8851 but the numbers of characters < max, turn off the skip validation flag.
8852 Prevents a situation when we enter first a valid year and later re-write
8853 it with an invalid one. Fixes NB#60154.
8855 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8858 code dialog. Fixes NB#64355.
8860 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8863 switching the page. Fixes NB#49374.
8865 * examples/Makefile.am:
8866 * examples/hildon-wizard-dialog-example.c: Adding an example for
8867 HildonWizardDialog that shows how to handle manual sensitivity setting on
8870 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * src/hildon-version.h.in:
8875 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8877 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * src/hildon-volumebar.c: Updating the docs.
8881 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * debian/changelog: Updating.
8889 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * src/hildon-find-toolbar.c:
8892 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8893 selected item: hildon_find_toolbar_set_active,
8894 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8895 hildon_find_toolbar_get_active_iter . They correspond to respective
8896 GtkComboBox functions.
8898 * examples/Makefile.am:
8899 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8902 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8904 * examples/Makefile.am:
8905 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8908 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8909 when font size > 32 and we pack a focusable widget inside. Actually using
8910 the default response would work too, but since we don't show default
8911 response state in any way (no theming) it would not be visible to the
8912 user. Fixes NB#63430.
8914 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * src/hildon-date-editor.c: Adding the missing variable setter in the
8917 set_property handler. Fixes NB#54182.
8919 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-window.h: Changing the long key press time from 1500ms to
8922 800ms as requested in NB#63700. I have a bad feeling about this, let's
8923 see... Fixes NB#63700.
8925 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8927 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8928 hildon_time_picker_map, hildon_time_picker_realize,
8929 hildon_time_picker_style_set): Split the contents of map to more
8930 appropriate functions; set window decorations on realize and update
8931 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8933 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8938 * debian/changelog: Updating.
8940 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8942 * src/Makefile.am: fixed installation of the header files
8944 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * debian/changelog: Updating.
8952 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * configure.ac: Removing some remaining of --enable-xan.
8956 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8958 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8959 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8961 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8962 2.10.12-osso6 because the move-focus signal needs to be available in
8965 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * examples/Makefile.am:
8968 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8969 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8970 fine. Prolly NB#61128 is fixed now.
8972 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * src/hildon-volumebar.c:
8975 * src/hildon-volumebar.h: Adding the
8976 hildon_volumebar_set_range_insensitive_message and
8977 hildon_volumebar_set_range_insensitive_messagef functions to set
8978 insensitive message on the slider of the volumebar. Fixes NB#61129.
8980 * examples/Makefile.am:
8981 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8982 test the new insensitive messsage functionality on HildonVolumebar.
8984 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8986 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8989 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8991 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8992 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8993 button on after clearing the trail.
8995 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8997 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8999 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9001 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9002 by splitting the installed headers in generated and non-generated groups. Use
9003 only the non-generated headers to create the hildon-enum-types.h file.
9005 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9007 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * src/hildon-window.c: Hide the window before performing the destroy.
9010 Should make the app closing a little tiny bit more snappy.
9012 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9014 * src/hildon-seekbar.c: add gtkrange.h header
9015 * src/hildon-caption.c: remove unused variable
9017 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9019 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9022 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * debian/changelog: Updating.
9030 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9032 * src/hildon-window.c (hildon_window_window_state_event,
9033 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9034 escape timeout on focus-out-event rather than notify::is-topmost; the
9035 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9037 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9040 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9042 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9044 * src/hildon-window: actually, you need to use the macro always, there's
9045 no private pointer in the instance structure. We should have cleaned this up
9046 when we had the chance...
9048 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9050 * src/hildon-window.c: do not get the private date from HildonWindow before
9051 it passes the g_return_if_fail check. Once it's passed the test, there's no
9052 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9053 if you are only going to access the data once. Whitespace cleanups.
9055 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9057 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9058 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9060 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * debian/changelog: Updating.
9068 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * src/hildon-window.c: When destroying the window, remove (if exists) the
9071 escape timeout handler. Fixes #NB59276.
9073 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9075 * src/hildon-banner.c: When realizing the widget, set the window
9076 transiency. Setting the transiency in the gobject constructor is not
9077 good, as the widget is not realized at that point. Fixes: #NB56624.
9079 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9081 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9082 Add padding for future expansions.
9084 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9087 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9088 will fake an activation on the previous to the last item of the trail, so
9089 the effect can be overrided by the developer as usual.
9090 Also change the callback for the back button to do the same thing, so its
9091 effect can be overrided too. Fixes: NB#58982
9093 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9096 HildonCaption. Fixes NB#52379.
9098 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9100 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9101 the internal state of the trail after the user has had the chance of executing
9102 his handler for the signal. Specifically, it may happen that the activated button
9103 is removed and the user still lets the default handler run. This would segfault
9106 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9109 scrollbar to the preview dialog. Fixes NB#54147.
9111 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9113 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9114 max/min year properties can be altered, so the client can modify it
9115 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9117 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9120 hildonlike by default. Fixing a problem with disappearing arrows when
9121 scrolling through months and years. Fixes NB#54127.
9123 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * examples/hildon-date-editor-example.c: Adding error callback to the date
9128 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * configure.ac: Updating.
9136 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * configure.ac: Adding a special '--enable-xan' configure option that
9139 turns off the -Werror compilation setting. Usefull for development.
9141 * src/hildon-calendar.c:
9142 * src/hildon-number-editor.c:
9143 * src/hildon-time-picker.c: Adding the 5* multiplier to
9146 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9148 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9149 instead of g_object_ref + gtk_object_sink.
9151 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * debian/changelog: Updating.
9159 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * src/hildon-color-chooser-dialog.c:
9162 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9163 straight from Tommi labs.
9165 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * examples/hildon-finger-example.c: Correcting the header file path.
9169 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9170 the changed signal. Fixes a small memory leak.
9172 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-banner.c: Importing several usefull fixes from the
9177 ubuntu-mobile branch.
9179 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * examples/Makefile.am:
9182 * examples/hildon-finger-example.c: Adding a finger-checking code
9185 * src/hildon-font-selection-dialog.c: Do not allocate the color
9186 structure using the g_new. Fixes NB#54061.
9188 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * src/hildon-helper.c: Correcting tabs in file.
9192 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9194 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9195 control the visibility of the children.
9197 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9199 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * debian/changelog: Updating.
9207 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-bread-crumb-trail.c:
9210 (hildon_bread_crumb_trail_size_allocate):
9212 Make the back button always a square.
9214 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9216 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9217 from the .c file as it's a private file.
9219 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9221 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9222 uses slightly bigger height.
9224 * src/hildon-font-selection-dialog.c: Adding some checks before
9225 freeing memory in the font selection dialog.
9227 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9229 * src/hildon-font-selection-dialog.c: Adding a small check when
9232 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9233 buttons sensitivity on page switching.
9235 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9237 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9238 internal details of adding a bread crumb to the trail.
9240 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * debian/changelog: Updating.
9248 * src/hildon-bread-crumb-trail.h:
9249 * src/hildon-bread-crumb.h: Changing the API guard to
9250 HILDON_ENABLE_UNSTABLE_API.
9252 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * src/hildon-helper.h: Updating.
9262 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9274 * src/hildon-helper.h: Small fix to make the package actually compile.
9276 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9278 * src/hildon-bread-crumb-trail.h:
9279 * src/hildon-bread-crumb.h:
9281 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9282 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9284 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9286 * examples/hildon-bread-crumb-trail-example.c:
9288 * src/hildon-bread-crumb-trail.c:
9289 * src/hildon-bread-crumb-trail.h:
9290 * src/hildon-bread-crumb.c:
9291 * src/hildon-bread-crumb.h:
9292 * src/hildon-marshalers.list:
9293 * src/hildon-bread-crumb-widget.c:
9294 * src/hildon-bread-crumb-widget.h:
9296 Slight change in the widget design. The bread crumb trail API is
9297 unchanged, but HildonBreadCrumb is now an interface. A *private*
9298 implementation, hildon-bread-crumb-widget, is provided and used
9299 internally by the trail for the push_text/push_icon functions.
9301 The generic push API is still available, so anyone can implement
9302 and use its own bread crumb widget.
9304 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 * debian/rules: Fixing the shlibs.
9308 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * src/hildon-banner.c: Fixing a problem with timed banners having
9311 their parrent destroyed before they are.
9313 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9315 * src/hildon-bread-crumb.c:
9316 * src/hildon-bread-crumb.h:
9318 Make the get_natural_size function a vfunc.
9320 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9322 * src/hildon-bread-crumb.c:
9323 * src/hildon-bread-crumb-trail.c:
9327 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9334 * debian/changelog: Updating for release.
9336 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9338 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9339 don't leak the pango layout.
9341 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9344 * examples/hildon-bread-crumb-trail-example.c:
9348 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * debian/changelog: Removing the bug-fixed entries that were actually
9351 resolved as WONTFIX.
9353 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9356 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9358 * src/hildon-bread-crumb-trail.c:
9359 * src/hildon-bread-crumb-trail.h:
9360 * src/hildon-bread-crumb.c:
9361 * src/hildon-bread-crumb.h:
9365 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9367 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9368 until it's passed the type check.
9370 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9372 * examples/hildon-bread-crumb-trail-example.c
9376 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9378 * examples/Makefile.am
9379 * examples/hildon-bread-crumb-trail-example.c
9381 * src/hildon-bread-crumb-trail.c
9382 * src/hildon-bread-crumb-trail.h
9383 * src/hildon-bread-crumb.c
9384 * src/hildon-bread-crumb.h
9386 New HildonBreadCrumbTrail widget.
9388 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9390 * src/hildon-range-editor.c (hildon_range_editor_init),
9391 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9392 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9393 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9394 hildon_time_editor_class_init, hildon_time_editor_init),
9395 src/hildon-get-password-dialog.c (invalid_input,
9396 hildon_get_password_set_property, hildon_get_password_get_property,
9397 create_contents, hildon_get_password_dialog_set_max_characters),
9398 src/hildon-set-password-dialog.c (create_contents),
9399 src/hildon-date-editor.c (hildon_date_editor_init),
9400 src/hildon-login-dialog.c (hildon_login_dialog_init),
9401 src/hildon-number-editor.c (hildon_number_editor_init),
9402 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9403 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9404 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9405 configure option and adding the respective checks in the code.
9406 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9407 hildon_calendar_drag_data_received): fixed some build warnings.
9409 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9411 * debian/changelog: A 1.0.0 release notes.