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