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