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