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