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