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