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