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