Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
[hildon] / ChangeLog
1 2009-09-04  Alberto Garcia  <agarcia@igalia.com>
2
3         * hildon/hildon-window.h:
4         Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
5
6         Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
7
8 2009-09-04  Claudio Saavedra  <csaavedra@igalia.com>
9
10         [Release 2.1.97]
11
12         * configure.ac: bump version
13         * NEWS: updates
14         * debian/changelog: updates
15
16 2009-09-04  Alberto Garcia  <agarcia@igalia.com>
17
18         * hildon/hildon-entry.c
19         * hildon/hildon-text-view.c:
20         Documentation updates
21
22 2009-09-04  Alberto Garcia  <agarcia@igalia.com>
23
24         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
25         Redraw menu when the number of items change.
26
27         Fixes: NB#131911 (Appmenu does not resize properly, when number of
28         menu items change)
29
30 2009-09-03  Claudio Saavedra  <csaavedra@igalia.com>
31
32         * hildon/hildon-pannable-area.c:
33         (hildon_pannable_area_launch_fade_timeout),
34         (hildon_pannable_area_motion_event_scroll),
35         (hildon_pannable_area_check_move),
36         (hildon_pannable_area_button_release_cb),
37         (hildon_pannable_area_scroll_to):
38
39         Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
40         area drawing operations, since this is the recommended for drawing
41         operations.
42
43         Fixes: NB#110894 (In event view containing very large description
44         field, application menu is displayed blank while panning)
45         Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
46         for the first time)
47
48 2009-09-03  Alberto Garcia  <agarcia@igalia.com>
49
50         * doc/hildon-sections.txt
51         * hildon/hildon-button.c
52         * hildon/hildon-edit-toolbar.c
53         * hildon/hildon-gtk.[ch]
54         * hildon/hildon-main.c
55         * hildon/hildon-program.c
56         * hildon/hildon-stackable-window.c:
57         Documentation updates
58
59 2009-08-28  Alberto Garcia  <agarcia@igalia.com>
60
61         * hildon/hildon-app-menu.c
62         (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
63         Close the menu if it receives a grab-notify signal.
64
65         Fixes: NB#134533 (UI freezes if we show a dialog with
66         gtk_dialog_run() while a menu is opened)
67
68 2009-08-27  Alejandro G. Castro  <alex@igalia.com>
69
70         * hildon/hildon-pannable-area.c,
71         (hildon_pannable_area_class_init): Reverted tuning modifications:
72         "Pannign needs to be faster" and "Pannable kinetics in large lists
73         needs tuning".
74
75 2009-08-26  Alberto Garcia  <agarcia@igalia.com>
76
77         * hildon/hildon-sound.c (hildon_play_system_sound):
78         Set "module-stream-restore.id" to "x-maemo-system-sound" when
79         playing system sounds
80
81         Fixes: NB#133767 (Information and confirmation note sound should
82         follow system profile setting)
83
84 2009-08-26  Alejandro G. Castro  <alex@igalia.com>
85
86         * hildon/hildon-pannable-area.c,
87         (hildon_pannable_area_class_init): Added more force and increased
88         the max speed threshold.
89
90         Fixes: NB#135344 (Pannign needs to be faster)
91
92 2009-08-26  Claudio Saavedra  <csaavedra@igalia.com>
93
94         [Release 2.1.96, this time for real]
95
96         * NEWS: updates
97         * debian/changelog: updates
98
99 2009-08-26  Alejandro Pinheiro <apinheiro@igalia.com>
100
101         * hildon/hildon-pannable-area.c
102         (hildon_pannable_area_get_topmost): change the computation of the
103         co-ordinates transformed when no one of the children is a topmost
104
105         Fixes: NB#133252 (Opening any feed item from RSS always opens the
106         first feed item in browser)
107
108 2009-08-26  Alejandro G. Castro  <alex@igalia.com>
109
110         * hildon/hildon-pannable-area.c,
111         (hildon_pannable_area_remove_timeouts): Adding this new function
112         with the code that removes the timeouts of the widget.
113         (hildon_pannable_area_dispose),
114         (hildon_pannable_area_unrealize): Use the new remove function to
115         stop timeouts when unrealizing and disposing.
116         (hildon_pannable_area_scroll_to): Added a CLAMP to the position
117         calculation to avoid negative values in some cases.
118
119         Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
120
121 2009-08-24  Claudio Saavedra  <csaavedra@igalia.com>
122
123         * examples/hildon-check-button-example.c: (button_toggled_cb):
124         * hildon/hildon-check-button.c: (hildon_check_button_toggled),
125         (hildon_check_button_set_active), (hildon_check_button_new),
126         (hildon_check_button_clicked), (hildon_check_button_class_init):
127         * hildon/hildon-check-button.h:
128         * hildon/hildon-set-password-dialog.c: (create_contents),
129         (hildon_set_password_response_change), (hildon_checkbox_toggled):
130
131         Revert "Make HildonCheckButton derive from GtkToggleButton"
132
133 2009-08-21  Alberto Garcia  <agarcia@igalia.com>
134
135         [Release 2.1.96]
136
137         * configure.ac: bump version
138         * NEWS: updates
139         * debian/changelog: updates
140
141 2009-08-21  Alberto Garcia  <agarcia@igalia.com>
142
143         * hildon/hildon-check-button.h
144         * hildon/hildon-check-button.c
145         (hildon_check_button_clicked, hildon_check_button_class_init):
146         Make HildonCheckButton derive from GtkToggleButton
147         (hildon_check_button_toggled, hildon_check_button_set_active)
148         (hildon_check_button_get_active):
149         Deprecate unnecessary HildonCheckButton API and use the
150         one from GtkToggleButton instead.
151
152         * hildon/hildon-set-password-dialog.c (create_contents)
153         (hildon_set_password_response_change, hildon_checkbox_toggled)
154         * examples/hildon-check-button-example.c (button_toggled_cb):
155         Update to use the GtkToggleButton API
156
157         Fixes: MB#4739 (HildonCheckButton should inherit from
158         GtkToggleButton)
159
160         Fixes: NB#132661 (HildonCheckButton should inherit from
161         GtkToggleButton)
162
163 2009-08-20  Alberto Garcia  <agarcia@igalia.com>
164
165         * hildon/hildon-pannable-area.c
166         (hildon_pannable_area_class_init):
167         Increase default value of HildonPannableArea:velocity_max to 2000
168
169         Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
170
171 2009-08-18  Alberto Garcia  <agarcia@igalia.com>
172
173         [Release 2.1.95]
174
175         * configure.ac: bump version
176         * NEWS: updates
177         * debian/changelog: updates
178
179 2009-08-11  Alejandro G. Castro  <alex@igalia.com>
180
181         * hildon/hildon-pannable-area.c
182         (hildon_pannable_area_size_allocate): Checked the scrollbars
183         before the first try when defining the layout, avoids two
184         allocations in some situations.
185
186         Fixes: NB#131794 (pannable area produces unnecessary allocations
187         causing performance problems)
188
189 2009-08-11  Alejandro G. Castro  <alex@igalia.com>
190
191         * hildon/hildon-pannable-area.c
192         (hildon_pannable_area_button_press_cb),
193         (hildon_pannable_area_motion_notify_cb),
194         (hildon_pannable_area_button_release_cb): Added unrefs to reduce
195         the spurious ref added in the copy, fixes leak of window.
196
197         Fixes: NB#130900 (HildonPannableArea will leak it's event_window
198         if it's realized without showing and then deleted)
199
200 2009-08-10  Alberto Garcia  <agarcia@igalia.com>
201
202         [Release 2.1.94]
203
204         * configure.ac: bump version
205         * NEWS: updates
206         * debian/changelog: updates
207
208 2009-08-06  Alberto Garcia  <agarcia@igalia.com>
209
210         * examples/hildon-hvolumebar-timer-example.c
211         (on_idle, main)
212         * hildon/hildon-banner.c
213         (hildon_banner_timeout, hildon_banner_ensure_timeout)
214         * hildon/hildon-calendar.c
215         (calendar_timer, start_spinning)
216         * hildon/hildon-color-chooser.c
217         (inline_limited_expose)
218         * hildon/hildon-date-editor.c
219         (hildon_date_editor_entry_focus_in)
220         (hildon_date_editor_entry_validate)
221         (hildon_date_editor_entry_select_all)
222         * hildon/hildon-note.c
223         (on_show_cb)
224         * hildon/hildon-number-editor.c
225         (hildon_number_editor_button_pressed)
226         (hildon_number_editor_start_timer, do_mouse_timeout),
227         (add_select_all_idle, hildon_number_editor_select_all)
228         * hildon/hildon-time-editor.c
229         (hildon_time_editor_entry_focus_in)
230         (highlight_callback, hildon_time_editor_validate)
231         (hildon_time_editor_entry_select_all)
232         * hildon/hildon-time-picker.c
233         (hildon_time_picker_arrow_press)
234         (hildon_time_picker_key_repeat_timeout)
235         * hildon/hildon-window.c
236         (hildon_window_key_press_event)
237         (hildon_window_escape_timeout):
238         Replace all calls to g_idle_add/g_timeout_add with their
239         gdk_threads counterparts.
240
241         Fixes: NB#126198 (gdk-threads API should be used to install idle
242         and timeout handlers)
243
244 2009-08-06  Alejandro G. Castro  <alex@igalia.com>
245
246         * hildon/hildon-pannable-area.c,
247         (hildon_pannable_area_class_init): Increased the overshooting max
248         speed to get a faster effect.
249         (hildon_pannable_axis_scroll): Increased minimum speed and reduce
250         deceleration of the overshooting
251         (hildon_pannable_area_button_release_cb): Calculate initial
252         overshooting speed when finger on the screen using the distance to
253         launch the effect faster.
254
255         Fixes: NB#126115 (Pannable list overshooting is unusably slow for
256         lists with slow row renderers)
257
258 2009-08-05  Alberto Garcia  <agarcia@igalia.com>
259
260         * doc/hildon-sections.txt: Add new functions
261
262 2009-08-05  Alberto Garcia  <agarcia@igalia.com>
263
264         * hildon/hildon-text-view.[ch]
265         * hildon/hildon-entry.[ch]:
266         Add deprecation guards around deprecated functions.
267
268 2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
269
270         * hildon/hildon-app-menu.c: Remove leftover function declaration.
271
272 2009-08-05  Claudio Saavedra  <csaavedra@igalia.com>
273
274         Remove the grab from HildonAppMenu
275
276         * hildon/hildon-app-menu.c:
277         Now hildon-desktop places a blocker window behind the menu to handle
278         its closing, so the grab is no longer needed. This simplifies its
279         implementation and allows the system blanking to succeed.
280
281         Fixes: NB#130910 (Screen gets unlocked when menu is open)
282
283 2009-08-04  Claudio Saavedra  <csaavedra@igalia.com>
284
285         [Release 2.1.93]
286
287         * configure.ac: bump version
288         * NEWS: updates
289         * debian/changelog: updates
290         * debian/control: raise debian dependency on GTK+
291
292 2009-08-04  Alberto Garcia  <agarcia@igalia.com>
293
294         * hildon/hildon-text-view.c
295         * hildon/hildon-entry.c:
296         Remove all placeholder code from HildonEntry and HildonTextView
297         and use the API in GtkEntry and GtkTextView instead.
298
299         * examples/hildon-entry-example.c
300         * examples/hildon-text-view-example.c
301         * examples/hildon-wizard-dialog-example.c
302         * hildon/hildon-get-password-dialog.c
303         * hildon/hildon-login-dialog.c
304         * hildon/hildon-picker-dialog.c
305         * hildon/hildon-set-password-dialog.c
306         * hildon/hildon-touch-selector-entry.c:
307         Replace all deprecated calls to HildonEntry and HildonTextView
308         with their Gtk counterparts.
309
310         Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
311         GtkEntry)
312
313 2009-08-03  Alejandro G. Castro  <alex@igalia.com>
314
315         * hildon/hildon-pannable-area.c,
316         (hildon_pannable_area_check_move),
317         (hildon_pannable_area_button_release_cb),
318         (hildon_pannable_area_scroll_to): Reverted the priority change of
319         the timeout, in some situations, slow renderers, the click do not
320         make it to the mainloop on time.
321
322         Fixes NB#131013 (unable to stop panning file manager by tapping on
323         it)
324
325 2009-07-30  Claudio Saavedra  <csaavedra@igalia.com>
326
327         * configure.ac: bump version
328         * NEWS: updates
329         * debian/changelog: updates
330
331 2009-07-28  Alejandro Pinheiro <apinheiro@igalia.com>
332
333         * hildon/hildon-touch-selector.[ch]
334         (hildon_touch_selector_center_on_index): New method that allows to center
335         on a item not selected
336
337         Fixes NB#130291 (New HildonTouchSelector API is required to center on
338         any column item)
339
340 2009-07-29  Alberto Garcia  <agarcia@igalia.com>
341
342         * hildon/hildon-text-view.c
343         (+set_logical_color, +hildon_text_view_style_set)
344         (hildon_text_view_refresh_contents, hildon_text_view_class_init)
345         (hildon_text_view_init)
346         * hildon/hildon-entry.c
347         (+set_logical_color, +hildon_entry_style_set)
348         (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
349         (hildon_entry_class_init, hildon_entry_init)
350         * hildon/hildon-button.c
351         (+set_logical_font, +set_logical_color)
352         (hildon_button_style_set, hildon_button_init)
353         (hildon_button_set_arrangement, hildon_button_set_style):
354         Remove all calls to hildon_helper_set_logical_font() and
355         hildon_helper_set_logical_color(), which are recursive, from
356         within Hildon.
357
358         Fixes: NB#123409 (Showing dialog consumes significant amount of
359         time)
360
361 2009-07-29  Alejandro G. Castro  <alex@igalia.com>
362
363         * hildon/hildon-pannable-area.c,
364         (hildon_pannable_area_timeout): Added the process updates of the
365         scrollbars window in the pannable.
366
367         Fixes: NB#130043 (scrollindicator not smooth while panning)
368
369 2009-07-23  Alejandro G. Castro  <alex@igalia.com>
370
371         * hildon/hildon-pannable-area.c,
372         (hildon_pannable_area_check_move),
373         (hildon_pannable_area_button_release_cb),
374         (hildon_pannable_area_scroll_to): Increased the priority of the
375         timeout this way it is going to be handled before the events.
376
377 2009-07-22  Claudio Saavedra  <csaavedra@igalia.com>
378
379         [Release 2.1.91]
380
381         * configure.ac: bump version
382         * debian/changelog: updates
383
384 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
385
386         * hildon/hildon-entry.c: (set_property): Do not allow to set
387         automatic height and use finger height instead, to prevent an to
388         have a smaller size than than its theme pixbuf.
389
390         Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
391
392 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
393
394         * configure.ac: postrelease version bump.
395         * debian/changelog: post release version bump
396
397 2009-07-21  Claudio Saavedra  <csaavedra@igalia.com>
398
399         [Release 2.1.90]
400
401         * NEWS: Updates.
402         * configure.ac: Bump version.
403         * debian/changelog: Updates.
404
405 2009-07-20  Claudio Saavedra  <csaavedra@igalia.com>
406
407         * hildon/hildon-note.c: (label_size_request): Take the note
408         padding into account when setting the size request.
409
410         Fixes: NB#127896 (Information notes text truncated)
411
412 2009-07-16  Claudio Saavedra  <csaavedra@igalia.com>
413
414         * configure.ac: postrelease version bump.
415         * debian/changelog: post release version bump
416
417 2009-07-16  Claudio Saavedra  <csaavedra@igalia.com>
418
419         [Release 2.1.88]
420
421         * NEWS: Updates.
422         * configure.ac: Bump version.
423         * debian/changelog: Updates.
424
425 2009-07-16  Alejandro G. Castro  <alex@igalia.com>
426
427
428         * hildon/hildon-text-view.c,
429         (hildon_text_view_button_press_event): Grabbed the focus in button
430         press, this way we are sure the widget has the focus in the
431         release event, required for HIM.
432
433         Fixes: NB#121445 (Virtual keyboard opening is not working in same
434         way for each text entry field)
435
436 2009-07-15  Alejandro Pinheiro <apinheiro@igalia.com>
437
438         * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
439         (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
440         (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
441         (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
442         (hildon_pannable_area_[gs]et_center_on_child_focus)
443         Redefined GtkContainer set-focus-child signal, in order to center
444         properly on a child when it receives the focus. Defined a new property
445         "center-on-child-focus" in order to activate this feature (deactivated
446         by default). Public get/set methods defined to manage the property.
447
448         Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
449
450 2009-07-14  László Pere  <lpere@blumsoft.eu>
451
452         * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
453         the new size is applied.
454
455         Fixes: NB#124510 (The Application Menu is distorted when switched
456         between portrait and landscape mode)
457         Fixes: NB#115388 (Power key menu does not resize itself)
458
459 2009-07-01  Alberto Garcia  <agarcia@igalia.com>
460
461         * hildon/hildon-banner.c (hildon_banner_map):
462         Set banner position after mapping.
463
464 2009-06-29  Claudio Saavedra  <csaavedra@igalia.com>
465
466         * configure.ac: postrelease version bump.
467         * debian/changelog: post release version bump
468
469 2009-06-29  Claudio Saavedra  <csaavedra@igalia.com>
470
471         [Release 2.1.86]
472
473         * NEWS: Updates.
474         * configure.ac: Bump version.
475         * debian/changelog: Updates.
476
477 2009-06-29  Adam Endrodi  <adam.endrodi@blumsoft.eu>
478
479         * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
480         BadWindow error.
481
482 2009-06-26  Alejandro Pinheiro  <apinheiro@igalia.com>
483
484         * tests/check-hildon-banner.c
485         * tests/check_text.c
486         * tests/test_suites.h
487         Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
488         were testing deprecated functions.
489         * examples/hildon-banner-example.c: typo on button3 type, that causes
490         a fail compiling with --with-examples but without --disable-deprecated
491
492         Missed commit in order to fix compilation using '--enable-fatal' and
493         '--disable-deprecated' (see previous commit)
494
495 2009-06-26  Alejandro Pinheiro  <apinheiro@igalia.com>
496
497         * examples/hildon-banner-example.c: Protect deprecated hildon-banner
498         functions with #ifndef HILDON_DISABLE_DEPRECATED
499         * examples/hildon-find-toolbar.c: Protect deprecated
500         HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
501         * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
502         in favor of HILDON_ICON_PIXEL_SIZE_FINGER
503         * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
504         deprecated.
505         * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
506         to allow proper compilation of deprecated functions defined on the header
507
508         Fixed compilation using '--enable-fatal' and '--disable-deprecated'
509
510 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
511
512         * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
513         Cache the panning indicator color.,
514         (hildon_pannable_area_style_set): Query the color on style changes.
515         (hildon_pannable_draw_vscroll),
516         (hildon_pannable_draw_hscroll),
517         (hildon_pannable_area_expose_event): Use the cached panning indicator
518         color instead of looking it up on every expose and more.
519
520 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
521
522         * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
523         (hildon_pannable_draw_hscroll),
524         (hildon_pannable_area_expose_event): Fix the panning indicator color,
525         so that it's "SecondaryTextColor", as desired.
526
527 2009-06-25  Alejandro Pinheiro  <apinheiro@igalia.com>
528
529         * hildon/hildon-picker-dialog.c:
530         (selection_completed): take into account HILDON_UI_MODE_NORMAL
531         * hildon/hildon-touch-selector.c
532         (hildon_touch_selector_init): Initialize hildon-ui-mode
533         (hildon_touch_selector_row_activated): new callback for the
534         "row-activated" signal, in order to save the last activated
535         (hildon_touch_selector_check_ui_mode_coherence): new method that checks
536         if the current hildon-ui-mode is coherent with the touch selector
537         (hildon_touch_selector_class_init)
538         (hildon_touch_selector_get_property)
539         (hildon_touch_selector_set_property)
540         Added "hildon-ui-mode" property
541         (disconnect_model_handlers): renamed to clean_column
542         (hildon_touch_selector_remove): use clean_column function
543         (_create_new_column): use the hildon-ui-mode to create the treeview, and
544         only select the first element on HILDON_UI_MODE_EDIT
545         (hildon_touch_selector_column_init): Initialize last_activate
546         (hildon_touch_selector_append_column): check that the touch selector
547         is coherent with the current hildon-ui-mode
548         (hildon_touch_selector_get_hildon_ui_mode)
549         (hildon_touch_selector_set_hildon_ui_mode)
550         Added a getter/setter for the hildon-ui-mode property
551         (hildon_touch_selector_get_last_activated_row): Added this method in
552         order to get the last activated row.
553         * examples/hildon-touch-selector-normal-mode-example.c
554         New example, that shows how to use the HildonTouchSelector in
555         HILDON_UI_MODE_NORMAL
556
557         Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
558         Kristian Rietveld <kris@lanedo.com> advices
559
560 2009-06-25  Claudio Saavedra  <csaavedra@igalia.com>
561
562         * hildon/hildon-time-selector.c: (update_format_policy): Do
563         not call update_format_dependant_columns() if not necessary.
564         (update_format_dependant_columns): Remove unnecessary check for
565         the number of columns.
566
567 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
568
569         * hildon/hildon-note.c (+hildon_note_constructor),
570         (hildon_note_class_init), (+hildon_note_set_padding),
571         (hildon_note_rebuild): Install a constructor where to set the
572         padding properties in the note, so that it actually works fine.
573         Use hildon_note_set_padding() for this, and also to set it during
574         the note rebuild.
575
576 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
577
578         * configure.ac: Bump GTK+ requirement to 2.14.3.
579         * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
580         when using maemo-gtk to define proper margins for the notes.
581
582         Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
583         with the dialog edge)
584
585 2009-06-24  Alberto Garcia  <agarcia@igalia.com>
586
587         * hildon/hildon-banner.c
588         (hildon_banner_class_init):
589         Center text.
590         (+hildon_banner_size_request):
591         Request always the full width of the screen.
592         (hildon_banner_realize)
593         (-hildon_banner_check_position, hildon_banner_map):
594         hildon_banner_check_position() is not needed in Hildon 2.2.
595         (-hildon_banner_reset_wrap_state)
596         (hildon_banner_constructor, hildon_banner_init):
597         Remove unnecessary calls to hildon_banner_reset_wrap_state()
598         (+banner_do_set_text)
599         (force_to_wrap_truncated):
600         Remove has_been_wrapped and has_been_truncated attributes.
601         (+reshow_banner, hildon_banner_real_show_information)
602         (hildon_banner_show_information_with_markup)
603         (hildon_banner_show_animation, hildon_banner_show_progress)
604         (hildon_banner_set_text, hildon_banner_set_markup):
605         Refactor code. Shrink banner vertically to use the minimum space
606         necessary everytime the text of the label is updated.
607         (screen_size_changed):
608         Call force_to_wrap_truncated() when the size of the screen
609         changes.
610
611         Fixes: NB#120500 (only device memory connect mmc in use info
612         banner is left aligned)
613
614         Fixes: NB#120613 (Size of HildonBanner varies depending on
615         previously opened banners)
616
617 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
618
619         * hildon/hildon-color-chooser.c
620         (hildon_color_chooser_pointer_motion): Take the widget allocation
621         into account.
622
623         Fixes: NB#124385 (Unable to select exact point in color mixing box
624         in color palette dialog)
625
626 2009-06-23  Alejandro G. Castro  <alex@igalia.com>
627
628         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
629         (hildon_pannable_area_dispose)
630         (hildon_pannable_area_button_press_cb)
631         (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
632         (hildon_pannable_area_button_release_cb)
633         (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
634         New 'panning-started' and 'panning-finished' signals.
635
636         Fixes: NB#121732 (New feature request: Signal to pannable area
637         that informs when panning is stopped.)
638
639 2009-06-23  Mox Soini  <ext-mox.soini@nokia.com>
640
641         * hildon/hildon-wizard-dialog.c: (create_title): Use separator
642         instead of hardcoded colon.
643
644         Fixes: NB#124090 (New calendar wizard title is not using
645         ecdg_ti_caption_separator)
646
647 2009-06-22  David King  <davidk@openismus.com>
648
649         * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
650         constants and functions, as well as correct many typos throughout the
651         documentation text.
652
653         Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
654         and needs cleanup)
655
656 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
657
658         * configure.ac: postrelease version bump.
659         * debian/changelog: post release version bump
660
661 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
662
663         [Release 2.1.84]
664
665         * NEWS: Updates.
666         * configure.ac: Bump version.
667         * debian/changelog: Updates.
668
669 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
670
671         * hildon/hildon-window-stack.c
672         (hildon_window_stack_pop_and_push_list):
673         Prevent windows from having the same stack index
674
675 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
676
677         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
678         Use the index of the previous window rather than the stack length
679         to calculate the new index.
680
681         Fixes: NB#122389
682
683 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
684
685         * hildon/hildon-date-selector.c
686         (hildon_date_selector_select_current_date)
687         (hildon_date_selector_get_date)
688         (hildon_date_selector_select_day):
689         Update the documentation: uses always the range (1-31), as it is obvious
690         that the final one will depend on the month and the year, but globally
691         the range is this, in a similar GtkCalendar approach
692         (hildon_date_selector_get_date):
693         Update the documentation: add NULL as a valid value for the day, month
694         and year locations
695
696         Fix some details, after talk with David King on bug MB#4698
697
698 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
699
700         * hildon/hildon-touch-selector-entry.c
701         * hildon/hildon-touch-selector.c
702         Update the documentation of the "text-column" property
703
704 2009-06-18  David King  <davidk@openismus.com>
705
706         * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
707         several typos and errors throughout the documentation.
708
709         Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
710         has some mistakes)
711
712 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
713
714         * hildon/hildon-note.c (hildon_note_realize):
715         Make HildonNote support portrait mode.
716
717         Fixes: NB#123448 (HildonNote is not portrait-friendly)
718
719 2009-06-17  Alberto Garcia  <agarcia@igalia.com>
720
721         * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
722         Document this function
723
724 2009-06-17  David King  <davidk@openismus.com>
725
726         * hildon/hildon-date-selector.c
727         (hildon_date_selector_select_current_date)
728         (hildon_date_selector_get_date): Update documentation regarding days,
729         as the day of the month is dependent on both the month and the year.
730         (hildon_date_selector_get_date): Fix documentation of output arguments.
731
732         Fixes: MB#4698 (DateSelector documentation has bad output argument
733         description, and the day depends on both the month and the year)
734
735 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
736
737         * hildon/hildon-caption.c: Other documentation fixes to
738         HildonCaption.
739
740 2009-06-17  David King  <davidk@openismus.com>
741
742         * hildon/hildon-caption.c: Minor documentation updates for
743         HildonCaption. Fixes MB#4697.
744
745 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
746
747         * doc/hildon-docs.sgml: Add hildon-version section.
748         * doc/hildon-sections.txt:
749         * hildon/hildon-version.h.in: Document versioning macros and
750         add HILDON_VERSION.
751
752 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
753
754         * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
755         from HildonPickerDialog section.
756
757 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
758
759         * hildon/hildon-banner.c (hildon_banner_bind_style)
760         (screen_size_changed, hildon_banner_init)
761         (hildon_banner_real_show_information)
762         (hildon_banner_show_information_with_markup)
763         (hildon_banner_show_animation, hildon_banner_show_progress):
764         Set a different widget name to banners in portrait mode, for them
765         to be themed correctly.
766
767 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
768
769         * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
770         Set a different widget name to notes in portrait mode, for them to
771         be themed correctly.
772
773         Partially fixes: NB#118401 (HildonNote causes unnecessary
774         rescaling of images)
775
776 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
777
778         * hildon/hildon-note.c (hildon_note_class_init)
779         (+hildon_note_size_request, screen_size_changed):
780         Always request the full width of the screen.
781
782         Fixes: NB#118375 (unnecessary rescaling of images)
783
784 2009-06-16  Alejandro G. Castro  <alex@igalia.com>
785
786         * hildon/hildon-pannable-area.c,
787         (hildon_pannable_area_init),
788         (hildon_pannable_area_realize): Replaced old code adding flags in
789         the object init, now we add it with the other flags in the realize
790         method.
791
792 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
793
794         * hildon/hildon-note.c: (hildon_note_class_init): Several
795         documentation improvements to the HildonNote widget.
796
797 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
798
799         * hildon/hildon-note.h: Document the HildonNoteType enumeration.
800
801         Fixes: MB#4556 (HildonNoteType is undocumented)
802
803 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
804
805         * hildon/hildon-picker-button.c:
806         Explain how HildonPickerButton sets the title of its dialog
807
808         Fixes: MB#4528 (HildonPickerButton docs should mention how to set
809         the title of its dialog)
810
811 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
812
813         * hildon/hildon-check-button.c:
814         Documentation updates
815
816         Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
817         exists)
818
819 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
820
821         * hildon/Makefile.am
822         * hildon/hildon-edit-toolbar-private.h
823         * hildon/hildon-edit-toolbar.c
824         (+hildon_edit_toolbar_set_progress_indicator)
825         (hildon_edit_toolbar_init): Add progress indicator to the
826         toolbar.
827
828         * hildon/hildon-gtk.c
829         (hildon_gtk_window_set_progress_indicator):
830         If the window contains a HildonEditToolbar, enable the progress
831         indicator there too.
832
833         * hildon/hildon-private.h
834         * hildon/hildon-private.c
835         (+hildon_private_create_animation)
836         * hildon/hildon-banner.c
837         (-hildon_banner_create_animation):
838         Moved to hildon-private.c
839
840         Fixes: NB#102373 (Progress indicator also for the Edit mode
841         toolbar)
842
843 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
844
845         * hildon/hildon-app-menu-private.h
846         * hildon/hildon-app-menu.c (hildon_app_menu_insert)
847         (hildon_app_menu_add_filter, +menu_item_button_event)
848         (hildon_app_menu_button_release, hildon_app_menu_init):
849         Make sure that buttons receive 'button-release-event' in spite of
850         the grab held by HildonAppMenu
851
852         Fixes: NB#108337 (Focus mismatch in items of AppMenu)
853
854 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
855
856         * hildon/hildon-app-menu.c
857         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
858         New style property to set the size of the group of filter buttons.
859
860         Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
861
862 2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
863
864         [Release 2.1.82]
865
866         * NEWS: Updates.
867         * configure.ac: Bump version.
868         * debian/changelog: Updates.
869
870 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
871
872         * hildon/hildon-main.c: Minor documentation fixes.
873
874 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
875
876         * doc/hildon-sections.txt:
877         * hildon/hildon-defines.h: Document the defines, organize them,
878         and mark deprecations as such.
879
880         Fixes: MB#4463 (Hildon size #defines are undocumented)
881
882 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
883
884         * hildon/hildon-animation-actor.c:
885         * hildon/hildon-app-menu.c:
886         * hildon/hildon-button.c:
887         * hildon/hildon-date-editor.c:
888         * hildon/hildon-dialog.c:
889         * hildon/hildon-edit-toolbar.c:
890         * hildon/hildon-entry.c:
891         * hildon/hildon-program.c:
892         * hildon/hildon-remote-texture.c:
893         * hildon/hildon-stackable-window.c:
894         * hildon/hildon-text-view.c:
895         * hildon/hildon-touch-selector.c:
896         * hildon/hildon-window-stack.c:
897         * hildon/hildon-window.c:
898
899         Remove redundant "represents" wording from most of the documentation.
900
901         Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
902
903 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
904
905         * po/POTFILES.in
906         * doc/Makefile.am
907         * hildon/Makefile.am
908         * hildon/hildon-banner-private.h
909         * hildon/hildon-banner.c:
910         Move HildonBannerPrivate to hildon-banner.c and remove
911         hildon-banner-private.h
912         Use a bit field to store private booleans.
913
914 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
915
916         * hildon/hildon-app-menu.c (hildon_app_menu_map):
917         Don't install a new idle function if there's already one
918         installed.
919
920         Fixes: NB#122254
921
922 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
923
924         * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
925         (+legacy_menu_realized, +legacy_menu_unmapped)
926         (+set_legacy_menu_type):
927         Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
928         they can be identified by the window manager.
929
930         Fixes: NB#101437 (Invoking CSM on the left side of page area is
931         displayed in wrong location)
932
933         Fixes: MB#4563 (Popup menu won't locate at the left side of the
934         screen)
935
936 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
937
938         Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
939
940         Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
941         use gtk-doc support)
942
943 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
944
945         * hildon/hildon-code-dialog.c
946         * hildon/hildon-date-editor.c
947         * hildon/hildon-number-editor.c
948         * hildon/hildon-seekbar.c
949         * hildon/hildon-stackable-window.c
950         * hildon/hildon-window.c:
951         Misc documentation updates
952
953 2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
954
955         * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
956         a G_PARAM_CONSTRUCT property, to allow the default size to be set.
957
958         Fixes: NB#117931 (Theming issues in accounts dialogs)
959
960 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
961
962         * hildon/hildon-pannable-area.c,
963         (hildon_pannable_area_button_release_cb): Changed the coordinates
964         of the original release in case we want to discard the release,
965         some widgets in Fremantle do not handle the leave-notify.
966
967 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
968
969         * hildon/hildon-pannable-area.c,
970         (hildon_pannable_area_button_release_cb): Reviewed the logic of
971         the release using the last refactored functions and avoiding the
972         movement if an element was selected.
973
974 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
975
976         * hildon/hildon-pannable-area.c,
977         (hildon_pannable_area_check_move),
978         (hildon_pannable_area_handle_move),
979         (hildon_pannable_area_motion_notify_cb): Refactored the
980         motion_notify method using a couple of new functions.
981
982 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
983
984         * hildon/hildon-date-selector.c:
985         (hildon_date_selector_construct_ui):
986         * hildon/hildon-time-selector.c:
987         (hildon_time_selector_constructor):
988         * hildon/hildon-touch-selector-entry.c:
989         (hildon_touch_selector_entry_set_text_column),
990         (hildon_touch_selector_entry_get_text_column):
991         * hildon/hildon-touch-selector.c: (_default_print_func),
992         (hildon_touch_selector_new_text): Use
993         hildon_touch_selector_set/get_text_column() instead of
994         setting/getting the "text-column" property.
995
996 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
997
998         * doc/hildon-sections.txt: Add the new public methods below.
999
1000         * examples/hildon-picker-button-multicolumn-example.c:
1001         (create_touch_selector):
1002         * examples/hildon-touch-selector-example.c: (create_selector):
1003         * examples/hildon-touch-selector-multi-cells-example.c:
1004         (create_selector):
1005         Use hildon_touch_selector_column_set_text_column()
1006
1007         * hildon/hildon-touch-selector-column.h:
1008         * hildon/hildon-touch-selector.c:
1009         (hildon_touch_selector_column_set_text_column),
1010         (hildon_touch_selector_column_get_text_column):
1011         Make hildon_touch_selector_column_set/get_column() public, use
1012         them in the inline example, document them, and reference to them
1013         in the docs.
1014
1015 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
1016
1017         * hildon/hildon-time-selector.c: Fix the docs for
1018         hildon_time_selector_new_step().
1019
1020 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
1021
1022         * hildon/hildon-touch-selector.c: Improve the documentation for
1023         hildon_touch_selector_append_column().
1024
1025         Fixes MB#4641 (Documentation:
1026         hildon_touch_selector_append_column() ref-counting)
1027
1028 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
1029
1030         * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1031         Comment out test 5, since the hildon_controlbar_set_range() range
1032         check is broken and fixing it would have side effects. Also,
1033         this finally fixes make distcheck.
1034
1035         Fixes: NB#101420 (Update unit tests and fix make distcheck)
1036
1037 2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
1038
1039         * tests/TEST-CASES.txt: Remove other bogus test.
1040         * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1041         Remove bogus test that was setting/retrieving a valid value.
1042
1043 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
1044
1045         * tests/TEST-CASES.txt: Remove bogus tests.
1046         * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1047         Remove three bogus tests that were actually setting valid colors.
1048
1049 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
1050
1051         * configure.ac: post release version bump
1052         * debian/changelog: post release version bump
1053
1054 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
1055
1056         [Release 2.1.80]
1057
1058         * NEWS: Updates.
1059         * configure.ac: Bump version.
1060         * debian/changelog: Updates.
1061
1062 2009-06-08  Christian Dywan  <christian@lanedo.com>
1063
1064         * debian/changelog:
1065         * debian/control:
1066         * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1067         Correct errors in hildon_format_file-size_for_display and use
1068         translations from the hildon-fm package instead of osso-filemanager.
1069
1070 2009-06-08  Alejandro G. Castro  <alex@igalia.com>
1071
1072         * hildon/hildon-pannable-area.c,
1073         (hildon_pannable_area_init): Initialized new values to handle the
1074         adjustment position.
1075         (hildon_pannable_area_adjust_value_changed): Check if the values
1076         changed before even call the redraw function.
1077         (hildon_pannable_area_size_allocate),
1078         (hildon_pannable_axis_scroll),
1079         (hildon_pannable_area_scroll),
1080         (hildon_pannable_area_jump_to): Improved the diagonal movement
1081         case.
1082
1083         Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1084         Y)
1085
1086 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
1087
1088         * examples/hildon-banner-example.c:
1089         Several style updates
1090         (on_animation_clicked, on_animation_idle)
1091         (on_progress_clicked, on_progress_idle):
1092         Add additional reference for the cases when the parent window is
1093         destroyed.
1094
1095 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
1096
1097         * doc/hildon-sections.txt
1098         * hildon/hildon-pannable-area.c
1099         * hildon/hildon-banner.h
1100         * hildon/hildon-banner.c: Documentation updates.
1101
1102         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1103         memory management)
1104
1105 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
1106
1107         * hildon/hildon-calendar-popup.h:
1108         * hildon/hildon-caption.h:
1109         * hildon/hildon-code-dialog.h:
1110         * hildon/hildon-controlbar.h:
1111         * hildon/hildon-date-editor.h:
1112         * hildon/hildon-dialog.h:
1113         * hildon/hildon-get-password-dialog.h:
1114         * hildon/hildon-hvolumebar.h:
1115         * hildon/hildon-login-dialog.h:
1116         * hildon/hildon-note.h:
1117         * hildon/hildon-number-editor.h:
1118         * hildon/hildon-range-editor.h:
1119         * hildon/hildon-seekbar.h:
1120         * hildon/hildon-set-password-dialog.h:
1121         * hildon/hildon-sort-dialog.h:
1122         * hildon/hildon-time-editor.h:
1123         * hildon/hildon-time-picker.h:
1124         * hildon/hildon-volumebar-range.h:
1125         * hildon/hildon-volumebar.h:
1126         * hildon/hildon-vvolumebar.h:
1127         * hildon/hildon-weekday-picker.h:
1128         * hildon/hildon-window.h:
1129         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1130         macros with the current replacements
1131
1132         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1133
1134 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
1135
1136         * hildon/hildon-color-button.c (hildon_color_button_init): Use
1137         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1138         itself, to make it fit better with Fremantle style.
1139
1140         Fixes: NB#109878 (height and width of focus on color icon is not
1141         consistent with other item in the application tool bar)
1142
1143 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1144
1145         * hildon/hildon-touch-selector.c:
1146         (hildon_touch_selector_optimal_size_request): use the current requisition
1147         as the base, in order to include any possible extra widget, like the
1148         hildon entry on HildonTouchSelectorEntry
1149
1150         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1151
1152 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
1153
1154         * configure.ac: post release version bump
1155         * debian/changelog: post release version bump
1156
1157 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
1158
1159         [Release 2.1.78]
1160
1161         * NEWS: Updates.
1162         * configure.ac: Bump version.
1163         * debian/changelog: Updates.
1164
1165 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
1166
1167         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1168         structure.
1169         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1170         to ensure the banner contents are centered, instead of relying on
1171         the expand and fill properties in GtkHBox.
1172         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1173
1174         Fixes: NB#108265 (Animation banner not properly centered)
1175
1176 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
1177
1178         * hildon/hildon-pannable-area.c
1179         (hildon_pannable_area_initial_effect): Remove the initial_effect
1180         management, check initial_hint
1181         (hildon_pannable_are_expose_event): Remove the initial_hint management,
1182         set initial_effect to FALSE
1183         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1184         by launching the fade_timeout if the scrollbars state has changed and are
1185         visible
1186         * examples/hildon-pannable-area-initial-hint-example.c
1187         Modified to allow to remove rows too. Add and remove rows one by one.
1188
1189 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
1190
1191         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1192         Don't close the menu if there's an animation actor below it.
1193
1194         Fixes: NB#117927 (Application menu not usable with animation
1195         actors)
1196
1197 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1198
1199         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1200         "focus-on-click" from the dialog button, to avoid stealing the
1201         focus from the entry.
1202
1203         Fixes: NB#118903 (Account setup wizard: Text in Search field
1204         should be focused when "Region" touch list picker is reopened
1205         again)
1206
1207 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1208
1209         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1210         (prepare_action_area): Completely hide the dialog separator.
1211
1212 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1213
1214         * hildon/hildon-touch-selector-entry.c
1215         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1216         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1217         now that the entry is exposed.
1218
1219 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1220
1221         * hildon/hildon-touch-selector-entry.c
1222         (hildon_touch_selector_entry_init): Change the entry's size
1223         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1224
1225 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
1226
1227         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1228         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1229         avoid unnecessary scaling.
1230
1231 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
1232
1233         * hildon/hildon-app-menu.c (hildon_app_menu_map):
1234         Create grab transfer window before calling parent's map function.
1235
1236         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1237         "crushed" button(s) in the top left corner)
1238
1239 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
1240
1241         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1242         Check if the window is already realized when pushing it.
1243
1244 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1245
1246         * configure.ac: post release version bump
1247         * debian/changelog: post release version bump
1248
1249 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1250
1251         [Release 2.1.76]
1252
1253         * NEWS: Updates.
1254         * configure.ac: Bump version.
1255         * debian/changelog: Updates.
1256
1257 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1258
1259         * hildon/hildon-app-menu.c: Doc updates.
1260
1261 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
1262
1263         * hildon/hildon-banner.c: Remove leftover macro.
1264
1265 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1266
1267         * hildon/hildon-pannable-area.c,
1268         (hildon_pannable_area_scroll_indicator_fade),
1269         (hildon_pannable_area_button_release_cb): Reviewed vmin
1270         conditions, it could cause problems in the fadeout procedure.
1271
1272 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1273
1274         * hildon/hildon-pannable-area.c
1275         (hildon_pannable_area_button_release_cb): Added a threshold to
1276         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1277
1278 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1279
1280         * hildon/hildon-pannable-area.c,
1281         (hildon_pannable_area_set_property): Added code to sync the gtk
1282         dnd threshold with the panning threshold.
1283
1284 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1285
1286         * hildon/hildon-pannable-area.c,
1287         (hildon_pannable_area_class_init): Changed some of the default
1288         values, now it should be less responsive and more accurate.
1289
1290 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
1291
1292         * hildon/hildon-pannable-area.c,
1293         (hildon_pannable_area_init),
1294         (hildon_pannable_area_scroll_indicator_fade),
1295         (hildon_pannable_area_button_press_cb),
1296         (hildon_pannable_axis_scroll),
1297         (hildon_pannable_area_timeout),
1298         (hildon_pannable_area_motion_notify_cb),
1299         (hildon_pannable_area_button_release_cb): Changed the name of the
1300         clicked attribute to button_pressed, it is more clear about its use.
1301
1302 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
1303
1304         * src/hildon-pannable-area.c
1305         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1306         to 0
1307         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1308         vertical scrollbar visibility, and use the data on private section instead,
1309         remove the initial_hint check
1310         (hildon_pannable_area_expose_event): add the initial_hint check here
1311
1312 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
1313
1314         * src/hildon-pannable-area.c
1315         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1316         if the fadeout effect was used
1317         (hildon_pannable_area_expose_event): check if it is required to
1318         manage the initial effect on the begining of the function. Previously
1319         it was made at the end, but this doesn't ensure that the scrollbars
1320         will be painted on the first show. Do not set to FALSE initial_effect,
1321         to ensure that the initial hint is showed the first time the pannable
1322         becomes scrollable.
1323         * examples/Makefile.am
1324         * examples/hildon-pannable-area-initial-hint-example.c:
1325         New example, to show that the initial-hint is showed when the widget
1326         becomes scrollable
1327
1328         Fixes: NB#116607 (Pannable area should always have scrollbar visible
1329         initially if the application can be scrolled)
1330
1331 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1332
1333         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1334         Resize table before adding new items to make sure that
1335         gtk_table_resize() is called just once.
1336
1337 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1338
1339         * hildon/hildon-app-menu-private.h
1340         * hildon/hildon-app-menu.c (item_visibility_changed)
1341         (filter_visibility_changed, hildon_app_menu_show_all)
1342         (hildon_app_menu_hide_all, hildon_app_menu_init):
1343         Rearrange items just once when gtk_widget_show_all()/hide_all()
1344         are used.
1345
1346 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
1347
1348         * hildon/hildon-app-menu.c
1349         (hildon_app_menu_insert, hildon_app_menu_add_filter):
1350         Don't call gtk_widget_show() on added items.
1351
1352         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1353         automatically when they're added)
1354
1355 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
1356
1357         * hildon/hildon-banner.c
1358         (hildon_banner_realize, +hildon_banner_unrealize)
1359         (+screen_size_changed, hildon_banner_class_init):
1360         Redisplay the banner if the screen is rotated.
1361
1362         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1363         on transition from landscape to portrait)
1364
1365 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
1366
1367         * hildon/hildon-banner.[ch]:
1368         (hildon_banner_show_information_override_dnd): remove icon_name from the
1369         method definition as it is ignored.
1370         * examples/hildon-banner-dnd-example.c: updated with the change on
1371         hildon-banner.h API
1372
1373 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
1374
1375         * hildon/hildon-banner-private.h: new require_override_dnd and
1376         overrides_dnd variables
1377         * hildon/hildon-banner.h:
1378         (hildon_banner_show_information_override_dnd): new method, that shows
1379         the information but sets the override flag, in order to show important
1380         messages
1381         * hildon/hildon-banner.c
1382         (hildon_banner_show_information_override_dnd): new method
1383         (hildon_banner_set_override_flag): new utility function
1384         (hildon_banner_real_show_information): new utility function, in order to
1385         generalize the current hildon_banner_show_information_override_dnd and
1386         hildon_banner_show_information_override_dnd
1387         * examples/Makefile.am
1388         * examples/hildon-banner-dnd-example.c: New example that show how to
1389         use the new hildon_banner_show_information_override_dnd
1390
1391         Fixes: NB#114874 (There is no possibility to show hildon banners with
1392         DND flag set)
1393
1394 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1395
1396         * hildon/hildon-pannable-area.c: Add a comment explaining the math
1397         behind hildon_pannable_calculate_vel_factor().
1398
1399 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1400
1401         * hildon/hildon-pannable-area.c
1402         (hildon_pannable_calculate_vel_factor): Correct the sum of the
1403         deceleration factors.
1404
1405 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1406
1407         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1408         Reduce the default value for 'scroll_time' to 1 second, since the
1409         current initial scrolling takes too much time.
1410
1411 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1412
1413         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1414         calculate velocity factor during initialization, since the properties
1415         are not yet set.
1416
1417 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
1418
1419         * hildon/hildon-pannable-area.c
1420         (hildon_pannable_area_set_property): Calculate the velocity factor
1421         after setting the deceleration property and not after.
1422
1423 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
1424
1425         * hildon/hildon-entry.c
1426         (hildon_entry_class_init, +set_property, hildon_entry_new)
1427         * hildon/hildon-check-button.c
1428         (hildon_check_button_class_init)
1429         (+set_property, hildon_check_button_new):
1430         Make the theme size a property.
1431
1432         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1433         others) do too much in the _new function)
1434
1435 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
1436
1437         * configure.ac: post release version bump
1438         * debian/changelog: post release version bump
1439
1440 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
1441
1442         [Release 2.1.74]
1443
1444         * NEWS: Updates.
1445         * configure.ac: Bump version.
1446         * debian/changelog: Updates.
1447
1448 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
1449
1450         * hildon/hildon-gtk.h
1451         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1452         New API function to take a screenshot of a window
1453
1454         Fixes: NB#106374 (Need API to take a loading screenshot)
1455
1456 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
1457
1458         * hildon/hildon-time-selector.c
1459         (update_format_policy): prevent to use hours and minutes unitialized
1460
1461 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
1462
1463         * hildon/hildon-window.c (hildon_window_size_request):
1464         Always request the full size of the screen (minus the title bar if
1465         not in fullscreen mode).
1466
1467         Fixes: NB#107486 (HildonWindow should size itself properly)
1468
1469 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
1470
1471         * hildon/hildon-note-private.h: Add idle_handler to the private data.
1472         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1473         (on_show_cb), (sound_handling): Disconnect the idle handler for
1474         the sound when the note is finalized to avoid possible crashes.
1475
1476         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1477         in a scenario)
1478
1479 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
1480
1481         * src/hildon-animation-actor.c,
1482         * src/hildon-remote-texture.c:
1483         Added proper object cleanup to remove signal handler and object
1484         references as HildonAnimationActor and HildonRemoteTexture
1485         objects get destroyed.
1486
1487         Fixes: NB#116682 (Destroying parented animation actors when
1488         parent in unmapped leads to crash)
1489
1490 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
1491
1492         Based on a patch by Christian Dywan (christian@imendio.com)
1493
1494         * doc/hildon-sections.txt:
1495         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1496         * hildon/hildon-helper.h: New file size formatting method.
1497         * debian/changelog:
1498         * debian/control: Depend on osso-filemanager l10n package for
1499         proper localization strings.
1500
1501 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
1502
1503         * tests/Makefile.am: Include top_srcdir to make possible to build
1504         tests in a different builddir.
1505         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1506         on a different builddir.
1507
1508 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
1509
1510         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1511         (hildon_touch_selector_remove): Disconnect model's signal handler
1512         on column removal.
1513
1514         Fixes: NB#116289 (Hildon home crashes while adding task
1515         shortcuts.)
1516
1517 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
1518
1519         * hildon/hildon-button.c
1520         (hildon_button_set_title, hildon_button_set_value):
1521         Hide labels containing an empty string.
1522
1523 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1524
1525         * configure.ac: post release version bump
1526         * debian/changelog: post release version bump
1527
1528 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
1529
1530         [Release 2.1.72]
1531
1532         * NEWS: Updates.
1533         * configure.ac: Bump version.
1534         * debian/changelog: Updates.
1535
1536 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
1537
1538         * hildon/hildon-note-private.h: Removed sound_signal_handler
1539         * hildon/hildon-note.c
1540         (on_show_cb): new callback on note "show" event, this simply adds
1541         a idle, with the function sound_handling
1542         (sound_handling): removed the sound_signal_handler management
1543         (hildon_note_init): connect note "show" event to on_show_cb
1544         (hildon_note_realize): remove the connection to "expose-event"
1545
1546         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1547         device?' confirmation note)
1548
1549 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
1550
1551         * hildon/hildon-note.c
1552         (hildon_note_new_information_with_icon_name)
1553         (hildon_note_new_confirmation_with_icon_name):
1554         Terminate the list of parameters in g_object_set() calls
1555
1556         Fixes: NB#115166 (Formatting memory card is not taking place)
1557
1558 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
1559
1560         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1561         "dialog-information" role for the sound being played.
1562
1563 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
1564
1565         * hildon/hildon-app-menu.c (hildon_app_menu_init):
1566         Don't make the menu a modal window, it causes strange interactions
1567         with the pointer grab and it's not really needed.
1568
1569         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1570
1571 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1572
1573         * hildon/hildon-touch-selector.[ch]
1574         (hildon_touch_selector_optimal_size_request): function added to get a
1575         optimal size request from the touch selector, when you want a dialog to
1576         show as much of the selector
1577         * hildon/hildon-picker-dialog.c:
1578         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1579         (hildon_app_menu_class_init):
1580         New "max-height-landscape" and "max-height-portrait" style properties
1581         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1582         (hildon_picker_dialog_get_max_height): returns the maximum height using
1583         the style properties defined and checking the current portrait/landscape
1584         status
1585         (_hildon_picker_dialog_set_selector): removed the set_size_request
1586
1587         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1588
1589 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
1590
1591         * hildon/hildon-bread-crumb-trail.c:
1592         * hildon/hildon-bread-crumb.c:
1593         * hildon/hildon-seekbar.c:
1594         Add reference to replacements for these deprecated widgets.
1595
1596         Fixes: MB#4461 (Documentation: All deprecations should mention
1597         replacements)
1598
1599 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1600
1601         * examples/hildon-remote-texture-example.c
1602
1603         Change the include to the hildon-remote-texture in order to compile
1604         properly the examples on the installed libhildon1-examples package
1605
1606 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1607
1608         * tests/Makefile.am: Add check for HildonPickerButton.
1609         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1610         (START_TEST), (create_hildon_picker_button_suite): Add three simple
1611         checks for the HildonPickerButton.
1612         * tests/check_test.c (configure_tests): Add the test suite.
1613         * tests/test_suites.h: likewise.
1614
1615 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1616
1617         * hildon/hildon-touch-selector.c
1618         (+on_row_changed): Emit HildonTouchSelector:changed when the
1619         contents of a selected row change.
1620         (_create_new_column), (_hildon_touch_selector_set_model): connect
1621         to GtkTreeModel:row-changed on a newly set model.
1622
1623         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1624
1625 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
1626
1627         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1628
1629         * hildon/hildon-banner.c (hildon_banner_destroy)
1630         (hildon_banner_show_progress, hildon_banner_set_fraction):
1631         Remove the progress bar from HildonBanner and use a progress
1632         indicator instead.
1633
1634         Fixes: NB#113761 (Update progress banner to use progress
1635         indicator)
1636
1637 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
1638
1639         * hildon/hildon-banner.c:
1640         Calculate size of the banner label using the actual screen width
1641         rather than using a fixed value.
1642
1643         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1644         is truncated)
1645
1646 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
1647
1648         * hildon/hildon-pannable-area.c,
1649         (hildon_pannable_area_class_init): Fixed signals documentation
1650         typo.
1651
1652 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1653
1654         * configure.ac: post release version bump
1655         * debian/changelog: post release version bump
1656
1657 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1658
1659         [Release 2.1.70]
1660
1661         * NEWS: Updates.
1662         * configure.ac: Bump version.
1663         * debian/changelog: Updates.
1664
1665 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
1666
1667         * hildon/hildon-edit-toolbar.c
1668         (hildon_edit_toolbar_init):
1669         Don't let buttons in HildonEditToolbar receive focus.
1670
1671         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1672         typing on an HW arrows key)
1673
1674 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1675
1676         * doc/Makefile.am: Fix build.
1677
1678 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1679
1680         * doc/Makefile.am: Do not redefine content_files.
1681
1682 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
1683
1684         * src/
1685         * Makefile.am
1686         * configure.ac
1687         * doc/Makefile.am
1688         * doc/hildon.types
1689         * po/POTFILES.in:
1690         Renamed src/ to hildon/
1691
1692         * examples/*.c
1693         * debian/changelog
1694         * debian/rules:
1695         Include <hildon/hildon.h> directly in all examples.
1696
1697 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
1698
1699         * src/hildon-sort-dialog.c
1700         (hildon_sort_dialog_add_sort_key_with_sorting)
1701         (sort_key_changed)
1702         Add safety checks
1703
1704 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1705
1706         * src/Makefile.am: Move generated sources to CLEANFILES, so that
1707         make distcheck passes.
1708
1709 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1710
1711         * Makefile.am: Enable gtk-doc during distcheck.
1712
1713 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1714
1715         * Makefile.am: Do not distribute the debian/ directory.
1716
1717 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1718
1719         * doc/Makefile.am: Add the extra SGML files to content_files,
1720         so that they are distributed properly.
1721
1722 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1723
1724         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1725         to the SOURCES.
1726
1727 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1728
1729         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1730         (hildon_note_new_information_with_icon_name): Set the "icon" property
1731         to preserve soundness.
1732
1733 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1734
1735         * src/hildon-font-selection-dialog.c
1736         (hildon_font_selection_dialog_set_property): Fail when the "family"
1737         property is set to NULL.
1738
1739 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
1740
1741         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1742         safety checks.
1743
1744 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1745
1746         * src/hildon-time-selector.h:
1747         Added HildonTimeSelectorFormatPolicy
1748         * src/hildon-time-selector.c:
1749         Added PROP_TIME_FORMAT_POLICY
1750         (_check_ampm_format): renamed to check_automatic_ampm_format
1751         (update_format_policy), (update_format_dependant_columns): new functions
1752         (hildon_time_selector_class_init)
1753         (hildon_time_selector_contructor)
1754         (hildon_time_selector_init)
1755         (hildon_time_selector_get_property)
1756         (hildon_time_selector_set_property)
1757         (hildon_time_selector_get_time)
1758         (hildon_time_selector_set_time)
1759         * src/hildon-touch-selector.h: new file
1760         * src/hildon-touch-selector.c
1761         (hildon_touch_selector_emit_changed)
1762         (hildon_touch_selector_block_changed)
1763         (hildon_touch_selector_unblock_changed)
1764         Added functions to allow to block the emission of the "changed" signal
1765         * src/hildon-picker-dialog.c
1766         (hildon_picker_dialog_show): call the parent show before the custom code
1767         * examples/hildon-time-button-example.c
1768         Modified, so now you can configure the time format using the new property
1769
1770         Added a new property "time-format-policy" that allow to choose the time
1771         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1772         case it uses gconf in order to check if the time selector must use
1773         AM/PM or 24H.
1774
1775         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1776         mode)
1777
1778 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
1779
1780         * src/hildon-note.c (hildon_note_init):
1781         Label in HildonNote must be left aligned, not centered. This
1782         reverts the last commit in HildonNote.
1783
1784         Fixes: NB#112933 (text is not left aligned in confirmation dialog
1785         is connectivity dialog)
1786
1787 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1788
1789         * src/hildon-gtk.c:
1790         Minor style fixes
1791
1792         * doc/hildon-sections.txt:
1793         Added hildon_gtk_window_set_do_not_disturb()
1794
1795 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1796
1797         * src/hildon-note.c (hildon_note_init): Center label.
1798
1799         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1800         properly)
1801
1802 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
1803
1804         [Release 2.1.68]
1805
1806         * NEWS: Updates.
1807         * configure.ac: Bump version.
1808         * debian/changelog: Updates.
1809
1810 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1811
1812         * src/hildon-note-private.h: Add button-width to the private data.
1813         * src/hildon-note.c (+resize_button),
1814         (+hildon_note_orientation_update): methods to repack widgets on orientation
1815         changes.
1816         (screen_size_changed): Call above method for confirmation notes.
1817         (hildon_note_realize): Always connect to the "screen-size" changed signal.
1818         (hildon_note_rebuild): Store the original width request from buttons.
1819
1820         Fixes: NB#109635 (Confirmation notes do not support portrait)
1821
1822 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1823
1824         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1825         when it is a progress note.
1826
1827 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1828
1829         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1830         in the note, since there are no horizontally arranged contents.
1831
1832 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1833
1834         * src/hildon-gtk.c (+set_flag): new generic method to
1835         set/delay a flag setting in a window.
1836         (hildon_gtk_window_set_progress_indicator):
1837         (hildon_gtk_window_set_do_not_disturb),
1838         (hildon_gtk_window_set_portrait_flags): use set_flag() to
1839         avoid code redundance.
1840
1841 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1842
1843         Based on a patch by Alberto Garcia (agarcia@igalia.com)
1844
1845         * src/hildon-gtk.c (set_clear_window_flag),
1846         (do_set_progress_indicator), (do_set_do_not_disturb),
1847         (do_set_portrait_flags),
1848         (hildon_gtk_window_set_progress_indicator),
1849         (hildon_gtk_window_set_do_not_disturb),
1850         (hildon_gtk_window_set_portrait_flags):
1851         Allow setting dnd-flag, progress indicator, and portrait flags
1852         when the window is not realized.
1853
1854 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
1855
1856         * src/hildon-pannable-area.c,
1857         * src/hildon-pannable-area.h: Add the hildon deprecated define to
1858         the size request policy function and defines.
1859
1860 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1861
1862         * doc/hildon-sections.txt: Add the new API.
1863         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1864         method to set the portrait flags.
1865         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1866
1867         Fixes: NB#112328 (Adding helpers for setting portrait properties)
1868
1869 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1870
1871         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1872         to allow using this method with other flags.
1873         (hildon_gtk_window_set_progress_indicator): Update accordingly.
1874         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1875
1876 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1877
1878         * src/hildon-touch-selector.c
1879         (hildon_touch_selector_append_text_column):
1880         Make the cell renderer use the smallest width possible.
1881
1882         Fixes: NB#108470 (Selected items in multiple selection are either
1883         having a tick that is cut or not visible at all.)
1884
1885 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1886
1887         * src/hildon-touch-selector.c
1888         (hildon_touch_selector_append_text_column):
1889         Code cleanups
1890
1891 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
1892
1893         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1894         Use g_strdup_printf() instead of a fixed size buffer.
1895
1896 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
1897
1898         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1899         Close banners when a HildonAppMenu is popped up.
1900
1901         Fixes: NB#111027 (Title menu closed immediately if activated when
1902         "Invalid e-mail address" banner is shown)
1903
1904 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
1905
1906         [Release 2.1.66]
1907
1908         * NEWS: Updates.
1909         * configure.ac: Bump version.
1910         * debian/changelog: Updates.
1911
1912 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1913
1914         * src/hildon-banner.c (hildon_banner_realize):
1915         Mark HildonBanner as supporting portrait mode.
1916         Use GDK to set window properties insetad of direct Xlib calls.
1917
1918         Fixes: NB#111830 (HildonBanner should be marked as supporting
1919         portrait)
1920
1921 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1922
1923         * src/hildon-note.c (hildon_note_rebuild):
1924         Hide action area in information notes. Prevents text from being
1925         slightly aligned to the left.
1926
1927         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1928         properly)
1929
1930 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1931
1932         Patch by Mox Soini (ext-mox.soini@nokia.com)
1933
1934         * src/hildon-banner.c (hildon_banner_create_animation):
1935         Use stylus-sized icons in animation banner.
1936
1937         Fixes: NB#111206 (stylus sized icon for animation banner)
1938
1939 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1940
1941         * src/hildon-gtk.h
1942         * src/hildon-gtk.c
1943         (+hildon_gtk_window_set_do_not_disturb):
1944         New API to set the do-not-disturb flag.
1945
1946         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1947
1948 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1949
1950         * examples/hildon-progress-indicator-example.c: Fix example
1951
1952         * src/hildon-gtk.c (set_clear_window_flag)
1953         (hildon_gtk_window_set_progress_indicator):
1954         Create a generic function for setting flags to a window.
1955         Use GDK instead of direct Xlib calls.
1956
1957 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
1958
1959         * src/hildon-button.c (hildon_button_set_arrangement):
1960         Due to NB#88126, if one of the labels is too long it will be
1961         painted outside the button. The 'value' label is more likely to be
1962         the longest one, so we change its packing options in order to
1963         truncate it if necessary. As a side effect, the 'title' label will
1964         no longer be truncated.
1965
1966         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1967
1968 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
1969
1970         [Release 2.1.64]
1971
1972         * NEWS: Updates.
1973         * configure.ac: Bump version.
1974         * debian/changelog: Updates.
1975
1976 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
1977
1978         Deprecation of the hildon_pannable_area_set_size_request_policy
1979         API, the only policy properly supported in gtk+ nowadays is the
1980         minimum size.
1981
1982         * src/hildon-pannable-area.c,
1983         (hildon_pannable_area_size_request): Added a workaround for the
1984         size_request to avoid the problems of huge pixmaps in case someone
1985         is still using the function.
1986         * src/hildon-pannable-area.h: Deprecated the enum with the
1987         policies.
1988
1989         Fixes: NB#110244 (Problems with the
1990         hildon_pannable_area_set_size_request_policy API)
1991
1992 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
1993
1994         * src/hildon-pannable-area.c,
1995         (hildon_pannable_area_init),
1996         (hildon_pannable_area_size_request),
1997         (hildon_pannable_area_style_set),
1998         (hildon_pannable_draw_vscroll),
1999         (hildon_pannable_draw_hscroll),
2000         (hildon_pannable_area_check_scrollbars): Replaced area_width with
2001         indicator_width to clarify the use of the attribute.
2002
2003 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
2004
2005         [Release 2.1.62]
2006
2007         * NEWS: Updates.
2008         * configure.ac: Bump version.
2009         * debian/changelog: Updates.
2010
2011 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
2012
2013         * src/hildon-picker-dialog.c
2014         * src/hildon-touch-selector.c
2015         Reverting the change that tried to avoid the hardcoded height on
2016         the picker dialog, as causes problems on the hildon-touch-selector
2017         initial-hint
2018
2019         Fixes: NB#110029 (selectors not scrolling to selected value)
2020
2021 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
2022
2023         * src/hildon-touch-selector.c: Fix typos
2024
2025 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
2026
2027         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2028         Use the event coordinates instead of gdk_window_get_pointer(). Also,
2029         request more motions after using it.
2030
2031 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
2032
2033         * src/hildon-calendar.c (hildon_calendar_expose),
2034         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2035         Remove unused variables.
2036
2037 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
2038
2039         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2040         variable assignment.
2041
2042 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
2043
2044         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2045         Check the return value of gtk_tree_selection_get_selected()
2046         for safety.
2047
2048 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
2049
2050         * src/hildon-animation-actor.c
2051         * src/hildon-button.c
2052         * src/hildon-main.c
2053         * src/hildon-pannable-area.c
2054         * src/hildon-picker-button.c
2055         * src/hildon-program.c
2056         * src/hildon-remote-texture.c
2057         * src/hildon-text-view.c
2058         * src/hildon-touch-selector.c
2059         * src/hildon-window-stack.c
2060         * src/hildon-window.c:
2061         Add missing 'Since: 2.2' tags.
2062
2063         * doc/hildon-sections.txt:
2064         Add some missing symbols.
2065
2066         * doc/hildon-docs.sgml:
2067         New 'Other' section for HildonAnimationActor and
2068         HildonRemoteTexture
2069
2070 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
2071
2072         Patch by Iván Gómez (igomez@igalia.com)
2073
2074         * doc/building.sgml
2075         * doc/compiling.sgml
2076         * doc/hildon-docs.sgml
2077         * doc/hildon-sections.txt
2078         * doc/migration.sgml
2079         * doc/resources.sgml
2080         * doc/running.sgml:
2081         New chapters on using the Hildon library.
2082         Updated the general structure of the reference manual.
2083         Other minor documentation fixes.
2084
2085         * src/hildon-calendar-popup.c
2086         * src/hildon-calendar.c
2087         * src/hildon-controlbar.c
2088         * src/hildon-date-editor.c
2089         * src/hildon-dialog.c
2090         * src/hildon-hvolumebar.c
2091         * src/hildon-number-editor.c
2092         * src/hildon-range-editor.c
2093         * src/hildon-sort-dialog.c
2094         * src/hildon-time-editor.c
2095         * src/hildon-time-picker.c
2096         * src/hildon-volumebar-range.c
2097         * src/hildon-volumebar.c
2098         * src/hildon-vvolumebar.c
2099         * src/hildon-weekday-picker.c:
2100         Add deprecation notes
2101
2102         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2103         Document 'horizontal-movement' and 'vertical-movement' signals.
2104
2105 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
2106
2107         [Release 2.1.60]
2108
2109         * NEWS: Updates.
2110         * configure.ac: Bump version.
2111         * debian/changelog: Updates.
2112
2113 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
2114
2115         * src/hildon-pannable-area.c,
2116         (hildon_pannable_area_class_init): increased the minimum velocity.
2117         (hildon_pannable_area_button_release_cb): Updated the
2118         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2119         setup. Review the code to control that last event.
2120
2121         Fixes: NB#109790 (Releasing finger in pannable area easily causes
2122         unwanted scrolling)
2123
2124 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
2125
2126         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2127
2128         * src/hildon-get-password-dialog.c
2129         (hildon_get_password_set_property),
2130         (hildon_get_password_get_property), (create_contents):
2131         * src/hildon-login-dialog-private.h:
2132         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2133         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2134         (hildon_login_dialog_get_password):
2135         * src/hildon-set-password-dialog-private.h:
2136         * src/hildon-set-password-dialog.c
2137         (hildon_set_password_set_property),
2138         (hildon_set_password_get_property), (create_contents),
2139         (hildon_set_password_response_change),
2140         (hildon_set_password_response_set), (hildon_checkbox_toggled):
2141
2142         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2143         instead and look more Fremantle style.
2144
2145         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2146
2147 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
2148
2149         * doc/hildon-sections.txt
2150         * src/hildon-window-stack.h
2151         * src/hildon-window-stack.c
2152         (+hildon_window_stack_get_windows):
2153         New API to obtain the list of windows on a stack.
2154
2155 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
2156
2157         * src/hildon-app-menu.c (hildon_app_menu_popup)
2158         (hildon_app_menu_class_init, -hildon_app_menu_show):
2159         Remove hildon_app_menu_show() and move all its checks to
2160         hildon_app_menu_popup()
2161
2162 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
2163
2164         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2165         (_hildon_picker_dialog_set_selector): removed call to
2166         gtk_widget_set_size_request
2167         * src/hildon-touch-selector.c
2168         (_create_new_column): change the pannable size request policy
2169
2170         Avoid to use a hardcoded height for the hildon picker dialog. In order
2171         to get that, we needed to change the hildon pannable size request
2172         policy
2173         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2174
2175 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
2176
2177         * src/hildon-window.c (hildon_window_map): Check for vbox to be
2178         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
2179         browser crash.
2180
2181 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
2182
2183         * debian/control: Depend on osso-system-lock localization package.
2184         * src/hildon-code-dialog.c: Obtain the secu_application_title
2185         translation from osso-system-lock.
2186         * src/hildon-get-password-dialog.c (create_contents): Do not mark
2187         for translation the atk related strings, that's not necessary.
2188         * src/hildon-set-password-dialog.c (create_contents): Ditto.
2189         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2190         cancel button, it is not required.
2191
2192 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
2193
2194         * src/hildon-pannable-area.c,
2195         (hildon_pannable_area_class_init): Modified the default value of
2196         the overshooting max speed, we have reduced it.
2197
2198 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
2199
2200         * doc/hildon-sections.txt
2201         * src/hildon-window-private.h
2202         * src/hildon-window.h
2203         * src/hildon-window.c (hildon_window_class_init)
2204         (hildon_window_init, hildon_window_finalize)
2205         (hildon_window_realize, hildon_window_get_property)
2206         (hildon_window_set_property, hildon_window_update_markup)
2207         (hildon_window_get_markup, hildon_window_set_markup):
2208         New "markup" property and hildon_window_{get,set}_markup() methods.
2209
2210         * examples/hildon-stackable-window-example.c (new_window):
2211         Update example to use hildon_window_set_markup()
2212
2213         Fixes: NB#106375 (Need API to retitle a window with a title
2214         including markup)
2215
2216 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
2217
2218         * src/hildon-pannable-area.c,
2219         (hildon_pannable_area_class_init): Changed the default value of
2220         the initial_hint to TRUE.
2221         (hildon_pannable_area_initial_effect): Changed the initial effect,
2222         not the effect is just the fade-out of the scrollbars.
2223
2224         Fixes: NB#107775 (No scrollbars can be seen when several items are
2225         available in a dialog)
2226
2227 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2228
2229         * src/hildon-program.c (hildon_program_update_top_most):
2230         Fix memory leak.
2231
2232         Fixes: NB#109179 (Memory leak in Hildon program)
2233
2234 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2235
2236         * src/hildon-banner.c (-get_current_app_window):
2237         Remove unused function.
2238
2239 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
2240
2241         * src/hildon-pannable-area.c: Modified the documentation of the
2242         get adjustments functions to explain the problem of using the
2243         adjustment directly.
2244         (hildon_pannable_area_class_init): Improved the explanation about
2245         the velocity.
2246
2247 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
2248
2249         * src/hildon-app-menu-private.h
2250         * src/hildon-app-menu.c
2251         (hildon_app_menu_class_init):
2252         Bring back the 'external-border' style property
2253         (hildon_app_menu_class_init, hildon_app_menu_init)
2254         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2255         Set a fixed width-request for the menu, independent of the number
2256         of items.
2257
2258         Fixes: NB#94957 (Smoothly opened application menu)
2259
2260 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
2261
2262         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2263
2264         * src/hildon-banner.c
2265         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2266         (hildon_banner_map)
2267         Make sure that the banner is correctly placed the first time it's
2268         shown.
2269         (hildon_banner_check_position, -check_fullscreen_state):
2270         Show the banner in the same place no matter if the window is in
2271         fullscreen mode or not.
2272
2273         Fixes: NB#107386 (Odd stacking behaviour for information banners)
2274
2275 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
2276
2277         * src/hildon-touch-selector.c (_default_print_func): reorder
2278         concatenation for clarity.
2279
2280 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
2281
2282         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2283         for multicolumn selectors.
2284
2285         Fixes: NB#109099 (Memory leak in Hildon touch selector)
2286
2287 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
2288
2289         [Release 2.1.58]
2290
2291         * NEWS: Updates.
2292         * configure.ac: Bump version.
2293         * debian/changelog: Updates.
2294
2295 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
2296
2297         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2298         coding style fixes.
2299
2300 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2301
2302         * configure.ac: removed libcangerra-gtk dependency
2303         * debian/control: removed libcanberra-gtk dependency
2304         * src/Makefile.am: removed libcanberra gtk related flags
2305         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2306         context, and manage a global canberra context instead
2307
2308         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2309
2310 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
2311
2312         Patch by Daniel Borgmann (danielb@openismus.com)
2313
2314         * src/hildon-edit-toolbar.c:
2315         Adjust the left padding.
2316         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2317         Paint background of the edit toolbar.
2318
2319         Fixes: NB#107897 (Patch to make editmodetoolbar background
2320         themeable and adjust margin)
2321
2322 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
2323
2324         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2325
2326         * src/hildon-program.c (hildon_program_update_top_most):
2327         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2328
2329         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2330         change when the user tasks in/out of an application)
2331
2332 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2333
2334         * configure.ac: added libcangerra-gtk dependency
2335         * debian/control: added libcanberra-gtk dependency
2336         * src/Makefile.am: added libcanberra gtk related flags
2337         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2338         instead of use it.
2339
2340         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2341
2342 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
2343
2344         * src/hildon-program.c (hildon_program_remove_window)
2345         (hildon_program_add_window): Add checks for the window
2346         parameter. Don't decrease the window counter if the window is not
2347         registered.
2348
2349 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2350
2351         * src/hildon-pannable-area.c,
2352         (hildon_pannable_area_realize): Fixed position of the event_window
2353         in the realize method.
2354
2355 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
2356
2357         * src/hildon-app-menu-private.h
2358         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2359         (hildon_app_menu_map, hildon_app_menu_hide_idle)
2360         (hildon_app_menu_key_press, hildon_app_menu_init)
2361         (hildon_app_menu_finalize):
2362         Make sure that all idle functions are removed when the widget is
2363         destroyed.
2364
2365         Fixes: NB#107583 (Hildon app menu crashes in various applications)
2366
2367 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2368
2369         [Release 2.1.56]
2370
2371         * NEWS: Updates.
2372         * configure.ac: Bump version.
2373         * debian/changelog: Updates.
2374
2375 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2376
2377         * src/hildon-entry.c
2378         (+hildon_entry_show_placeholder),
2379         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2380         that replace hildon_entry_update_contents().
2381         (hildon_entry_set_text),
2382         (hildon_entry_set_placeholder),
2383         (hildon_entry_focus_in_event),
2384         (hildon_entry_focus_out_event): Determine when it is needed
2385         either to show or hide the placeholder and call the above methods.
2386
2387         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2388         when the placeholder text is already set)
2389
2390 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
2391
2392         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2393         simple GdkPixbufAnim using the new icons for the banner.
2394         (hildon_banner_show_animation): Use the above mentioned method to
2395         create the animation widget.
2396
2397         Fixes: NB#103564 (Make hildon animation banner use individual
2398         image files as the animation)
2399
2400 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2401
2402         * src/hildon-pannable-area.c,
2403         (hildon_pannable_leave_notify_event): Check if the child is NULL
2404         to avoid sending the leave.
2405
2406 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
2407
2408         * src/hildon-pannable-area.c,
2409         (hildon_pannable_area_class_init),
2410         (hildon_pannable_leave_notify_event): Added a handler of the
2411         leave-notify-signal to consider when no motion notify before
2412         leaving.
2413
2414         Fixes: NB#107494 (Items stay selected when clicking and moving
2415         away when inside pannable area)
2416
2417 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
2418
2419         [Release 2.1.54]
2420
2421         * NEWS: Updates.
2422         * configure.ac: Bump version.
2423         * debian/changelog: Updates.
2424
2425 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
2426
2427         Patch by Alberto Garcia (agarcia@igalia.com)
2428
2429         * src/hildon-date-button.c,
2430         (hildon_date_button_class_init),
2431         (hildon_date_button_init): Removed the construct property handling
2432         and created a default selector in the init method.
2433         * src/hildon-picker-button.c,
2434         (hildon_picker_button_class_init): Removed the construct flag of the
2435         selector property.
2436
2437 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
2438
2439         * src/hildon-main.c (hildon_init):
2440         Don't allow hildon_init() to be called more than once.
2441
2442         Fixes: NB#106607 (hildon_init should issue error message upon
2443         successive calls)
2444
2445 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
2446
2447         * examples/hildon-pannable-area-touch-list-example.c
2448         * examples/hildon-pannagle-area-touch-grid-example.c
2449         * examples/hildon-edit-toolbar-example.c
2450         * examples/hildon-touch-selector-multi-cells-example.c
2451         Removed the call to gtk_rc_parse_string, as it is not required since
2452         some time ago.
2453
2454 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
2455
2456         * src/hildon-pannable-area.c,
2457         (hildon_pannable_area_class_init): Modified the default panning
2458         threshold of the widget to 6px.
2459
2460         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2461         than the threshold value ) within the button is not sending the
2462         event to the clild)
2463
2464 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2465
2466         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2467         for the treeview in the new column. This way, the touch list will never
2468         grab the focus.
2469
2470         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2471         be selected manually for the HW keys to work)
2472
2473 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2474
2475         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2476         comparison instead of using strcmp(). Fixes a compiler warning as well.
2477
2478 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2479
2480         * doc/hildon-docs.sgml: Do not set the library version in the
2481         document title, use the releaseinfo tag for that purpose instead.
2482
2483 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2484
2485         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2486         Do not jump to the first item if the text in the entry is removed.
2487
2488 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2489
2490         [Release 2.1.52]
2491
2492         * NEWS: Updates.
2493         * configure.ac: Bump version.
2494         * debian/changelog: Updates.
2495
2496 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
2497
2498         * src/hildon-entry.c (hildon_entry_refresh_contents):
2499         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2500         Use "ReversedSecondaryTextColor" for the placeholder text.
2501
2502 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
2503
2504         * src/hildon-text-view.c: Fix compilation warning.
2505
2506 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
2507
2508         * src/hildon-button.c (hildon_button_class_init): Don't make
2509         "title" and "value" construction properties, to prevent them from
2510         overwriting labels set from derived classes.
2511
2512         * src/hildon-picker-button.c
2513         (hildon_picker_button_set_selector): Allow setting a NULL selector.
2514         (hildon_picker_button_class_init): Make touch-selector a
2515         construction property.
2516
2517         * src/hildon-date-button.c (hildon_date_button_class_init)
2518         (+hildon_date_button_constructed): Add a default date selector if
2519         none is provided.
2520
2521 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2522
2523         * src/hildon-touch-selector.c: Small documentation fixes.
2524
2525 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2526
2527         Based on a patch by Daniel Borgmann (danielb@openismus.com)
2528
2529         * src/hildon-entry.c (hildon_entry_refresh_contents),
2530         (hildon_entry_get_text), (hildon_entry_init): Do not use the
2531         widget name, set the logical color directly instead and a boolean
2532         showing_placeholder instead.
2533         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2534         use the widget name here either.
2535
2536         Fixes: NB#105678 (HildonTextView should use logical colours
2537         instead of setting widget name)
2538
2539 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2540
2541         Patch by Daniel Elster (danielk@openismus.com)
2542
2543         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2544         Add user_data parameter.
2545         (hildon_touch_selector_set_print_func_full): New function akin
2546         hildon_touch_selector_set_print_func() but with support for user
2547         data and a destroy callback.
2548         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2549         to clean up the print function user data.
2550         (hildon_touch_selector_class_init): Install dispose function.
2551         (HildonTouchSelectorPrivate::print_user_data),
2552         (HildonTouchSelectorPrivate::print_destroy_func): New private
2553         member data.
2554         (hildon_touch_selector_init): Initialize new private members.
2555         (hildon_touch_selector_get_current_text): Pass along user data
2556         to the print function.
2557         (_default_print_func): Add dummy user_data to parameter list.
2558         * hildon-date-selector.c (_custom_print_func): ditto,
2559         * hildon-time-selector.c (_custom_print_func): ditto,
2560         * hildon-touch-selector-entry.c
2561         (hildon_touch_selector_entry_print_func): ditto.
2562
2563         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2564
2565 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
2566
2567         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2568
2569 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
2570
2571         * src/hildon-pannable-area.c,
2572         (hildon_pannable_area_init),
2573         (hildon_pannable_area_button_press_cb),
2574         (hildon_pannable_area_motion_notify_cb): We have added code to
2575         handle the leave and enter events when using the motion events.
2576
2577         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2578
2579 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
2580
2581         * src/hildon-date-button.c (hildon_date_button_get_date)
2582         (hildon_date_button_set_date): Make sure that the button has a
2583         selector.
2584
2585         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2586
2587 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
2588
2589         * src/hildon-pannable-area.c,
2590         (hildon_pannable_area_class_init),
2591         (hildon_pannable_area_calculate_velocity): Modify the use of the
2592         force and adapt the value.
2593
2594 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2595
2596         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2597         (hildon_app_menu_class_init): Hide the menu if it receives a
2598         delete-event, but don't destroy it
2599
2600         Fixes: NB#104485 (Not able to address the call when application
2601         menu is opened at background)
2602
2603 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
2604
2605         * src/hildon-app-menu.c
2606         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2607         Remove the "external-border" style property, let the menu take its
2608         natural size (or the one set by the window manager)
2609         (hildon_app_menu_repack_items):
2610         Don't reshow the menu, avoid flickers.
2611
2612         Partially fixes NB#94957 (Smoothly opened application menu)
2613
2614 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
2615
2616         [Release 2.1.50]
2617
2618         * NEWS: Updates.
2619         * configure.ac: Bump version.
2620         * debian/changelog: Updates.
2621
2622 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2623
2624         * src/hildon-pannable-area.c,
2625         (hildon_pannable_area_motion_notify_cb): We control that the
2626         direction error margin is used just in case the movement is
2627         allowed in the other direction.
2628
2629         Fixes: NB#105012 (buttons inside a pannable area not getting
2630         release event when dragging/releasing)
2631
2632 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2633
2634         * src/hildon-pannable-area.c,
2635         (hildon_pannable_area_class_init),
2636         (hildon_pannable_area_get_property),
2637         (hildon_pannable_area_set_property),
2638         (hildon_pannable_area_initial_effect),
2639         (hildon_pannable_axis_scroll),
2640         (hildon_pannable_area_button_release_cb): Reviewed the
2641         overshooting effect, now it has its own max
2642         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2643         speed when bouncing.
2644
2645 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
2646
2647         [Release 2.1.48]
2648
2649         * NEWS: Updates.
2650         * configure.ac: Bump version.
2651         * debian/changelog: Updates.
2652
2653 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2654
2655         * src/hildon-pannable-area.c,
2656         (hildon_pannable_area_class_init): Changed the max speed, now
2657         users can launch the widget very fast. Reduced the default force,
2658         that way it is easier to control the launch speed.
2659
2660 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2661
2662         * src/hildon-pannable-area.c,
2663         (hildon_pannable_area_button_release_cb): Removed this check
2664         because it causes problems when the device is overloaded.
2665
2666 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2667
2668         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2669         add a current_text field to store the text entered in the
2670         touch selector entry.
2671         (_clean_current_selection): clean up the current text as well.
2672         (_save_current_selection), (_restore_current_selection):
2673         Save/restore the text in the entry if the selector is a
2674         HildonTouchSelectorEntry.
2675
2676         Fixes: NB#102541 (value entered in the touch selector entry is not
2677         shown when opened for second time)
2678
2679 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2680
2681         * doc/hildon-sections.txt:
2682         * src/hildon-touch-selector-entry.c
2683         (+hildon_touch_selector_entry_get_entry):
2684         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2685
2686         Fixes: NB#104815 (I need accessor to the entry inside
2687         HildonTouchSelectorEntry)
2688
2689 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2690
2691         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2692         (hildon_app_menu_class_init):
2693         New "filter-vertical-spacing" style property.
2694
2695 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2696
2697         * src/hildon-find-toolbar.c
2698         (hildon_find_toolbar_emit_close)
2699         (hildon_find_toolbar_emit_invalid_input)
2700         (hildon_find_toolbar_entry_activate):
2701         Use g_signal_emit() instead of g_signal_emit_by_name()
2702
2703 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2704
2705         Patch by Mox Soini (ext-mox.soini@nokia.com)
2706
2707         * tests/TEST-CASES.txt
2708         * tests/check-hildon-banner.c
2709         * tests/check-hildon-note.c
2710         * src/hildon-banner.c
2711         * src/hildon-code-dialog.c
2712         * src/hildon-date-editor.c (real_set_calendar_icon_state)
2713         * src/hildon-time-editor.c
2714         * examples/hildon-lookup-example.c (main):
2715         Replace obsolete icon names with new ones.
2716
2717         * src/hildon-find-toolbar-private.h:
2718         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2719         (-hildon_find_toolbar_emit_search):
2720         Remove find button and change icon of close button.
2721
2722         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2723
2724 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2725
2726         * src/hildon-time-button.c (hildon_time_button_new_step):
2727         Use the "touch-selector" property to set the selector directly
2728         when creating the object.
2729
2730 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
2731
2732         Added a new example application that allows tuning the pannable
2733         area and replaced defines with properties in order to simplify the
2734         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2735         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2736         PROP_DIRECTION_ERROR_MARGIN.
2737
2738         * examples/hildon-pannable-area-tuning-example.c: New example
2739         application.
2740         * src/hildon-pannable-area.c,
2741         (hildon_pannable_area_class_init),
2742         (hildon_pannable_area_init),
2743         (hildon_pannable_area_get_property),
2744         (hildon_pannable_area_set_property),
2745         (hildon_pannable_area_launch_fade_timeout),
2746         (hildon_pannable_area_adjust_value_changed),
2747         (hildon_pannable_axis_scroll),
2748         (hildon_pannable_area_motion_notify_cb),
2749         (hildon_pannable_area_scroll_cb),
2750         (hildon_pannable_area_button_release_cb): We have converted some
2751         of the defines that control the widget to properties to simplify
2752         the tuning.
2753
2754 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2755
2756         * src/hildon-app-menu.c (hildon_app_menu_map)
2757         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2758         so it's closed if a new window appears.
2759
2760         Fixes: NB#104485 (Not able to address the call when application
2761         menu is opened at background)
2762
2763 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2764
2765         * src/hildon-color-button.c (hildon_color_button_get_property):Add
2766         missing 'break' statement in in 'case' construct to avoid
2767         incorrect warnings.
2768
2769 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2770
2771         * src/hildon-touch-selector-entry.c
2772         (hildon_touch_selector_entry_get_property),
2773         (hildon_touch_selector_entry_set_property): Add missing 'break'
2774         statements in in 'case' constructs to avoid incorrect warnings.
2775
2776 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2777
2778         * src/hildon-time-editor.c
2779         (hildon_time_editor_get_time_separators): Do not crash if
2780         the first label is NULL.
2781
2782 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2783
2784         * src/hildon-date-selector.c (_month_days): Check for month to be
2785         strictly less than 12, since otherwise we may overrun the array.
2786
2787 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2788
2789         * src/hildon-date-button.c (+hildon_date_button_new_full)
2790         (hildon_date_button_new, hildon_date_button_new_with_year_range)
2791         (hildon_date_button_init): Set the date selector using a
2792         construction property, to make it happen after HildonButton's
2793         "value" property is set.
2794
2795         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2796         current date by default)
2797
2798 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2799
2800         * doc/hildon-sections.txt
2801         * src/hildon-program.c
2802         * src/hildon-stackable-window.c
2803         * src/hildon-window.c:
2804         Documentation updates
2805
2806 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2807
2808         * src/hildon-window-stack.c (hildon_window_stack_get_default)
2809         (hildon_window_stack_new, +hildon_window_stack_set_property)
2810         (+hildon_window_stack_get_property)
2811         (hildon_window_stack_class_init)
2812         (+hildon_window_stack_set_window_group)
2813         (+hildon_window_stack_get_window_group):
2814         Make the window group a construction property.
2815
2816 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2817
2818         * doc/hildon-sections.txt
2819         * src/hildon-stackable-window-private.h
2820         * src/hildon-stackable-window.h
2821         * src/hildon-stackable-window.c
2822         (-hildon_stackable_window_set_app_menu)
2823         (-hildon_stackable_window_get_app_menu)
2824         (-hildon_stackable_window_toggle_menu)
2825         (-hildon_stackable_window_finalize)
2826         (hildon_stackable_window_class_init)
2827         (hildon_stackable_window_init)
2828         * src/hildon-window-private.h
2829         * src/hildon-window.h
2830         * src/hildon-window.c (hildon_window_init)
2831         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2832         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2833         (hildon_window_get_main_menu, hildon_window_set_main_menu)
2834         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2835         Moved all HildonAppMenu code to HildonWindow. The menu does not
2836         require a HildonStackableWindow anymore.
2837
2838         * src/hildon-app-menu.c
2839         * src/hildon-program.c
2840         * examples/hildon-app-menu-example.c (main):
2841         Update examples and documentation to reflect HildonAppMenu
2842         changes.
2843
2844 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2845
2846         * src/hildon-remote-texture.c
2847         * src/hildon-animation-actor.c:
2848         Don't include unused private headers.
2849
2850 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2851
2852         * src/hildon-program-private.h
2853         * src/hildon-program.c
2854         (hildon_program_set_common_menu)
2855         (hildon_program_get_common_menu)
2856         (hildon_program_set_common_app_menu)
2857         (hildon_program_get_common_app_menu):
2858         Change common menu pointers from GtkWidget* to GtkMenu* and
2859         HildonAppMenu* to avoid unnecessary casts.
2860
2861 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
2862
2863         * src/hildon-window.c (hildon_window_set_main_menu):
2864         Removed incorrect 'Since:' tag
2865
2866 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
2867
2868         * src/hildon-pannable-area.c,
2869         (hildon_pannable_area_calculate_velocity): We use now the
2870         RATIO_TOLERANCE here to check the distance, fixed typo in the
2871         algorithm.
2872         (hildon_pannable_area_motion_notify_cb): We have to set the type
2873         and time even if we are not sending the motion.
2874
2875 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2876
2877         * doc/hildon-sections.txt
2878         * src/hildon-app-menu.h
2879         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2880         (+hildon_app_menu_get_filters): New methods to get the contents of
2881         a HildonAppMenu.
2882
2883         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2884         children)
2885
2886 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2887
2888         * src/hildon-app-menu.c (hildon_app_menu_popup):
2889         Add "Since" tag.
2890
2891 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2892
2893         * src/hildon-window.h
2894         * src/hildon-window.c (+hildon_window_get_main_menu)
2895         (hildon_window_get_menu): Created hildon_window_get_main_menu()
2896         and deprecated hildon_window_get_menu().
2897
2898         * src/hildon-stackable-window.h
2899         * src/hildon-stackable-window.c
2900         (+hildon_stackable_window_set_app_menu)
2901         (+hildon_stackable_window_get_app_menu)
2902         (hildon_stackable_window_set_main_menu): Created
2903         hildon_stackable_window_{get,set}_app_menu() and deprecated
2904         hildon_stackable_window_set_main_menu().
2905
2906         * doc/hildon-sections.txt
2907         * examples/hildon-app-menu-example.c (main)
2908         * src/hildon-app-menu.c
2909         * src/hildon-program.c:
2910         Updated examples and documentation.
2911
2912         Fixes: NB#103758 (No way to obtain a menu from a
2913         HildonStackableWindow)
2914
2915 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2916
2917         [Release 2.1.46]
2918
2919         * NEWS: Updates.
2920         * configure.ac: Bump version.
2921         * debian/changelog: Updates.
2922
2923 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2924
2925         * examples/hildon-remote-texture-example.c: Include
2926         hildon-remote-texture.h explicitely.
2927         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2928         applications not defining _XOPEN_SOURCE which don't require this header.
2929
2930 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2931
2932         * doc/hildon-sections.txt
2933         * src/hildon-app-menu.h
2934         * src/hildon-app-menu.c (+hildon_app_menu_popup):
2935         New function to pop up a HildonAppMenu
2936
2937         * src/hildon-stackable-window.c
2938         (hildon_stackable_window_toggle_menu):
2939         Use hildon_app_menu_popup() to show the menu.
2940
2941 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2942
2943         * src/hildon-app-menu.c (hildon_app_menu_show)
2944         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2945         menu if there's another window between it and its parent window.
2946
2947         Fixes: NB#100468 (Application menu window is launched even when a
2948         new secondary-window/dialog is pending to be shown/realized)
2949
2950 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2951
2952         * src/hildon-window-stack.c (hildon_window_stack_push)
2953         (hildon_window_stack_pop_and_push):
2954         Don't forget to push/pop the first window.
2955         Reverse the window list before calling _push_list()
2956
2957 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2958
2959         * src/hildon-picker-button.h
2960         * src/hildon-picker-button.c (hildon_picker_button_class_init):
2961         Remove "value_changed" slot to avoid ABI breakage
2962
2963 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2964
2965         * src/hildon-pannable-area.c,
2966         (hildon_pannable_area_realize),
2967         (hildon_pannable_area_unrealize),
2968         (hildon_pannable_draw_vscroll),
2969         (hildon_pannable_draw_hscroll): Changed the method to handle the
2970         GC used to draw the transparent scrollbar, this way we avoid
2971         creating the GC all the time when drawing the scrollbars.
2972
2973 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2974
2975         * src/hildon-pannable-area.c,
2976         (hildon_pannable_area_init),
2977         (hildon_pannable_area_remove): Removed some unnecessary casts.
2978         (hildon_pannable_area_dispose): Disconnected some signals before
2979         releasing the adjustments.
2980
2981 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
2982
2983         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2984         Make sure that all widgets contained in the toolbar are shown.
2985
2986 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
2987
2988         * doc/hildon-sections.txt
2989         * src/hildon-picker-button.h
2990         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2991         (_selection_changed, hildon_picker_button_on_dialog_response)
2992         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2993         New hildon_picker_button_value_changed() method.
2994
2995         * src/Makefile.am
2996         * src/hildon-picker-button-private.h
2997         * src/hildon-picker-button.c (hildon_picker_button_init)
2998         (+hildon_picker_button_disable_value_changed): Add protected
2999         function for disabling the "value-changed" signal.
3000
3001         * src/hildon-date-button.c (hildon_date_button_set_date):
3002         Don't emit "value-changed" for each one of the three columns.
3003
3004         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3005         before actual change of values)
3006
3007 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
3008
3009         * src/hildon-pannable-area.c,
3010         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3011         for the treeview overshooting.
3012
3013 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
3014
3015         * src/hildon-banner.c (+hildon_banner_bind_style):
3016         Renamed from hildon_banner_bind_label_style(), now naming the
3017         banner itself as well.
3018         (hildon_banner_show_information),
3019         (hildon_banner_show_information_with_markup),
3020         (hildon_banner_show_animation), (hildon_banner_show_progress):
3021         Name the widgets and labels, based on their type.
3022
3023         See NB#98597 (Hildon Note and Hildon Banner should use themeable
3024         background image)
3025
3026 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
3027
3028         * src/hildon-note.c (hildon_note_set_property): call
3029         hildon_note_rename() on HildonNote:note-type set.
3030         (hildon_note_rename): Name the note and its label, based on the
3031         HildonNote:note-type property.
3032
3033         See NB#98597 (Hildon Note and Hildon Banner should use themeable
3034         background image)
3035
3036 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
3037
3038         * src/hildon-pannable-area.c,
3039         (hildon_pannable_area_class_init),
3040         (hildon_pannable_area_motion_notify_cb): Reviewed the default
3041         panning parameters, increased SPS and deceleration factor. Added
3042         also a margin to control fake directions.
3043
3044 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
3045
3046         Patch by Sven Herzberg (sven@imendio.com)
3047
3048         * configure.ac: Add missing AM_PROG_CC_C_0
3049         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3050
3051         See NB#101420 (Update unit tests and fix make check)
3052
3053 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
3054
3055         This patch was applied before but reverted because it caused
3056         problems, we have changed the main condition and tested the
3057         regressions we detected before and they work ok. We have done a
3058         complete review of the topmost algorithm in order to get a more
3059         general solution.
3060
3061         * src/hildon-pannable-area.c,
3062         (hildon_pannable_area_get_topmost): Added a new parameter to
3063         filter the the windows that do not include those events.
3064         (hildon_pannable_area_button_press_cb),
3065         (hildon_pannable_area_button_release_cb),
3066         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3067         topmost function, we have added the new parameter.
3068
3069         Fixes: NB#97458 (Pannable area prevents propagation of button
3070         press events)
3071
3072 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
3073
3074         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3075         if all columns in the selector have an item selected.
3076         (_on_dialog_response): Stop "response" signal emission if there is
3077         any selector column without selected items.
3078
3079         Fixes: NB#101889 (Picker dialog should not close when nothing is
3080         selected in multiple selection list)
3081
3082 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
3083
3084         * src/hildon-font-selection-dialog.c
3085         (hildon_font_selection_dialog_class_init),
3086         (hildon_font_selection_dialog_init): Remove the preview
3087         button and dialog, since previewing with default theming is likely
3088         to be overcomplicated. The :preview property has now no effect.
3089         Update documentation blurbs to inform about this.
3090
3091         Fixes: NB#92297 (Preview content is not clearly visible for
3092         default colour text)
3093
3094 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
3095
3096         Reviewed the geometry that handles the children size and
3097         scrollbar, now it tries a size and reviews the results depending
3098         on the scrollbars visibility.
3099
3100         * src/hildon-pannable-area.c,
3101         (hildon_pannable_area_realize): Fixed a typo.
3102         (hildon_pannable_area_child_allocate_calculate): Added this
3103         function to calculate the child allocation.
3104         (hildon_pannable_area_size_allocate): Reviewed the allocation
3105         code.
3106         (hildon_pannable_area_check_scrollbars),
3107         (hildon_pannable_area_refresh): Refactored refresh function, this
3108         way we can call the code handling the scrollbars without causing a
3109         size_request, it is interesting in the allocate.
3110         (hildon_pannable_area_init): Replace the callbacks of the
3111         value_changed and changed signals to propertly deal with the
3112         geometry.
3113         (hildon_pannable_area_grab_notify),
3114         (hildon_pannable_area_initial_effect),
3115         (hildon_pannable_area_launch_fade_timeout),
3116         (hildon_pannable_area_adjust_changed),
3117         (hildon_pannable_area_adjust_value_changed),
3118         (hildon_pannable_area_redraw),
3119         (hildon_pannable_area_button_press_cb),
3120         (hildon_pannable_area_button_release_cb),
3121         (hildon_pannable_area_scroll_cb),
3122         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3123         code and use the new functions adjust_changed and
3124         adjust_value_changed.
3125
3126         Fixes: NB#101603 (Focus is not even for the text entry boxes in
3127         Contact editor dialog)
3128
3129 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
3130
3131         [Release 2.1.44]
3132
3133         * NEWS: Updates.
3134         * configure.ac: Bump version.
3135         * debian/changelog: Updates.
3136
3137 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
3138
3139         * src/hildon-pannable-area.c,
3140         (hildon_pannable_area_get_topmost),
3141         (hildon_pannable_area_button_press_cb),
3142         (hildon_pannable_area_button_release_cb),
3143         (hildon_pannable_get_child_widget_at): Reverted the patch for the
3144         topmost function adding the event mask. We have to try a
3145         differente approach because it is still causing problems (NB#9745,
3146         reopened).
3147
3148 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
3149
3150         * src/hildon-banner.c:
3151         Update the maximum width of timed banners.
3152         (force_to_wrap_truncated): Enforce the maximum text width if the
3153         label is wrapped.
3154
3155         Fixes: NB#102413 (The text margins (wrapping) in information
3156         banner should be HILDON_MARGIN_TRIPLE)
3157
3158 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
3159
3160         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3161
3162         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3163         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3164         bound when calculating the scroll indicator position.
3165
3166         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3167         treat ->lower correctly)
3168
3169 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
3170
3171         * src/hildon-caption.c (hildon_caption_class_init): Remove the
3172         expose event handling, since it is not necessary to draw the focus
3173         anymore.
3174
3175         Fixes: NB#102467 (Do not show highlight on the text in
3176         HildonCaption)
3177
3178 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3179
3180         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3181         full height of the toolbar for the button and the label.
3182
3183 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3184
3185         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3186         padding before the label and after the button.
3187
3188 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3189
3190         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3191
3192         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3193         Add a GtkVSeparator between the button and the back arrow.
3194         Let the button have automatic size.
3195         Set a name to the widget for theming handling.
3196
3197         Fixes: NB#101793 (Make edit toolbar the same height as window
3198         title bar (use title area theming))
3199
3200 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3201
3202         * src/hildon-helper.c (attach_new_color_element): Fix memory
3203         leak.
3204
3205         Fixes: NB#102262 (memory leak in hildon_button_set_style())
3206
3207 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3208
3209         * examples/hildon-button-example.c (common_buttons_window): Don't
3210         leak size groups.
3211
3212 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3213
3214         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3215         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3216
3217 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
3218
3219         * src/hildon-gtk.c: Check that the window is realized.
3220
3221         Fixes: NB#102225 (Crash setting the progress indicator to a non
3222         visible window)
3223
3224 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
3225
3226         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3227         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3228         instead of modifying the one in the widget style.
3229
3230         Fixes: NB#101043 (Second row of all the command button are
3231         displayed in transparent mode.)
3232
3233 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
3234
3235         * src/hildon-date-button.c
3236         * src/hildon-time-button.c: Add gettext macros
3237
3238 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
3239
3240         * src/hildon-date-button.c (hildon_date_button_new):
3241         * src/hildon-time-button.c (hildon_time_button_new_step):
3242         Use new logical strings to set the button default title.
3243
3244         Fixes: NB#99915 (Date and Time options are not localised in Date
3245         and Time setttings)
3246
3247 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3248
3249         * src/hildon-pannable-area.c
3250         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3251         the PANNING_THRESHOLD.
3252
3253 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3254
3255         * src/hildon-pannable-area.c,
3256         (hildon_pannable_area_class_init): Increased the maximum speed.
3257         (hildon_pannable_area_get_property),
3258         (hildon_pannable_area_set_property),
3259         (hildon_pannable_area_timeout): Added a new low friction mode, it
3260         allows the user avoid friction when launching the widget fast
3261         enough. It is interesting to traverse long lists.
3262
3263 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
3264
3265         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3266         (+hildon_stackable_window_delete_event): Ignore delete events if
3267         the window is not the topmost one.
3268
3269         Fixes: NB#101698 (Back button long press and delete-event handling)
3270
3271 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
3272
3273         * src/hildon-pannable-area.c,
3274         (hildon_pannable_area_motion_notify_cb): Removed the use of the
3275         gtk-dnd-drag-threshold, it was too big. We have defined our own
3276         dnd define and set a smaller value: PANNIG_THRESHOLD.
3277
3278 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
3279
3280         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3281         user-defined icons, use always the default one.
3282
3283         Fixes: NB#101916 (Do not allow custom icons on animation banner)
3284
3285 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
3286
3287         This patch was applied before but reverted because it caused
3288         problems, we have changed the main condition and tested the
3289         regressions we detected before and they work ok.
3290
3291         * src/hildon-pannable-area.c,
3292         (hildon_pannable_area_get_topmost): Added a new parameter to
3293         filter the the windows that do not include those events. Added
3294         also a condition when finding the window to filter windows that do
3295         not ask for those events.
3296         (hildon_pannable_area_button_press_cb),
3297         (hildon_pannable_area_button_release_cb),
3298         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3299         topmost function, we have added the new parameter.
3300
3301         Fixes: NB#97458 (Pannable area prevents propagation of button
3302         press events)
3303
3304 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3305
3306         * tests/check-hildon-color-button.c (START_TEST): do not leak
3307         ret_color.
3308
3309 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3310
3311         * src/hildon-font-selection-dialog.c
3312         (hildon_font_selection_dialog_get_preview_text): Return NULL
3313         instead of FALSE on the g_return_val_if_fail().
3314
3315 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3316
3317         * src/hildon-time-selector.c (hildon_time_selector_set_time):
3318         * src/hildon-date-selector.c
3319         (hildon_date_selector_select_current_date):
3320         Do not compare unsigned integers to be greater than or equal 0,
3321         because it's always TRUE.
3322
3323 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3324
3325         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3326         (hildon_date_selector_constructor): Do not select the current
3327         date until we are handle the "changed" signal, to avoid having bogus
3328         elements in the days model.
3329
3330 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3331
3332         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3333         for num_days, since _month_days() can return a negative value.
3334
3335 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
3336
3337         * src/hildon-caption.c (hildon_caption_size_allocate):
3338         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3339         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3340
3341         Initialize allocation variables to 0, to avoid eventually using
3342         unitialized variables.
3343
3344 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3345
3346         * src/hildon-bread-crumb-trail.c
3347         (hildon_bread_crumb_trail_size_allocate):
3348         * src/hildon-calendar.c (hildon_calendar_set_background):
3349         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3350         * src/hildon-range-editor.c (hildon_range_editor_get_range):
3351         * src/hildon-seekbar.c (hildon_seekbar_init):
3352         * src/hildon-time-editor.c (hildon_time_editor_get_time):
3353         * src/hildon-time-selector.c (hildon_time_selector_finalize):
3354         * src/hildon-touch-selector-entry.c
3355         (hildon_touch_selector_get_text_from_model):
3356         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3357         * src/hildon-window.c (hildon_window_finalize):
3358
3359         Remove many unused variables.
3360
3361 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3362
3363         * src/hildon-seekbar.c: (hildon_seekbar_init),
3364         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3365
3366         Remove unnecessary g_assert() calls.
3367
3368 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
3369
3370         * src/hildon-caption.c: (hildon_caption_expose),
3371         (hildon_caption_set_property), (hildon_caption_init),
3372         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3373         (hildon_caption_size_request), (hildon_caption_size_allocate),
3374         (hildon_caption_forall), (hildon_caption_set_separator),
3375         (hildon_caption_activate), (hildon_caption_set_child_expand),
3376         (hildon_caption_set_label_text),
3377         (hildon_caption_get_label_alignment):
3378
3379         Remove unnecessary g_assert() calls.
3380
3381 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
3382
3383         * src/hildon-banner.c
3384         (hildon_banner_map, hildon_banner_init): Make banner temporary
3385         before mapping it to avoid closing other temporary windows, but
3386         make it non-temporary afterwards to avoid being closed by other
3387         non-temporary windows.
3388         (-hildon_banner_client_event, hildon_banner_init):
3389         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3390
3391         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3392         opened)
3393
3394 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
3395
3396         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3397         deprecation guard.
3398
3399 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
3400
3401         * src/hildon-remote-texture.c
3402         * src/hildon-remote-texture.h
3403         * src/hildon-remote-texture-private.h
3404         * examples/hildon-remote-texture-example.c:
3405         Updates/fixes to remote-texture and its example.
3406
3407 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
3408
3409         Patch by Mox Soini (ext-mox.soini@nokia.com)
3410
3411         * src/hildon-code-dialog.c: Update logical id.
3412         * src/hildon-set-password-dialog.c: Update logical id.
3413
3414         Fixes: NB#100646 (Logical strings is shown for ok in set
3415         password,Password needed dialogs)
3416
3417 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
3418
3419         * src/hildon.h
3420         * src/hildon-remote-texture.c
3421         * src/hildon-remote-texture.h
3422         * src/hildon-remote-texture-private.h
3423         * src/Makefile.am
3424         Added remote texture widget (for Clutter shared memory textures)
3425
3426         * examples/hildon-remote-texture-example.c
3427         * examples/Makefile.am
3428         Added example file for remote texture usage
3429
3430 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
3431
3432         * configure.ac: post release version bump.
3433         * debian/changelog: version bump.
3434
3435 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
3436
3437         [Release 2.1.42]
3438
3439         * NEWS: Updates.
3440         * configure.ac: Bump version.
3441         * debian/changelog: Updates.
3442
3443 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
3444
3445         * src/hildon-date-selector.c (hildon_date_selector_init)
3446         (hildon_date_selector_constructor): Don't connect to the "changed"
3447         signal until the selector is completely constructed.
3448
3449 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3450
3451         * src/hildon-touch-selector.c: (_create_new_column),
3452         (hildon_touch_selector_append_column),
3453         (hildon_touch_selector_set_column_selection_mode),
3454         (hildon_touch_selector_set_active),
3455         (hildon_touch_selector_select_iter):
3456         Emit the HildonTouchSelector::changed signal every time selection
3457         is changed in any of the methods above.  This behavior was already
3458         documented but not fully functional.
3459
3460         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3461         selection is programmatically changed)
3462
3463 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3464
3465         * doc/hildon-sections.txt: Remove obsolete icon
3466         sizes from here as well.
3467
3468 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
3469
3470         * examples/hildon-stackable-window-example.c (add_window): Remove
3471         unnecessary return.
3472
3473 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
3474
3475         * src/hildon-app-menu.c
3476         (hildon_app_menu_show): Check whether the parent window of a menu
3477         is topmost before popping it up.
3478
3479         Fixes: NB#100468 (Application menu window is launched even when a
3480         new secondary-window/dialog is pending to be shown/realized.)
3481
3482 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3483
3484         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3485         icon sizes.
3486
3487 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3488
3489         Patch by Mox Soini (ext-mox.soini@nokia.com)
3490
3491         * src/hildon-banner.c: (hildon_banner_show_animation):
3492         use stylus size instead of obsolete note size.
3493         * src/hildon-defines.h: Update icon sizes.
3494
3495 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
3496
3497         * src/hildon-touch-selector-entry.c:
3498         (hildon_touch_selector_entry_init): Disable unsupported
3499         input modes.
3500         (hildon_touch_selector_entry_get_text_column): Emit a warning
3501         if an unsupported input modes is used and explicitile state
3502         these modes in the documentation.
3503
3504         Fixes: NB#99802 (Hildon touch selector entry not working properly
3505         for some of the input modes)
3506
3507 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
3508
3509         * src/hildon-pannable-area.c,
3510         (hildon_pannable_area_init): Added the changed signal handlers of
3511         the adjustments.
3512
3513         Fixes: NB#100320 (HildonPannableArea does not listen to
3514         GtkAdjustment "change" signals)
3515
3516 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3517
3518         * doc/hildon-sections.txt
3519         * src/hildon-window-private.h
3520         * src/hildon-window.h
3521         * src/hildon-window.c (hildon_window_init)
3522         (hildon_window_realize, hildon_window_unrealize)
3523         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3524         (hildon_window_size_request, hildon_window_size_allocate)
3525         (hildon_window_forall, hildon_window_show_all)
3526         (hildon_window_destroy, +paint_edit_toolbar)
3527         (+hildon_window_set_edit_toolbar):
3528         New hildon_window_set_edit_toolbar() method, to add a
3529         HildonEditToolbar to a window without having to pack it manually.
3530
3531         Reorganize hildon_window_size_allocate()
3532
3533         * src/hildon-edit-toolbar.c: Update documentation.
3534
3535         * examples/hildon-edit-toolbar-example.c (edit_window): Update
3536         example to use the new API.
3537
3538         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3539
3540 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3541
3542         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3543         Remove from stack before calling parent's hide.
3544
3545 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
3546
3547         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3548         window is removed from the middle of the stack, update the
3549         transiency of the previous one.
3550
3551         Fixes: NB#100487 (HildonStackableWindow transiency becomes
3552         incoherent)
3553
3554 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3555
3556         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3557         block/unblock the signal handler if it's not actually being used.
3558         Fixes some critical warnings.
3559
3560 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
3561
3562         Based on a patch by Iván Gómez (igomez@igalia.com)
3563
3564         * src/hildon-banner.c
3565         * src/hildon-gtk.c
3566         * src/hildon-main.c
3567         * src/hildon-note.c
3568         * src/hildon-pannable-area.c
3569         * src/hildon-picker-dialog.c
3570         * src/hildon-wizard-dialog.h
3571         * src/hildon-wizard-dialog.c: Documentation updates.
3572
3573         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3574         gtk_dialog_add_button() instead of hildon_dialog_add_button().
3575
3576 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3577
3578         * configure.ac: post release version bump.
3579         * debian/changelog: version bump.
3580
3581 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
3582
3583         [Release 2.1.40]
3584
3585         * NEWS: Updates.
3586         * configure.ac: Bump version.
3587         * debian/changelog: Updates.
3588
3589 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3590
3591         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3592         a stock icon nor change the relief of the back arrow.
3593
3594         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3595         graphics from theme)
3596
3597 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
3598
3599         * src/hildon-button.c (hildon_button_set_alignment): Use
3600         priv->alignment if the button has no child yet.
3601
3602 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
3603
3604         * src/hildon-button.c: (hildon_button_init): Set the
3605         button style during initialization to give it the proper
3606         label color.
3607
3608         Fixes: NB#99713 (HildonButton value label color is wrong)
3609
3610 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3611
3612         * src/hildon-touch-selector.c: Document
3613         hildon_touch_selector_center_on_selected()
3614
3615 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
3616
3617         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3618         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3619         all menu items, but not the menu itself.
3620         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3621         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3622         items after adding them to the menu so keyboard accelerators work.
3623         (hildon_app_menu_show): Don't show the menu if it contains items
3624         but none of them are visible.
3625
3626         * examples/hildon-app-menu-example.c (create_menu): Use
3627         gtk_widget_show_all() to show all menu items.
3628
3629 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3630
3631         * src/hildon-picker-dialog.c:
3632         (-_update_title_on_selector_changed_cb),
3633         (-_dialog_update_title): Removed.
3634         (_select_on_selector_changed_cb), (_on_dialog_response),
3635         (on_selector_columns_changed): Do not update the dialog title.
3636         (setup_interaction_mode): Do not connect to
3637         HildonTouchSelector::changed signal if there's a "done" button, as
3638         the dialog title doesn't need to be updated.
3639
3640         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3641         contents in title)
3642
3643 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
3644
3645         Patch by Kristian Rietveld (kris@imendio.com)
3646
3647         * src/hildon-touch-selector.c: (_create_new_column): Use new
3648         GtkTreeView::hildon-row-tapped signal to react to user interactions
3649         instead of ::changed.
3650
3651         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3652         with some dynamic tree model)
3653
3654 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
3655
3656         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3657         (+screen_size_changed, +label_size_request)
3658         (hildon_note_class_init): Make the Hildon information note have a
3659         minimum height, and make its text hvae a maximum width.
3660
3661         Fixes: NB#98614 (Hildon information note (background) should have
3662         minimum height and maximum text width)
3663
3664 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
3665
3666         * src/hildon-banner.h
3667         * src/hildon-banner.c (hildon_banner_show_information)
3668         (hildon_banner_show_informationf)
3669         (hildon_banner_show_information_with_markup): Update documentation
3670         to reflect that the icon_name parameter is not used anymore.
3671         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3672         Remove all code from these functions and mark them as deprecated.
3673         (hildon_banner_show_progress): Mark as deprecated.
3674
3675         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3676
3677 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
3678
3679         * src/hildon-pannable-area.c,
3680         (hildon_pannable_area_class_init),
3681         (tranparency_color),
3682         (hildon_pannable_draw_vscroll),
3683         (hildon_pannable_draw_hscroll),
3684         (hildon_pannable_area_expose_event): Added a new way to render the
3685         scrollbars of the pannable area avoiding using cairo at all. This
3686         way we improve the performance of the pannable area rendering. The
3687         cairo rendering procedure is still in the code, we can control
3688         which one to use changing the value of the define
3689         USE_CAIRO_SCROLLBARS.
3690
3691 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3692
3693         * configure.ac: post release version bump.
3694         * debian/changelog: version bump.
3695
3696 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3697
3698         [Release 2.1.38]
3699
3700         * NEWS: Updates.
3701         * configure.ac: Bump version.
3702         * debian/changelog: Updates.
3703
3704 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3705
3706         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3707         banners instead of destroying them when they receive a button
3708         press.
3709
3710 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3711
3712         Reverted commit 34028, it was causing regressions, probably the
3713         topmost condition is not correct, we have to check it in more
3714         detail. We have reponed the bug: NB#97458 (Pannable area prevents
3715         propagation of button press events)
3716
3717 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3718
3719         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3720         that the selection is not empty before attempting to retrieve the
3721         current ampm selection.
3722
3723 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3724
3725         * src/hildon-picker-button.c:
3726         (hildon_picker_button_on_dialog_response): Directly update the
3727         button contents when required instead of calling _selection_changed.
3728
3729 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3730
3731         * src/hildon-program.c (hildon_program_update_top_most): Update
3732         'is-topmost' property also when wm_hints is not set.
3733
3734         Fixes: NB#98383 (is-topmost signal is not emitted when task
3735         switcher is clicked.)
3736
3737 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3738
3739         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3740
3741         * src/Makefile.am,
3742         * src/hildon.h,
3743         * src/hildon-animation-actor.c,
3744         * src/hildon-animation-actor.h: Added the animation actor class,
3745         this widget represents an animation actor for WM-assisted
3746         animation effects in the Hildon framework.
3747
3748 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3749
3750         * src/hildon-window-stack-private.h
3751         * src/hildon-window-stack.c
3752         * src/hildon-stackable-window.c (hildon_stackable_window_show):
3753         Avoid calling gtk_widget_show() again indirectly from
3754         hildon_stackable_window_show()
3755
3756 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3757
3758         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3759         unused variable.
3760
3761 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3762
3763         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3764         (hildon_time_selector_init): Move the construction of the hours and
3765         ampm columns to the constructor to preserve the order the columns
3766         are appended.
3767
3768 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3769
3770         * src/hildon-picker-dialog.c:
3771         (hildon_picker_dialog_class_init): Connect a realize method.
3772         (+hildon_picker_dialog_realize): Setup the interaction mode here
3773         and not before.
3774         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3775         yet, do it during the realize instead.
3776         (_on_dialog_response):
3777         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3778         if the widget is not realized, to avoid the dialog response before it
3779         is even shown.
3780
3781         Avoid premature responses in the HildonPickerDialog that can cause it
3782         to be hidden before it's even shown.
3783
3784 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3785
3786         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3787         (on_selector_columns_changed), (requires_done_button),
3788         (+prepare_action_area), (setup_interaction_mode),
3789         (_hildon_picker_dialog_set_selector):
3790
3791         Split the interaction mode setup into preparation of the
3792         action area (prepare_action_area()) and the connection of
3793         the signals in setup_interaction_mode() and update the code to
3794         reflect this.
3795
3796 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3797
3798         * src/hildon-pannable-area.c,
3799         (hildon_pannable_area_class_init): Reduced the amount of scrolls
3800         per second to 15, we will check if this is ok regarding
3801         smoothness.
3802
3803 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3804
3805         * src/hildon-pannable-area.c,
3806         (hildon_pannable_axis_scroll): Avoid resize if we already have
3807         reached overshoot_max.
3808
3809 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3810
3811         * src/hildon-pannable-area.c,
3812         (hildon_pannable_area_init),
3813         (hildon_pannable_area_realize),
3814         (hildon_pannable_area_size_allocate),
3815         (hildon_pannable_area_map),
3816         (hildon_pannable_area_unmap),
3817         (hildon_pannable_draw_vscroll),
3818         (hildon_pannable_draw_hscroll),
3819         (hildon_pannable_area_expose_event),
3820         (hildon_pannable_area_refresh): Added a new GdkWindow to the
3821         pannable are to avoid the expose events go to the window and
3822         redraw the window. We save this way that part of the stack and the
3823         paint_boxes. We had to change the positions of the elements when
3824         drawing.
3825
3826 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
3827
3828         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3829         * src/hildon-color-chooser-dialog.c:
3830         (hildon_color_chooser_dialog_init):
3831         * src/hildon-font-selection-dialog.c:
3832         (hildon_font_selection_dialog_init),
3833         (hildon_font_selection_dialog_show_preview):
3834         * src/hildon-get-password-dialog.c:
3835         * src/hildon-login-dialog.c:
3836         * src/hildon-set-password-dialog.c:
3837         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3838         * src/hildon-time-picker.c: (hildon_time_picker_init):
3839
3840         Remove obsolete logical string IDs and update to the appropriate ones.
3841
3842         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3843
3844 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
3845
3846         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3847         that happens if the window hasn't been realized yet.
3848
3849         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3850         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3851
3852 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
3853
3854         * src/hildon-app-menu.c (hildon_app_menu_class_init)
3855         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3856         by another grab.
3857
3858         Fixes: NB#98537 (Device hangs in account settings dialog)
3859
3860 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3861
3862         * configure.ac: post release version bump.
3863         * debian/changelog: version bump
3864
3865 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3866
3867         [Release 2.1.36]
3868
3869         * NEWS: Updates.
3870         * configure.ac: Bump version.
3871         * debian/changelog: Updates.
3872
3873 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3874
3875         Added a new function to the HildonTimeButton widget that allows to
3876         change the step of the minutes in the selector associated with the
3877         button: hildon_time_button_new_step
3878
3879         * src/hildon-time-button.c,
3880         (hildon_time_button_init),
3881         (hildon_time_button_new),
3882         (hildon_time_button_new_step):
3883         * src/hildon-time-button.h: Added the new function and refactored
3884         the code.
3885         * examples/hildon-time-button-example.c,
3886         (main): We have replaced the function without parameters with the
3887         function with the steps set to 5
3888
3889         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3890
3891 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3892
3893         * src/hildon-time-selector.c,
3894         (hildon_time_selector_class_init),
3895         (hildon_time_selector_constructor),
3896         (hildon_time_selector_get_property),
3897         (hildon_time_selector_set_property),
3898         (_create_minutes_model),
3899         (hildon_time_selector_new_step),
3900         (hildon_time_selector_set_time),
3901         * src/hildon-time-selector.h: Added a new property to the
3902         HildonTimeSelector (minutes-step), we use that property to control
3903         the steps between the minutes in the list of the selector. We have
3904         added a new function to the API to create a widget changing the
3905         step: hildon_time_selector_new_step.
3906
3907 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3908
3909         * src/hildon-time-selector.c,
3910         (hildon_time_selector_class_init),
3911         (hildon_time_selector_constructor),
3912         (hildon_time_selector_init): Overrided the construct function when
3913         creating the time selector object. We have moved the minutes model
3914         handling code from the init to the new construction function:
3915         hildon_time_selector_constructor.
3916
3917 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3918
3919         * examples/hildon-date-button-example.c: (main): Use the new
3920         hildon_date_button_new_with_year_range() method in the example.
3921         * src/hildon-date-button.c:
3922         (+hildon_date_button_new_with_year_range): New public method
3923         to conveniently create a HildonDateButton with a custom year range
3924         in its HildonDateSelector.
3925         * src/hildon-date-button.h: Add the new public method definition.
3926
3927         Fixes: NB#97908 (Not possible to change the year range in
3928         HildonDateSelector/HildonDateButton)
3929
3930 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3931
3932         * src/hildon-date-selector.c:
3933         (+hildon_date_selector_set_property),
3934         (+hildon_date_selector_get_property),
3935         (hildon_date_selector_class_init): Install new properties "min-year"
3936         and "max-year" to define boundaries for the year column.
3937         (_create_year_model): Use the boundary properties to populate the model.
3938         (+hildon_date_selector_new_with_year_range): New public method to
3939         create a HildonDateSelector with a user defined year range.
3940         (hildon_date_selector_select_current_date): Use the new boundaries to
3941         calculate the iterator of current year.
3942         * src/hildon-date-selector.h: Add the new public method definition.
3943
3944 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3945
3946         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3947         Install a constructor method.
3948         (+hildon_date_selector_construct_ui): construct the widget.
3949         (+hildon_date_selector_constructor): new constructor.
3950         (+hildon_date_selector_init): move out widget construction code to
3951         the new constructor.
3952
3953 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3954
3955         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3956         that there's actually a month or year selected before obtaining them.
3957         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3958         of the HildonTouchSelector::changed signal, as it was emitted on every
3959         single item selection.
3960
3961         Fix some warnings and possible crashers due to the selection restoring.
3962
3963 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3964
3965         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3966         the signal handlers only after creating the dialog instead of on every
3967         button click.
3968
3969 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
3970
3971         * src/hildon-button.c (hildon_button_init)
3972         * src/hildon-check-button.c (hildon_check_button_init)
3973         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3974         focus when clicked by default.
3975
3976 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3977
3978         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3979         g_object_unref().
3980
3981 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3982
3983         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3984         Alejandro G. Castro  (alex@igalia.com)
3985
3986         * src/hildon-picker-dialog.c:
3987         (hildon_picker_dialog_class_init): install new "center-on-show"
3988         property.
3989         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3990         (hildon_picker_dialog_set_property): add setter code for the new
3991         property.
3992         (hildon_picker_dialog_get_property): add getter code for the new
3993         property.
3994         (hildon_picker_dialog_show): Ensure visibility of selected items in the
3995         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3996         default.
3997
3998         Fixes: NB#92849 (Selected item is not always visible when
3999         HildonTouchSelector is shown)
4000
4001 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
4002
4003         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4004         Alejandro G. Castro  (alex@igalia.com)
4005
4006         * src/hildon-touch-selector.c:
4007         (_create_new_column): Do not connect to the "realize" signal of the
4008         pannable area.
4009         (hildon_touch_selector_append_column): center on the selected items
4010         when a new column is appended.
4011         (hildon_touch_selector_select_iter): Factor out the code to select a
4012         column to hildon_touch_selector_scroll_to().
4013         (+search_nearest_element): Method to retrieve the nearest selected
4014         element to the visible area of the pannable area in a column.
4015         (+on_realize_cb): scroll to the initially selected item.
4016         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4017         the pannable area is realized, otherwise delay this until it is.
4018         (+_hildon_touch_selector_center_on_selected_items): Centers on the
4019         selected items of a given column.
4020         (+hildon_touch_selector_center_on_selected): Public method to center
4021         all columns on the nearest selected item.
4022         * src/hildon-touch-selector.h: Add definition for
4023         hildon_touch_selector_center_on_selected().
4024
4025         Implement public API to ensure visibility of all selected items in
4026         a HildonTouchSelector.
4027
4028 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
4029
4030         Fixed a problem in the fading when calling the scroll_to API, and
4031         improve scrollbar fading handling.
4032
4033         * src/hildon-pannable-area.c,
4034         (hildon_pannable_area_grab_notify): avoid the timeout when the
4035         alpha is zero.
4036         (hildon_pannable_area_button_press_cb),
4037         (hildon_pannable_area_motion_notify_cb): Code style changes.
4038         (hildon_pannable_area_button_release_cb): Review the conditions
4039         when releasing the mouse button to avoid unrequired fading
4040         timeouts.
4041         (hildon_pannable_area_scroll_to): Do not calculate and set the
4042         velocity if the scroll is not required.
4043
4044 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
4045
4046         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4047         Don't check whether the new selector is NULL: it cannot be.
4048         Hold a reference to the selector while doing the replacement.
4049
4050 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
4051
4052         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4053         unnecessary size_request in a removed widget.
4054
4055 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
4056
4057         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4058         an unnecessary reference tracking that was leaking.
4059
4060 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
4061
4062         Added delayed motion notify event handling, this way we can
4063         discard redrawing if more than 25 events arrive per second.
4064
4065         * src/hildon-pannable-area.c,
4066         (hildon_pannable_area_init): Initialized the new private atributes
4067         controlling this timeout
4068         (hildon_pannable_area_dispose): Remove the timeout that controls
4069         the motion notify events.
4070         (hildon_pannable_area_scroll): Added a condition to control the
4071         use of the acceleration.
4072         (hildon_pannable_area_motion_event_scroll_timeout),
4073         (hildon_pannable_area_motion_event_scroll): Added this two
4074         functions, they handle the motion notify events inside the
4075         timeout.
4076         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4077         to the scroll method with the new function.
4078         (hildon_pannable_area_button_release_cb): We have to remove the
4079         timeout handler and move to the last position if the last motion
4080         events were not handled.
4081
4082         Fixes: NB#97028 (Pannable area updates on every motion event)
4083
4084 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
4085
4086         * src/hildon-pannable-area.c,
4087         (hildon_pannable_area_get_topmost): Added a new parameter to
4088         filter the the windows that do not include those events. Added
4089         also a condition when finding the window to filter windows that do
4090         not ask for those events.
4091         (hildon_pannable_area_button_press_cb),
4092         (hildon_pannable_area_button_release_cb),
4093         (hildon_pannable_get_child_widget_at): Reviewed the call the the
4094         topmost function, we have added the new parameter.
4095
4096         Fixes: NB#97458 (Pannable area prevents propagation of button
4097         press events)
4098
4099 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
4100
4101         * src/hildon-pannable-area.c,
4102         (hildon_pannable_area_initial_effect): Added controls before
4103         launching the timeout and the idle functions.
4104         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4105         of the method, in some situations it can return with TRUE and 0 in
4106         the timeout.
4107         (hildon_pannable_area_button_press_cb): We do not need to set
4108         DELAY for fading out here.
4109
4110         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4111
4112 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
4113
4114         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4115         post-cleaning if the selection is not NULL.
4116
4117 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
4118
4119         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4120         all items before restoring the selection.
4121
4122 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
4123
4124         * src/hildon-touch-selector.c:
4125         (+hildon_touch_selector_unselect_all):
4126         * src/hildon-touch-selector.h: New API to unselect all items in a
4127         column of the touch selector.
4128
4129 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
4130
4131         * src/hildon-pannable-area.c,
4132         (hildon_pannable_area_redraw): Added a call to the refresh
4133         function inside the redraw because apparently in some cases the
4134         change in the adjustment does not imply a size allocate.
4135
4136         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4137         despite the view not being scrollable)
4138
4139 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
4140
4141         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4142         leak. Check for NULL before attempting to set the window title.
4143
4144 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
4145
4146         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4147         whether to show or not the 'Done' button each time the dialog is
4148         shown, as it depends on the HildonTouchSelector selection mode.
4149
4150         Fixes: NB#96226 (In multiple selection mode Done button is shown
4151         sometimes in listpicker)
4152
4153 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
4154
4155         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4156         for the number of columns in the HildonTouchSelector more than once.
4157
4158 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
4159
4160         * src/hildon-touch-selector.c: Minor documentation fixes.
4161
4162         * src/hildon-picker-dialog.c (+_dialog_update_title)
4163         (_select_on_selector_changed_cb)
4164         (_update_title_on_selector_changed_cb)
4165         (on_selector_columns_changed): Update dialog title when there's no
4166         'Done' button and also when the number of columns in the selector
4167         changes.
4168         Code refactoring.
4169
4170         * src/hildon-picker-button.c (hildon_picker_button_finalize)
4171         (+_selection_changed, hildon_picker_button_on_dialog_response)
4172         (hildon_picker_button_selector_selection_changed)
4173         (+hildon_picker_button_selector_columns_changed)
4174         (hildon_picker_button_set_selector): Update button value and emit
4175         'value-changed' when the number of columns in the selector
4176         changes.
4177         Code refactoring.
4178
4179         Fixes: NB#96225 (Dialog titles are not shown according to the
4180         values selected in the list picker)
4181
4182 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
4183
4184         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4185         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4186         New "arrow-width" and "arrow-height" style properties to set the
4187         size of the arrow button.
4188         Set name of arrow button ("hildon-edit-toolbar-arrow").
4189
4190         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4191         graphics from theme)
4192
4193 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4194
4195         * src/hildon-picker-button.c:
4196         (hildon_picker_button_selector_selection_changed): Use
4197         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4198         the dialog is present.
4199
4200         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4201         the selection is accepted in the dialog)
4202
4203 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
4204
4205         * src/hildon-color-chooser.h
4206         * src/hildon-color-chooser-dialog.h:
4207         Added G_BEGIN_DECLS and G_END_DECLS
4208
4209 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4210
4211         (_clean_current_selection): plug a leak in the list.
4212
4213 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
4214
4215         * src/hildon-picker-dialog.c:
4216         (+free_path_list): Method to free a GList of GtkTreePaths.
4217         (_clean_current_selection), (_save_current_selection),
4218         (_restore_current_selection): Save the current selection in
4219         as a list of lists, to support multiple selection properly.
4220
4221 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
4222
4223         patch by Claudio Saavedra (csaavedra@igalia.com)
4224
4225         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4226         Store the press position.
4227         (+hildon_text_view_button_release_event): If the release position is
4228         close enough to the press position, move the cursor here. Otherwise,
4229         ignore.
4230         (hildon_text_view_class_init): Override GtkTextView press, release, and
4231         motion event handlers, disabling this way text selection through
4232         pointer interaction, and allowing the container widget to handle the
4233         motion event.
4234
4235         Fixes: NB#95828 (HildonTextView functionality)
4236
4237 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
4238
4239         Based on a patch by Iván Gómez (igomez@igalia.com)
4240
4241         * src/hildon-button.[ch]
4242         * src/hildon-calendar.c
4243         * src/hildon-check-button.c
4244         * src/hildon-date-editor.c
4245         * src/hildon-date-selector.c
4246         * src/hildon-picker-button.c
4247         * src/hildon-time-editor.c
4248         * src/hildon-time-selector.c
4249         * src/hildon-touch-selector.[ch]:
4250         Documentation updates
4251
4252 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
4253
4254         * src/hildon-pannable-area.c,
4255         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4256         threshold, it was required due to X events handling.
4257
4258 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
4259
4260         * src/hildon-pannable-area.c,
4261         (hildon_pannable_area_grab_notify),
4262         (hildon_pannable_area_initial_effect),
4263         (hildon_pannable_area_button_press_cb),
4264         (hildon_pannable_area_button_release_cb),
4265         (hildon_pannable_area_scroll_cb),
4266         (hildon_pannable_area_scroll_to): Review the timeout management of
4267         the scrollbar, the frecuency was incorrectly set.
4268
4269 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
4270
4271         * src/hildon-picker-button.c:
4272         (+hildon_picker_button_on_dialog_response),
4273         (hildon_picker_button_clicked): Present the dialog instead of
4274         running it with gtk_dialog_run().
4275
4276         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4277         picker dialog)
4278
4279 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
4280
4281         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4282         (hildon_app_menu_finalize): When a window is hidden it doesn't
4283         emit notify::is-topmost, so make sure than the menu also
4284         disappears in that case.
4285         (parent_window_topmost_notify): Renamed from parent_window_hidden
4286
4287         Fixes: NB#94460 (stackable window's menu is not closed when its
4288         window is hidden)
4289
4290 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4291
4292         * src/hildon-touch-selector-entry.c:
4293         (+hildon_touch_selector_entry_set_input_mode),
4294         (+hildon_touch_selector_entry_get_input_mode):
4295         * src/hildon-touch-selector-entry.h: New methods to access the input
4296         mode in the selector's entry.
4297
4298         Fixes: NB#93410 (API required for setting IM mode in
4299         HildonTouchSelectorEntry)
4300
4301 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4302
4303         * configure.ac: post release version bump.
4304         * debian/changelog: version bump
4305
4306 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
4307
4308         [Release 2.1.34]
4309
4310         * NEWS: Updates.
4311         * configure.ac: Bump version.
4312         * debian/changelog: Updates.
4313
4314 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
4315
4316         * src/hildon-touch-selector.c:
4317         (_hildon_touch_selector_has_multiple_selection): No need
4318         to initialize the variables here.
4319
4320 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
4321
4322         * src/hildon-note-private.h
4323         * src/hildon-note.c (event_box_press_event, hildon_note_init)
4324         (hildon_note_finalize, hildon_note_rebuild): Close information
4325         notes when they receive a button press.
4326
4327         Fixes: NB#89890 (Information notes does not get disappeared after
4328         few seconds)
4329
4330 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
4331
4332         * src/hildon-wizard-dialog.c: (create_title): Remove translation
4333         mark from the wizard title, as it's not really necessary. Also,
4334         do not display the page title if not set.
4335
4336 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
4337
4338         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4339         (parent_window_hidden): Use the window's "is-topmost" property to
4340         detect when to hide the menu.
4341
4342 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
4343
4344         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4345         (hildon_app_menu_finalize): If the parent window of the menu is
4346         hidden, hide the menu too.
4347
4348         Fixes: NB#94460 (stackable window's menu is not closed when its
4349         window is hidden)
4350
4351 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
4352
4353         * debian/changelog
4354         * debian/libhildon1-examples.install
4355         * debian/rules
4356         * examples/Makefile.am:
4357         Use dh_install to install all examples.
4358         Use DEB_SRCDIR instead of defining SOURCE_DIR
4359
4360 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4361
4362         * configure.ac: post release version bump.
4363         * debian/changelog: version bump
4364
4365 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4366
4367         [Release 2.1.32]
4368
4369         * NEWS: updates
4370         * configure.ac: bump version
4371         * debian/changelog: updates
4372         * debian/control: bump gtk+ dependency
4373
4374 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
4375
4376         patch by Christian Dywan (christian@imendio.com)
4377
4378         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4379         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4380
4381 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
4382
4383         * src/hildon-check-button.c (hildon_check_button_init)
4384         (hildon_check_button_class_init, hildon_check_button_style_set)
4385         (hildon_check_button_apply_style):
4386         New "checkbox-size" style property.
4387
4388         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4389         larger / configurable size)
4390
4391 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
4392
4393         * configure.ac: post release version bump.
4394         * debian/changelog: version bump
4395
4396 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
4397
4398         [Release 2.1.30]
4399
4400         * NEWS: updates
4401         * configure.ac: bump version
4402         * debian/changelog: updates
4403
4404 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
4405
4406         * doc/hildon-sections.txt
4407         * src/hildon-pannable-area.c
4408         * src/hildon-program.c
4409         * src/hildon-time-editor.c
4410         * src/hildon-touch-selector-entry.c:
4411
4412         More documentation updates.
4413
4414 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
4415
4416         * doc/hildon-sections.txt
4417         * src/hildon-caption.c
4418         * src/hildon-code-dialog.c
4419         * src/hildon-color-button.c
4420         * src/hildon-controlbar.c
4421         * src/hildon-date-editor.c
4422         * src/hildon-date-selector.c
4423         * src/hildon-edit-toolbar.c
4424         * src/hildon-find-toolbar.c
4425         * src/hildon-font-selection-dialog.c
4426         * src/hildon-gtk.c
4427         * src/hildon-program.c
4428         * src/hildon-range-editor.c
4429         * src/hildon-seekbar.c
4430         * src/hildon-time-editor.c
4431         * src/hildon-time-selector.c
4432         * src/hildon-volumebar-range.c
4433         * src/hildon-volumebar.c
4434         * src/hildon-vvolumebar.c
4435         * src/hildon-weekday-picker.c
4436         * src/hildon-window.c
4437         * src/hildon-wizard-dialog.c:
4438
4439         Lots of documentation fixes.
4440
4441 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4442
4443         Patch contributed by Iván Gómez (igomez@igalia.com)
4444
4445         * src/hildon-check-button.c:
4446         * src/hildon-date-button.c:
4447         * src/hildon-date-selector.c:
4448         * src/hildon-dialog.c:
4449         * src/hildon-edit-toolbar.c:
4450         * src/hildon-entry.c:
4451         * src/hildon-picker-button.c:
4452         * src/hildon-program.c:
4453         * src/hildon-text-view.c:
4454         * src/hildon-time-button.c:
4455         * src/hildon-touch-selector-entry.c:
4456         * src/hildon-window-stack.c:
4457
4458         Add more "since" tags to the new API.
4459
4460 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4461
4462         * doc/hildon-sections.txt: Add below method.
4463         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4464         version for the hildonized scale.
4465         * src/hildon-gtk.h: Add the definition.
4466
4467         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4468
4469 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4470
4471         * doc/hildon-sections.txt: Add missing entries for new methods.
4472
4473 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
4474
4475         Added API to pannable are in order to get its adjustments. We
4476         added two properties to manage the values we had in the private
4477         structure.
4478
4479         * src/hildon-pannable-area.c:
4480         (hildon_pannable_area_class_init): Added hadjustment and
4481         vadjustment properties in order to expose horizontal and vertical
4482         adjustment.
4483         (hildon_pannable_area_get_property),
4484         (hildon_pannable_area_set_property): Added code to handle the new
4485         properties
4486         (hildon_pannable_area_get_hadjustment),
4487         (hildon_pannable_area_get_vadjustment): API functions to get the
4488         adjustments
4489         * src/hildon-pannable-area.h:
4490         (hildon_pannable_area_get_hadjustment),
4491         (hildon_pannable_area_get_vadjustment): API functions to get the
4492         adjustments
4493
4494 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
4495
4496         Fixed some leaks, after valgrinding.
4497
4498         * src/hildon-touch-selector.c:
4499         (_default_print_func): Fixed a leak.
4500         (hildon_touch_selector_append_column): Fixed a leak.
4501         * src/hildon-date-button.c:
4502         (hildon_date_button_init): Fixed a leak.
4503         * src/hildon-date-selector.c
4504         (hildon_date_selector_finalize): Fixed a leak.
4505
4506 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
4507
4508         Based on a patch by Christian Dywan (christian@imendio.com)
4509
4510         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4511         GtkHScale.
4512         * src/hildon-gtk.h: Add definition.
4513
4514         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4515
4516 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4517
4518         * src/hildon-picker-button.c: (hildon_picker_button_init),
4519         (hildon_picker_button_new): Set the HildonButton::style property
4520         in the init method, to propagate the value to the derived classes.
4521
4522 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4523
4524         * src/hildon-button.c: (hildon_button_class_init): Do not make
4525         the "style" property a construct property.
4526
4527 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4528
4529         * src/hildon-wizard-dialog.h
4530         * src/hildon-wizard-dialog.c
4531         (hildon_wizard_dialog_set_forward_page_func)
4532         * src/hildon-pannable-area.h
4533         * src/hildon-pannable-area.c
4534         (hildon_pannable_area_set_size_request_policy):
4535         Documentation fixes.
4536
4537 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4538
4539         * doc/hildon-sections.txt: Fixed warning about unused symbols.
4540
4541 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
4542
4543         * doc/hildon-sections.txt: Added sections file.
4544
4545 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
4546
4547         * AUTHORS: Updates.
4548         * src/*.[ch]: Updates.
4549
4550 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
4551
4552         * examples/hildon-progress-indicator-example.c: new file
4553         * examples/Makefile.am: include the new example program
4554
4555 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
4556
4557         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4558
4559 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4560
4561         * configure.ac: post release version bump
4562         * debian/changelog: version bump
4563
4564 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4565
4566         [Release 2.1.28]
4567
4568         * NEWS: updates
4569         * configure.ac: bump version
4570         * debian/changelog: updates
4571         * debian/control: bump gtk+ dependency
4572
4573 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4574
4575         * src/hildon-dialog.c: Mark as deprecated.
4576         * src/hildon-dialog.h: Mark as deprecated.
4577         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4578         from HildonDialog and still work, even if
4579         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4580         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4581
4582         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4583         maemo changes) instead)
4584
4585 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
4586
4587         * src/hildon-pannable_area.h:
4588         * src/hildon-pannable_area.c:
4589         (hildon_pannable_area_class_init),
4590         (hildon_pannable_area_set_property),
4591         (hildon_pannable_area_get_property),
4592         (hildon_pannable_area_size_request),
4593         (hildon_pannable_area_get_size_request_policy),
4594         (hildon_pannable_area_set_size_request_policy): Added new API
4595         allowing applications to control the request policy. Now they can
4596         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4597         children allocation (HILDON_MOVEMENT_CHILDREN).
4598
4599 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
4600
4601         * src/hildon-gtk.h
4602         * src/hildon-gtk.c
4603         (hildon_gtk_tree_view_set_ui_mode)
4604         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4605         mode of treeviews and iconviews.
4606
4607 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4608
4609         * src/hildon-touch-selector-entry.c:
4610         (hildon_touch_selector_entry_init): Use a HildonEntry instead
4611         of a GtkEntry to get proper theming.
4612
4613         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4614         widget, not GtkEntry)
4615
4616 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4617
4618         * src/hildon-wizard-dialog.c: (response): Move forward if there is
4619         no HildonWizardDialogPageFunc.
4620
4621 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4622
4623         Patch contributed by Iván Gómez (igomez@igalia.com)
4624
4625         * src/hildon-app-menu.c:
4626         * src/hildon-button.c:
4627         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4628         * src/hildon-stackable-window.c:
4629         * src/hildon-time-selector.c:
4630         * src/hildon-touch-selector.c:
4631         * src/hildon-window.c:
4632
4633         Add more "since" tags to the new API in hildon 2.2.
4634
4635 2008-12-05  Tim Janik  <timj@imendio.com>
4636
4637         Patch contributed by Christian Dywan (christian@imendio.com)
4638
4639         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4640         HildonSizeType, which are supplied by Gtk+ now.
4641
4642         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4643
4644         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4645         (with maemo changes) instead)
4646
4647 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4648
4649         Patch contributed by Iván Gómez (igomez@igalia.com)
4650
4651         * src/hildon-pannable-area.c: Add "since" tags to the new API in
4652         hildon 2.2.
4653
4654 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4655
4656         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4657         (some_page_func), (main): Update the example to use a
4658         HildonWizardDialogPageFunc function.
4659
4660         * src/hildon-wizard-dialog-private.h: Add private data for
4661         the HildonWizardDialogPageFunc function usage.
4662
4663         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4664         (destroy), (hildon_wizard_dialog_init), (response),
4665         (hildon_wizard_dialog_set_forward_page_func):
4666         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4667         that applications can use to stop a HildonWizardDialog to jump to
4668         the next page.
4669
4670         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4671         next page)
4672
4673 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
4674
4675         * src/hildon-program.h
4676         * src/hildon-program-private.h
4677         * src/hildon-program.c (hildon_program_init)
4678         (hildon_program_set_common_app_menu)
4679         (hildon_program_get_common_app_menu):
4680         New API for setting a common HildonAppMenu for all
4681         HildonStackableWindows registered with the HildonProgram.
4682
4683         * src/hildon-stackable-window.c
4684         (hildon_stackable_window_toggle_menu):
4685         Use the common HildonAppMenu if a window doesn't have a specific
4686         one.
4687
4688         * src/hildon-app-menu-private.h
4689         * src/hildon-app-menu.c
4690         (hildon_app_menu_get_parent_window):
4691         Function to obtain the window a HildonAppMenu is attached to.
4692         (hildon_app_menu_set_parent_window):
4693         Hide the menu if the parent window is set to NULL.
4694
4695 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
4696
4697         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4698         set GtkTreeView::enable-search to FALSE, to avoid the interactive
4699         search widget to popup.
4700
4701 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4702
4703         * configure.ac: post release version bump
4704         * debian/changelog: version bump
4705
4706 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4707
4708         [Release 2.1.26]
4709
4710         * NEWS: updates
4711         * configure.ac: bump version
4712         * debian/changelog: updates
4713
4714 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4715
4716         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4717
4718         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4719         (hildon_window_stack_window_realized)
4720         (hildon_window_stack_remove, _hildon_window_stack_do_push):
4721         Set the leader GdkWindow when a window is stacked and realized,
4722         unset it when it's unstacked.
4723         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4724
4725         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4726
4727 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4728
4729         * src/hildon-stackable-window.h
4730         * src/hildon-window-stack.h:
4731         Protect definition of HildonWindowStack using the preprocessor.
4732
4733 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4734
4735         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4736         Fix warning if all menu items are hidden.
4737
4738 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
4739
4740         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4741
4742         * src/hildon-controlbar.c:
4743         * src/hildon-hvolumebar.c:
4744         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4745         Multiple scale size defines updates.
4746
4747         Fixes: NB#94322 (Scale Updates)
4748
4749 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4750
4751         * examples/hildon-app-menu-example.c (create_menu)
4752         Show items after adding them to the menu, as in the future the
4753         menu will no longer call gtk_widget_show() on the added items.
4754
4755         * src/hildon-app-menu.c:
4756         Update example as explained above.
4757
4758 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4759
4760         * src/hildon-app-menu.c
4761         (hildon_app_menu_insert, hildon_app_menu_add_filter):
4762         Make sure that all menu items have finger height.
4763
4764 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
4765
4766         * src/hildon-picker-dialog.c:
4767         (_on_dialog_response), (_save_current_selection),
4768         (_restore_current_selection), (_clean_current_selection),
4769         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4770         Defined new functions in order to save the current internal selector
4771         selection previous open the dialog, in case that the use cancel the
4772         interaction, so the widget restores the previous selection.
4773
4774         Fixes: NB#92032 (In calendar application, date values in 'new event' 
4775         are not proper)
4776
4777         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4778
4779 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4780
4781         * src/hildon-button.c: Add a reference to the button examples in
4782         hildon-button-example.c
4783
4784         * examples/hildon-button-example.c: Added examples of the most
4785         common button layouts.
4786
4787 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4788
4789         * src/hildon-app-menu.c (hildon_app_menu_show)
4790         (hildon_app_menu_class_init): Don't show the menu if it's empty.
4791
4792         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4793
4794 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4795
4796         * src/hildon-picker-dialog.c:
4797         (hildon_picker_dialog_init): Initialize the signal id for
4798         HildonTouchSelector::columns-changed.
4799         (+on_selector_columns_changed): Set up the interaction mode everytime a
4800         column is added or removed from the HildonTouchSelector.
4801         (_hildon_picker_dialog_set_selector): Connect to
4802         HildonTouchSelector::columns-changed and keep track of it.
4803
4804         Make sure to update the interaction mode of the dialog everytime a
4805         column is added or removed in the HildonTouchSelector.
4806
4807         Fixes: NB#93228 (Done button is not shown always in listpicker)
4808
4809 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4810
4811         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4812         a new ::columns-changed signal.
4813         (hildon_touch_selector_append_column): Emit ::columns-changed.
4814         (hildon_touch_selector_remove_column): Emit ::columns-changed.
4815
4816         Add a ::columns-changed signal, emitted when the number of columns in a
4817         HildonTouchSelector changes.
4818
4819 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4820
4821         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4822         (_hildon_picker_dialog_set_selector): Factor out the code
4823         to set up the dialog interaction mode.
4824
4825 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4826
4827         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4828         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4829         to signal_changed_id.
4830
4831 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4832
4833         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4834         Minor doc. fixes.
4835
4836 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
4837
4838         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4839         Updated the logical ids related to ampm format, as now it is required to
4840         show it correctly localized even on languages with no default
4841         abbreviations for am or pm
4842         (_check_am_pm_format): check correctly the 24h format gconf property
4843
4844         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4845
4846 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4847
4848         * src/hildon-button.c: Documentation updates.
4849
4850 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4851
4852         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4853         * src/hildon-caption.c: (hildon_caption_class_init):
4854         * src/hildon-color-button.c: (hildon_color_button_class_init):
4855         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4856         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4857         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4858         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4859
4860         Remove deprecated GTK+ marshalers and replace them with the ones
4861         provided by GLib, for those available, add a marshaler for
4862         BOOLEAN:VOID, which is not available in GLib, and use it.
4863
4864 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4865
4866         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4867         the text from the previous column if there is no
4868         HildonTouchSelectorColumn::text-property set.
4869
4870 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4871
4872         * src/hildon-button.h
4873         * src/hildon-button.c (hildon_button_set_property)
4874         (hildon_button_get_property, hildon_button_class_init)
4875         (hildon_button_set_style, hildon_button_get_style):
4876         New "style" property to change the visual appearance of the
4877         button.
4878
4879         * src/hildon-picker-button.c (hildon_picker_button_new):
4880         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4881
4882         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4883         HildonButton look like PickerButton)
4884
4885 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4886
4887         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4888         column while building the default string.
4889
4890 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4891
4892         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4893         scroll indicator by default.
4894
4895         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4896
4897 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4898
4899         * src/hildon-main.c: Fix the documentation for hildon_init()
4900
4901 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4902
4903         * doc/hildon-docs.sgml
4904         * doc/hildon.types
4905         * src/Makefile.am
4906         * src/hildon.h
4907         * src/hildon-window-stack-private.h
4908         * src/hildon-window-stack.h
4909         * src/hildon-window-stack.c:
4910         New HildonWindowStack object, that adds support for multiple
4911         stacks of windows per process.
4912
4913         * src/hildon-stackable-window-private.h
4914         * src/hildon-stackable-window.h
4915         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4916         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4917         (hildon_stackable_window_show, hildon_stackable_window_hide)
4918         (hildon_stackable_window_class_init)
4919         (hildon_stackable_window_init):
4920         Use HildonWindowStack for stack management.
4921
4922         * src/hildon-program.c (hildon_program_pop_window_stack)
4923         (hildon_program_peek_window_stack)
4924         (hildon_program_go_to_root_window):
4925         Add a fallback implementation to the deprecated functions using
4926         HildonWindowStack.
4927
4928         * examples/hildon-stackable-window-example.c:
4929         Use the new HildonWindowStack API.
4930
4931 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4932
4933         * src/hildon-stackable-window-private.h
4934         * src/hildon-stackable-window.c (hildon_stackable_window_show)
4935         (hildon_stackable_window_hide, hildon_stackable_window_init):
4936         Remove all window stack management.
4937
4938         * src/hildon-program-private.h
4939         * src/hildon-program.h
4940         * src/hildon-program.c (hildon_program_init)
4941         (hildon_program_pop_window_stack)
4942         (hildon_program_peek_window_stack)
4943         (hildon_program_go_to_root_window):
4944         Remove all window stack management and mark functions as
4945         deprecated.
4946
4947 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4948
4949         * src/hildon-app-menu.c (hildon_app_menu_realize):
4950         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4951
4952 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4953
4954         * configure.ac: post release version bump
4955         * debian/changelog: version bump
4956
4957 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4958
4959         [Release 2.1.24]
4960
4961         * NEWS: updates
4962         * configure.ac: bump version
4963         * debian/changelog: updates
4964
4965 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4966
4967         Based on initial code by Christian Dywan (christian@imendio.com)
4968
4969         * doc/hildon-docs.sgml: Add section for hildon-main.
4970         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4971         * src/Makefile.am: Add new hildon-main.[ch]
4972         * src/hildon-defines.h: Update the icon sizes.
4973         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4974         new library initialization files and register icon sizes.
4975         * src/hildon-main.h: New declarations.
4976         * src/hildon.h: Include hildon-main.h
4977
4978         Add new initialization functions to the library. These methods
4979         will register the hildon specific icon sizes and can be used in the
4980         future for other hildon specific bits.
4981
4982         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4983
4984 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4985
4986         * src/hildon-window.c: (hildon_window_realize),
4987         (hildon_window_notify), (-hildon_window_update_title): Do not set
4988         the application name in the window title.
4989
4990         Fixes: NB#89754 (Applications shouldn't display their names in the
4991         window title)
4992
4993 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4994
4995         * src/hildon-note-private.h:
4996         * src/hildon-note.c: (hildon_note_set_property),
4997         (hildon_note_get_property), (hildon_note_class_init),
4998         (hildon_note_init), (hildon_note_finalize),
4999         (hildon_note_new_confirmation_with_icon_name),
5000         (hildon_note_new_information_with_icon_name):
5001
5002         No need to mark as deprecated the actual code. Revert
5003         to avoid missing symbols in widgets using deprecated API.
5004
5005 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
5006
5007         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5008
5009         * src/hildon-volumebar.h
5010         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5011         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5012
5013         * src/hildon-helper.h
5014         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5015         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5016
5017         * examples/Makefile.am:
5018         Deprecate hildon-insensitive-example
5019
5020         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5021
5022 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
5023
5024         * examples/hildon-pannable-area-buttons-scroll-example.c:
5025         Make all buttons finger height
5026
5027 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
5028
5029         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5030         documentation
5031         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5032         update the day model only if it is really required, and to avoid the
5033         full-reconstruction aproach. Now it only add or remove the required days.
5034
5035         The purpose of this is avoid superfluous HildonTouchSelector::changed
5036         signals
5037
5038         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5039         with strange parameters)
5040
5041 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
5042
5043         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5044
5045         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5046         the WINDOW_TYPE property.
5047
5048         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5049
5050 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
5051
5052         * doc/gtk-doc.make:
5053         Fix dependency to allow parallel compilation with make -jX
5054
5055 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
5056
5057         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5058         color frame and some minor tweaks to make it more consistent with
5059         current theming.
5060
5061         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5062         highlighted but not visible)
5063
5064 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
5065
5066         * examples/Makefile.am: Fixed typo in the Makefile.am.
5067
5068 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
5069
5070         Reviewed the use of MAEMO_GTK define, now we add the define in the
5071         compilation line, and we also add it to the pc file.
5072
5073         * configure.ac: Added MAEMO_GTK define to the compilation command
5074         and removed it from the config.h.
5075
5076         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5077         do not have to take care about this define if the library was
5078         compiled with it.
5079
5080         * src/hildon-gtk.c:
5081         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5082
5083 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
5084
5085         * examples/Makefile.am,
5086         * examples/hildon-pannable-area-buttons-scroll-example.c,
5087         * examples/hildon-pannable-area-gesture-signals-example.c,
5088         * examples/hildon-pannable-area-scroll-jump-example.c,
5089         * examples/hildon-pannable-area-tree-view-example.c:
5090         Renamed the pannable area examples, now they have more meaningful
5091         names.
5092
5093 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
5094
5095         * src/hildon-touch-selector.c:
5096         (hildon_touch_selector_set_column_selection_mode): Used of
5097         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5098         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5099         to avoid re-seting the same selection mode.
5100
5101         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5102         breaks HildonPickerDialog)
5103
5104 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
5105
5106         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5107         conditional in the Makefile.am
5108
5109 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
5110
5111         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5112         Remove unused methods.
5113
5114 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
5115
5116         * src/hildon-button.c (hildon_button_init):
5117         Make button images center-aligned by default
5118
5119 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
5120
5121         * src/hildon-gtk.c:
5122         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5123         activated, we have to think about how to deal with both defines
5124         MAEMO_GTK and MAEMO_CHANGES.
5125
5126 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
5127
5128         * examples/hildon-app-menu-example.c (create_menu): Make all
5129         buttons finger size.
5130
5131 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
5132
5133         Fixed the compilation without maemo gtk adding ifdefs with
5134         MAEMO_GTK define to the code, we have to check this version more
5135         carefully.
5136
5137         * examples/Makefile.am: Added control to avoid some examples that
5138         just make sense with maemo gtk.
5139
5140         * src/hildon-gtk.c:
5141         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5142         hildon modes with the define.
5143
5144         * examples/hildon-edit-toolbar-example.c,
5145         (create_icon_view): Create the icon view without hildon-gtk
5146         helpers if we are not using maemo gtk.
5147
5148         * src/hildon-touch-selector.c,
5149         (_create_new_column): Create the treeview without hildon-gtk
5150         helpers if we are not using maemo gtk.
5151
5152 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
5153
5154         * src/hildon-pnnable-area.c,
5155         (hildon_pannable_area_dispose),
5156         (hildon_pannable_area_button_press_cb),
5157         (hildon_pannable_area_child_mapped),
5158         (hildon_pannable_area_add),
5159         (hildon_pannable_area_remove): Added code to control the position
5160         of the event_window when adding and removing children from the
5161         pannable. We have to raise the event window when the child is
5162         mapped.
5163
5164         Fixes: NB#89811 (Not able to select first image thumbnail in multi
5165         selection mode using custom widget inside pannable)
5166
5167 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
5168
5169         * configure.ac: post release version bump
5170         * debian/changelog: version bump
5171
5172 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
5173
5174         [Release 2.1.22]
5175
5176         * NEWS: updates
5177         * configure.ac: bump version
5178         * debian/changelog: updates
5179
5180 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
5181
5182         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5183         search mode, in order to avoid lose the focus on the treeview when
5184         a hw key (like enter) is pressed.
5185
5186         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5187         in HildonDateSelector dialog)
5188
5189 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
5190
5191         * debian/rules: Added --enable-maintainer-mode
5192         * Makefile.am: Added ACLOCAL_AMFLAGS
5193
5194         This allows to properly regenerate the Makefiles if you modify the
5195         configure.ac or any Makefile.am.
5196
5197 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5198
5199         * examples/hildon-app-menu-example.c: (main): Do not set RC style
5200         properties, not needed at all.
5201
5202 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5203
5204         * src/hildon-note-private.h: Add strings for the icon and stock_icon
5205         properties.
5206         * src/hildon-note.c: (hildon_note_set_property),
5207         (hildon_note_get_property), (hildon_note_class_init),
5208         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5209         (hildon_note_new_confirmation_add_buttons): Remove icons.
5210         (hildon_note_new_confirmation_with_icon_name): Deprecate.
5211         (hildon_note_new_information_with_icon_name): Deprecate.
5212         (hildon_note_new_confirmation): Act directly, without calling
5213         the deprecated constructor.
5214         (hildon_note_new_information): Act directly, without calling
5215         the deprecated constructor.
5216         * src/hildon-note.h: Mark deprecate methods as such.
5217         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5218         not run tests on the deprecated methods if built with deprecation
5219         disabled.
5220
5221         Fixes: NB#91688 (Never show icons in information notes/confirmation
5222         notes)
5223
5224 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
5225
5226         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5227         (hildon_app_menu_key_press): Remove leftover usage of the
5228         private structure in HildonAppMenu struct.
5229         * src/hildon-app-menu.h: Remove leftover private structure
5230         from the HildonAppMenu struct.
5231
5232         Fixes a crasher when using the HildonAppMenu.
5233
5234 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
5235
5236         * src/hildon-picker-dialog.c: Use appropriate logical id
5237         for the default "Done" text.
5238
5239 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
5240
5241         * configure.ac: post release version bump
5242         * debian/changelog: version bump
5243
5244 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
5245
5246         Modified the way to scroll to the current selection just when the touch
5247         selector is shown on the screen, avoiding a g_idle. Added too a property
5248         to configure this behaviour. See hildon_pannable_area_jump_to_child
5249         documentation for more information.
5250
5251         * src/hildon-touch-selector.c
5252         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5253         Added 'initial-scroll' property
5254         (hildon_touch_selector_set_property): Added
5255         (hildon_touch_selector_map): Removed as not required anymore
5256         (_hildon_touch_selector_on_selected_items): Modified in order to manage
5257         only a concrete column, instead of iterate along all the columns
5258
5259 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5260
5261         [Release 2.1.20]
5262
5263         * NEWS: updates
5264         * configure.ac: bump version
5265         * debian/changelog: updates
5266
5267 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5268
5269         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5270         compilation time warnings.
5271
5272 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5273
5274         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5275         the default value for HildonPannableArea::mov-mode to
5276         HILDON_PANNABLE_AREA_MODE_VERT.
5277
5278         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5279
5280 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5281
5282         Reverting following commit:
5283
5284         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5285
5286           * src/hildon-app-menu-private.h
5287           * src/hildon-app-menu.[ch]
5288           * src/hildon-button.[ch]
5289           * src/hildon-check-button.[ch]
5290           * src/hildon-entry.[ch]
5291           * src/hildon-pannable-area.[ch]
5292           * src/hildon-text-view.[ch]:
5293           Added private field to the object's structure.
5294
5295         because it causes an ABI breakage. We will need to introduce these
5296         changes later at some point. See NB#91636 for an extensive
5297         explanation and status.
5298
5299 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
5300
5301         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5302
5303         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5304         remove special cases that are no longer necessary.
5305
5306         Fixes: NB#91016 (Change toolbar sizes, simplification)
5307
5308 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
5309
5310         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5311         is shown in the cancel note.
5312
5313 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
5314
5315         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5316         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5317         (hildon_seekbar_init): Remove steppers, remove expose event.
5318         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5319
5320         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5321
5322 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
5323
5324         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5325         label font to "SmallSystemFont" for vertically arranged buttons.
5326
5327         Fixes: NB#90662 (HildonButton "value" and "detail" text is
5328         unformatted)
5329
5330 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
5331
5332         * src/hildon-check-button.c
5333         (hildon_check_button_set_active, hildon_check_button_clicked):
5334         Don't access private parts directly, use getters instead.
5335
5336 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
5337
5338         * src/hildon-check-button.c (hildon_check_button_new):
5339         Align the contents of the check button to the left.
5340
5341 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5342
5343         * src/hildon-pannable-area.c,
5344         (hildon_pannable_area_scroll_to),
5345         (hildon_pannable_area_jump_to),
5346         (hildon_pannable_area_scroll_to_child),
5347         (hildon_pannable_area_jump_to_child): Replace the mapped
5348         precondition of these functions with the realized, it is the
5349         correct state of the widget in this case. Changed the
5350         documentation according to this modification.
5351
5352 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5353
5354         Added a new EXTRA_CFLAGS option to add the deprecated define to
5355         the compilation command. This way we can avoid using the define in
5356         the documentation compilation.
5357
5358         * configure.ac: Defined EXTRA_CFLAGS.
5359
5360         * examples/Makefile.am:
5361         * src/Makefile.am:
5362         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5363
5364 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
5365
5366         * src/hildon-picker-dialog.c:
5367         Defined a utility macro with the desired touch selector height
5368         Removed currently unused separator, and title_label variables from
5369         private structure.
5370         (hildon_picker_dialog_init): Removed code related to the creation
5371         of unused private variables title_label and separator.
5372         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5373         to ensure correct visualization of the touch selector inside the dialog.
5374         * src/hildon-touch-selector.c
5375         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5376         ensure a concrete height of the widget.
5377
5378 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5379
5380         * src/Makefile.am:
5381         * tests/Makefile.am:
5382
5383         Remove spurious whitespaces.
5384
5385 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5386
5387         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5388         compilation warning after the cancel button removal.
5389
5390 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
5391
5392         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5393
5394         * configure.ac: Added an AM_CONDITIONAL in order to use in the
5395         Makefile.am, that way we can choose not to compile some examples
5396         and tests of the deprecated widgets.
5397
5398         * examples/Makefile.am: Divided the sources in deprecated and
5399         non-deprecated.
5400
5401         * src/Makefile.am: Added undef statement of the deprecated
5402         symbol to the enums file generation process.
5403
5404         * src/hildon-color-chooser-dialog.c
5405         * src/hildon-color-chooser-dialog.h
5406         * src/hildon-color-button.c
5407         * src/hildon-color-button.h
5408         * src/hildon-color-chooser.c
5409         * src/hildon-color-chooser.h
5410         * src/hildon-controlbar.c
5411         * src/hildon-controlbar.h
5412         * src/hildon-date-editor.c
5413         * src/hildon-date-editor.h
5414         * src/hildon-hvolumebar.c
5415         * src/hildon-hvolumebar.h
5416         * src/hildon-private.c
5417         * src/hildon-private.h
5418         * src/hildon-range-editor.c
5419         * src/hildon-range-editor.h
5420         * src/hildon-seekbar.c
5421         * src/hildon-seekbar.h
5422         * src/hildon-time-editor.c
5423         * src/hildon-time-editor.h
5424         * src/hildon-time-picker.c
5425         * src/hildon-time-picker.h
5426         * src/hildon-volumebar.c
5427         * src/hildon-volumebar.h
5428         * src/hildon-vvolumebar.c
5429         * src/hildon-vvolumebar.h
5430         * src/hildon-bread-crumb-trail.h
5431         * src/hildon-bread-crumb-trail.c
5432         * src/hildon-calendar-popup.c
5433         * src/hildon-calendar-popup.h
5434         * src/hildon-weekday-picker.c:
5435         * src/hildon-weekday-picker.h:
5436         * src/hildon-bread-crumb-widget.c:
5437         * src/hildon-bread-crumb-widget.h:
5438         * src/hildon-bread-crumb.c:
5439         * src/hildon-bread-crumb.h:
5440         * src/hildon-calendar.c:
5441         * src/hildon-calendar.h:
5442         * src/hildon-caption.c:
5443         * src/hildon-code-dialog.c:
5444         * src/hildon-code-dialog.h:
5445         * src/hildon-font-selection-dialog.c:
5446         * src/hildon-font-selection-dialog.h:
5447         * src/hildon-get-password-dialog.c:
5448         * src/hildon-get-password-dialog.h:
5449         * src/hildon-login-dialog.c:
5450         * src/hildon-login-dialog.h:
5451         * src/hildon-number-editor.c:
5452         * src/hildon-number-editor.h:
5453         * src/hildon-set-password-dialog.c:
5454         * src/hildon-set-password-dialog.h:
5455         * src/hildon-sort-dialog.c:
5456         * src/hildon-sort-dialog.h: This is the list of deprecated
5457         widgets.
5458
5459         * src/hildon-touch-selector.c:
5460         * src/hildon-window.c: Added undef statement to avoid compilation
5461         warnings
5462
5463         * tests/Makefile.am: Divided the sources in deprecated and
5464         non-deprecated.
5465
5466         * tests/check_test.c,
5467         (configure_tests): Marked the deprecated code that was adding
5468         suites with deprecated tests.
5469
5470         Fixes: NB#91135 (Deprecate legacy hildon widgets)
5471
5472 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
5473
5474         * src/hildon-touch-selector.c: (_default_print_func): Do not
5475         duplicate a string returned by gtk_tree_model_get(), it is already
5476         allocated for us.
5477
5478         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5479         function)
5480
5481 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5482
5483         * src/hildon-pannable-area.c
5484         (hildon_pannable_area_add_with_viewport): Reviewed the complete
5485         method, it had problems when adding a widget with viewport the
5486         second time. Now checks if it already has a viewport and uses it.
5487
5488         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5489         on child)
5490
5491 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5492
5493         * src/hildon-pannable-area.c,
5494         (hildon_pannable_area_scroll_to),
5495         (hildon_pannable_area_jump_to),
5496         (hildon_pannable_area_scroll_to_child),
5497         (hildon_pannable_area_jump_to_child): Added a precondition to the
5498         scroll and jump to functions: the widget must be mapped before we
5499         can safely call these functions. We have also added documentation
5500         to the functions to explain how to use them in this situation.
5501
5502
5503 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
5504
5505         Reviewed the threading handling of the pannable widget, we have
5506         used the gdk_threads_add_timeout function instead of the usual
5507         glib handlers. This avoids some problems with the threads.
5508
5509         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5510         (hildon_pannable_area_initial_effect),
5511         (hildon_pannable_area_scroll_indicator_fade),
5512         (hildon_pannable_area_button_press_cb),
5513         (hildon_pannable_area_timeout),
5514         (hildon_pannable_area_motion_notify_cb),
5515         (hildon_pannable_area_button_release_cb),
5516         (hildon_pannable_area_scroll_cb),
5517         (hildon_pannable_area_scroll_to): Removed the
5518         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5519         gdk_threads_add_timeout.
5520
5521         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5522
5523 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5524
5525         [Release 2.1.18]
5526
5527         * NEWS: updates
5528         * configure.ac: bump version
5529         * debian/changelog: updates
5530
5531 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5532
5533         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5534         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5535         * src/hildon-color-chooser-dialog.c:
5536         (hildon_color_chooser_dialog_init):
5537         * src/hildon-font-selection-dialog.c:
5538         (hildon_font_selection_dialog_init):
5539         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5540
5541         Remove all cancel/close-like dialogs, as these are not going to be
5542         displayed at all.
5543
5544 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5545
5546         * src/hildon-note.c: (hildon_note_rebuild),
5547         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5548         when needed.
5549
5550         Fixes: NB#90661 (Delete dialog is displayed without NO button)
5551
5552 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
5553
5554         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5555         sure all buttons are shown, even the Cancel/Close-like ones.
5556
5557         Fixes: NB#90861 (Custom Confirmation dialogs should be
5558         protected from cancel button removal)
5559
5560 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5561
5562         * debian/control: Change libhildon1-examples dependency from libhildon1
5563         to libhildon1-dev
5564         * debian/libhildon1-examples.install
5565         * debian/rules
5566         * Makefile.am: Modified the final install directory for the examples on
5567         package libhildon1-examples
5568         * Makefile.static: Update clean target in order to remove all the binary
5569         examples
5570
5571         Changes suggested by Claudio after review new libhildon1-examples package
5572
5573 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
5574
5575         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5576         * src/hildon-touch-selector.c: Ditto.
5577
5578 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
5579
5580         * debian/control: Added new package libhildon1-examples, in order to pack
5581         the current hildon examples as documentation
5582         * debian/rules: Not to compress .c files, modify some includes on the
5583         examples (as normally are compiled locally, but when installed it will
5584         require to include the installed libhildon1 library), and rename
5585         Makefile.static
5586         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5587         install all the example files on the new example package
5588         * examples/Makefile.static: Added static makefile that can be used to
5589         compile the examples, once installed the new example package
5590         * examples: Most of the examples were modified in order to grant that
5591         all use only '#include "hildon.h"', in order to be easy to prepare
5592         it on the example package
5593
5594 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
5595
5596         * debian/control
5597         * debian/libhildon1-dev.install
5598         * debian/libhildon1-doc.install:
5599         Move all gtk-doc files to a separate libhildon1-doc package.
5600
5601 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
5602
5603         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
5604
5605         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5606
5607 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
5608
5609         * debian/rules: Fixed a error in order to avoid unnecessary calls
5610         to autogen.sh on package building
5611
5612 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
5613
5614         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5615
5616 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5617
5618         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5619         header include.
5620
5621 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
5622
5623         * src/hildon-picker-button.c
5624         (hildon_picker_button_finalize):
5625         Free priv->done_button_text
5626
5627         * src/hildon-time-button.c
5628         (hildon_time_button_set_time)
5629         * src/hildon-picker-button.c
5630         (hildon_picker_button_clicked)
5631         (hildon_picker_button_selector_selection_changed)
5632         (hildon_picker_button_set_selector)
5633         * src/hildon-date-button.c
5634         (hildon_date_button_set_date):
5635         Free strings returned by hildon_touch_selector_get_current_text()
5636
5637         * src/hildon-button.c (hildon_button_construct_child):
5638         Fix leaks in priv->image and priv->label_box
5639
5640         Fixes: NB#90535 (Memory leak in picker button)
5641
5642 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5643
5644         * src/hildon-button.c: (hildon_button_get_property): Do not access
5645         private elements directly, use getters instead.
5646
5647 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5648
5649         * src/hildon-app-menu-private.h
5650         * src/hildon-app-menu.c
5651         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5652         Store the menu's parent window.
5653
5654         * src/hildon-stackable-window.c
5655         (hildon_stackable_window_toggle_menu)
5656         (hildon_stackable_window_finalize):
5657         Set the menu's parent window when the menu is shown, unset it when
5658         it is destroyed.
5659
5660         * src/hildon-app-menu.c
5661         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5662         (hildon_app_menu_class_init):
5663         Send unhandled keyboard accelerators to the parent window.
5664
5665 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5666
5667         * src/hildon-stackable-window.c
5668         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5669
5670 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5671
5672         * configure.ac: post release version bump
5673
5674 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5675
5676         * NEWS: Updates
5677         * configure.ac: Bump version
5678         * debian/changelog: Updates
5679         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5680         gtk-doc 1.10.
5681
5682 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5683
5684         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5685
5686         * src/hildon-gtk.h
5687         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5688         GtkMenu with Hildon style.
5689
5690 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5691
5692         * src/hildon-picker-button.c:
5693         (hildon_picker_button_set_done_button_text): Set the dialog's
5694         done button text here as well.
5695
5696         Fixes: NB#90232 (Picker button does not set the label on done button
5697         for the second time)
5698
5699 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5700
5701         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5702         warning message.
5703
5704 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5705
5706         * src/hildon-app-menu.c (hildon_app_menu_insert)
5707         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5708         the HildonAppMenu to be activatable using keyboard accelerators
5709         when the menu is not being shown.
5710
5711         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5712
5713 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5714
5715         * src/hildon-stackable-window.c
5716         (hildon_stackable_window_show):
5717         Don't hide old windows automatically when new windows are shown:
5718         this is now a task for the window manager.
5719         (hildon_stackable_window_class_init)
5720         (hildon_stackable_window_hide):
5721         Remove windows from the stack everytime they're hidden.
5722         (hildon_stackable_window_realize):
5723         Don't change the _NET_WM_WINDOW_TYPE property. Use
5724         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5725         it as a stackable window.
5726
5727         * src/hildon-program.c
5728         (hildon_program_pop_window_stack):
5729         Just hide the window to remove it from the stack.
5730         (hildon_program_go_to_root_window):
5731         Don't call gtk_widget_show(), this is now a task for the window
5732         manager.
5733
5734         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5735
5736 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
5737
5738         * src/hildon-button.c
5739         (hildon_button_construct_child):
5740         Don't pack anything in the button until text or image are
5741         set. This allows adding a custom child after creating the button
5742         with hildon_button_new().
5743         (hildon_button_finalize, hildon_button_class_init)
5744         (hildon_button_init, hildon_button_set_arrangement): Destroy the
5745         alignment and the label box even when they're not packed in the
5746         button.
5747
5748 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
5749
5750         * src/hildon-touch-selector.h:
5751         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5752         currently the type definition was using GTK_TYPE_VBOX
5753         * src/hildon-touch-selector.c:
5754         Added some implementation notes in order to clarify that any other widget
5755         added without the column related API will not be included on the
5756         selection logic, and how the widget is freed, as some people ask about
5757         it.
5758         (hildon_touch_selector_remove): Reimplemented in order to free properly
5759         the column related data when you remove the private hbox.
5760         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5761         to get a proper HildonTouchSelectorColumn documentation
5762
5763 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5764
5765         * src/hildon-touch-selector-entry.c:
5766         (hildon_touch_selector_entry_print_func): Return NULL if there is no
5767         text in the GtkEntry and there is no item selected. Fixes a
5768         potential crasher.
5769
5770 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5771
5772         * src/hildon-app-menu-private.h
5773         * src/hildon-app-menu.[ch]
5774         * src/hildon-button.[ch]
5775         * src/hildon-check-button.[ch]
5776         * src/hildon-entry.[ch]
5777         * src/hildon-pannable-area.[ch]
5778         * src/hildon-text-view.[ch]:
5779         Added private field to the object's structure.
5780
5781 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5782
5783         * configure.ac: post-release version bump
5784
5785 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5786
5787         [Release 2.1.14]
5788
5789         * configure.ac: pre-release version bump
5790         * NEWS: updates.
5791         * debian/changelog: updates.
5792
5793 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5794
5795         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5796         Disconnect the handler for HildonTouchSelector::changed.
5797
5798         (hildon_picker_button_selector_selection_changed): Update the button
5799         value if the selection change was not triggered by the
5800         HildonPickerDialog.
5801
5802         (hildon_picker_button_set_selector): connect to
5803         HildonTouchSelector::changed.
5804
5805         Fixes: NB#89650 (Picker button is not updated, when selection in
5806         selector has changed)
5807
5808 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
5809
5810         * src/hildon-picker-dialog.c
5811         (hildon_picker_dialog_realize): Removed as not required
5812         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5813         * src/hildon-picker-button.c
5814         (_current_selector_empty): New function, checks if the selector is empty
5815         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5816         if the current selector is empty, in order to avoid to show the dialog
5817         close the dialog in this case (and shows a g_warning).
5818
5819         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5820
5821 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
5822
5823         * src/hildon-pannable-area.c,
5824         (hildon_pannable_area_scroll): Added clause to stop movement when
5825         the child of pannable is smaller than one page.
5826         (hildon_pannable_area_scroll_to): Added conditions to avoid
5827         starting the scrolling movement if the child is smaller than one
5828         page, the complete child is in the screen, we do not have to move.
5829
5830         Fixes: NB#89632 (Picker button selection doesn't change on first click)
5831
5832 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5833
5834         * src/hildon-app-menu.c: Removed the 'columns' property, as now
5835         this is managed automatically by the widget when the size of the
5836         screen changes.
5837
5838 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5839
5840         * src/hildon-picker-button.c
5841         (hildon_picker_button_set_done_button_text): Make a copy of the
5842         text, and free the previous value.
5843
5844 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5845
5846         * src/hildon-touch-selector-entry.c:
5847         (hildon_touch_selector_entry_print_func): Return the selected row's
5848         text if the entry is empty.
5849
5850         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5851         entry is empty)
5852
5853 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5854
5855         * src/hildon-touch-selector-entry.c: Minor docs fixes.
5856
5857 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5858
5859         * doc/hildon.types
5860         * src/hildon-check-button.h
5861         * src/hildon-check-button.c
5862         * examples/hildon-check-button-example.c:
5863         HildonCheckButton is now a new widget. 'toggled' signal added.
5864
5865 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5866
5867         * src/hildon-program-private.h
5868         * src/hildon-program.c (hildon_program_init)
5869         (hildon_program_finalize): Removed unused variables group_leader
5870         and name from HildonProgramPrivate.
5871
5872 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5873
5874         * src/hildon-check-button.c (hildon_check_button_set_active)
5875         (hildon_check_button_get_active, hildon_check_button_new): Use
5876         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5877
5878 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
5879
5880         * src/hildon-touch-selector.h
5881         (hildon_touch_selector_set_column_attributes): added deprecation
5882         guard HILDON_DISABLE_DEPRECATED
5883         * src/hildon-time-selector.c
5884         (hildon_time_selector_set_time)
5885         (hildon_time_selector_get_time): Fixed a typo on documentation
5886         * src/hildon-touch-selector.c: update HildonTouchSelector and
5887         HildonTouchSelectorColumn documentation
5888         * src/hildon-touch-selector-entry.c: update "text-column" property
5889         documentation
5890         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5891         to be added to the general documentation.
5892
5893 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
5894
5895         * examples/hildon-pannable-area-example-4.c,
5896         (main),
5897         * examples/hildon-pannable-area-example.c,
5898         (main): Modified the code in order to use the container add, with
5899         viewport treeviews could have problems if they are really big.
5900
5901 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
5902
5903         * src/hildon-weekday-picker.c,
5904         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5905         the agreement regarding deprecation in the library.
5906
5907 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5908
5909         * examples/hildon-picker-button-multicolumn-example.c:
5910         (main): Use custom "done" button text.
5911
5912         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5913         (hildon_picker_button_set_property),
5914         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5915         (hildon_picker_button_init),
5916         (+hildon_picker_button_get_done_button_text),
5917         (+hildon_picker_button_set_done_button_text): New methods to customize
5918         the "done" button label in the launched HildonPickerDialog. Also,
5919         make it a property.
5920
5921         * src/hildon-picker-button.h: add the public API.
5922
5923 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5924
5925         * src/hildon-date-selector.h:
5926         * src/hildon-picker-dialog.h:
5927         * src/hildon-time-selector.h:
5928         * src/hildon-touch-selector-column.h:
5929         * src/hildon-touch-selector.h:
5930
5931         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5932         declarations. Fixes gtk-doc warnings.
5933
5934 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5935
5936         * src/hildon-picker-dialog.h
5937         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5938         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5939
5940         Fixes: NB#89329 (selectors in picker dialog are not visible when a
5941         long text is set as label for done button)
5942
5943 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5944
5945         * src/hildon-dialog.c (hildon_dialog_add_button):
5946         Set fixed width to all buttons in the HildonDialog.
5947
5948 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5949
5950         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5951
5952         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5953         Set widget name using class name plus "-finger" or "-thumb".
5954
5955 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
5956
5957         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5958         'clicked' when the state of the button is manually changed.
5959
5960 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
5961
5962         * src/hildon-app-menu.c (hildon_app_menu_realize)
5963         (hildon_app_menu_unrealize, hildon_app_menu_init)
5964         (hildon_app_menu_class_init, item_visibility_changed):
5965         Change the menu layout when the size of the screen changes.
5966         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5967         Show warning only when changing the number of colums using the
5968         property.
5969
5970 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
5971
5972         * debian/compat: Set to 5
5973         * debian/control: Update dependencies.
5974         * debian/libhildon1-dbg.install: Remove.
5975         * debian/libhildon1-dev.install: Update according to cdbs paths.
5976         * debian/libhildon1.install: Update according to cdbs paths.
5977         * debian/rules: Switch to cdbs.
5978
5979 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5980
5981         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5982         'item' variable renamed to 'filter'
5983
5984 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5985
5986         * src/hildon-app-menu.c (hildon_app_menu_insert)
5987         (hildon_app_menu_add_filter, remove_item_from_list)
5988         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5989         Don't leak hidden items when the menu is destroyed.
5990
5991 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5992
5993         * src/hildon-app-menu.c (hildon_app_menu_insert)
5994         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5995         (hildon_app_menu_set_columns, item_visibility_changed)
5996         (filter_visibility_changed, hildon_app_menu_repack_filters)
5997         (hildon_app_menu_repack_items):
5998         Repack items and filters separately.
5999
6000         Don't repack all items, change only the ones that are needed to
6001         update the layout.
6002
6003 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
6004
6005         * src/Makefile.am: added hildon-touch-selector-column.h
6006
6007 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
6008
6009         * src/hildon-touch-selector.c: added the property "text-column" to the
6010         class HildonTouchSelectorColumn, and related get/set functions
6011         (_default_printf_func): updated to use "text-column" property
6012         * src/hildon-touch-selector-entry.c: mark as deprecated the property
6013         "text-column" in his documentation, as this is now included on
6014         HildonTouchSelectorColumn. The get/set_property can still be used,
6015         working as a wrapper to the concrete column "text-column" property
6016         (_text_column_modified): callback added in order to handle the signal
6017         "notify::text-column" of the concrete HildonTouchSelectorColumn
6018         (hildon_touch_selector_entry_get_text_column)
6019         (hildon_touch_selector_entry_set_text_column): Added documentation, and
6020         modified in order to use the HildonTouchSelectorColumn "text-column"
6021         property
6022         * src/hildon-time-selector.c:
6023         * src/hildon-date-selector.c:
6024         * examples/hildon-touch-selector-example.c
6025         * examples/hildon-touch-selector-multi-cells-example.c
6026         * examples/hildon-picker-button-multicolumn-example.c
6027         Set the right value to "text-column" property on the creation of a new
6028         column using hildon_touch_selector_append_column()
6029
6030         Fixes: NB#88644 (Hardcoded first column of the model as text column)
6031
6032 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
6033
6034         * src/hildon-app-menu.c
6035         (hildon_app_menu_construct_child, hildon_app_menu_init): When
6036         updating the layout of the menu, don't create all widgets again,
6037         just repack the items in their new places.
6038
6039 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
6040
6041         * src/hildon-time-selector.c
6042         (hildon_time_selector_get_time)
6043         (hildon_time_selector_set_time)
6044         Added documentation of these public methods
6045
6046         * src/hildon-date-button.h
6047         * src/hildon-touch-selector-column.h
6048         * src/hildon-time-button.h
6049         * src/hildon-picker-dialog.h
6050         * src/hildon-time-selector.h
6051         * src/hildon-picker-button.h
6052         * src/hildon-touch-selector.h
6053         * src/hildon-time-picker.h
6054         * src/hildon-date-selector.h
6055         * src/hildon-touch-selector-entry.h
6056         Modified in order to use hildon-widgets code style
6057
6058 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
6059
6060         Added deprecated support to the compilation process using
6061         HILDON_DISABLE_DEPRECATED
6062
6063         * configure.ac: Added the --disable-deprecated to the configure
6064         script
6065
6066         * src/hildon-weekday-picker.c:
6067         * src/hildon-weekday-picker.h: Deprecated widget, example of how
6068         to use the deprecated support. We will update the other deprecated
6069         widgets status in a new patch.
6070
6071 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
6072
6073         * configure.ac: Fixed typo with fatal warnings support, the
6074         variable name was not correct
6075
6076 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
6077
6078         * src/hildon-app-menu.c
6079         * src/hildon-program.c: Update documentation.
6080
6081 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
6082
6083         * configure.ac: Post-release version bump.
6084
6085 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
6086
6087         [Release 2.1.12]
6088
6089         * NEWS: Update.
6090         * configure.ac: Pre-release version bump.
6091         * debian/changelog: Updates.
6092
6093 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
6094
6095         * NEWS: Update news for previous releases.
6096
6097 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
6098
6099         * examples/hildon-touch-selector-multi-cells-example.c:
6100         (create_selector): Update the example to use
6101         hildon_touch_selector_append_column() with a NULL renderer and set
6102         the renderers later.
6103         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6104         passed a NULL renderer. This is documented behavior now.
6105
6106         Allow passing a NULL renderer to hildon_touch_selector_append_column().
6107         This must be used if the developer wants full control on the layout of
6108         the renderers to be added to the column.
6109
6110         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6111
6112 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
6113
6114         * src/hildon-touch-selector.c: Documentation fixes.
6115
6116 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
6117
6118         * src/hildon-wizard-dialog-private.h: Remove image and box.
6119         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6120         (hildon_wizard_dialog_set_property), (response): Completely remove
6121         image/icon support, and the containers required for the layout.
6122
6123         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6124
6125 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
6126
6127         * src/hildon-app-menu.c: Updated documentation.
6128
6129         * src/hildon-stackable-window.c
6130         (hildon_stackable_window_set_main_menu): Unref the old menu after
6131         ref'ing the new one.
6132
6133 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
6134
6135         * src/hildon-stackable-window.c
6136         (hildon_stackable_window_set_main_menu): Unref the previous menu
6137         instead of destroying it.
6138
6139         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6140         floating reference and set has_user_ref_count to FALSE to make
6141         HildonAppMenu act like a normal ref-counted widget and not a
6142         toplevel widget.
6143
6144         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6145         changed)
6146
6147 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
6148
6149         * src/hildon-touch-selector-column.h: new file
6150         * src/hildon-touch-selector.h
6151         * src/hildon-touch-selector.c
6152         Implemented GtkCellLayout interface, in order to allow to configure
6153         the cell layout on each individual selector column
6154         (hildon_touch_selector_set_column_attributes): marked as deprecated
6155         * examples/hildon-touch-selector-multi-cells-example.c
6156         Example of how to use the GtkCellLayout interface on the selector
6157
6158         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6159
6160 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6161
6162         * src/hildon-app-menu.h
6163         * src/hildon-app-menu.c
6164         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6165         (hildon_app_menu_append, hildon_app_menu_prepend):
6166         New methods to prepend, insert and move items in the menu.
6167
6168 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
6169
6170         * src/hildon-wizard-dialog.c:
6171
6172         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6173         button.
6174         (create_title): Update logical IDs and related code.
6175         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6176
6177         * src/hildon-wizard-dialog.h: Note that
6178         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6179         point, as it is not used anymore.
6180
6181         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6182
6183 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
6184
6185         * src/hildon-note.c:
6186         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6187         shown.  Do not display an icon in confirmation notes nor information
6188         notes.
6189         (hildon_note_set_button_text): Update logical ID for cancel button.
6190
6191         Fixes: NB#88850 (Update HildonNote button strings + signals)
6192
6193 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6194
6195         * src/hildon-stackable-window.c
6196         (hildon_stackable_window_set_main_menu): Fix compilation warning.
6197
6198 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6199
6200         * src/hildon-app-menu-private.h
6201         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6202         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6203         (hildon_app_menu_init, hildon_app_menu_class_init): Added
6204         temporary property 'columns' to change the number of columns.
6205
6206 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
6207
6208         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6209
6210         * examples/hildon-note-example.c: (on_information_clicked),
6211         (on_confirmation_clicked), (on_progress_clicked), (main): Add
6212         debugging information.
6213         * src/hildon-note-private.h: Remove close_if_pressed_outside,
6214         not needed anymore.
6215         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6216         (hildon_note_rebuild): Remove special handling of tapping outside/inside
6217         in order to close: this will be handled by the WM from now on.
6218
6219         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6220
6221 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
6222
6223         * src/hildon-app-menu-private.h
6224         * src/hildon-app-menu.c
6225         (hildon_app_menu_append, hildon_app_menu_add_filter)
6226         (button_visibility_changed, hildon_app_menu_apply_style)
6227         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6228         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6229         layout everytime a button (item or filter) is shown or hidden.
6230
6231         * src/hildon-stackable-window.c
6232         (hildon_stackable_window_set_main_menu): Destroy the old menu when
6233         setting a new one.
6234
6235 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
6236
6237         * src/hildon-touch-selector.c:
6238         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6239         that the treeview inside the touch selector is in fremantle hildon mode
6240         * examples/hildon-date-button-example.c
6241         * examples/hildon-picker-button-multicolumn-example.c
6242         * examples/hildon-touch-selector-entry-example.c
6243         * examples/hildon-touch-selector-example.c
6244         * examples/hildon-time-button-example.c
6245         * examples/hildon-picker-button-example.c:
6246         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6247
6248 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
6249
6250         * examples/hildon-text-view-example.c: (main): Remove the
6251         gtkrc bits, now handled by the theme.
6252
6253 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
6254
6255         * src/hildon-picker-button.c (hildon_picker_button_set_active):
6256         Fix memory leak
6257
6258 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6259
6260         * po/Makefile.am: Install properly the mo files.
6261         * po/en_GB.po: Update translation, to ease testing purposes.
6262
6263 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6264
6265         * examples/hildon-picker-button-example.c: (main): Select an item
6266         in the selector before setting it to the button.
6267
6268 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6269
6270         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6271         Update button's value if the selector has an item active.
6272
6273         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6274         'value' with the selector)
6275
6276 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
6277
6278         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6279         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6280         (hildon_picker_button_class_init): Plug the finalize method.
6281         (hildon_picker_button_set_selector): If there's a previously set
6282         selector, unref'it before setting a new one.
6283
6284         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6285         HildonTouchSelector)
6286
6287 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
6288
6289         * src/hildon-touch-selector-entry.c:
6290         (hildon_touch_selector_entry_changed): Check if there is no text
6291         selected before setting the entry text.
6292         Fixes: NB#88576
6293
6294 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6295
6296         * src/hildon-touch-selector.h
6297         * src/hildon-touch-selector.c
6298         (hildon_touch_selector_get_active)
6299         (hildon_touch_selector_set_active): New methods to set/get the
6300         index of the selected item.
6301
6302         * src/hildon-picker-button.h
6303         * src/hildon-picker-button.c
6304         (hildon_picker_button_get_active)
6305         (hildon_picker_button_set_active): New methods to set/get the
6306         index of the selected item.
6307
6308 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
6309
6310         * configure.ac: post-release version bump.
6311
6312 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
6313
6314         Release 2.1.10-1.
6315
6316         * configure.ac: Pre-release version bump.
6317         * debian/changelog: Updates.
6318         * debian/control: Add myself as maintainer and depend on l10n
6319         packages.
6320
6321 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6322
6323         * src/hildon-window.c
6324         (hildon_window_set_main_menu)
6325         * src/hildon-stackable-window.c
6326         (hildon_stackable_window_set_main_menu):
6327         Updated documentation.
6328
6329 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
6330
6331         * src/hildon-date-selector.c (hildon_date_selector_finalize):
6332         Don't free selector->priv manually.
6333         Fixes: NB#88414
6334
6335 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
6336
6337         * src/hildon-gtk.c,
6338         (hildon_gtk_window_set_progress_indicator):
6339         * src/hildon-gtk.h: Added the new API
6340         hildon_gtk_window_set_progress_indicator, it changes the state of
6341         the window progress hint.
6342
6343 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
6344
6345         * src/hildon-button.c
6346         * src/hildon-stackable-window.c: Minor documentation updates.
6347
6348 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
6349
6350         * src/hildon-stackable-window.c: Updated documentation.
6351
6352 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
6353
6354         * src/hildon-defines.h: Update margins definitions
6355         to the Fremantle sizes.
6356         Fixes: NB#88364
6357
6358 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
6359
6360         * src/hildon-touch-selector.c,
6361         (_hildon_touch_selector_set_model): Cleaning the code after
6362         review, removed g_print and #if 0 from the code.
6363
6364 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6365
6366         * src/hildon-edit-toolbar.c: Update documentation.
6367
6368 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6369
6370         * src/hildon-check-button.h
6371         * src/hildon-check-button.c
6372         (hildon_check_button_set_label, hildon_check_button_get_label)
6373         * examples/hildon-check-button-example.c
6374         (button_clicked_cb):
6375         Removed deprecated methods.
6376
6377 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
6378
6379         * src/hildon-text-view.c:
6380         Add sample code to the documentation.
6381
6382         * src/hildon-entry.h
6383         * src/hildon-text-view.h:
6384         Minor cosmetic changes.
6385
6386         * src/hildon-entry.c:
6387         Add sample code to the documentation.
6388         (hildon_entry_init, hildon_entry_refresh_contents):
6389         Don't allow NULL values in the placeholder.
6390
6391 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
6392
6393         * doc/hildon-docs.sgml
6394         * doc/hildon.types
6395         * examples/Makefile.am
6396         * examples/hildon-text-view-example.c
6397         * src/Makefile.am
6398         * src/hildon-text-view.c
6399         * src/hildon-text-view.h
6400         * src/hildon.h:
6401         New HildonTextView widget, with example.
6402
6403 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6404
6405         * po/POTFILES.in: Add missing files with translatable strings.
6406         Partially fixes NB#88287.
6407
6408 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6409
6410         * examples/hildon-pannable-area-example-2.c: (main): No need to
6411         set the cellrenderer height inside hildon touch lists, the theme does
6412         that for us.
6413
6414 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
6415
6416         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6417         they are integrated in the theme.
6418
6419 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
6420
6421         * examples/hildon-entry-example.c: Update the example adding
6422         widgets to modify the text and the placeholder of the HildonEntry.
6423
6424         * src/hildon-entry.c: Show the placeholder everytime the widget
6425         is empty and loses the focus.
6426
6427 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
6428
6429         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6430
6431         * src/hildon-pannable-area.c,
6432         (hildon_pannable_area_size_request): Fixed bug in height
6433         requisition, avoid increasing size and add border twice.
6434
6435 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
6436
6437         * configure.ac: postrelease version bump.
6438
6439 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
6440
6441         Release 2.1.8-1.
6442
6443         * configure.ac: Prerelease version bump.
6444         * debian/changelog: update.
6445         * debian/rules: make -dbg package contain useful debugging symbols.
6446
6447 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6448
6449         * src/hildon-dialog.h
6450         * src/hildon-dialog.c
6451         (hildon_dialog_add_button, hildon_dialog_add_buttons):
6452         New methods to add buttons with finger size.
6453         (hildon_dialog_new_with_buttons):
6454         Create buttons with finger size.
6455
6456         * examples/hildon-dialog-example.c (main): Use HildonDialog
6457         methods to add buttons.
6458
6459 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6460
6461         * src/hildon-entry.c: Updated HildonButton documentation.
6462
6463 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
6464
6465         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6466         button value label with (FALSE, FALSE) to prevent NB#88126 from
6467         being triggered.
6468
6469 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
6470
6471         * examples/hildon-pannable-area-example.c,
6472         (main): Removed examples panning a vbox inside a pannable
6473         area. Check bug NB#87965
6474
6475 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
6476
6477         Patch contributed by Kris Rietveld (kris@imendio.com)
6478
6479         * src/hildon-pannable-area.c,
6480         (hildon_pannable_area_get_topmost): replaced the get_geometry with
6481         get_size and get_position, this saves an X server roundtrip.
6482
6483 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
6484
6485         * doc/hildon-docs.sgml
6486         * doc/hildon.types
6487         * examples/Makefile.am
6488         * examples/hildon-entry-example.c
6489         * src/Makefile.am
6490         * src/hildon-entry.c
6491         * src/hildon-entry.h
6492         * src/hildon.h:
6493         New HildonEntry widget, with example.
6494
6495 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
6496
6497         * src/hildon-button.c (hildon_button_construct_child): Pack the
6498         image with expand == fill == FALSE. This is a workaround for a bug
6499         in GtkBox.
6500
6501 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
6502
6503         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6504         labels for the text column, to make it more look more dynamic.
6505
6506 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
6507
6508         * src/hildon-time-selector.c
6509         Define gettext auxiliar macro N_
6510         (_create_minutes_model)
6511         (_create_hours_model)
6512         (_create_ampm_model): use of strftime in order to fill the model
6513         * src/hildon-date-selector.c
6514         (hildon_date_selector_finalize):
6515         (_locales_init): remove the logic related to get the name of the months
6516         using nl_langinfo, as it is not required anymore
6517         (_create_day_model)
6518         (_create_year_model)
6519         (_create_month_model)
6520         (_update_day_model): use of strftime in order to fill the model properly
6521
6522
6523 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
6524
6525         * src/hildon-button.h
6526         * src/hildon-button.c (hildon_button_get_image): New method to
6527         retrieve the image.
6528
6529 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
6530
6531         * src/hildon-touch-selector.c:
6532         (hildon_touch_selector_remove_column): Remove from the correct parent
6533         and also remove the list element and free it.
6534         Fixes: NB#88049
6535
6536 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
6537
6538         * src/hildon-time-selector.c
6539         (_create_hours_model): change the range on 12h ampm format in order to use
6540         a 12-11 range instead of previous 01-12 range
6541         (hildon_time_selector_set_time): change the way to select the current time
6542         on 12h ampm format, due the change on the range
6543         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6544         Fixes: NB#88036
6545
6546 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
6547
6548         * src/hildon-touch-selector.c
6549         (hildon_date_touch_selector_get_selected): fix the selection mode check,
6550         in order to allow use this function on multiple row selection mode if
6551         the column is different that the first one
6552         Fixes: NB#88047
6553
6554 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
6555
6556         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6557         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6558
6559 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6560
6561         * src/hildon-date-selector.h: clean some comments, now on the .c
6562         * src/hildon-date-selector.c
6563         (hildon_date_selector_select_month): first implementation
6564         (hildon_date_selector_select_day): added documentation, reimplemented
6565         using hildon_date_selector_select_current_date to avoid repeat code
6566         Fixes: NB#88027
6567
6568 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
6569
6570         Reviewed interaction logic based on device experiences, refactored
6571         code.
6572
6573         * src/hildon-pannable-area.c,
6574         (hildon_pannable_area_class_init): Updated default vmax speed.
6575         (hildon_pannable_area_calculate_velocity): Added this function, it
6576         avoids duplicate valocity calculation. Adjusted calculation to
6577         avoid problems with zero dist events.
6578
6579         (hildon_pannable_area_motion_notify_cb): Now we use the
6580         calculate_velocity function.
6581
6582 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6583
6584         * src/hildon-date-selector.c
6585         (hildon_date_selector_select_current_date): fix the day range check
6586         as it failed using the last day of the current month
6587         Fixes NB#88023
6588
6589 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
6590
6591         * src/hildon-touch-selector.c
6592         (hildon_touch_selector_get_num_columns): added a parameter validation
6593         Fixes: NB#88022
6594
6595 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6596
6597         * examples/Makefile.am
6598         * examples/hildon-edit-toolbar-example.c: Example of the
6599         HildonEditToolbar widget.
6600
6601 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6602
6603         * configure.ac: postrelease version bump.
6604
6605 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6606
6607         Release 2.1.6-1.
6608
6609         * configure.ac: prerelease version bump.
6610         * debian/changelog: update.
6611
6612 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6613
6614         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6615         renderer to display stock icons in the touch list. Also, set the sizes
6616         to the recommended in the style guide.
6617
6618 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6619         * src/hildon-touch-selector.h
6620         (hildon_touch_selector_set_active_iter): renamed, now is
6621         hildon_touch_selector_select_iter
6622         (hildon_touch_selector_get_active_iter): renamed, now is
6623         hildon_touch_selector_get_selected
6624         (hildon_touch_selector_unselect_iter): added
6625         * src/hildon-touch-selector.c
6626         Update after API modification (methods renamed)
6627         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6628         order to avoid problems selecting multiple elements on the column
6629         (hildon_touch_selector_unselect_iter): added the implementation
6630         * src/hildon-time-selector.c
6631         * src/hildon-date-selector.c
6632         * src/hildon-touch-selector-entry.c
6633         Update methods calls after hildon-touch-selector.h API modification (methods
6634         renamed)
6635
6636 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6637
6638         * src/hildon-stackable-window.c
6639         (hildon_stackable_window_finalize): Call the parent class's finalize.
6640
6641 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6642
6643         * examples/hildon-touch-selector-example.c: (create_selector): Use
6644         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6645         cell height.
6646
6647 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6648
6649         * examples/hildon-touch-selector-example.c: (create_selector): Do not
6650         set a cell background color, to respect theming.
6651
6652 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
6653
6654         * doc/hildon-docs.sgml
6655         * doc/hildon.types
6656         * src/Makefile.am
6657         * src/hildon-edit-toolbar.c
6658         * src/hildon-edit-toolbar.h
6659         * src/hildon.h: New HildonEditToolbar widget.
6660
6661 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
6662
6663         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6664         extra GtkVBox.
6665
6666 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6667         * src/hildon-touch-selector.c
6668         (_create_new_column): use g_object_set instead of two g_object_set_property
6669
6670 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6671         * src/hildon-touch-selector.c
6672         (_create_new_column): use of hildon_gtk_tree_view_new to create
6673         the treeview, instead of use directly g_object_new
6674         (_create_new_column): update the property name "vindicator-mode" for the
6675         new one "vscrollbar-policy"
6676         * examples/hildon-date-button-example.c
6677         * examples/hildon-picker-button-multicolumn-example.c
6678         * examples/hildon-touch-selector-entry-example.c
6679         * examples/hildon-touch-selector-example.c
6680         * examples/hildon-time-button-example.c
6681         * examples/hildon-picker-button-example.c
6682         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6683         to all the treeviews inside a pannable area.
6684
6685 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6686
6687         * src/hildon-button.h
6688         * src/hildon-button.c (hildon_button_init)
6689         (hildon_button_set_arrangement, hildon_button_set_alignment)
6690         (hildon_button_set_title_alignment)
6691         (hildon_button_set_value_alignment)
6692         (hildon_button_set_image_alignment)
6693         (hildon_button_construct_child): New methods to set the alignment
6694         of the individual components of the button (title, value,
6695         image). Also, new method to alter the xscale and yscale properties
6696         of the GtkAlignment inside the button, so more complex layouts can
6697         be created.
6698
6699 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6700
6701         * src/hildon-button.c (hildon_button_style_set)
6702         (hildon_button_class_init, hildon_button_set_arrangement)
6703         (hildon_button_construct_child): Apply style properties
6704         correctly. Use the 'image-spacing' style property too.
6705
6706 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
6707
6708         * src/hildon-app-menu.c (hildon_app_menu_style_set)
6709         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6710         correctly.
6711
6712 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6713
6714         * src/hildon-pannable-area.c,
6715         (hildon_pannable_area_size_request): Fixed problem with
6716         pannable-area size_request.
6717
6718 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6719
6720         Added management for the grab-focus to a child widget, like a
6721         range, we need to fade out the scrollbar when releasing.
6722
6723         * src/hildon-pannable-area.c,
6724         (hildon_pannable_area_init): Connected the grab-focus signal to
6725         the callback.
6726         (hildon_pannable_area_grab_notify): Added this function in order
6727         to manage the situation when the grab-focus ends. We have to
6728         fade-out the scrollbar.
6729
6730 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6731
6732         * src/hildon-app-menu.c: Minor documentation update.
6733
6734 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6735
6736         * src/hildon-app-menu.c
6737         * examples/hildon-app-menu-example.c (create_menu): Update
6738         examples and documentation to explain how to connect callbacks.
6739
6740 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
6741
6742         * examples/hildon-button-example.c
6743         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6744         hildon_stackable_window_new instead of gtk_window_new
6745
6746 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
6747
6748         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6749         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6750         (hildon_pannable_area_set_property),
6751         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6752         (hildon_pannable_area_unrealize),
6753         (hildon_pannable_area_size_request),
6754         (hildon_pannable_area_size_allocate),
6755         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6756         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6757         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6758         (hildon_pannable_area_initial_effect),
6759         (hildon_pannable_area_redraw),
6760         (hildon_pannable_area_scroll_indicator_fade),
6761         (hildon_pannable_area_expose_event),
6762         (hildon_pannable_area_get_topmost), (synth_crossing),
6763         (hildon_pannable_area_button_press_cb),
6764         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6765         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6766         (hildon_pannable_area_motion_notify_cb),
6767         (hildon_pannable_area_button_release_cb),
6768         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6769         (hildon_pannable_area_remove),
6770         (hildon_pannable_calculate_vel_factor): Widget refactorization,
6771         chage the code layout to a more GtkWidget like. Review the use of
6772         variables.
6773
6774 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
6775
6776         * examples/hildon-pannable-area-example-4.c,
6777         (main): Modified the name of the hindicator_mode to
6778         hscrollbar_visible
6779
6780         * src/hildon-pannable-area.c,
6781         (hildon_pannable_area_class_init),
6782         (hildon_pannable_area_motion_notify_cb),
6783         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6784         we have reduced the amount of signals and managed reviewed its
6785         rationale. Changed the default decelerate value.
6786
6787         (hildon_pannable_area_add),
6788         (hildon_pannable_area_redraw): Refactored functions.
6789
6790         (hildon_pannable_area_init),
6791         (hildon_pannable_area_get_property),
6792         (hildon_pannable_area_set_property):
6793         (hildon_pannable_draw_vscroll),
6794         (hildon_pannable_draw_hscroll),
6795         (hildon_pannable_area_initial_effect),
6796         (hildon_pannable_area_expose_event),
6797         (hildon_pannable_area_scroll),
6798         (hildon_pannable_area_button_press_cb),
6799         (hildon_pannable_area_realize): Replaced the names hindicator_mode
6800         and vindicator_mode with hscrollbar_policy and
6801         vscrollbar_policy. Replaced hscroll and vscroll with
6802         hscroll_visible and vscroll_visible.
6803
6804         (hildon_pannable_area_refresh): Refactor the function, remove
6805         variables and check the calls to this function, added resize
6806         conditions in case the children change their layout.
6807
6808         (hildon_pannable_area_size_request): Added more detailed
6809         size_request calculation.
6810
6811
6812 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
6813
6814         * src/hildon-color-chooser.c
6815         (init_borders): use the correct gtk_border_free instead of g_free, to
6816         avoid a crash when this widget is used (ie: the three color selection
6817         examples)
6818
6819 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6820
6821         * src/hildon-check-button.c,
6822         (hildon_check_button_set_active): Fixed problem when setting the
6823         active value, the widget was not redrawn.
6824
6825 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6826
6827         * src/hildon-pannable-area.c,
6828         (hildon_pannable_area_refresh),
6829         (hildon_pannable_area_scroll),
6830         (hildon_pannable_area_motion_notify_cb): Small code style change.
6831
6832         (hildon_pannable_area_class_init): Default initial_hint set to
6833         FALSE, it is not in the specs.
6834
6835         (hildon_pannable_area_initial_effect),
6836         (hildon_pannable_area_expose_event),
6837         (hildon_pannable_area_map),
6838         (hildon_pannable_area_init): Moved the launching point of the
6839         initial effect, it was in map but the sizes where not correct in
6840         that method so we do not know if we have the reproduce it. Now it
6841         is placed in the expose_event method and uses a variable to
6842         reproduce it just once.
6843
6844 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6845
6846         * src/hildon-pannable-area.c,
6847         (hildon_pannable_draw_vscroll),
6848         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6849         position allowed for the scrollbars.
6850
6851         (hildon_pannable_area_size_allocate): Small style change.
6852
6853 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6854
6855         * src/hildon-pannable-area.c,
6856         (hildon_pannable_area_scroll_indicator_fade),
6857         (hildon_pannable_area_button_press_cb),
6858         (hildon_pannable_area_button_release_cb),
6859         (hildon_pannable_area_scroll_cb),
6860         (hildon_pannable_area_expose_event),
6861         (hildon_pannable_area_init): Added the define parameter
6862         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6863         and refactor the fade variable.
6864
6865 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6866
6867         * src/hildon-pannable-area.c,
6868         (hildon_pannable_area_redraw),
6869         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6870         lines, we were reimplemeting the redraw code.
6871
6872 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6873
6874         * src/hildon-pannable-area.c,
6875         (hildon_pannable_area_scroll_cb),
6876         (hildon_pannable_area_realize),
6877         (hildon_pannable_area_class_init): Added scroll_event management
6878         for pannable area, now we can scroll the usual desktop method.
6879
6880         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6881         initialization of the parameters should depend on idle_id.
6882
6883         (hildon_pannable_area_init),
6884         (hildon_pannable_area_map): Small code style modifications
6885
6886 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6887
6888         * src/hildon-pannable-area.c
6889         (hildon_pannable_area_button_press_cb),
6890         (hildon_pannable_area_motion_notify_cb),
6891         (hildon_pannable_area_button_release_cb),
6892         (hildon_pannable_area_size_allocate),
6893         (hildon_pannable_area_scroll_to): Improved the timeouts
6894         management, we avoid creating them each time.
6895
6896 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6897
6898         * src/hildon-pannable-area.c:
6899         (hildon_pannable_area_refresh),
6900         (hildon_pannable_area_motion_notify_cb),
6901         (hildon_pannable_area_class_init):
6902         * src/hildon-pannable-area.h:
6903         * src/hildon-touch-selector.c
6904         (_create_new_column):
6905         * examples/hildon-pannable-area-example-4.c:
6906         (horizontal_movement),
6907         (vertical_movement),
6908         (main):
6909         Replaced the names of enums in the HildonPannableArea:
6910            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
6911               HILDON_MOVEMENT_MODE_*
6912            -  HILDON_PANNABLE_AREA_MOV_* ->
6913               HILDON_MOVEMENT_*
6914            - Removed HildonPannableAreaIndicatorMode, now we
6915              use GtkPolicyType
6916
6917 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6918
6919         * examples/hildon-pannable-area-touch-grid-example.c
6920         * examples/hildon-pannable-area-touch-list-example.c: Fix
6921         compilation warnings.
6922
6923 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6924
6925         * src/hildon-gtk.c (hildon_gtk_button_new)
6926         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6927         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6928         images overriding the value of the "gtk-button-images" setting.
6929
6930 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6931
6932         * src/hildon-check-button.c (hildon_check_button_new):
6933         Instead of using a custom container, display the label and the
6934         checkbox using the standard GtkButton API.
6935
6936         * examples/hildon-check-button-example.c (main): Don't use
6937         hildon_check_button_set_label() anymore
6938
6939         * src/hildon-check-button.h
6940         * src/hildon-check-button.c
6941         (hildon_check_button_set_label, hildon_check_button_get_label):
6942         Set as deprecated, now we're using gtk_button_{get,set}_label()
6943
6944 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6945
6946         * src/hildon-pannable-area.c,
6947         (hildon_pannable_area_get_topmost): Fixed bug with click in the
6948         GtkTreeview first line we detected it after the inclusion of the
6949         GtkWindowImpl in gtk+. We now check if the window is visible, not
6950         just if the pointer is over the window.
6951         (hildon_pannable_axis_scroll),
6952         (hildon_pannable_area_expose_event): Small style changes.
6953
6954 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6955
6956         * src/hildon-button.c: Update documentation.
6957
6958 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6959
6960         * examples/hildon-button-example.c: Add a switch to show images in
6961         the buttons.
6962
6963 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6964
6965         * doc/hildon-docs.sgml: Some docs reorganization.
6966
6967 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6968
6969         * examples/hildon-pannable-area-touch-list-example.c
6970         (create_tree_view)
6971         * examples/hildon-pannable-area-touch-grid-example.c
6972         (create_icon_view): Use gtk_{tree,icon}_view_new() and
6973         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6974         Fix memory leak when setting the tree model.
6975
6976 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6977
6978         Released 2.1.4
6979
6980 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6981
6982         * doc/hildon.types: Remove duplicated hildon_window_get_type
6983         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6984         documentation comment.
6985
6986 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6987
6988         * doc/Makefile.am: Complete list of private headers.
6989
6990 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6991
6992         * doc/hildon-docs.sgml
6993         * src/hildon-app-menu.c
6994         * src/hildon-bread-crumb.c
6995         * src/hildon-button.c
6996         * src/hildon-gtk.c
6997         * src/hildon-program.c
6998         * src/hildon-stackable-window.c
6999         * src/hildon-window.c: Lots of documentation updates.
7000
7001 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
7002
7003         * debian/control: Depend on Gtk 2:2.12.9-0osso3
7004
7005         * configure.ac: Require Gtk+ 2.12.9 at least
7006
7007 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
7008
7009         * src/hildon-pannable-area.c
7010         (hildon_pannable_area_scroll_indicator_fade),
7011         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7012         to protect the return of this timeout callbacks, avoiding deadlocks.
7013
7014 2008-08-12  Christian Dywan  <christian@imendio.com>
7015
7016         * src/hildon-*.c
7017         * src/hildon-*.h: Ensure a consistent include order,
7018         include <gtk/gtk.h> instead of particular files and
7019         only include the topmost header in the gtk stack. See NB #39857
7020
7021 2008-08-12  Christian Dywan  <christian@imendio.com>
7022
7023         * src/hildon-picker-dialog.c
7024         * src/hildon-touch-selector.c: Fix warnings about unused and
7025         uninitialized variables.
7026
7027 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7028
7029         * examples/Makefile.am
7030         * examples/hildon-check-button-example.c: Example of the hildon
7031         check button.
7032
7033 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7034
7035         * src/hildon-window.h
7036         * src/hildon-window.c (hildon_window_class_init)
7037         (hildon_window_unset_program): Don't make
7038         hildon_window_unset_program a virtual function anymore.
7039
7040         * src/hildon-stackable-window.c: Update documentation
7041
7042 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7043
7044         * doc/Makefile.am
7045         * doc/hildon-docs.sgml
7046         * doc/visual_index.xml
7047         * src/hildon-defines.c
7048         * src/hildon-gtk.c
7049         * src/hildon-helper.c
7050         * src/hildon-range-editor.c: Lots of documentation fixes.
7051
7052 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7053
7054         * examples/hildon-picker-button-multicolumn-example.c
7055         (create_touch_selector): Fix compilation warning.
7056
7057 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7058
7059         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7060         (hildon_pannable_area_button_release_cb)
7061         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7062
7063 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7064
7065         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7066         assertion.
7067
7068 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7069
7070         * src/hildon-bread-crumb-trail.h
7071         * src/hildon-date-editor.c
7072         * src/hildon-date-selector.c
7073         * src/hildon-pannable-area.c
7074         * src/hildon-picker-dialog.c
7075         * src/hildon-time-selector.c
7076         * src/hildon-touch-selector-entry.c
7077         * src/hildon-touch-selector.c
7078         * src/hildon-touch-selector.h: Misc documentation fixes
7079
7080 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
7081
7082         * examples/hildon-date-editor-example.c (main): Updated date
7083         editor example.
7084
7085         * examples/hildon-note-example.c (on_confirmation_clicked):
7086         Updated confirmation note example.
7087
7088         * src/hildon-date-editor.c
7089         * src/hildon-note.c: Updated sample programs in documentation.
7090         Fixes: NB#87437
7091
7092 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
7093
7094         * src/hildon-date-button.h:
7095         * src/hildon-picker-button.h:
7096         * src/hildon-time-button.c:
7097         * src/hildon-time-button.h:
7098
7099         Some declarations changes to allow gtk-doc to document the widgets
7100         properly.
7101
7102 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
7103
7104         * src/hildon-date-button.c: Document the widget.
7105         * src/hildon-time-button.c: Document the widget.
7106
7107 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
7108
7109         * src/hildon-picker-button.c: Document the widget.
7110         * src/hildon-touch-selector-entry.c: Document the widget.
7111
7112 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7113
7114         * doc/hildon-docs.sgml
7115         * src/Makefile.am
7116         * src/hildon.h
7117         * src/hildon-check-button.h
7118         * src/hildon-check-button.c: New functions to create the Hildon
7119         Touch Checkbox.
7120
7121         * src/hildon-gtk.h
7122         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7123
7124 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7125
7126         * src/hildon-button.h
7127         * src/hildon-button.c
7128         (hildon_button_add_title_size_group)
7129         (hildon_button_add_value_size_group)
7130         (hildon_button_add_image_size_group)
7131         (hildon_button_add_size_groups): New functions to set size groups
7132         for the button labels and image.
7133         (hildon_button_new_full): Removed
7134
7135 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
7136
7137         * src/hildon-time-selector.c
7138         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7139         in order to avoid a crash if gconf is not available
7140
7141 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7142
7143         * src/hildon-button.c (hildon_button_set_arrangement)
7144         (hildon_button_construct_child): Don't construct the button child
7145         before setting the arrangement.
7146
7147 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7148
7149         * src/hildon-program-private.h
7150         * src/hildon-program.c
7151         * src/hildon-program.h
7152         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7153         (hildon_program_peek_window_stack)
7154         (hildon_program_pop_window_stack)
7155         (hildon_program_go_to_root_window): HildonProgram now has a
7156         separate list for stackable windows. Functions are provided to
7157         manage that list with a stack-like API.
7158
7159         * src/hildon-stackable-window.c: Stackable window management is
7160         now much simpler with the new HildonProgram API. Windows no
7161         longer need to be manually added to the program, they're
7162         automatically pushed to the top of the stack when shown.
7163
7164         * examples/hildon-stackable-window-example.c: Updated example to
7165         reflect the API changes.
7166
7167 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
7168
7169         * src/hildon-touch-selector.c: Comment out unimplemented
7170         hildon_touch_selector_insert_column() to avoid a compile warning.
7171
7172 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
7173
7174         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7175         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7176         (hildon_touch_selector_set_column_selection_mode),
7177         (_hildon_touch_selector_set_model),
7178         (hildon_touch_selector_set_model):
7179
7180         Complete review of HildonTouchSelector documentation.
7181
7182 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
7183
7184         * doc/hildon-docs.sgml
7185         * src/Makefile.am
7186         * src/hildon.h
7187         * src/hildon-gtk.h
7188         * src/hildon-gtk.c: Convenience functions for standard Gtk
7189         widgets, used to easily perform frequent operations.
7190
7191         * src/hildon-button-helpers.h
7192         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7193
7194         * src/hildon-helper.h
7195         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7196         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7197
7198         * src/hildon-button.h
7199         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7200
7201 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7202
7203         * src/hildon-button.c (hildon_button_init)
7204         (hildon_button_set_arrangement, hildon_button_construct_child):
7205         Pack the image and the labels inside the same GtkAlignment so
7206         gtk_button_set_alignment() can be used
7207
7208 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7209
7210         * src/hildon-button.h
7211         * src/hildon-button.c
7212         (hildon_button_init, hildon_button_set_image)
7213         (hildon_button_set_image_position)
7214         (hildon_button_construct_child): New functions to add an image to
7215         the HildonButton.
7216
7217 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7218
7219         * src/hildon-date-button.c
7220         * src/hildon-picker-button.c
7221         * src/hildon-time-button.c
7222         * src/hildon-button.c:
7223         (hildon_button_class_init): "size-flags" renamed to "size"
7224         (hildon_button_set_title): Hide the title label if set to NULL.
7225
7226 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
7227
7228         HildonButtonFlags split into HildonButtonArrangement (to set the
7229         button layout) and HildonSizeType (which can be used for any
7230         widget).
7231
7232         * src/hildon-button.h
7233         * src/hildon-button.c
7234         (hildon_button_class_init)
7235         (hildon_button_set_arrangement)
7236         (hildon_button_set_property): New "size-flags"
7237         property. "arrangement-flags" renamed to "arrangement".
7238         (hildon_button_new, hildon_button_new_with_text)
7239         (hildon_button_new_full): Constructors updated to reflect type changes.
7240
7241         * src/hildon-helper.h
7242         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7243         to set the size of a widget.
7244
7245         * src/Makefile.am
7246         * src/hildon.h
7247         * src/hildon-button-helpers.c
7248         * src/hildon-button-helpers.h: New hildon-button-helpers module.
7249
7250         * src/hildon-date-button.c
7251         * src/hildon-date-button.h
7252         * src/hildon-picker-button.c
7253         * src/hildon-picker-button.h
7254         * src/hildon-time-button.c
7255         * src/hildon-time-button.h: Updated widgets to reflect
7256         HildonButton API changes.
7257
7258         * examples/hildon-button-example.c
7259         * examples/hildon-date-button-example.c
7260         * examples/hildon-picker-button-example.c
7261         * examples/hildon-picker-button-multicolumn-example.c
7262         * examples/hildon-time-button-example.c
7263         * examples/hildon-touch-selector-entry-example.c
7264         * examples/hildon-touch-selector-example.c: Updated examples to
7265         reflect HildonButton API changes.
7266
7267 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7268
7269         * doc/hildon-docs.sgml:
7270         * doc/hildon.types:
7271         * examples/Makefile.am:
7272         * examples/hildon-touch-selector-entry-example.c:
7273         * src/Makefile.am:
7274         * src/hildon-touch-selector-entry.c:
7275         * src/hildon-touch-selector-entry.h:
7276         * src/hildon.h:
7277
7278         Moved HildonTouchSelectorEntry from sandbox. Added its
7279         documentation and examples.
7280
7281 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7282
7283         * src/hildon-touch-selector.h:
7284         * examples/hildon-picker-button-multicolumn-example.c:
7285         (hildon_touch_selector_append_text_column): Add a gboolean
7286         parameter to determine if text must be centered in the column.
7287
7288         * src/hildon-date-selector.c: (hildon_date_selector_init):
7289         * src/hildon-time-selector.c: (hildon_time_selector_init):
7290         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7291         (create_touch_selector): Update widgets and example to reflect
7292         the API change.
7293
7294 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
7295
7296         * src/hildon-touch-selector.c:
7297         (hildon_touch_selector_set_active_iter): Set also the cursor in
7298         the active row.
7299
7300 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
7301
7302         * doc/hildon-docs.sgml
7303         * doc/hildon.types
7304         * src/Makefile.am
7305         * src/hildon-toggle-button.c
7306         * src/hildon-toggle-button.h
7307         * src/hildon.h: Removed HildonToggleButton widget, a derived
7308         class is not necessary for this.
7309
7310 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
7311
7312         * src/hildon-pannable-area.c,
7313         (hildon_pannable_area_realize),
7314         (hildon_pannable_area_size_allocate): Code refactoring, add tests
7315         for negative sizes.
7316
7317 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
7318
7319         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7320         "done" button the default widget for the dialog.
7321
7322 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7323
7324         * src/hildon-touch-selector.c:
7325         (hildon_touch_selector_class_init),
7326         (hildon_touch_selector_get_property),
7327         (_hildon_touch_selector_set_model),
7328         (_hildon_touch_selector_has_multiple_selection),
7329         (hildon_touch_selector_has_multiple_selection):
7330         Add a "has-multiple-selection" property with a virtual
7331         has_multiple_selection() method to allow derived classes to
7332         override the default value for it. See the method and property
7333         documentation for details.
7334
7335         * src/hildon-touch-selector.h: Add the new API.
7336
7337         * src/hildon-picker-dialog.c: (requires_done_button): Call
7338         hildon_touch_selector_has_multiple_selection() instead of
7339         determining the need for a button itself.
7340
7341 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7342
7343         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7344         (_hildon_touch_selector_set_model),
7345         (hildon_touch_selector_set_model): Move working code to
7346         _hildon_touch_selector_set_mode(). Call the class method instead.
7347
7348         * src/hildon-touch-selector.h: Add (*set_model) to
7349         HildonTouchSelectorClass.
7350
7351         Make hildon_touch_selector_set_model() a virtual method, so that
7352         derived classes can extend it and do fancy stuff with the model.
7353
7354 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
7355
7356         * configure.ac: Set back the tarname in AC_INIT to hildon.
7357
7358 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7359
7360         Release 2.1.3
7361
7362         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7363         instead of libesd (NB#86876). Volume handling is still an open issue.
7364
7365         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7366         cleanups.
7367
7368 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
7369
7370         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7371         (hildon_touch_selector_append_column): Make the widget a GtkVBox
7372         derived class to ease placement of an entry widget in
7373         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7374         end, where the selector columns are packed now.
7375
7376 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
7377
7378         * src/hildon-picker-button.c: Removed the simple _text() API.
7379         * src/hildon-picker-button.h: Likewise.
7380
7381         * src/hildon-touch-selector.h:
7382         * src/hildon-touch-selector.c:
7383         (hildon_touch_selector_new_text),
7384         (hildon_touch_selector_append_text),
7385         (hildon_touch_selector_prepend_text),
7386         (hildon_touch_selector_insert_text):
7387
7388         Moved the simple _text() API from HildonPickerButton to
7389         HildonTouchPicker, to provide better escalability and not to tie
7390         that API to HildonPickerButton.
7391
7392         * examples/hildon-picker-button-example.c: (main): Example updated.
7393
7394 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7395
7396         * src/hildon-button.c: Updated documentation.
7397
7398         * examples/hildon-button-example.c: Add the posibility to create
7399         the buttons using horizontal layout for title and value.
7400
7401 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7402
7403         * src/hildon-app-menu-private.h
7404         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7405         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7406         GtkSizeGroup for the filters, use the 'homogeneous' property of
7407         the box instead.
7408
7409 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
7410
7411         * examples/hildon-button-example.c: Updated example.
7412
7413 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
7414
7415         * doc/hildon-docs.sgml:
7416         * doc/hildon.types:
7417
7418         Update documentation.
7419
7420         * examples/Makefile.am: Update renamed examples.
7421
7422         * examples/hildon-picker-button-multicolumn-example.c:
7423         (create_touch_selector), (main): Update after the rename.
7424
7425         * examples/hildon-touch-picker-example.c: Removed.
7426         * examples/hildon-touch-selector-example.c: (value_changed),
7427         (create_selector), (get_visible_content), (main): Renamed from
7428         hildon-touch-picker-example.c
7429
7430         * src/Makefile.am: Updated renamed files.
7431
7432         * src/hildon-date-button.c: (hildon_date_button_init),
7433         (hildon_date_button_get_date), (hildon_date_button_set_date):
7434         * src/hildon-date-selector.c: (hildon_date_selector_init),
7435         (_custom_print_func), (_update_day_model),
7436         (_manage_selector_change_cb),
7437         (hildon_date_selector_select_current_date),
7438         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7439         * src/hildon-date-selector.h:
7440         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7441         (hildon_picker_button_set_property),
7442         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7443         (hildon_picker_button_init), (hildon_picker_button_new_text),
7444         (hildon_picker_button_append_text),
7445         (hildon_picker_button_prepend_text),
7446         (hildon_picker_button_insert_text),
7447         (hildon_picker_button_set_selector),
7448         (hildon_picker_button_get_selector):
7449         * src/hildon-picker-button.h:
7450         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7451         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7452         (_update_title_on_selector_changed_cb), (requires_done_button),
7453         (_hildon_picker_dialog_set_selector),
7454         (hildon_picker_dialog_set_selector),
7455         (hildon_picker_dialog_get_selector):
7456         * src/hildon-picker-dialog.h:
7457         * src/hildon-time-button.c: (hildon_time_button_init),
7458         (hildon_time_button_get_time), (hildon_time_button_set_time):
7459         * src/hildon-time-selector.c: (hildon_time_selector_init),
7460         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7461         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7462         * src/hildon-time-selector.h:
7463         * src/hildon.h:
7464
7465         Massive code updates after the rename.
7466
7467         * src/hildon-touch-picker.c: Removed.
7468         * src/hildon-touch-picker.h: Removed.
7469
7470         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7471         (hildon_touch_selector_init), (hildon_touch_selector_map),
7472         (hildon_touch_selector_remove), (_default_print_func),
7473         (_selection_changed_cb), (_create_new_column),
7474         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7475         (hildon_touch_selector_append_text_column),
7476         (hildon_touch_selector_remove_column),
7477         (hildon_touch_selector_set_column_attributes),
7478         (hildon_touch_selector_insert_column),
7479         (hildon_touch_selector_get_num_columns),
7480         (hildon_touch_selector_get_column_selection_mode),
7481         (hildon_touch_selector_set_column_selection_mode),
7482         (hildon_touch_selector_set_print_func),
7483         (hildon_touch_selector_get_print_func),
7484         (hildon_touch_selector_get_active_iter),
7485         (hildon_touch_selector_set_active_iter),
7486         (hildon_touch_selector_get_selected_rows),
7487         (hildon_touch_selector_get_model),
7488         (hildon_touch_selector_set_model),
7489         (hildon_touch_selector_get_current_text),
7490         (_hildon_touch_selector_center_on_selected_items):
7491         * src/hildon-touch-selector.h: Renamed from
7492         hildon-touch-picker.[ch]
7493
7494         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7495         references, code examples, and related documentation.
7496
7497 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
7498
7499         * doc/hildon-docs.sgml
7500         * doc/hildon.types
7501         * src/Makefile.am
7502         * src/hildon-toggle-button.c
7503         * src/hildon-toggle-button.h
7504         * src/hildon.h: New HildonToggleButton widget.
7505
7506 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
7507
7508         * src/hildon-button.c: Add API documentation.
7509         (hildon_button_set_size_groups): Check input parameters
7510
7511 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
7512
7513         * src/hildon-pannable-area.c
7514         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7515         effect after reaching the movement thredshold. This way we start
7516         using the distance after passing the thredshold.
7517
7518 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7519
7520         * src/hildon-button.c: (hildon_button_set_property): Use the
7521         appropriate g_value_get_flags() method.
7522
7523 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7524
7525         * doc/hildon-docs.sgml:
7526         * doc/hildon.types:
7527
7528          Add the touch pickers, picker dialogs, and picker button widgets
7529         to the documentation.
7530
7531 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7532
7533         * src/hildon-button.c: (hildon_button_set_property),
7534         (hildon_button_class_init): Make "arrangement-flags" a proper
7535         G_TYPE_FLAGS derived property.
7536
7537 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7538
7539         * examples/Makefile.am: Add below examples.
7540         * examples/hildon-date-button-example.c:
7541         * examples/hildon-picker-button-example.c:
7542         * examples/hildon-picker-button-multicolumn-example.c:
7543         * examples/hildon-time-button-example.c:
7544         * examples/hildon-touch-picker-example.c:
7545
7546         Add examples for the recently added touch pickers,
7547         picker dialogs, and picker button widgets.
7548
7549 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7550
7551         * src/hildon-button.c: Add some API documentation
7552
7553 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7554
7555         * src/hildon-button.h
7556         * src/hildon-button.c
7557         (hildon_button_new)
7558         (hildon_button_new_with_text): New constructor to create a button
7559         with no text at all.
7560         (hildon_button_init, hildon_button_set_arrangement)
7561         (hildon_button_set_title, hildon_button_set_value)
7562         (hildon_button_set_text)
7563         (hildon_button_construct_child): Hide the value when it's not used
7564         so the rest of the text is properly aligned.
7565         Allow creating buttons with arbitrary widgets inside (not just
7566         title/value labels).
7567
7568         * examples/hildon-button-example.c (vertical_buttons_window)
7569         (horizontal_buttons_window): Update example to use new API.
7570
7571 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7572
7573         * src/Makefile.am: Added HildonTimeButton.
7574         * src/hildon-time-button.c: Added missing LGPL header.
7575         * src/hildon-time-button.h: Added missing LGPL header.
7576         * src/hildon.h: Add hildon-time-button.h
7577
7578         Copied HildonTimeButton from sandbox to trunk. Future work on this
7579         widget must take place in trunk.
7580
7581 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7582
7583         * src/Makefile.am: Added HildonDateButton.
7584         * src/hildon-date-button.c: Update includes.
7585         * src/hildon.h: Add hildon-date-button.h
7586
7587         Copied HildonDateButton from sandbox to trunk. Future work on this
7588         widget must take place in trunk.
7589
7590 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7591
7592         * src/Makefile.am: Added HildonPickerButton.
7593         * src/hildon-picker-button.h: Update includes.
7594         * src/hildon.h: Add hildon-picker-button.h
7595
7596         Copied HildonPickerButton from sandbox to trunk. Future work on
7597         this widget must take place in trunk.
7598
7599 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7600
7601         * src/Makefile.am: Added HildonPickerDialog.
7602         * src/hildon-picker-dialog.c: Update includes.
7603         * src/hildon.h: Add hildon-picker-dialog.h
7604
7605         Copied HildonPickerDialog from sandbox to trunk. Future work
7606         on this widget must take place in trunk.
7607
7608 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7609
7610         * src/Makefile.am: Added HildonTimeSelector.
7611         * src/hildon.h: Add hildon-time-selector.h
7612
7613         Copied HildonTimeSelector widget from sandbox to trunk. Future
7614         work on this widget must happen in trunk.
7615
7616 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7617
7618         * src/Makefile.am: Added HildonDateSelector.
7619         * src/hildon.h: Add hildon-date-selector.h
7620
7621         Copied HildonDateSelector widget from sandbox to trunk.  Future
7622         work on this widget must happen in trunk.
7623
7624 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7625
7626         * src/Makefile.am: Added HildonTouchPicker.
7627         * src/hildon-touch-picker.c: Update includes.
7628         * src/hildon.h: Add hildon-touch-picker.h
7629
7630         Copied HildonTouchPicker widget from sandbox to trunk. Future work
7631         on this widget must happen in trunk.
7632
7633 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7634
7635         * src/hildon-pannable-area.c:
7636         (hildon_pannable_area_motion_notify_cb): Fix a typo.
7637
7638 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7639
7640         * examples/hildon-app-menu-example.c (main): Let the window
7641         destroy the menu.
7642
7643 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7644
7645         * src/hildon-pannable-area.c
7646         (hildon_pannable_area_class_init): Set the min value of the
7647         overshoot properties to zero, which points out that not
7648         overshooting allowed.
7649
7650 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7651
7652         Modified the procedure to get the widget at a point inside the
7653         pannable area when using the movement type signals. Now the user
7654         has to call a function to get the child, that way we just
7655         calculate the child in case the user really want to use it and not
7656         all the time.
7657
7658         * src/hildon-marshalers.list: Modified the marshallers, now we do
7659         not have the widget as a parameter.
7660
7661         * src/hildon-pannable-area.c
7662         (hildon_pannable_area_motion_notify_cb),
7663         (hildon_pannable_area_class_init),
7664         (hildon_pannable_get_child_widget_at):  Removed the widget
7665         parameter from the signal callback. We have also refactored the
7666         emission of the signals.
7667
7668         * src/hildon-pannable-area.h: Added a new method to the API to
7669         calculate a widget at a point inside the pannable area,
7670         hildon_pannable_get_child_widget_at.
7671
7672         * examples/hildon-pannable-area-example-4.c
7673         (horizontal_movement): Modified the example to use the new API,
7674         added condition to control which widget is under the event. This
7675         way we can avoid scrolling laterally over other widgets.
7676
7677 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7678
7679         * src/hildon-pannable-area.c
7680         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7681         modes, we stop getting the pointer events due to returning the
7682         callback without properly calling the get pointer again. Fixed
7683         also an error using the hscroll and vscroll.
7684
7685 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
7686
7687         * src/hildon-app-menu-private.h
7688         * src/hildon-app-menu.c (hildon_app_menu_button_press)
7689         (hildon_app_menu_button_release, hildon_app_menu_init)
7690         (hildon_app_menu_class_init): Don't hide the menu on button
7691         release if the user didn't press outside first.
7692
7693         * src/hildon-window.h
7694         * src/hildon-window.c (hildon_window_toggle_menu)
7695         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7696         hildon_window_toggle_menu a virtual function for the stackable
7697         window to override it.
7698
7699         * src/hildon-stackable-window.h
7700         * src/hildon-stackable-window-private.h
7701         * src/hildon-stackable-window.c
7702         (hildon_stackable_window_realize)
7703         (hildon_stackable_window_finalize)
7704         (hildon_stackable_window_class_init)
7705         (hildon_stackable_window_init)
7706         (hildon_stackable_window_set_main_menu): New function to set the
7707         app menu of a HildonStackableWindow.
7708
7709         * examples/hildon-app-menu-example.c: Remove the button to show
7710         the app menu, now it'll be shown when clicking on the title bar
7711         instead.
7712
7713 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7714
7715         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7716         set the widget name if the arrangement flags do not specify
7717         a particular size.
7718
7719 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7720
7721         * src/hildon-button.c: (hildon_button_set_property),
7722         (hildon_button_class_init), (hildon_button_new_full),
7723         (hildon_button_set_arrangement): Added "arrangement-flags"
7724         property.
7725
7726         Make the HildonButtonFlags a construction-only property, to allow
7727         subclasses to set them properly.
7728
7729 2008-07-21 Tim Janik  <timj@imendio.com>
7730
7731         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7732         insertion position after backspace, so additional digits are appended,
7733         fixes Bug #85874.
7734
7735 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7736
7737         * src/hildon-pannable-area.c,
7738         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7739         TODO list, it was complete and removed the g_debug and g_print
7740         lines.
7741
7742 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7743
7744         Added the movement modes to the hildon-pannable-area, with this
7745         modes the developers can control in which directions the widget
7746         can scroll. They can also connect to signals in order to do
7747         something when that happens, allowing applications scroll. There
7748         is an example uploaded showing how to use it.
7749
7750         * examples/Makefile.am:
7751         * examples/hildon-pannable-area-example-4.c: Added this example of
7752         an application using the modes.
7753
7754         * src/hildon-marshalers.list: Added a new marshaller for the new
7755         signals.
7756
7757         * src/hildon-pannable-area.h: Added new enumerations and flags in
7758         order to control the movement modes and the new signals to warn
7759         about the movements in the area.
7760
7761         * src/hildon-pannable-area.c:
7762         (hildon_pannable_axis_scroll),
7763         (hildon_pannable_area_scroll),
7764         (hildon_pannable_area_motion_notify_cb),
7765         (hildon_pannable_area_get_property),
7766         (hildon_pannable_area_set_property),
7767         (hildon_pannable_area_map),
7768         (hildon_pannable_area_class_init),
7769         (hildon_pannable_area_init),
7770         (hildon_pannable_area_jump_to): Added the modes to control the
7771         movement in the widget. We have added properties to control it,
7772         signals to warn about the movements and refactored some code.
7773
7774 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
7775
7776         Changes required in order to allow vfast_factor set to zero to
7777         work properly.
7778
7779         * src/hildon-pannable-area.c:
7780         (hildon_pannable_area_button_press_cb): Changed the condition, it
7781         is required for not allowing click when vfast_factor is zero.
7782         (hildon_pannable_area_timeout): Initialized velocity variables
7783         when we stop moving, it was less than 1 but not zero and we need
7784         to check zero in some situations.
7785         (hildon_pannable_area_class_init): Changed the default value of
7786         the speed factor, now the button_press is just sent in case the
7787         speed is 2 per cent of the max speed.
7788         (hildon_pannable_area_init): Initialization with 0.
7789
7790 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
7791
7792         * src/hildon-pannable-area.c,
7793         (hildon_pannable_area_get_topmost): replaced
7794         gdk_window_get_children with gdk_window_peek_children, this way we
7795         do not have to free the list because it is not a copy.
7796
7797         (hildon_pannable_axis_scroll),
7798         (hildon_pannable_area_scroll),
7799         (hildon_pannable_area_timeout),
7800         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7801         two parameters that were only used inside the
7802         hildon_pannable_area_scroll function.
7803
7804         * examples/hildon-pannable-area-example.c,
7805         (get_sawtooth_label): Fixed small memory leak.
7806
7807 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7808
7809         More checks for the case where the overshoot is bigger than the
7810         size of the widget.
7811
7812         * src/hildon-pannable-area.c:
7813         (hildon_pannable_draw_vscroll),
7814         (hildon_pannable_draw_hscroll): with this new calculation we avoid
7815         to draw the slider of the scrollbar under the other scrollbar.
7816         (hildon_pannable_area_expose_event): added new checks to control
7817         the drawing of the overshooting area rectangle, in case it is too
7818         big for the area of the widget.
7819         (hildon_pannable_area_size_allocate): add more checks to avoid
7820         setting a position to the child widget outside the area.
7821
7822 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7823
7824         * src/hildon-pannable-area.c
7825         (hildon_pannable_area_size_allocate): Added conditions to control
7826         when overshooting is bigger than the allocated space for the
7827         children, this avoids negative allocations.
7828
7829 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
7830
7831         * doc/hildon-docs.sgml
7832         * doc/hildon.types
7833         * examples/Makefile.am
7834         * examples/hildon-button-example.c
7835         * src/Makefile.am
7836         * src/hildon-button.c
7837         * src/hildon-button.h
7838         * src/hildon.h: Initial version of the new HildonButton widget,
7839         with examples.
7840
7841 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
7842
7843         * src/hildon-pannable-area.c:
7844         (hildon_pannable_area_button_press_cb),
7845         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7846         (hildon_pannable_area_motion_notify_cb),
7847         (hildon_pannable_area_button_release_cb),
7848         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7849         (hildon_pannable_area_jump_to_child):
7850
7851         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7852
7853 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
7854
7855         * examples/Makefile.am
7856         * examples/hildon-pannable-area-touch-grid-example.c
7857         * examples/hildon-pannable-area-touch-list-example.c: Examples of
7858         the Hildon Touch List and Hildon Touch Grid using the
7859         HildonPannableArea widget.
7860
7861 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7862
7863         * src/hildon-pannable-area.c,
7864         (hildon_pannable_area_button_press_cb),
7865         (hildon_pannable_area_refresh),
7866         (hildon_pannable_area_scroll),
7867         (hildon_pannable_area_motion_notify_cb),
7868         (hildon_pannable_area_button_release_cb),
7869         (hildon_pannable_area_expose_event),
7870         (hildon_pannable_area_add),
7871         (hildon_pannable_area_remove),
7872         (hildon_pannable_area_realize),
7873         (hildon_pannable_area_size_allocate),
7874         (hildon_pannable_area_class_init),
7875         (hildon_pannable_area_init),
7876         (hildon_pannable_area_scroll_to_child),
7877         (hildon_pannable_area_jump_to_child): Fixed the problem of
7878         removing the child from the GtkBin, we have rearranged the widget
7879         hierarchy, now there is no GtkAlignment which was not doing
7880         anything interesting but breaking some of the assumptions of
7881         GtkContainer. Now developers if they want to add a GtkAlignment
7882         they could, but it is not inside the area.
7883
7884         We had to review the whole allocation/expose process, now it is
7885         improved and we save at least three signals which would be saving
7886         some time when rendering the widget. The allocation of the
7887         scrollbars is now made in the allocate method as usual.
7888
7889         We have also added some conditions in order to control when there
7890         is no child of the pannable area. Maybe we will need more work
7891         here.
7892
7893 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7894
7895         * src/hildon-pannable-area.c,
7896         (hildon_pannable_area_dispose): Released the fade-out timeout when
7897         disposing the widget.
7898
7899 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7900
7901         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7902         zero, we are going to use that property in order to deactivate the
7903         overshooting
7904         (hildon_pannable_axis_scroll),
7905         (hildon_pannable_area_size_allocate): Added conditions to control
7906         when overshoot_max is zero. Moved the gtk_adjustment_set_value
7907         call, now it is called in all situations and we can remove calls
7908         in the allocate method.
7909         (hildon_pannable_area_map): Control the situation when
7910         overshoot_max is zero, we do not need the timeout.
7911         (hildon_pannable_area_class_init): Added documentation in order to
7912         point out that setting zero to overshoot_max means deactivate
7913         overshooting.
7914
7915         NOTE: removed trailing whitespaces from my previous comments of
7916         the Changelog.
7917
7918 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7919
7920         * src/hildon-pannable-area.c
7921         (hildon_pannable_area_get_property),
7922         (hildon_pannable_area_set_property),
7923         (hildon_pannable_area_map),
7924         (hildon_pannable_area_class_init),
7925         (hildon_pannable_area_init): Add a boolean "initial-hint" property
7926         to cause the widget give a hint about its panning abilities upon
7927         realization.
7928
7929 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7930
7931         * src/hildon-pannable-area.c: Several documentation improvements.
7932
7933 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7934
7935         * src/hildon-program.c
7936         * src/hildon-stackable-window.c: Update documentation.
7937
7938 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7939
7940         * src/hildon-stackable-window.c (get_previous_window_if_last):
7941         Renamed get_last_window()
7942         (hildon_stackable_window_map, hildon_stackable_window_unmap)
7943         (hildon_stackable_window_unset_program):
7944         Simplified code.
7945         (get_previous_window_if_last):
7946         Detect if the window hasn't been added to a HildonProgram.
7947
7948 2008-06-26  Alejandro G. Castro <alex@igalia.com>
7949
7950         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7951
7952         * src/hildon-pannable-area.c
7953         (hildon_pannable_area_button_press_cb),
7954         (hildon_pannable_axis_scroll),
7955         (hildon_pannable_area_scroll),
7956         (hildon_pannable_area_timeout),
7957         (hildon_pannable_calculate_vel_factor),
7958         (hildon_pannable_area_get_property),
7959         (hildon_pannable_area_set_property),
7960         (hildon_pannable_area_class_init),
7961         (hildon_pannable_area_init),
7962         (hildon_pannable_area_scroll_to),
7963         (hildon_pannable_area_jump_to),
7964         (hildon_pannable_area_scroll_to_child),
7965         (hildon_pannable_area_jump_to_child):
7966         * src/hildon-pannable-area.h: Added the new API functions:
7967         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7968         hildon_pannable_area_scroll_to_child,
7969         hildon_pannable_area_jump_to_child
7970
7971
7972         * examples/Makefile.am
7973         * examples/hildon-pannable-area-example-2.c
7974         * examples/hildon-pannable-area-example-3.c: Added these two new
7975         examples in order to test and show how the new APIs work.
7976
7977 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
7978
7979         * examples/hildon-stackable-window-example.c (new_window):
7980         * src/Makefile.am (noinst_HEADERS):
7981         * src/hildon-program.c (hildon_program_go_to_root_window):
7982         * src/hildon-program.h:
7983         * src/hildon-stackable-window-private.h:
7984         * src/hildon-stackable-window.c:
7985         * src/hildon-stackable-window.h:
7986         Create hildon-stackable-window-private.h
7987         Move hildon_stackable_window_go_to_root_window() to HildonProgram
7988
7989         * examples/hildon-app-menu-example.c (create_menu):
7990         * examples/hildon-hvolumebar-insensitive-example.c (main):
7991         * examples/hildon-hvolumebar-timer-example.c (on_idle):
7992         * examples/hildon-toolbar-seekbar-example.c (main):
7993         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7994         * src/hildon-banner.c (hildon_banner_set_property):
7995         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7996         Fix compilation warnings
7997
7998         * src/hildon-window.c:
7999         Fix typo in doc
8000
8001 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
8002
8003         * src/hildon-stackable-window.c
8004         (hildon_stackable_window_unset_program):
8005         Calculate correctly whether to show the previous window if the
8006         last one is removed from the stack.
8007         (hildon_stackable_window_go_to_root_window):
8008         Send delete events starting from the topmost window.
8009         Stop if one of the windows is not destroyed.
8010         Update doc.
8011         (hildon_stackable_window_delete_event)
8012         (hildon_stackable_window_class_init):
8013         Ignore the delete event if the window is not the topmost one.
8014
8015 2008-06-24  Alejandro G. Castro <alex@igalia.com>
8016
8017         * src/hildon-pannable-area.c
8018         (hildon_pannable_area_expose_event): Fixed a problem when
8019         selecting the background color of the scrollbars.
8020
8021 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
8022
8023         * examples/hildon-stackable-window-example.c
8024         * src/hildon-stackable-window.c
8025         * src/hildon-stackable-window.h
8026         hildon_stackable_window_go_home() renamed to
8027         hildon_stackable_window_go_to_root_window()
8028         Send delete events to windows rather than closing them with
8029         gtk_widget_destroy()
8030
8031 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
8032
8033         * src/hildon-pannable-area.c
8034         (hildon_pannable_area_button_release_cb): Fix overshooting in
8035         accel mode.
8036
8037 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
8038
8039         * src/hildon-pannable-area.c
8040         (hildon_pannable_area_init): Initially show the scroll indicators.
8041         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8042
8043         Add initial effect showing the widget is pannable.
8044
8045 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
8046
8047         * src/hildon-pannable-area.c
8048         (hildon_pannable_area_class_init)
8049         (hildon_pannable_area_set_property)
8050         (hildon_pannable_area_get_property)
8051         (hildon_pannable_area_button_press_cb):
8052         New 'velocity_fast_factor' property to decide which velocity is
8053         considered fast.
8054
8055 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
8056
8057         * src/hildon-pannable-area.c
8058         (hildon_pannable_draw_hscroll)
8059         (hildon_pannable_draw_vscroll):
8060         Use float variables to calculate the size of the scrollbars to
8061         avoid error propagation and resizing during scrolling.
8062
8063 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
8064
8065         * src/hildon-pannable-area.c
8066         (hildon_pannable_draw_vscroll)
8067         (hildon_pannable_draw_hscroll):
8068         Define a minimum size for the scroll bars
8069
8070         * src/hildon-stackable-window.c
8071         (hildon_stackable_window_go_home): Fix compilation warning
8072         (get_last_window): Minor optimizations
8073         (hildon_stackable_window_class_init): Fix initialization of
8074         private structure.
8075
8076 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
8077
8078         * src/hildon-stackable-window.c: Fixed typos in doc
8079
8080 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
8081
8082         * src/hildon-pannable-area.c
8083         (hildon_pannable_area_scroll):
8084         Calculate here whether we need to scroll instead of using the booleans
8085         that tell us whether to /draw/ the scrolling bars.
8086
8087 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
8088
8089         * src/hildon-app-menu.h
8090         Update API.
8091         * src/hildon-app-menu.c
8092         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8093         multiple filter groups related code and API. Now we support only
8094         one filter group.
8095         * examples/hildon-app-menu-example.c:
8096         (create_menu):
8097         Update to reflect API changes.
8098
8099 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
8100
8101         * src/hildon-stackable-window.c
8102         (hildon_stackable_window_class_init):
8103         Add hildon_stackable_window_realize.
8104         (hildon_stackable_window_realize):
8105         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8106         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8107         to apply theming and behavior specific to HildonStackableWindow
8108         windows.
8109
8110 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
8111
8112         * src/hildon-note.c (hildon_note_button_release):
8113         Close information notes also when tapping on them
8114
8115 2008-06-12  Alejandro G. Castro <alex@igalia.com>
8116
8117         Added BOUNCE_STEPS define to control the overshoot effect. Removed
8118         ELASTICITY, refactor and review, fix some issues with drawing
8119         scrollbars.
8120
8121         * src/hildon-pannable-area.c:
8122         (hildon_pannable_area_button_press_cb): removed the conditions to
8123         avoid clicks when overshooting. It is not required
8124
8125         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8126         define. Refatored and reviewed the code, now we do not need to
8127         manage velocity in motion_notify.
8128
8129         (hildon_pannable_area_motion_notify_cb): We have moved the code
8130         that controls the area_scroll to the axis_scroll function and get
8131         rid of duplicated code.
8132
8133         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8134
8135         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8136
8137         (hildon_pannable_draw_vscroll),
8138         (hildon_pannable_draw_hscroll): Fixed the problems with the
8139         scrollbar drawing, now we do not use two surfaces, it is easier
8140         and saves resources.
8141
8142         (hildon_pannable_area_get_property): Style modification.
8143
8144         (hildon_pannable_area_class_init): Changed some default values.
8145
8146 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
8147
8148         * src/hildon-stackable-window.c: Fix some typos in the
8149         documentation.
8150
8151 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
8152
8153         * src/hildon-dialog.c:
8154         Change indentation style
8155
8156         * src/hildon-note.c
8157         (hildon_note_button_release):
8158         Use root coordinates to check if the release event happened
8159         outside the widget.
8160
8161         * src/hildon-app-menu.c
8162         (hildon_app_menu_button_release):
8163         Remove unnecessary check
8164
8165         * examples/hildon-app-menu-example.c
8166         (button_clicked):
8167         Add cast to fix warning
8168
8169         * src/hildon-app-menu.c
8170         (hildon_app_menu_class_init):
8171         New inner-border style property.
8172         Set all default spacings to 16
8173         (hildon_app_menu_init):
8174         Use vertical-spacing to set the space between filter buttons and
8175         regular menu buttons.
8176         Set the default container border using the inner-border value.
8177
8178         * examples/hildon-app-menu-example.c
8179         (create_menu):
8180         Don't set the menu border explicitly, now we have the inner-border
8181         style property for that.
8182
8183 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
8184
8185         * src/hildon-app-menu.c (hildon_app_menu_init):
8186         Make the window modal
8187
8188         * src/hildon-note.c (hildon_note_map)
8189         * src/hildon-app-menu.c (hildon_app_menu_map):
8190         Destroy the grab window if we're unable to grab the pointer
8191
8192         * src/hildon-app-menu-private.h
8193         * src/hildon-app-menu.c
8194         (hildon_app_menu_init, hildon_app_menu_finalize)
8195         (hildon_app_menu_map, hildon_app_menu_unmap)
8196         (hildon_app_menu_button_release)
8197         (grab_transfer_window_get):
8198         Bring back the grab window
8199         (hildon_app_menu_realize):
8200         Decorate the window, set WM hint for Matchbox
8201
8202         * src/hildon-note.c (hildon_note_realize):
8203         * src/hildon-banner.c (hildon_banner_realize):
8204         Add WM hints for Matchbox
8205
8206 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
8207
8208         * src/hildon-app-menu-private.h
8209         * src/hildon-app-menu.c
8210         (hildon_app_menu_init, hildon_app_menu_finalize)
8211         (hildon_app_menu_map, hildon_app_menu_unmap)
8212         (hildon_app_menu_button_release):
8213         Remove the grab window, it's not needed anymore
8214
8215         * src/hildon-program.c
8216         Fixed typo in documentation
8217
8218         * src/hildon-app-menu.h
8219         * src/hildon-app-menu.c
8220         * examples/hildon-app-menu-example.c
8221         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8222
8223 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
8224
8225         * src/hildon-note.c
8226         Added new transfer_window and close_if_pressed_outside private
8227         attributes.
8228         (hildon_note_rebuild):
8229         Don't add a cancel button to the information note. It will be
8230         closed when tapping outside
8231         Remove the comment about the OK button in the documentation
8232         (hildon_note_realize):
8233         Set the notification type hint
8234         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8235         Grab/ungrab pointer and keyboard if the note has to be closed when
8236         tapping outside
8237         (hildon_note_button_release):
8238         Close the note when tapping outside (if applicable)
8239
8240         * src/hildon-app-menu.c
8241         Grab/ungrab pointer and keyboard on map/unmap
8242         (hildon_app_menu_button_release, hildon_app_menu_class_init):
8243         Close the menu on button release, not button press
8244
8245         * src/hildon-banner.c
8246         (hildon_banner_set_property)
8247         (hildon_banner_check_position):
8248         Make the banner use the full width of the screen
8249         (hildon_banner_show_information)
8250         (hildon_banner_show_information_with_markup):
8251         Don't display an icon by default
8252
8253 2008-06-09  Alejandro G. Castro <alex@igalia.com>
8254
8255         Added fading scrollbars and adapted all the overshooting code to
8256         horizontal scrolling. We have also fixed bugs with overshooting
8257         and current fading implementation.
8258
8259         * src/hildon-pannable-area.c
8260         (hildon_pannable_area_scroll_indicator_fade): Time out function
8261         used to change the transparency of the scrollbars.
8262
8263         (hildon_pannable_area_button_press_cb): Added horizontal overshot
8264         control and fixed a problem with fading, we now remove the fade
8265         timeout before adding a new one.
8266
8267         (hildon_pannable_axis_scroll):
8268         (hildon_pannable_area_scroll):
8269         (hildon_pannable_area_timeout): Added this functions so we can use
8270         the scroll code both for vertical and horizontal.
8271
8272         (hildon_pannable_area_motion_notify_cb):
8273         (hildon_pannable_area_button_release_cb): Added the horizontal
8274         scrolling control, fixed a problem with the overshooting timeout.
8275
8276         (rgb_from_gdkcolor): Added this function, it is used in the cairo
8277         painting of the scrolls.
8278
8279         (hildon_pannable_draw_vscroll):
8280         (hildon_pannable_draw_hscroll):
8281         (hildon_pannable_area_expose_event):
8282         Draw both scrollbars and rectangles in the overshooting area.
8283
8284         (hildon_pannable_area_get_property):
8285         (hildon_pannable_area_set_property):
8286         Modified the overshoot property to overshoot_max
8287
8288         (hildon_pannable_area_map):
8289         Replaced the comments symbols.
8290
8291         (hildon_pannable_area_size_allocate):
8292         (hildon_pannable_area_class_init):
8293         (hildon_pannable_area_init): Added horizontal scroll, fading
8294         effect properties, fixed a problem when overshooting in the bottom
8295         of the widget.
8296
8297         * examples/hildon-pannable-area-example.c:
8298         (get_sawtooth_label): Now we use smaller sawtooths, the effect
8299         looks better in the example.
8300
8301 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
8302
8303         * src/hildon-window.c
8304         * src/hildon-window.h
8305         (hildon_window_class_init)
8306         (hildon_window_unset_program)
8307         (hildon_window_unset_program_real):
8308         Make unset_program a virtual function
8309
8310         * src/hildon-stackable-window.c
8311         * src/hildon-stackable-window.h
8312         Added hildon_stackable_window_go_home()
8313
8314         * examples/Makefile.am
8315         * examples/hildon-stackable-window-example.c
8316         HildonStackableWindow example
8317
8318 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8319
8320         * hildon-pannable-area.c: Added the overshoot property and removed
8321         the OVERSHOOT define. Fixed an indent style error.
8322         (hildon_pannable_area_motion_notify_cb):
8323         (hildon_pannable_area_get_property):
8324         (hildon_pannable_area_set_property): Add overshoot property.
8325
8326         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8327         overshoot property.
8328
8329         (hildon_pannable_area_class_init): Installed the new property.
8330
8331         * hildon-pannable-area-example.c: Added a sawtooth function, this
8332         way it is easier to check the movement in the pannable.
8333         (get_sawtooth_label): Added this function.
8334         (main): Now we get the labels from the new get_sawtooth_label
8335         function.
8336
8337 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
8338
8339         * src/hildon-app-menu.h
8340         * src/hildon-app-menu.c
8341         Renamed API variables for consistency
8342
8343         (hildon_app_menu_popup): Use also the default window size to
8344         decide where to place the menu
8345
8346         (hildon_app_menu_init, hildon_app_menu_class_init): New
8347         external-border style property
8348
8349 2008-05-26  Michael Natterer  <mitch@imendio.com>
8350
8351         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8352         widget_class->tap_and_hold_setup signal slot doesn't exist any
8353         longer, stop overriding it.
8354
8355         (hildon_time_editor_init): g_signal_connect() to the
8356         tap-and-hold-setup signal instead.
8357
8358         (hildon_time_editor_entry_keypress): add cast to fix warning.
8359
8360 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
8361
8362         * doc/hildon-docs.sgml
8363         * doc/hildon.types
8364         * examples/Makefile.am
8365         * examples/hildon-app-menu-example.c
8366         * src/Makefile.am
8367         * src/hildon-app-menu-private.h
8368         * src/hildon-app-menu.c
8369         * src/hildon-app-menu.h
8370         * src/hildon.h
8371         New HildonAppMenu widget
8372
8373 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8374
8375         Rearranged the inheritance of the pannable area, now it inherits
8376         from GtkBin. This will allow us to control the event_window and
8377         the allocation process of the widget, required for some effects.
8378
8379         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8380         GtkBin structures.  * src/hildon-pannable-area.c: Added the
8381         event_window variable.
8382         (hildon_pannable_area_button_press_cb):
8383         (hildon_pannable_area_button_release_cb):
8384         (hildon_pannable_area_motion_notify_cb):
8385         Changed the signature of the method, now we override the event
8386         callback instead of connecting to the signal.
8387
8388         (hildon_pannable_area_realize):
8389         (hildon_pannable_area_unrealize):
8390         (hildon_pannable_area_map):
8391         (hildon_pannable_area_unmap):
8392         (hildon_pannable_area_size_allocate):
8393         Added functions to control the widget construction. We add a
8394         INPUT_ONLY window and we put it over the widgets inside the
8395         container, this event_window handles the events.
8396
8397         (hildon_pannable_area_class_init):
8398         Replaced the signal connections with overrides of the event
8399         callbacks.
8400
8401 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8402
8403         Bouncing effect added when touching the borders, you can change
8404         the elasticity of the border changing the ELASTICITY define.
8405
8406         * src/hildon-pannable-area.c: Added ELASTICITY define.
8407         (hildon_pannable_area_timeout): Added inverse velocity when
8408         touching the border of the child widget, that causes a bounce.
8409
8410 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8411
8412         Improved performance, we now do not go to the X server in order to
8413         get the list of window children. Apparently the effect is the
8414         same, we have to be careful and check if this breaks something in
8415         any corner case.
8416
8417         * src/hildon-pannable-area.c:
8418         (get_ordered_children): Removed this function.
8419         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8420         the children windows function with gdk_window_get_children.
8421
8422 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8423
8424         * src/hildon-pannable-area.c:
8425         (hildon_pannable_area_dispose): Fixed a crash when closing the
8426         window and kinetics is activated.
8427
8428 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
8429
8430         * src/hildon-pannable-area.h
8431         * src/hildon-pannable-area.c
8432         Changed indentation style to meet the one used in Hildon
8433
8434 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8435
8436         Reviewed the interaction of the AUTO mode, now we use the time
8437         attribute of the events and calculate the velocity in the motion,
8438         doing a gimp like calculation. The velocity is calculated in each
8439         motion event using the last velocity and the current one, the
8440         SMOOTH_FACTOR controls the percentage of the new velocity we use.
8441
8442         * src/hildon-pannable-area.c: Replaced the time based algorithm
8443         for the AUTO mode.
8444         (hildon_pannable_area_motion_notify_cb): now we do not launch the
8445         timeout for the AUTO mode when we are still moving the cursor. We
8446         added also the velocity calculation in this function.
8447         (hildon_pannable_area_button_release_cb): launch the timeout in
8448         case we are in AUTO mode. There are still some constants here that
8449         come from the old implementation that should be reviewed and
8450         handled properly.
8451
8452 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
8453
8454         * doc/hildon-docs.sgml
8455         * doc/hildon.types
8456         * src/Makefile.am
8457         * src/hildon-stackable-window.c
8458         * src/hildon-stackable-window.h
8459         * src/hildon.h
8460         New HildonStackableWindow widget
8461
8462         * examples/hildon-dialog-example.c
8463         * examples/hildon-pannable-area-example.c
8464         Updated copyright
8465
8466 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
8467
8468         * src/hildon-dialog.c
8469         (hildon_dialog_new_with_buttons): New constructor.
8470
8471         * examples/hildon-dialog-example.c
8472         (main): Update the example to use the new
8473         hildon_dialog_new_with_buttons().
8474
8475         * examples/hildon-pannable-area-example.c
8476         (main): Update example.
8477
8478 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8479
8480         * doc/hildon-docs.sgml
8481         * doc/hildon.types
8482         Added HildonPannableArea to the documentation.
8483
8484 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8485
8486         * doc/visual_index.xml
8487         Fix reference to HildonLoginDialog in documentation
8488
8489         * doc/hildon-docs.sgml
8490         * doc/hildon.types
8491         * examples/Makefile.am
8492         * examples/hildon-dialog-example.c
8493         * src/Makefile.am
8494         * src/hildon-dialog.c
8495         * src/hildon-dialog.h
8496         * src/hildon.h
8497         New HildonDialog widget.
8498
8499 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8500
8501         * src/hildon-pannable-area.c
8502         Merge latest changes (r4318, r4342) from libmokoui trunk
8503
8504 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8505
8506         * examples/Makefile.am
8507         * examples/hildon-pannable-area-example.c
8508         * src/Makefile.am
8509         * src/hildon-pannable-area.c
8510         * src/hildon-pannable-area.h
8511         * src/hildon.h
8512         New HildonPannableArea widget.
8513
8514 2008-04-15 18:05:19    <timj@imendio.com>
8515
8516         * src/hildon-banner.c: revert the recent change, that introduced
8517         gtk_window_present() calls. this reopens:
8518           Bug 78481 - [freetest] information banners are hidden under browser menu
8519         But resolves another variant of:
8520           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8521
8522 2008-04-15 13:21:13    <timj@imendio.com>
8523
8524         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8525         recreated its layout, spotted by Kris. this fixes all remaining
8526         artefacts and stability issues with the banner code. in particular:
8527         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8528
8529 2008-04-14 16:52:59    <timj@imendio.com>
8530
8531         * src/hildon-banner.c: guard force_to_wrap_truncated() against
8532         operating on unrealized widgets, fixes:
8533         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8534
8535         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8536
8537 2008-04-09  Kristian Rietveld  <kris@imendio.com>
8538
8539         Fixes: NB#77775: Media Player, Save Now playing list, too long name
8540         makes banner disappear.
8541         Fixes: NB#79182: info banner flickering with certain message lengts.
8542
8543         * src/hildon-banner.c (hildon_banner_constructor),
8544         (hildon_banner_init), (hildon_banner_set_text),
8545         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8546         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8547         FALSE, reset size requests of label and banner,
8548         (force_to_wrap_truncated): when the text is too wide, always enforce
8549         the maximum possible width instead of recalculating it from the
8550         layout; enforce the maximum banner height of 3 lines,
8551         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8552         nicer wrapping and no truncated chars if space gets tight.
8553
8554         * src/hildon-banner-private.h: add has_been_wrapped and
8555         has_been_truncated fields.
8556
8557 2008-04-07  Sven Herzberg  <sven@imendio.com>
8558
8559         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8560         local values in hildon_date_editor_size_allocate
8561
8562         * src/hildon-date-editor.c: moved the real allocation code into the
8563         if() branch
8564
8565 2008-04-07  Sven Herzberg  <sven@imendio.com>
8566
8567         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8568         local values in hildon_date_editor_size_allocate
8569
8570         * src/hildon-date-editor.c: merged the two if() branches together
8571
8572 2008-04-07  Sven Herzberg  <sven@imendio.com>
8573
8574         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8575         local values in hildon_date_editor_size_allocate
8576
8577         * src/hildon-date-editor.c: changed the arguments of the if()
8578         conditions
8579
8580 2008-04-07  Sven Herzberg  <sven@imendio.com>
8581
8582         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8583         local values in hildon_date_editor_size_allocate
8584
8585         * src/hildon-date-editor.c: split the calculation of the allocation
8586         from the real allocation
8587
8588 2008-03-27  Michael Natterer  <mitch@imendio.com>
8589
8590         Fixes: NB#81696: The passcode is not overwritten even after
8591         selecting
8592
8593         * src/hildon-code-dialog.c
8594         (hildon_code_dialog_button_clicked)
8595         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8596         because that doesn't overwrite selected text. Instead, emit the
8597         "commit" signal on the entry's im_context so the entry's normal
8598         insert logic is triggered. Set the cursor to the end of the entry
8599         after each insert operation so that we *only* insert in the middle
8600         of the text if something was selected.
8601
8602 2008-03-27  Michael Natterer  <mitch@imendio.com>
8603
8604         Enable fixing: NB#79916 and NB#79918: The help topic for Color
8605         selector cannot be opened
8606
8607         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8608         when the popup color selector is created. Please connect to this
8609         signal in order to set the dialog's help ID.
8610
8611 2008-03-25  Sven Herzberg  <sven@imendio.com>
8612
8613         Fixes: MB#1212: Hide info banners (infoprints) on click
8614
8615         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8616         extracted the close event simulation into an extra function
8617         (hildon_banner_button_press_event): simulate a close event and destroy
8618         the widget if the event wasn't handled
8619         (hildon_banner_class_init): added the button_press_event handler
8620         (hildon_banner_init): added button-press events to the widget
8621
8622 2008-03-25  Sven Herzberg  <sven@imendio.com>
8623
8624         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8625         Patch from: Mohammad Anwari  <mdamt@maemo.org>
8626
8627         * src/hildon-banner.c: let the HildonBanners pop up on the left side
8628         instead of the right in RTL mode
8629         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8630         breadcrumb button list in RTL mode
8631         * src/hildon-caption.c: mirror the appearance of the caption widget in
8632         RTL mode
8633         * src/hildon-date-editor.c: mirror appearance of the date editor in
8634         RTL mode
8635         * src/hildon-time-editor.c: mirror appearance of the time editor in
8636         RTL mode
8637         * src/hildon-window.c: fix the position of the popup in RTL mode
8638
8639 2008-03-25  Sven Herzberg  <sven@imendio.com>
8640
8641         Amendment to the fix of NB#22072. Fix compilation.
8642
8643         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8644
8645 2008-03-19  Sven Herzberg  <sven@imendio.com>
8646
8647         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8648         in Info Banner" bug
8649
8650         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8651         timeout id properly when the timeout will disappear this leaves no
8652         artifacts around in the destroy(); there will only be the timeout
8653         created by hildon_banner_ensure_timeout() and adding a new timeout
8654         will also work if the timeout gets removed because the timeout_handler
8655         returned FALSE
8656
8657 2008-03-19  Michael Natterer  <mitch@imendio.com>
8658
8659         Fixes: NB#79791: Cannot set focus to Master volume using stylus
8660
8661         * src/hildon-volumebar.c
8662         * src/hildon-vvolumebar.c
8663         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8664         the widget becomes focussable at all.
8665
8666         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8667         set the focus to wither the mute button or the volumebar.
8668
8669         Remove own "can-focus" property and instead listen to
8670         notify::can-focus in order to update the widget's state.
8671
8672         Implement GtkWidget::focus() and make sure we can also *leave* the
8673         widget, not only enter it, depending on volumebar orientation and
8674         requested focus direction.
8675
8676         Clean up set_mute() to cooperate nicely with all the above.
8677
8678 2008-03-04  Michael Natterer  <mitch@imendio.com>
8679
8680         Fixes: NB#78481: information banners are hidden under browser menu
8681
8682         * src/hildon-banner.c: call gtk_window_present() on the banners so
8683         they are risen if they are already visible.
8684
8685 2008-03-03  Sven Herzberg  <sven@imendio.com>
8686
8687         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8688
8689         * examples/hildon-window-menu-example.c: (main): extended the window
8690         menu example to serve as a testcase for automatically added
8691         accelerator groups, too
8692         * src/hildon-window.c: (hildon_window_add_accel_group),
8693         (hildon_window_set_menu): added patch by Tommi Komulainen
8694
8695 2008-03-03  Sven Herzberg  <sven@imendio.com>
8696
8697         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8698
8699         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8700         knowledge about the border allocators used within GTK+
8701
8702 2008-02-26  Sven Herzberg  <sven@imendio.com>
8703
8704         Fixes: MB#2981: Build with asserts broken
8705
8706         * src/hildon-date-editor.c,
8707         * src/hildon-number-editor.c,
8708         * src/hildon-time-editor.c,
8709         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8710         the proper GType instance check
8711
8712 2008-02-25  Sven Herzberg  <sven@imendio.com>
8713
8714         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8715
8716         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8717         * examples/hildon-window-menu-example.c: (main): explicitly show
8718         the menu item
8719         * src/hildon-window.c:
8720         (hildon_window_set_main_menu): moved most of the code from set_menu()
8721         to this place; skipped the call to gtk_widget_show_all(); also didn't
8722         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8723         (hildon_window_set_menu): removed most of the code, just keep the
8724         questionable gtk_widget_show_all()
8725         * src/hildon-window.h: added the new function and deprecate the old
8726         one
8727
8728 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8729
8730         [2.0.1-1 release]
8731
8732         * NEWS:
8733         * configure.ac:
8734         * debian/changelog: Updating.
8735
8736 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8737
8738         * configure.ac:
8739         * pkgconfig/Makefile.am:
8740         * pkgconfig/hildon.pc.in:
8741         * src/Makefile.am:
8742
8743         Do not use PACKAGE_VERSION_MAJOR as the API revision,
8744         use newly created API_MAJOR_VERSION.
8745
8746 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8747
8748         [2.0.0-1 release]
8749
8750         * NEWS:
8751         * configure.ac:
8752         * debian/changelog: Updating.
8753
8754 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8755
8756         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8757
8758         Add outer_border style property, we use it but don't define it (!).
8759
8760         Fixes NB#75310
8761
8762 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
8763
8764         * examples/hildon-bread-crumb-trail-example.c (main):
8765
8766         Add clear button.
8767
8768         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8769
8770         Fix logic for the bread crumb trail node removal.
8771
8772         Fixes: NB#78616
8773
8774 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8775
8776         [1.99.1-1 release]
8777
8778         * NEWS:
8779         * configure.ac:
8780         * debian/changelog: Updating.
8781
8782 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8783
8784         Patch by Alejandro to get/set passwords dialogs accesibility.
8785
8786         * hildon-1/src/hildon-get-password-dialog.c:
8787         * hildon-1/src/hildon-set-password-dialog.c:
8788         Set atk_set_name to the passwd entries in order to allow
8789         accessibility by name on this entries.
8790
8791 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8792
8793         [1.99.0-2 release]
8794
8795         * debian/changelog:
8796         * debian/control: Updating gtk dep.
8797
8798 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
8799
8800         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8801         USE_MAEMO_GTK is enabled.
8802
8803 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
8804
8805         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8806         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8807
8808 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8809
8810         [1.99.0-1 release]
8811
8812         * NEWS:
8813         * configure.ac:
8814         * debian/changelog: Updating.
8815
8816 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8817
8818         * examples/Makefile.am:
8819         * examples/hildon-logical-color-example.c:
8820         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8821         applied + adding a test case. Fixes: NB#71660.
8822
8823 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
8824
8825         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8826         to be visible, fixes warning on map for windows without toolbars.
8827
8828 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
8829
8830         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8831         2.11.0, add a check for that besides the MAEMO_GTK check.
8832
8833 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8834
8835         [1.0.17-1 release]
8836
8837         * NEWS:
8838         * configure.ac:
8839         * debian/changelog: Updating.
8840
8841 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8842
8843         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8844         visibility. Fixes: NB#70842 and MB#615.
8845
8846 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8847
8848         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8849         set the separator as no-show-all so it doesn't unintentionally appear when
8850         someone does a show_all.
8851
8852 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8853
8854         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8855         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8856         toplevel item. Fixes: NB#62031
8857
8858 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
8859
8860         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8861         fix the name of the function in the docs.
8862
8863 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8864
8865         [1.0.16-1 release]
8866
8867         * NEWS:
8868         * configure.ac:
8869         * debian/changelog: Updating.
8870
8871 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8872
8873         * examples/hildon-banner-long-example.c: Adding a test-case for long
8874         hildon banner.
8875
8876         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8877
8878 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8879
8880         * src/hildon-color-chooser-dialog.c:
8881         * src/hildon-color-chooser.c:
8882         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8883         memory leaks in font selector and color selector. Fixes: NB#70499 and
8884         NB#70474.
8885
8886 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
8887
8888         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8889
8890 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8891
8892         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8893         little bit bigger. Fixes: #NB63694.
8894
8895 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8896
8897         [1.0.15-1 release]
8898
8899         * NEWS:
8900         * configure.ac:
8901         * debian/changelog: Updating.
8902
8903 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8904
8905         * doc/Makefile.am:
8906         * doc/hildon-docs.sgml:
8907         * doc/images/bread-crumb-trail.png:
8908         * doc/images/calendar-popup.png:
8909         * doc/images/caption.png:
8910         * doc/images/code-dialog.png:
8911         * doc/images/color-button.png:
8912         * doc/images/color-chooser-dialog.png:
8913         * doc/images/color-chooser.png:
8914         * doc/images/controlbar.png:
8915         * doc/images/date-editor.png:
8916         * doc/images/font-selection-dialog.png:
8917         * doc/images/get-password-dialog.png:
8918         * doc/images/hvolumebar.png:
8919         * doc/images/login-dialog.png:
8920         * doc/images/note.png:
8921         * doc/images/number-editor.png:
8922         * doc/images/range-editor.png:
8923         * doc/images/seekbar.png:
8924         * doc/images/set-password-dialog.png:
8925         * doc/images/sort-dialog.png:
8926         * doc/images/time-editor.png:
8927         * doc/images/time-picker.png:
8928         * doc/images/vvolumebar.png:
8929         * doc/images/weekday-picker.png: Adding the new generated widget shots.
8930         Adding the bread-crumb-trial and helpers to the documentation.
8931
8932 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8933
8934         * examples/hildon-find-toolbar-example.c:
8935         * src/hildon-find-toolbar.c:
8936         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8937         actually continue firing the other handlers if connected. Adding a new
8938         function:
8939         hildon_find_toolbar_get_last_index that gets the index of the most
8940         recently added (last) item. Fixes: NB#52301.
8941
8942 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8943
8944         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8945         behaviour. Fixes: NB#68610.
8946
8947 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8948
8949         * src/hildon-banner.c: Actually reverting the previous change. It somehow
8950         looks a bit worse.
8951
8952 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8953
8954         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8955         when realizing the banner. Should make the infonbanner effect a bit more
8956         bearable.
8957
8958 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8959
8960         * src/hildon-volumebar.c:
8961         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8962         hildon_volumebar_set_range_insensitive_message and
8963         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8964
8965 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8966
8967         * src/hildon-window.c: Fixing the border freeing on destroy.
8968
8969 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8970
8971         * src/hildon-code-dialog-private.h:
8972         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8973         kw keyboard support in HildonCodeDialog.
8974
8975 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8976
8977         [1.0.14-1 release]
8978
8979         * NEWS:
8980         * configure.ac:
8981         * debian/changelog: Updating.
8982
8983 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8984
8985         * src/hildon-date-editor.c:
8986         * src/hildon-number-editor.c:
8987         * src/hildon-private.c:
8988         * src/hildon-private.h:
8989         * src/hildon-time-editor.c:
8990         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8991         handling in subclassed composite widgets. Fixes: NB#66628.
8992
8993 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8994
8995         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8996         from destroy_ callback as it introduces problems in async dbus signal
8997         handlers. Fixes NB#66673.
8998
8999 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9000
9001         * examples/hildon-hvolumebar-example.c:
9002         * src/hildon-volumebar.c: Improving the focus handling in the
9003         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9004         set_property accessor so that "mute" property can be actually set. I'm
9005         scared that nobody noticed it's totally broken.
9006
9007 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9008
9009         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9010         Fixes NB#66548.
9011
9012 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9013
9014         * src/hildon-calendar.c:
9015         * src/hildon-number-editor.c:
9016         * src/hildon-time-picker.c: Changing the timeout repeat so that it
9017         matches the spec of 6 chars per second. Fixes: NB#60489.
9018
9019 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9020
9021         * src/hildon-helper.c: Really fixing NB#58352. Looks like
9022         gtk_style_lookup_color sometime returns FALSE even though color was
9023         found and values were filled properly. Weird. Removing the warning for the
9024         time being.
9025
9026 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9027
9028         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9029         expand vertically. Adding some extra space to the find toolbar buttons to
9030         make them thumbable. Fixes NB#66060.
9031
9032 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9033
9034         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9035         popup with "Ok" and "Cancel". Fixes NB#59299.
9036
9037 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9038
9039         * src/hildon-calendar.c: Process all window updates before executing next
9040         timeout. Fixes: NB#54146.
9041
9042 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9043
9044         [1.0.13-1 release]
9045
9046         * NEWS:
9047         * configure.ac:
9048         * debian/changelog: Updating.
9049
9050 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
9051
9052         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9053         the client event and ignore it, since we use the delete event to close
9054         after timeouts.
9055
9056 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9057
9058         * src/hildon-helper.c: Remove the bogus warning about color not being
9059         found. Fixes NB#58352.
9060
9061 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9062
9063         * examples/Makefile.am:
9064         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9065         HildonSeekbar widget inside a toolbar.
9066
9067 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
9068
9069         * src/hildon-banner.c (hildon_banner_init): mark the banners as
9070         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9071         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9072         don't want to be closed by non-temporary windows on map.
9073
9074         Also use G_DEFINE_TYPE instead of manually typed code.
9075
9076 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9077
9078         [1.0.12-1 release]
9079
9080         * NEWS:
9081         * configure.ac:
9082         * debian/changelog:
9083         * debian/rules: Updating.
9084
9085 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9086
9087         * examples/Makefile.am:
9088         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9089         bug NB#61128. Strangely it works.
9090
9091 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9092
9093         * src/hildon-date-editor.c: When the date editor entry has been changed
9094         but the numbers of characters < max, turn off the skip validation flag.
9095         Prevents a situation when we enter first a valid year and later re-write
9096         it with an invalid one. Fixes NB#60154.
9097
9098 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9099
9100         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9101         code dialog. Fixes NB#64355.
9102
9103 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9104
9105         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9106         switching the page. Fixes NB#49374.
9107
9108         * examples/Makefile.am:
9109         * examples/hildon-wizard-dialog-example.c: Adding an example for
9110         HildonWizardDialog that shows how to handle manual sensitivity setting on
9111         the wizard dialog.
9112
9113 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9114
9115         * configure.ac:
9116         * src/Makefile.am:
9117         * src/hildon-version.h.in:
9118         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9119
9120 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9121
9122         * src/hildon-volumebar.c: Updating the docs.
9123
9124 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9125
9126         [1.0.11-1 release]
9127
9128         * NEWS:
9129         * configure.ac:
9130         * debian/changelog: Updating.
9131
9132 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9133
9134         * src/hildon-find-toolbar.c:
9135         * src/hildon-find-toolbar.h: Adding a few new functions to control the
9136         selected item: hildon_find_toolbar_set_active,
9137         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9138         hildon_find_toolbar_get_active_iter . They correspond to respective
9139         GtkComboBox functions.
9140
9141         * examples/Makefile.am:
9142         * examples/hildon-find-toolbar-example.c: Adding the example to test the
9143         new functionality.
9144
9145 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9146
9147         * examples/Makefile.am:
9148         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9149         theming easily.
9150
9151         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9152         when font size > 32 and we pack a focusable widget inside. Actually using
9153         the default response would work too, but since we don't show default
9154         response state in any way (no theming) it would not be visible to the
9155         user. Fixes NB#63430.
9156
9157 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9158
9159         * src/hildon-date-editor.c: Adding the missing variable setter in the
9160         set_property handler. Fixes NB#54182.
9161
9162 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9163
9164         * src/hildon-window.h: Changing the long key press time from 1500ms to
9165         800ms as requested in NB#63700. I have a bad feeling about this, let's
9166         see... Fixes NB#63700.
9167
9168 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
9169
9170         * src/hildon-time-picker.c (hildon_time_picker_class_init,
9171         hildon_time_picker_map, hildon_time_picker_realize,
9172         hildon_time_picker_style_set): Split the contents of map to more
9173         appropriate functions; set window decorations on realize and update
9174         arrows' size requisitions on style-set. Avoids unnecessary resizing.
9175
9176 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
9177
9178         [1.0.10-2 release]
9179
9180         * NEWS:
9181         * debian/changelog: Updating.
9182
9183 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
9184
9185         * src/Makefile.am: fixed installation of the header files
9186
9187 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9188
9189         [1.0.10-1 release]
9190
9191         * NEWS:
9192         * configure.ac:
9193         * debian/changelog: Updating.
9194
9195 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9196
9197         * configure.ac: Removing some remaining of --enable-xan.
9198
9199 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
9200
9201         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9202         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9203
9204         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9205         2.10.12-osso6 because the move-focus signal needs to be available in
9206         GtkWidget.
9207
9208 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9209
9210         * examples/Makefile.am:
9211         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9212         that makes a HildonVolumebar insensitive before mapping it. Seems to work
9213         fine. Prolly NB#61128 is fixed now.
9214
9215 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9216
9217         * src/hildon-volumebar.c:
9218         * src/hildon-volumebar.h: Adding the
9219         hildon_volumebar_set_range_insensitive_message and
9220         hildon_volumebar_set_range_insensitive_messagef functions to set
9221         insensitive message on the slider of the volumebar. Fixes NB#61129.
9222
9223         * examples/Makefile.am:
9224         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9225         test the new insensitive messsage functionality on HildonVolumebar.
9226
9227 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
9228
9229         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9230         work again.
9231
9232 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
9233
9234         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9235         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9236         button on after clearing the trail.
9237
9238 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9239
9240         * src/hildon-code-dialog.c: Removing the separator from the dialog.
9241
9242 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
9243
9244         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9245         by splitting the installed headers in generated and non-generated groups. Use
9246         only the non-generated headers to create the hildon-enum-types.h file.
9247
9248         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9249
9250 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9251
9252         * src/hildon-window.c: Hide the window before performing the destroy.
9253         Should make the app closing a little tiny bit more snappy.
9254
9255 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
9256
9257         * src/hildon-seekbar.c: add gtkrange.h header
9258         * src/hildon-caption.c: remove unused variable
9259
9260 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
9261
9262         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9263         Loic Minier.
9264
9265 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9266
9267         [1.0.9-1 release]
9268
9269         * NEWS:
9270         * configure.ac:
9271         * debian/changelog: Updating.
9272
9273 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
9274
9275         * src/hildon-window.c (hildon_window_window_state_event,
9276         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9277         escape timeout on focus-out-event rather than notify::is-topmost; the
9278         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9279
9280 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9281
9282         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9283         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9284
9285 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
9286
9287         * src/hildon-window: actually, you need to use the macro always, there's
9288         no private pointer in the instance structure. We should have cleaned this up
9289         when we had the chance...
9290
9291 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
9292
9293         * src/hildon-window.c: do not get the private date from HildonWindow before
9294         it passes the g_return_if_fail check. Once it's passed the test, there's no
9295         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9296         if you are only going to access the data once. Whitespace cleanups.
9297
9298 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
9299
9300         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9301         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9302
9303 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9304
9305         [1.0.8-1 release]
9306
9307         * NEWS:
9308         * configure.ac:
9309         * debian/changelog: Updating.
9310
9311 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9312
9313         * src/hildon-window.c: When destroying the window, remove (if exists) the
9314         escape timeout handler. Fixes #NB59276.
9315
9316 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9317
9318         * src/hildon-banner.c: When realizing the widget, set the window
9319         transiency. Setting the transiency in the gobject constructor is not
9320         good, as the widget is not realized at that point. Fixes: #NB56624.
9321
9322 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9323
9324         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9325         Add padding for future expansions.
9326
9327 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9328
9329         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9330         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9331         will fake an activation on the previous to the last item of the trail, so
9332         the effect can be overrided by the developer as usual.
9333         Also change the callback for the back button to do the same thing, so its
9334         effect can be overrided too. Fixes: NB#58982
9335
9336 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9337
9338         * src/hildon-caption.c: Implementing the proper focus grabbing in the
9339         HildonCaption. Fixes NB#52379.
9340
9341 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
9342
9343         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9344         the internal state of the trail after the user has had the chance of executing
9345         his handler for the signal. Specifically, it may happen that the activated button
9346         is removed and the user still lets the default handler run. This would segfault
9347         previously.
9348
9349 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9350
9351         * src/hildon-font-selection-dialog.c: When the font is really big, add the
9352         scrollbar to the preview dialog. Fixes NB#54147.
9353
9354 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9355
9356         * src/hildon-date-editor.c: Changing the default max year to 2037. The
9357         max/min year properties can be altered, so the client can modify it
9358         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9359
9360 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9361
9362         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9363         hildonlike by default. Fixing a problem with disappearing arrows when
9364         scrolling through months and years. Fixes NB#54127.
9365
9366 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9367
9368         * examples/hildon-date-editor-example.c: Adding error callback to the date
9369         editor example.
9370
9371 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9372
9373         [1.0.7-1 release]
9374
9375         * NEWS:
9376         * debian/changelog:
9377         * configure.ac: Updating.
9378
9379 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9380
9381         * configure.ac: Adding a special '--enable-xan' configure option that
9382         turns off the -Werror compilation setting. Usefull for development.
9383
9384         * src/hildon-calendar.c:
9385         * src/hildon-number-editor.c:
9386         * src/hildon-time-picker.c: Adding the 5* multiplier to
9387         gtk-timeout-update.
9388
9389 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
9390
9391         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9392         instead of g_object_ref + gtk_object_sink.
9393
9394 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9395
9396         [1.0.6-1 release]
9397
9398         * NEWS:
9399         * configure.ac:
9400         * debian/changelog: Updating.
9401
9402 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9403
9404         * src/hildon-color-chooser-dialog.c:
9405         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9406         straight from Tommi labs.
9407
9408 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9409
9410         * examples/hildon-finger-example.c: Correcting the header file path.
9411
9412         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9413         the changed signal. Fixes a small memory leak.
9414
9415 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9416
9417         * autogen.sh:
9418         * debian/rules:
9419         * src/hildon-banner.c: Importing several usefull fixes from the
9420         ubuntu-mobile branch.
9421
9422 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9423
9424         * examples/Makefile.am:
9425         * examples/hildon-finger-example.c: Adding a finger-checking code
9426         example.
9427
9428         * src/hildon-font-selection-dialog.c: Do not allocate the color
9429         structure using the g_new. Fixes NB#54061.
9430
9431 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9432
9433         * src/hildon-helper.c: Correcting tabs in file.
9434
9435 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
9436
9437         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9438         control the visibility of the children.
9439
9440         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9441
9442 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9443
9444         [1.0.5-1 release]
9445
9446         * NEWS:
9447         * configure.ac:
9448         * debian/changelog: Updating.
9449
9450 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
9451
9452         * src/hildon-bread-crumb-trail.c:
9453         (hildon_bread_crumb_trail_size_allocate):
9454
9455         Make the back button always a square.
9456
9457 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
9458
9459         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9460         from the .c file as it's a private file.
9461
9462 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9463
9464         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9465         uses slightly bigger height.
9466
9467         * src/hildon-font-selection-dialog.c: Adding some checks before
9468         freeing memory in the font selection dialog.
9469
9470 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9471
9472         * src/hildon-font-selection-dialog.c: Adding a small check when
9473         freeing memory.
9474
9475         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9476         buttons sensitivity on page switching.
9477
9478 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
9479
9480         * src/hildon-bread-crumb-trail.c: make the add method handle all the
9481         internal details of adding a bread crumb to the trail.
9482
9483 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9484
9485         [1.0.4-1 release]
9486
9487         * README:
9488         * configure.ac:
9489         * debian/changelog: Updating.
9490
9491         * src/hildon-bread-crumb-trail.h:
9492         * src/hildon-bread-crumb.h: Changing the API guard to
9493         HILDON_ENABLE_UNSTABLE_API.
9494
9495 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9496
9497         [1.0.3-1 release]
9498
9499         * NEWS:
9500         * configure.ac:
9501         * debian/changelog:
9502         * debian/rules:
9503         * src/hildon-helper.h: Updating.
9504
9505 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9506
9507         [1.0.2-1 release]
9508
9509         * NEWS:
9510         * configure.ac:
9511         * debian/changelog:
9512
9513 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9514
9515         * README:
9516         * configure.ac:
9517         * src/hildon-helper.h: Small fix to make the package actually compile.
9518
9519 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9520
9521         * src/hildon-bread-crumb-trail.h:
9522         * src/hildon-bread-crumb.h:
9523
9524         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9525         to define ENABLE_UNSTABLE_API in the code that includes these headers.
9526
9527 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
9528
9529         * examples/hildon-bread-crumb-trail-example.c:
9530         * src/Makefile.am:
9531         * src/hildon-bread-crumb-trail.c:
9532         * src/hildon-bread-crumb-trail.h:
9533         * src/hildon-bread-crumb.c:
9534         * src/hildon-bread-crumb.h:
9535         * src/hildon-marshalers.list:
9536         * src/hildon-bread-crumb-widget.c:
9537         * src/hildon-bread-crumb-widget.h:
9538
9539         Slight change in the widget design. The bread crumb trail API is
9540         unchanged, but HildonBreadCrumb is now an interface. A *private*
9541         implementation, hildon-bread-crumb-widget, is provided and used
9542         internally by the trail for the push_text/push_icon functions.
9543
9544         The generic push API is still available, so anyone can implement
9545         and use its own bread crumb widget.
9546
9547 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9548
9549         * debian/rules: Fixing the shlibs.
9550
9551 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9552
9553         * src/hildon-banner.c: Fixing a problem with timed banners having
9554         their parrent destroyed before they are.
9555
9556 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
9557
9558         * src/hildon-bread-crumb.c:
9559         * src/hildon-bread-crumb.h:
9560
9561         Make the get_natural_size function a vfunc.
9562
9563 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9564
9565         * src/hildon-bread-crumb.c:
9566         * src/hildon-bread-crumb-trail.c:
9567
9568         Some cleanups.
9569
9570 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9571
9572         [1.0.1-1 release]
9573
9574         * AUTHORS:
9575         * NEWS:
9576         * configure.ac:
9577         * debian/changelog: Updating for release.
9578
9579 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9580
9581         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9582         don't leak the pango layout.
9583
9584 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
9585
9586         * src/hildon.h:
9587         * examples/hildon-bread-crumb-trail-example.c:
9588
9589         Fix example.
9590
9591 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9592
9593         * debian/changelog: Removing the bug-fixed entries that were actually
9594         resolved as WONTFIX.
9595
9596         * src/hildon-date-editor.c: Removing a redundant check. Fixes
9597         NB#54182.
9598
9599 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9600
9601         * src/hildon-bread-crumb-trail.c:
9602         * src/hildon-bread-crumb-trail.h:
9603         * src/hildon-bread-crumb.c:
9604         * src/hildon-bread-crumb.h:
9605
9606         Untabify.
9607
9608 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
9609
9610         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9611         until it's passed the type check.
9612
9613 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9614
9615         * examples/hildon-bread-crumb-trail-example.c
9616
9617         Add license.
9618
9619 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9620
9621         * examples/Makefile.am
9622         * examples/hildon-bread-crumb-trail-example.c
9623         * src/Makefile.am
9624         * src/hildon-bread-crumb-trail.c
9625         * src/hildon-bread-crumb-trail.h
9626         * src/hildon-bread-crumb.c
9627         * src/hildon-bread-crumb.h
9628
9629         New HildonBreadCrumbTrail widget.
9630
9631 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
9632
9633         * src/hildon-range-editor.c (hildon_range_editor_init),
9634         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9635         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9636         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9637         hildon_time_editor_class_init, hildon_time_editor_init),
9638         src/hildon-get-password-dialog.c (invalid_input,
9639         hildon_get_password_set_property, hildon_get_password_get_property,
9640         create_contents, hildon_get_password_dialog_set_max_characters),
9641         src/hildon-set-password-dialog.c (create_contents),
9642         src/hildon-date-editor.c (hildon_date_editor_init),
9643         src/hildon-login-dialog.c (hildon_login_dialog_init),
9644         src/hildon-number-editor.c (hildon_number_editor_init),
9645         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9646         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9647         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9648          configure option and adding the respective checks in the code.
9649         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9650         hildon_calendar_drag_data_received): fixed some build warnings.
9651
9652 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9653
9654         * debian/changelog: A 1.0.0 release notes.
9655