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