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