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