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