2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
1 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2
3         Patch by Mox Soini (ext-mox.soini@nokia.com)
4
5         * src/hildon-banner.c: (hildon_banner_show_animation):
6         use stylus size instead of obsolete note size.
7         * src/hildon-defines.h: Update icon sizes.
8
9 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
10
11         * src/hildon-touch-selector-entry.c:
12         (hildon_touch_selector_entry_init): Disable unsupported
13         input modes.
14         (hildon_touch_selector_entry_get_text_column): Emit a warning
15         if an unsupported input modes is used and explicitile state
16         these modes in the documentation.
17
18         Fixes: NB#99802 (Hildon touch selector entry not working properly
19         for some of the input modes)
20
21 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
22
23         * src/hildon-pannable-area.c,
24         (hildon_pannable_area_init): Added the changed signal handlers of
25         the adjustments.
26
27         Fixes: NB#100320 (HildonPannableArea does not listen to
28         GtkAdjustment "change" signals)
29
30 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
31
32         * doc/hildon-sections.txt
33         * src/hildon-window-private.h
34         * src/hildon-window.h
35         * src/hildon-window.c (hildon_window_init)
36         (hildon_window_realize, hildon_window_unrealize)
37         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
38         (hildon_window_size_request, hildon_window_size_allocate)
39         (hildon_window_forall, hildon_window_show_all)
40         (hildon_window_destroy, +paint_edit_toolbar)
41         (+hildon_window_set_edit_toolbar):
42         New hildon_window_set_edit_toolbar() method, to add a
43         HildonEditToolbar to a window without having to pack it manually.
44
45         Reorganize hildon_window_size_allocate()
46
47         * src/hildon-edit-toolbar.c: Update documentation.
48
49         * examples/hildon-edit-toolbar-example.c (edit_window): Update
50         example to use the new API.
51
52         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
53
54 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
55
56         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
57         Remove from stack before calling parent's hide.
58
59 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
60
61         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
62         window is removed from the middle of the stack, update the
63         transiency of the previous one.
64
65         Fixes: NB#100487 (HildonStackableWindow transiency becomes
66         incoherent)
67
68 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
69
70         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
71         block/unblock the signal handler if it's not actually being used.
72         Fixes some critical warnings.
73
74 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
75
76         Based on a patch by Iván Gómez (igomez@igalia.com)
77
78         * src/hildon-banner.c
79         * src/hildon-gtk.c
80         * src/hildon-main.c
81         * src/hildon-note.c
82         * src/hildon-pannable-area.c
83         * src/hildon-picker-dialog.c
84         * src/hildon-wizard-dialog.h
85         * src/hildon-wizard-dialog.c: Documentation updates.
86
87         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
88         gtk_dialog_add_button() instead of hildon_dialog_add_button().
89
90 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
91
92         * configure.ac: post release version bump.
93         * debian/changelog: version bump.
94
95 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
96
97         [Release 2.1.40]
98
99         * NEWS: Updates.
100         * configure.ac: Bump version.
101         * debian/changelog: Updates.
102
103 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
104
105         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
106         a stock icon nor change the relief of the back arrow.
107
108         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
109         graphics from theme)
110
111 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
112
113         * src/hildon-button.c (hildon_button_set_alignment): Use
114         priv->alignment if the button has no child yet.
115
116 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
117
118         * src/hildon-button.c: (hildon_button_init): Set the
119         button style during initialization to give it the proper
120         label color.
121
122         Fixes: NB#99713 (HildonButton value label color is wrong)
123
124 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
125
126         * src/hildon-touch-selector.c: Document
127         hildon_touch_selector_center_on_selected()
128
129 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
130
131         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
132         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
133         all menu items, but not the menu itself.
134         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
135         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
136         items after adding them to the menu so keyboard accelerators work.
137         (hildon_app_menu_show): Don't show the menu if it contains items
138         but none of them are visible.
139
140         * examples/hildon-app-menu-example.c (create_menu): Use
141         gtk_widget_show_all() to show all menu items.
142
143 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
144
145         * src/hildon-picker-dialog.c:
146         (-_update_title_on_selector_changed_cb),
147         (-_dialog_update_title): Removed.
148         (_select_on_selector_changed_cb), (_on_dialog_response),
149         (on_selector_columns_changed): Do not update the dialog title.
150         (setup_interaction_mode): Do not connect to
151         HildonTouchSelector::changed signal if there's a "done" button, as
152         the dialog title doesn't need to be updated.
153
154         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
155         contents in title)
156
157 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
158
159         Patch by Kristian Rietveld (kris@imendio.com)
160
161         * src/hildon-touch-selector.c: (_create_new_column): Use new
162         GtkTreeView::hildon-row-tapped signal to react to user interactions
163         instead of ::changed.
164
165         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
166         with some dynamic tree model)
167
168 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
169
170         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
171         (+screen_size_changed, +label_size_request)
172         (hildon_note_class_init): Make the Hildon information note have a
173         minimum height, and make its text hvae a maximum width.
174
175         Fixes: NB#98614 (Hildon information note (background) should have
176         minimum height and maximum text width)
177
178 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
179
180         * src/hildon-banner.h
181         * src/hildon-banner.c (hildon_banner_show_information)
182         (hildon_banner_show_informationf)
183         (hildon_banner_show_information_with_markup): Update documentation
184         to reflect that the icon_name parameter is not used anymore.
185         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
186         Remove all code from these functions and mark them as deprecated.
187         (hildon_banner_show_progress): Mark as deprecated.
188
189         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
190
191 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
192
193         * src/hildon-pannable-area.c,
194         (hildon_pannable_area_class_init),
195         (tranparency_color),
196         (hildon_pannable_draw_vscroll),
197         (hildon_pannable_draw_hscroll),
198         (hildon_pannable_area_expose_event): Added a new way to render the
199         scrollbars of the pannable area avoiding using cairo at all. This
200         way we improve the performance of the pannable area rendering. The
201         cairo rendering procedure is still in the code, we can control
202         which one to use changing the value of the define
203         USE_CAIRO_SCROLLBARS.
204
205 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
206
207         * configure.ac: post release version bump.
208         * debian/changelog: version bump.
209
210 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
211
212         [Release 2.1.38]
213
214         * NEWS: Updates.
215         * configure.ac: Bump version.
216         * debian/changelog: Updates.
217
218 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
219
220         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
221         banners instead of destroying them when they receive a button
222         press.
223
224 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
225
226         Reverted commit 34028, it was causing regressions, probably the
227         topmost condition is not correct, we have to check it in more
228         detail. We have reponed the bug: NB#97458 (Pannable area prevents
229         propagation of button press events)
230
231 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
232
233         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
234         that the selection is not empty before attempting to retrieve the
235         current ampm selection.
236
237 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
238
239         * src/hildon-picker-button.c:
240         (hildon_picker_button_on_dialog_response): Directly update the
241         button contents when required instead of calling _selection_changed.
242
243 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
244
245         * src/hildon-program.c (hildon_program_update_top_most): Update
246         'is-topmost' property also when wm_hints is not set.
247
248         Fixes: NB#98383 (is-topmost signal is not emitted when task
249         switcher is clicked.)
250
251 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
252
253         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
254
255         * src/Makefile.am,
256         * src/hildon.h,
257         * src/hildon-animation-actor.c,
258         * src/hildon-animation-actor.h: Added the animation actor class,
259         this widget represents an animation actor for WM-assisted
260         animation effects in the Hildon framework.
261
262 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
263
264         * src/hildon-window-stack-private.h
265         * src/hildon-window-stack.c
266         * src/hildon-stackable-window.c (hildon_stackable_window_show):
267         Avoid calling gtk_widget_show() again indirectly from
268         hildon_stackable_window_show()
269
270 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
271
272         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
273         unused variable.
274
275 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
276
277         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
278         (hildon_time_selector_init): Move the construction of the hours and
279         ampm columns to the constructor to preserve the order the columns
280         are appended.
281
282 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
283
284         * src/hildon-picker-dialog.c:
285         (hildon_picker_dialog_class_init): Connect a realize method.
286         (+hildon_picker_dialog_realize): Setup the interaction mode here
287         and not before.
288         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
289         yet, do it during the realize instead.
290         (_on_dialog_response):
291         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
292         if the widget is not realized, to avoid the dialog response before it
293         is even shown.
294
295         Avoid premature responses in the HildonPickerDialog that can cause it
296         to be hidden before it's even shown.
297
298 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
299
300         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
301         (on_selector_columns_changed), (requires_done_button),
302         (+prepare_action_area), (setup_interaction_mode),
303         (_hildon_picker_dialog_set_selector):
304
305         Split the interaction mode setup into preparation of the
306         action area (prepare_action_area()) and the connection of
307         the signals in setup_interaction_mode() and update the code to
308         reflect this.
309
310 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
311
312         * src/hildon-pannable-area.c,
313         (hildon_pannable_area_class_init): Reduced the amount of scrolls
314         per second to 15, we will check if this is ok regarding
315         smoothness.
316
317 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
318
319         * src/hildon-pannable-area.c,
320         (hildon_pannable_axis_scroll): Avoid resize if we already have
321         reached overshoot_max.
322
323 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
324
325         * src/hildon-pannable-area.c,
326         (hildon_pannable_area_init),
327         (hildon_pannable_area_realize),
328         (hildon_pannable_area_size_allocate),
329         (hildon_pannable_area_map),
330         (hildon_pannable_area_unmap),
331         (hildon_pannable_draw_vscroll),
332         (hildon_pannable_draw_hscroll),
333         (hildon_pannable_area_expose_event),
334         (hildon_pannable_area_refresh): Added a new GdkWindow to the
335         pannable are to avoid the expose events go to the window and
336         redraw the window. We save this way that part of the stack and the
337         paint_boxes. We had to change the positions of the elements when
338         drawing.
339
340 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
341
342         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
343         * src/hildon-color-chooser-dialog.c:
344         (hildon_color_chooser_dialog_init):
345         * src/hildon-font-selection-dialog.c:
346         (hildon_font_selection_dialog_init),
347         (hildon_font_selection_dialog_show_preview):
348         * src/hildon-get-password-dialog.c:
349         * src/hildon-login-dialog.c:
350         * src/hildon-set-password-dialog.c:
351         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
352         * src/hildon-time-picker.c: (hildon_time_picker_init):
353
354         Remove obsolete logical string IDs and update to the appropriate ones.
355
356         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
357
358 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
359
360         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
361         that happens if the window hasn't been realized yet.
362
363         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
364         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
365
366 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
367
368         * src/hildon-app-menu.c (hildon_app_menu_class_init)
369         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
370         by another grab.
371
372         Fixes: NB#98537 (Device hangs in account settings dialog)
373
374 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
375
376         * configure.ac: post release version bump.
377         * debian/changelog: version bump
378
379 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
380
381         [Release 2.1.36]
382
383         * NEWS: Updates.
384         * configure.ac: Bump version.
385         * debian/changelog: Updates.
386
387 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
388
389         Added a new function to the HildonTimeButton widget that allows to
390         change the step of the minutes in the selector associated with the
391         button: hildon_time_button_new_step
392
393         * src/hildon-time-button.c,
394         (hildon_time_button_init),
395         (hildon_time_button_new),
396         (hildon_time_button_new_step):
397         * src/hildon-time-button.h: Added the new function and refactored
398         the code.
399         * examples/hildon-time-button-example.c,
400         (main): We have replaced the function without parameters with the
401         function with the steps set to 5
402
403         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
404
405 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
406
407         * src/hildon-time-selector.c,
408         (hildon_time_selector_class_init),
409         (hildon_time_selector_constructor),
410         (hildon_time_selector_get_property),
411         (hildon_time_selector_set_property),
412         (_create_minutes_model),
413         (hildon_time_selector_new_step),
414         (hildon_time_selector_set_time),
415         * src/hildon-time-selector.h: Added a new property to the
416         HildonTimeSelector (minutes-step), we use that property to control
417         the steps between the minutes in the list of the selector. We have
418         added a new function to the API to create a widget changing the
419         step: hildon_time_selector_new_step.
420
421 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
422
423         * src/hildon-time-selector.c,
424         (hildon_time_selector_class_init),
425         (hildon_time_selector_constructor),
426         (hildon_time_selector_init): Overrided the construct function when
427         creating the time selector object. We have moved the minutes model
428         handling code from the init to the new construction function:
429         hildon_time_selector_constructor.
430
431 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
432
433         * examples/hildon-date-button-example.c: (main): Use the new
434         hildon_date_button_new_with_year_range() method in the example.
435         * src/hildon-date-button.c:
436         (+hildon_date_button_new_with_year_range): New public method
437         to conveniently create a HildonDateButton with a custom year range
438         in its HildonDateSelector.
439         * src/hildon-date-button.h: Add the new public method definition.
440
441         Fixes: NB#97908 (Not possible to change the year range in
442         HildonDateSelector/HildonDateButton)
443
444 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
445
446         * src/hildon-date-selector.c:
447         (+hildon_date_selector_set_property),
448         (+hildon_date_selector_get_property),
449         (hildon_date_selector_class_init): Install new properties "min-year"
450         and "max-year" to define boundaries for the year column.
451         (_create_year_model): Use the boundary properties to populate the model.
452         (+hildon_date_selector_new_with_year_range): New public method to
453         create a HildonDateSelector with a user defined year range.
454         (hildon_date_selector_select_current_date): Use the new boundaries to
455         calculate the iterator of current year.
456         * src/hildon-date-selector.h: Add the new public method definition.
457
458 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
459
460         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
461         Install a constructor method.
462         (+hildon_date_selector_construct_ui): construct the widget.
463         (+hildon_date_selector_constructor): new constructor.
464         (+hildon_date_selector_init): move out widget construction code to
465         the new constructor.
466
467 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
468
469         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
470         that there's actually a month or year selected before obtaining them.
471         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
472         of the HildonTouchSelector::changed signal, as it was emitted on every
473         single item selection.
474
475         Fix some warnings and possible crashers due to the selection restoring.
476
477 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
478
479         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
480         the signal handlers only after creating the dialog instead of on every
481         button click.
482
483 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
484
485         * src/hildon-button.c (hildon_button_init)
486         * src/hildon-check-button.c (hildon_check_button_init)
487         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
488         focus when clicked by default.
489
490 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
491
492         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
493         g_object_unref().
494
495 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
496
497         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
498         Alejandro G. Castro  (alex@igalia.com)
499
500         * src/hildon-picker-dialog.c:
501         (hildon_picker_dialog_class_init): install new "center-on-show"
502         property.
503         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
504         (hildon_picker_dialog_set_property): add setter code for the new
505         property.
506         (hildon_picker_dialog_get_property): add getter code for the new
507         property.
508         (hildon_picker_dialog_show): Ensure visibility of selected items in the
509         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
510         default.
511
512         Fixes: NB#92849 (Selected item is not always visible when
513         HildonTouchSelector is shown)
514
515 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
516
517         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
518         Alejandro G. Castro  (alex@igalia.com)
519
520         * src/hildon-touch-selector.c:
521         (_create_new_column): Do not connect to the "realize" signal of the
522         pannable area.
523         (hildon_touch_selector_append_column): center on the selected items
524         when a new column is appended.
525         (hildon_touch_selector_select_iter): Factor out the code to select a
526         column to hildon_touch_selector_scroll_to().
527         (+search_nearest_element): Method to retrieve the nearest selected
528         element to the visible area of the pannable area in a column.
529         (+on_realize_cb): scroll to the initially selected item.
530         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
531         the pannable area is realized, otherwise delay this until it is.
532         (+_hildon_touch_selector_center_on_selected_items): Centers on the
533         selected items of a given column.
534         (+hildon_touch_selector_center_on_selected): Public method to center
535         all columns on the nearest selected item.
536         * src/hildon-touch-selector.h: Add definition for
537         hildon_touch_selector_center_on_selected().
538
539         Implement public API to ensure visibility of all selected items in
540         a HildonTouchSelector.
541
542 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
543
544         Fixed a problem in the fading when calling the scroll_to API, and
545         improve scrollbar fading handling.
546
547         * src/hildon-pannable-area.c,
548         (hildon_pannable_area_grab_notify): avoid the timeout when the
549         alpha is zero.
550         (hildon_pannable_area_button_press_cb),
551         (hildon_pannable_area_motion_notify_cb): Code style changes.
552         (hildon_pannable_area_button_release_cb): Review the conditions
553         when releasing the mouse button to avoid unrequired fading
554         timeouts.
555         (hildon_pannable_area_scroll_to): Do not calculate and set the
556         velocity if the scroll is not required.
557
558 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
559
560         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
561         Don't check whether the new selector is NULL: it cannot be.
562         Hold a reference to the selector while doing the replacement.
563
564 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
565
566         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
567         unnecessary size_request in a removed widget.
568
569 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
570
571         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
572         an unnecessary reference tracking that was leaking.
573
574 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
575
576         Added delayed motion notify event handling, this way we can
577         discard redrawing if more than 25 events arrive per second.
578
579         * src/hildon-pannable-area.c,
580         (hildon_pannable_area_init): Initialized the new private atributes
581         controlling this timeout
582         (hildon_pannable_area_dispose): Remove the timeout that controls
583         the motion notify events.
584         (hildon_pannable_area_scroll): Added a condition to control the
585         use of the acceleration.
586         (hildon_pannable_area_motion_event_scroll_timeout),
587         (hildon_pannable_area_motion_event_scroll): Added this two
588         functions, they handle the motion notify events inside the
589         timeout.
590         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
591         to the scroll method with the new function.
592         (hildon_pannable_area_button_release_cb): We have to remove the
593         timeout handler and move to the last position if the last motion
594         events were not handled.
595
596         Fixes: NB#97028 (Pannable area updates on every motion event)
597
598 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
599
600         * src/hildon-pannable-area.c,
601         (hildon_pannable_area_get_topmost): Added a new parameter to
602         filter the the windows that do not include those events. Added
603         also a condition when finding the window to filter windows that do
604         not ask for those events.
605         (hildon_pannable_area_button_press_cb),
606         (hildon_pannable_area_button_release_cb),
607         (hildon_pannable_get_child_widget_at): Reviewed the call the the
608         topmost function, we have added the new parameter.
609
610         Fixes: NB#97458 (Pannable area prevents propagation of button
611         press events)
612
613 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
614
615         * src/hildon-pannable-area.c,
616         (hildon_pannable_area_initial_effect): Added controls before
617         launching the timeout and the idle functions.
618         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
619         of the method, in some situations it can return with TRUE and 0 in
620         the timeout.
621         (hildon_pannable_area_button_press_cb): We do not need to set
622         DELAY for fading out here.
623
624         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
625
626 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
627
628         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
629         post-cleaning if the selection is not NULL.
630
631 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
632
633         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
634         all items before restoring the selection.
635
636 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
637
638         * src/hildon-touch-selector.c:
639         (+hildon_touch_selector_unselect_all):
640         * src/hildon-touch-selector.h: New API to unselect all items in a
641         column of the touch selector.
642
643 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
644
645         * src/hildon-pannable-area.c,
646         (hildon_pannable_area_redraw): Added a call to the refresh
647         function inside the redraw because apparently in some cases the
648         change in the adjustment does not imply a size allocate.
649
650         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
651         despite the view not being scrollable)
652
653 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
654
655         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
656         leak. Check for NULL before attempting to set the window title.
657
658 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
659
660         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
661         whether to show or not the 'Done' button each time the dialog is
662         shown, as it depends on the HildonTouchSelector selection mode.
663
664         Fixes: NB#96226 (In multiple selection mode Done button is shown
665         sometimes in listpicker)
666
667 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
668
669         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
670         for the number of columns in the HildonTouchSelector more than once.
671
672 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
673
674         * src/hildon-touch-selector.c: Minor documentation fixes.
675
676         * src/hildon-picker-dialog.c (+_dialog_update_title)
677         (_select_on_selector_changed_cb)
678         (_update_title_on_selector_changed_cb)
679         (on_selector_columns_changed): Update dialog title when there's no
680         'Done' button and also when the number of columns in the selector
681         changes.
682         Code refactoring.
683
684         * src/hildon-picker-button.c (hildon_picker_button_finalize)
685         (+_selection_changed, hildon_picker_button_on_dialog_response)
686         (hildon_picker_button_selector_selection_changed)
687         (+hildon_picker_button_selector_columns_changed)
688         (hildon_picker_button_set_selector): Update button value and emit
689         'value-changed' when the number of columns in the selector
690         changes.
691         Code refactoring.
692
693         Fixes: NB#96225 (Dialog titles are not shown according to the
694         values selected in the list picker)
695
696 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
697
698         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
699         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
700         New "arrow-width" and "arrow-height" style properties to set the
701         size of the arrow button.
702         Set name of arrow button ("hildon-edit-toolbar-arrow").
703
704         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
705         graphics from theme)
706
707 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
708
709         * src/hildon-picker-button.c:
710         (hildon_picker_button_selector_selection_changed): Use
711         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
712         the dialog is present.
713
714         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
715         the selection is accepted in the dialog)
716
717 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
718
719         * src/hildon-color-chooser.h
720         * src/hildon-color-chooser-dialog.h:
721         Added G_BEGIN_DECLS and G_END_DECLS
722
723 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
724
725         (_clean_current_selection): plug a leak in the list.
726
727 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
728
729         * src/hildon-picker-dialog.c:
730         (+free_path_list): Method to free a GList of GtkTreePaths.
731         (_clean_current_selection), (_save_current_selection),
732         (_restore_current_selection): Save the current selection in
733         as a list of lists, to support multiple selection properly.
734
735 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
736
737         patch by Claudio Saavedra (csaavedra@igalia.com)
738
739         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
740         Store the press position.
741         (+hildon_text_view_button_release_event): If the release position is
742         close enough to the press position, move the cursor here. Otherwise,
743         ignore.
744         (hildon_text_view_class_init): Override GtkTextView press, release, and
745         motion event handlers, disabling this way text selection through
746         pointer interaction, and allowing the container widget to handle the
747         motion event.
748
749         Fixes: NB#95828 (HildonTextView functionality)
750
751 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
752
753         Based on a patch by Iván Gómez (igomez@igalia.com)
754
755         * src/hildon-button.[ch]
756         * src/hildon-calendar.c
757         * src/hildon-check-button.c
758         * src/hildon-date-editor.c
759         * src/hildon-date-selector.c
760         * src/hildon-picker-button.c
761         * src/hildon-time-editor.c
762         * src/hildon-time-selector.c
763         * src/hildon-touch-selector.[ch]:
764         Documentation updates
765
766 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
767
768         * src/hildon-pannable-area.c,
769         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
770         threshold, it was required due to X events handling.
771
772 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
773
774         * src/hildon-pannable-area.c,
775         (hildon_pannable_area_grab_notify),
776         (hildon_pannable_area_initial_effect),
777         (hildon_pannable_area_button_press_cb),
778         (hildon_pannable_area_button_release_cb),
779         (hildon_pannable_area_scroll_cb),
780         (hildon_pannable_area_scroll_to): Review the timeout management of
781         the scrollbar, the frecuency was incorrectly set.
782
783 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
784
785         * src/hildon-picker-button.c:
786         (+hildon_picker_button_on_dialog_response),
787         (hildon_picker_button_clicked): Present the dialog instead of
788         running it with gtk_dialog_run().
789
790         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
791         picker dialog)
792
793 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
794
795         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
796         (hildon_app_menu_finalize): When a window is hidden it doesn't
797         emit notify::is-topmost, so make sure than the menu also
798         disappears in that case.
799         (parent_window_topmost_notify): Renamed from parent_window_hidden
800
801         Fixes: NB#94460 (stackable window's menu is not closed when its
802         window is hidden)
803
804 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
805
806         * src/hildon-touch-selector-entry.c:
807         (+hildon_touch_selector_entry_set_input_mode),
808         (+hildon_touch_selector_entry_get_input_mode):
809         * src/hildon-touch-selector-entry.h: New methods to access the input
810         mode in the selector's entry.
811
812         Fixes: NB#93410 (API required for setting IM mode in
813         HildonTouchSelectorEntry)
814
815 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
816
817         * configure.ac: post release version bump.
818         * debian/changelog: version bump
819
820 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
821
822         [Release 2.1.34]
823
824         * NEWS: Updates.
825         * configure.ac: Bump version.
826         * debian/changelog: Updates.
827
828 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
829
830         * src/hildon-touch-selector.c:
831         (_hildon_touch_selector_has_multiple_selection): No need
832         to initialize the variables here.
833
834 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
835
836         * src/hildon-note-private.h
837         * src/hildon-note.c (event_box_press_event, hildon_note_init)
838         (hildon_note_finalize, hildon_note_rebuild): Close information
839         notes when they receive a button press.
840
841         Fixes: NB#89890 (Information notes does not get disappeared after
842         few seconds)
843
844 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
845
846         * src/hildon-wizard-dialog.c: (create_title): Remove translation
847         mark from the wizard title, as it's not really necessary. Also,
848         do not display the page title if not set.
849
850 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
851
852         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
853         (parent_window_hidden): Use the window's "is-topmost" property to
854         detect when to hide the menu.
855
856 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
857
858         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
859         (hildon_app_menu_finalize): If the parent window of the menu is
860         hidden, hide the menu too.
861
862         Fixes: NB#94460 (stackable window's menu is not closed when its
863         window is hidden)
864
865 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
866
867         * debian/changelog
868         * debian/libhildon1-examples.install
869         * debian/rules
870         * examples/Makefile.am:
871         Use dh_install to install all examples.
872         Use DEB_SRCDIR instead of defining SOURCE_DIR
873
874 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
875
876         * configure.ac: post release version bump.
877         * debian/changelog: version bump
878
879 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
880
881         [Release 2.1.32]
882
883         * NEWS: updates
884         * configure.ac: bump version
885         * debian/changelog: updates
886         * debian/control: bump gtk+ dependency
887
888 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
889
890         patch by Christian Dywan (christian@imendio.com)
891
892         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
893         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
894
895 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
896
897         * src/hildon-check-button.c (hildon_check_button_init)
898         (hildon_check_button_class_init, hildon_check_button_style_set)
899         (hildon_check_button_apply_style):
900         New "checkbox-size" style property.
901
902         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
903         larger / configurable size)
904
905 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
906
907         * configure.ac: post release version bump.
908         * debian/changelog: version bump
909
910 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
911
912         [Release 2.1.30]
913
914         * NEWS: updates
915         * configure.ac: bump version
916         * debian/changelog: updates
917
918 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
919
920         * doc/hildon-sections.txt
921         * src/hildon-pannable-area.c
922         * src/hildon-program.c
923         * src/hildon-time-editor.c
924         * src/hildon-touch-selector-entry.c:
925
926         More documentation updates.
927
928 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
929
930         * doc/hildon-sections.txt
931         * src/hildon-caption.c
932         * src/hildon-code-dialog.c
933         * src/hildon-color-button.c
934         * src/hildon-controlbar.c
935         * src/hildon-date-editor.c
936         * src/hildon-date-selector.c
937         * src/hildon-edit-toolbar.c
938         * src/hildon-find-toolbar.c
939         * src/hildon-font-selection-dialog.c
940         * src/hildon-gtk.c
941         * src/hildon-program.c
942         * src/hildon-range-editor.c
943         * src/hildon-seekbar.c
944         * src/hildon-time-editor.c
945         * src/hildon-time-selector.c
946         * src/hildon-volumebar-range.c
947         * src/hildon-volumebar.c
948         * src/hildon-vvolumebar.c
949         * src/hildon-weekday-picker.c
950         * src/hildon-window.c
951         * src/hildon-wizard-dialog.c:
952
953         Lots of documentation fixes.
954
955 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
956
957         Patch contributed by Iván Gómez (igomez@igalia.com)
958
959         * src/hildon-check-button.c:
960         * src/hildon-date-button.c:
961         * src/hildon-date-selector.c:
962         * src/hildon-dialog.c:
963         * src/hildon-edit-toolbar.c:
964         * src/hildon-entry.c:
965         * src/hildon-picker-button.c:
966         * src/hildon-program.c:
967         * src/hildon-text-view.c:
968         * src/hildon-time-button.c:
969         * src/hildon-touch-selector-entry.c:
970         * src/hildon-window-stack.c:
971
972         Add more "since" tags to the new API.
973
974 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
975
976         * doc/hildon-sections.txt: Add below method.
977         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
978         version for the hildonized scale.
979         * src/hildon-gtk.h: Add the definition.
980
981         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
982
983 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
984
985         * doc/hildon-sections.txt: Add missing entries for new methods.
986
987 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
988
989         Added API to pannable are in order to get its adjustments. We
990         added two properties to manage the values we had in the private
991         structure.
992
993         * src/hildon-pannable-area.c:
994         (hildon_pannable_area_class_init): Added hadjustment and
995         vadjustment properties in order to expose horizontal and vertical
996         adjustment.
997         (hildon_pannable_area_get_property),
998         (hildon_pannable_area_set_property): Added code to handle the new
999         properties
1000         (hildon_pannable_area_get_hadjustment),
1001         (hildon_pannable_area_get_vadjustment): API functions to get the
1002         adjustments
1003         * src/hildon-pannable-area.h:
1004         (hildon_pannable_area_get_hadjustment),
1005         (hildon_pannable_area_get_vadjustment): API functions to get the
1006         adjustments
1007
1008 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
1009
1010         Fixed some leaks, after valgrinding.
1011
1012         * src/hildon-touch-selector.c:
1013         (_default_print_func): Fixed a leak.
1014         (hildon_touch_selector_append_column): Fixed a leak.
1015         * src/hildon-date-button.c:
1016         (hildon_date_button_init): Fixed a leak.
1017         * src/hildon-date-selector.c
1018         (hildon_date_selector_finalize): Fixed a leak.
1019
1020 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
1021
1022         Based on a patch by Christian Dywan (christian@imendio.com)
1023
1024         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1025         GtkHScale.
1026         * src/hildon-gtk.h: Add definition.
1027
1028         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1029
1030 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1031
1032         * src/hildon-picker-button.c: (hildon_picker_button_init),
1033         (hildon_picker_button_new): Set the HildonButton::style property
1034         in the init method, to propagate the value to the derived classes.
1035
1036 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1037
1038         * src/hildon-button.c: (hildon_button_class_init): Do not make
1039         the "style" property a construct property.
1040
1041 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1042
1043         * src/hildon-wizard-dialog.h
1044         * src/hildon-wizard-dialog.c
1045         (hildon_wizard_dialog_set_forward_page_func)
1046         * src/hildon-pannable-area.h
1047         * src/hildon-pannable-area.c
1048         (hildon_pannable_area_set_size_request_policy):
1049         Documentation fixes.
1050
1051 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1052
1053         * doc/hildon-sections.txt: Fixed warning about unused symbols.
1054
1055 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
1056
1057         * doc/hildon-sections.txt: Added sections file.
1058
1059 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1060
1061         * AUTHORS: Updates.
1062         * src/*.[ch]: Updates.
1063
1064 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
1065
1066         * examples/hildon-progress-indicator-example.c: new file
1067         * examples/Makefile.am: include the new example program
1068
1069 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
1070
1071         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1072
1073 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1074
1075         * configure.ac: post release version bump
1076         * debian/changelog: version bump
1077
1078 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1079
1080         [Release 2.1.28]
1081
1082         * NEWS: updates
1083         * configure.ac: bump version
1084         * debian/changelog: updates
1085         * debian/control: bump gtk+ dependency
1086
1087 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1088
1089         * src/hildon-dialog.c: Mark as deprecated.
1090         * src/hildon-dialog.h: Mark as deprecated.
1091         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1092         from HildonDialog and still work, even if
1093         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1094         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1095
1096         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1097         maemo changes) instead)
1098
1099 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
1100
1101         * src/hildon-pannable_area.h:
1102         * src/hildon-pannable_area.c:
1103         (hildon_pannable_area_class_init),
1104         (hildon_pannable_area_set_property),
1105         (hildon_pannable_area_get_property),
1106         (hildon_pannable_area_size_request),
1107         (hildon_pannable_area_get_size_request_policy),
1108         (hildon_pannable_area_set_size_request_policy): Added new API
1109         allowing applications to control the request policy. Now they can
1110         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1111         children allocation (HILDON_MOVEMENT_CHILDREN).
1112
1113 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
1114
1115         * src/hildon-gtk.h
1116         * src/hildon-gtk.c
1117         (hildon_gtk_tree_view_set_ui_mode)
1118         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1119         mode of treeviews and iconviews.
1120
1121 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1122
1123         * src/hildon-touch-selector-entry.c:
1124         (hildon_touch_selector_entry_init): Use a HildonEntry instead
1125         of a GtkEntry to get proper theming.
1126
1127         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1128         widget, not GtkEntry)
1129
1130 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1131
1132         * src/hildon-wizard-dialog.c: (response): Move forward if there is
1133         no HildonWizardDialogPageFunc.
1134
1135 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1136
1137         Patch contributed by Iván Gómez (igomez@igalia.com)
1138
1139         * src/hildon-app-menu.c:
1140         * src/hildon-button.c:
1141         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1142         * src/hildon-stackable-window.c:
1143         * src/hildon-time-selector.c:
1144         * src/hildon-touch-selector.c:
1145         * src/hildon-window.c:
1146
1147         Add more "since" tags to the new API in hildon 2.2.
1148
1149 2008-12-05  Tim Janik  <timj@imendio.com>
1150
1151         Patch contributed by Christian Dywan (christian@imendio.com)
1152
1153         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1154         HildonSizeType, which are supplied by Gtk+ now.
1155
1156         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1157
1158         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1159         (with maemo changes) instead)
1160
1161 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1162
1163         Patch contributed by Iván Gómez (igomez@igalia.com)
1164
1165         * src/hildon-pannable-area.c: Add "since" tags to the new API in
1166         hildon 2.2.
1167
1168 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1169
1170         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1171         (some_page_func), (main): Update the example to use a
1172         HildonWizardDialogPageFunc function.
1173
1174         * src/hildon-wizard-dialog-private.h: Add private data for
1175         the HildonWizardDialogPageFunc function usage.
1176
1177         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1178         (destroy), (hildon_wizard_dialog_init), (response),
1179         (hildon_wizard_dialog_set_forward_page_func):
1180         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1181         that applications can use to stop a HildonWizardDialog to jump to
1182         the next page.
1183
1184         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1185         next page)
1186
1187 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
1188
1189         * src/hildon-program.h
1190         * src/hildon-program-private.h
1191         * src/hildon-program.c (hildon_program_init)
1192         (hildon_program_set_common_app_menu)
1193         (hildon_program_get_common_app_menu):
1194         New API for setting a common HildonAppMenu for all
1195         HildonStackableWindows registered with the HildonProgram.
1196
1197         * src/hildon-stackable-window.c
1198         (hildon_stackable_window_toggle_menu):
1199         Use the common HildonAppMenu if a window doesn't have a specific
1200         one.
1201
1202         * src/hildon-app-menu-private.h
1203         * src/hildon-app-menu.c
1204         (hildon_app_menu_get_parent_window):
1205         Function to obtain the window a HildonAppMenu is attached to.
1206         (hildon_app_menu_set_parent_window):
1207         Hide the menu if the parent window is set to NULL.
1208
1209 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
1210
1211         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1212         set GtkTreeView::enable-search to FALSE, to avoid the interactive
1213         search widget to popup.
1214
1215 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1216
1217         * configure.ac: post release version bump
1218         * debian/changelog: version bump
1219
1220 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1221
1222         [Release 2.1.26]
1223
1224         * NEWS: updates
1225         * configure.ac: bump version
1226         * debian/changelog: updates
1227
1228 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1229
1230         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1231
1232         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1233         (hildon_window_stack_window_realized)
1234         (hildon_window_stack_remove, _hildon_window_stack_do_push):
1235         Set the leader GdkWindow when a window is stacked and realized,
1236         unset it when it's unstacked.
1237         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1238
1239         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1240
1241 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1242
1243         * src/hildon-stackable-window.h
1244         * src/hildon-window-stack.h:
1245         Protect definition of HildonWindowStack using the preprocessor.
1246
1247 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1248
1249         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1250         Fix warning if all menu items are hidden.
1251
1252 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
1253
1254         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1255
1256         * src/hildon-controlbar.c:
1257         * src/hildon-hvolumebar.c:
1258         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1259         Multiple scale size defines updates.
1260
1261         Fixes: NB#94322 (Scale Updates)
1262
1263 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1264
1265         * examples/hildon-app-menu-example.c (create_menu)
1266         Show items after adding them to the menu, as in the future the
1267         menu will no longer call gtk_widget_show() on the added items.
1268
1269         * src/hildon-app-menu.c:
1270         Update example as explained above.
1271
1272 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1273
1274         * src/hildon-app-menu.c
1275         (hildon_app_menu_insert, hildon_app_menu_add_filter):
1276         Make sure that all menu items have finger height.
1277
1278 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
1279
1280         * src/hildon-picker-dialog.c:
1281         (_on_dialog_response), (_save_current_selection),
1282         (_restore_current_selection), (_clean_current_selection),
1283         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1284         Defined new functions in order to save the current internal selector
1285         selection previous open the dialog, in case that the use cancel the
1286         interaction, so the widget restores the previous selection.
1287
1288         Fixes: NB#92032 (In calendar application, date values in 'new event' 
1289         are not proper)
1290
1291         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1292
1293 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1294
1295         * src/hildon-button.c: Add a reference to the button examples in
1296         hildon-button-example.c
1297
1298         * examples/hildon-button-example.c: Added examples of the most
1299         common button layouts.
1300
1301 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1302
1303         * src/hildon-app-menu.c (hildon_app_menu_show)
1304         (hildon_app_menu_class_init): Don't show the menu if it's empty.
1305
1306         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1307
1308 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1309
1310         * src/hildon-picker-dialog.c:
1311         (hildon_picker_dialog_init): Initialize the signal id for
1312         HildonTouchSelector::columns-changed.
1313         (+on_selector_columns_changed): Set up the interaction mode everytime a
1314         column is added or removed from the HildonTouchSelector.
1315         (_hildon_picker_dialog_set_selector): Connect to
1316         HildonTouchSelector::columns-changed and keep track of it.
1317
1318         Make sure to update the interaction mode of the dialog everytime a
1319         column is added or removed in the HildonTouchSelector.
1320
1321         Fixes: NB#93228 (Done button is not shown always in listpicker)
1322
1323 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1324
1325         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1326         a new ::columns-changed signal.
1327         (hildon_touch_selector_append_column): Emit ::columns-changed.
1328         (hildon_touch_selector_remove_column): Emit ::columns-changed.
1329
1330         Add a ::columns-changed signal, emitted when the number of columns in a
1331         HildonTouchSelector changes.
1332
1333 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1334
1335         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1336         (_hildon_picker_dialog_set_selector): Factor out the code
1337         to set up the dialog interaction mode.
1338
1339 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1340
1341         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1342         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1343         to signal_changed_id.
1344
1345 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1346
1347         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1348         Minor doc. fixes.
1349
1350 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
1351
1352         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1353         Updated the logical ids related to ampm format, as now it is required to
1354         show it correctly localized even on languages with no default
1355         abbreviations for am or pm
1356         (_check_am_pm_format): check correctly the 24h format gconf property
1357
1358         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1359
1360 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1361
1362         * src/hildon-button.c: Documentation updates.
1363
1364 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1365
1366         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1367         * src/hildon-caption.c: (hildon_caption_class_init):
1368         * src/hildon-color-button.c: (hildon_color_button_class_init):
1369         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1370         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1371         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1372         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1373
1374         Remove deprecated GTK+ marshalers and replace them with the ones
1375         provided by GLib, for those available, add a marshaler for
1376         BOOLEAN:VOID, which is not available in GLib, and use it.
1377
1378 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1379
1380         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1381         the text from the previous column if there is no
1382         HildonTouchSelectorColumn::text-property set.
1383
1384 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1385
1386         * src/hildon-button.h
1387         * src/hildon-button.c (hildon_button_set_property)
1388         (hildon_button_get_property, hildon_button_class_init)
1389         (hildon_button_set_style, hildon_button_get_style):
1390         New "style" property to change the visual appearance of the
1391         button.
1392
1393         * src/hildon-picker-button.c (hildon_picker_button_new):
1394         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1395
1396         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1397         HildonButton look like PickerButton)
1398
1399 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1400
1401         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1402         column while building the default string.
1403
1404 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1405
1406         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1407         scroll indicator by default.
1408
1409         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1410
1411 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1412
1413         * src/hildon-main.c: Fix the documentation for hildon_init()
1414
1415 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1416
1417         * doc/hildon-docs.sgml
1418         * doc/hildon.types
1419         * src/Makefile.am
1420         * src/hildon.h
1421         * src/hildon-window-stack-private.h
1422         * src/hildon-window-stack.h
1423         * src/hildon-window-stack.c:
1424         New HildonWindowStack object, that adds support for multiple
1425         stacks of windows per process.
1426
1427         * src/hildon-stackable-window-private.h
1428         * src/hildon-stackable-window.h
1429         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1430         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1431         (hildon_stackable_window_show, hildon_stackable_window_hide)
1432         (hildon_stackable_window_class_init)
1433         (hildon_stackable_window_init):
1434         Use HildonWindowStack for stack management.
1435
1436         * src/hildon-program.c (hildon_program_pop_window_stack)
1437         (hildon_program_peek_window_stack)
1438         (hildon_program_go_to_root_window):
1439         Add a fallback implementation to the deprecated functions using
1440         HildonWindowStack.
1441
1442         * examples/hildon-stackable-window-example.c:
1443         Use the new HildonWindowStack API.
1444
1445 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1446
1447         * src/hildon-stackable-window-private.h
1448         * src/hildon-stackable-window.c (hildon_stackable_window_show)
1449         (hildon_stackable_window_hide, hildon_stackable_window_init):
1450         Remove all window stack management.
1451
1452         * src/hildon-program-private.h
1453         * src/hildon-program.h
1454         * src/hildon-program.c (hildon_program_init)
1455         (hildon_program_pop_window_stack)
1456         (hildon_program_peek_window_stack)
1457         (hildon_program_go_to_root_window):
1458         Remove all window stack management and mark functions as
1459         deprecated.
1460
1461 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1462
1463         * src/hildon-app-menu.c (hildon_app_menu_realize):
1464         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1465
1466 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1467
1468         * configure.ac: post release version bump
1469         * debian/changelog: version bump
1470
1471 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1472
1473         [Release 2.1.24]
1474
1475         * NEWS: updates
1476         * configure.ac: bump version
1477         * debian/changelog: updates
1478
1479 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1480
1481         Based on initial code by Christian Dywan (christian@imendio.com)
1482
1483         * doc/hildon-docs.sgml: Add section for hildon-main.
1484         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1485         * src/Makefile.am: Add new hildon-main.[ch]
1486         * src/hildon-defines.h: Update the icon sizes.
1487         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1488         new library initialization files and register icon sizes.
1489         * src/hildon-main.h: New declarations.
1490         * src/hildon.h: Include hildon-main.h
1491
1492         Add new initialization functions to the library. These methods
1493         will register the hildon specific icon sizes and can be used in the
1494         future for other hildon specific bits.
1495
1496         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1497
1498 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1499
1500         * src/hildon-window.c: (hildon_window_realize),
1501         (hildon_window_notify), (-hildon_window_update_title): Do not set
1502         the application name in the window title.
1503
1504         Fixes: NB#89754 (Applications shouldn't display their names in the
1505         window title)
1506
1507 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1508
1509         * src/hildon-note-private.h:
1510         * src/hildon-note.c: (hildon_note_set_property),
1511         (hildon_note_get_property), (hildon_note_class_init),
1512         (hildon_note_init), (hildon_note_finalize),
1513         (hildon_note_new_confirmation_with_icon_name),
1514         (hildon_note_new_information_with_icon_name):
1515
1516         No need to mark as deprecated the actual code. Revert
1517         to avoid missing symbols in widgets using deprecated API.
1518
1519 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1520
1521         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1522
1523         * src/hildon-volumebar.h
1524         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1525         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1526
1527         * src/hildon-helper.h
1528         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1529         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1530
1531         * examples/Makefile.am:
1532         Deprecate hildon-insensitive-example
1533
1534         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1535
1536 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1537
1538         * examples/hildon-pannable-area-buttons-scroll-example.c:
1539         Make all buttons finger height
1540
1541 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
1542
1543         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1544         documentation
1545         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1546         update the day model only if it is really required, and to avoid the
1547         full-reconstruction aproach. Now it only add or remove the required days.
1548
1549         The purpose of this is avoid superfluous HildonTouchSelector::changed
1550         signals
1551
1552         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1553         with strange parameters)
1554
1555 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
1556
1557         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1558
1559         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1560         the WINDOW_TYPE property.
1561
1562         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1563
1564 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
1565
1566         * doc/gtk-doc.make:
1567         Fix dependency to allow parallel compilation with make -jX
1568
1569 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
1570
1571         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1572         color frame and some minor tweaks to make it more consistent with
1573         current theming.
1574
1575         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1576         highlighted but not visible)
1577
1578 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1579
1580         * examples/Makefile.am: Fixed typo in the Makefile.am.
1581
1582 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1583
1584         Reviewed the use of MAEMO_GTK define, now we add the define in the
1585         compilation line, and we also add it to the pc file.
1586
1587         * configure.ac: Added MAEMO_GTK define to the compilation command
1588         and removed it from the config.h.
1589
1590         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1591         do not have to take care about this define if the library was
1592         compiled with it.
1593
1594         * src/hildon-gtk.c:
1595         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1596
1597 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1598
1599         * examples/Makefile.am,
1600         * examples/hildon-pannable-area-buttons-scroll-example.c,
1601         * examples/hildon-pannable-area-gesture-signals-example.c,
1602         * examples/hildon-pannable-area-scroll-jump-example.c,
1603         * examples/hildon-pannable-area-tree-view-example.c:
1604         Renamed the pannable area examples, now they have more meaningful
1605         names.
1606
1607 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
1608
1609         * src/hildon-touch-selector.c:
1610         (hildon_touch_selector_set_column_selection_mode): Used of
1611         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1612         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1613         to avoid re-seting the same selection mode.
1614
1615         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1616         breaks HildonPickerDialog)
1617
1618 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
1619
1620         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1621         conditional in the Makefile.am
1622
1623 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
1624
1625         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1626         Remove unused methods.
1627
1628 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1629
1630         * src/hildon-button.c (hildon_button_init):
1631         Make button images center-aligned by default
1632
1633 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
1634
1635         * src/hildon-gtk.c:
1636         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1637         activated, we have to think about how to deal with both defines
1638         MAEMO_GTK and MAEMO_CHANGES.
1639
1640 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1641
1642         * examples/hildon-app-menu-example.c (create_menu): Make all
1643         buttons finger size.
1644
1645 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1646
1647         Fixed the compilation without maemo gtk adding ifdefs with
1648         MAEMO_GTK define to the code, we have to check this version more
1649         carefully.
1650
1651         * examples/Makefile.am: Added control to avoid some examples that
1652         just make sense with maemo gtk.
1653
1654         * src/hildon-gtk.c:
1655         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1656         hildon modes with the define.
1657
1658         * examples/hildon-edit-toolbar-example.c,
1659         (create_icon_view): Create the icon view without hildon-gtk
1660         helpers if we are not using maemo gtk.
1661
1662         * src/hildon-touch-selector.c,
1663         (_create_new_column): Create the treeview without hildon-gtk
1664         helpers if we are not using maemo gtk.
1665
1666 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1667
1668         * src/hildon-pnnable-area.c,
1669         (hildon_pannable_area_dispose),
1670         (hildon_pannable_area_button_press_cb),
1671         (hildon_pannable_area_child_mapped),
1672         (hildon_pannable_area_add),
1673         (hildon_pannable_area_remove): Added code to control the position
1674         of the event_window when adding and removing children from the
1675         pannable. We have to raise the event window when the child is
1676         mapped.
1677
1678         Fixes: NB#89811 (Not able to select first image thumbnail in multi
1679         selection mode using custom widget inside pannable)
1680
1681 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1682
1683         * configure.ac: post release version bump
1684         * debian/changelog: version bump
1685
1686 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1687
1688         [Release 2.1.22]
1689
1690         * NEWS: updates
1691         * configure.ac: bump version
1692         * debian/changelog: updates
1693
1694 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
1695
1696         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1697         search mode, in order to avoid lose the focus on the treeview when
1698         a hw key (like enter) is pressed.
1699
1700         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1701         in HildonDateSelector dialog)
1702
1703 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
1704
1705         * debian/rules: Added --enable-maintainer-mode
1706         * Makefile.am: Added ACLOCAL_AMFLAGS
1707
1708         This allows to properly regenerate the Makefiles if you modify the
1709         configure.ac or any Makefile.am.
1710
1711 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1712
1713         * examples/hildon-app-menu-example.c: (main): Do not set RC style
1714         properties, not needed at all.
1715
1716 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1717
1718         * src/hildon-note-private.h: Add strings for the icon and stock_icon
1719         properties.
1720         * src/hildon-note.c: (hildon_note_set_property),
1721         (hildon_note_get_property), (hildon_note_class_init),
1722         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1723         (hildon_note_new_confirmation_add_buttons): Remove icons.
1724         (hildon_note_new_confirmation_with_icon_name): Deprecate.
1725         (hildon_note_new_information_with_icon_name): Deprecate.
1726         (hildon_note_new_confirmation): Act directly, without calling
1727         the deprecated constructor.
1728         (hildon_note_new_information): Act directly, without calling
1729         the deprecated constructor.
1730         * src/hildon-note.h: Mark deprecate methods as such.
1731         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1732         not run tests on the deprecated methods if built with deprecation
1733         disabled.
1734
1735         Fixes: NB#91688 (Never show icons in information notes/confirmation
1736         notes)
1737
1738 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1739
1740         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1741         (hildon_app_menu_key_press): Remove leftover usage of the
1742         private structure in HildonAppMenu struct.
1743         * src/hildon-app-menu.h: Remove leftover private structure
1744         from the HildonAppMenu struct.
1745
1746         Fixes a crasher when using the HildonAppMenu.
1747
1748 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1749
1750         * src/hildon-picker-dialog.c: Use appropriate logical id
1751         for the default "Done" text.
1752
1753 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1754
1755         * configure.ac: post release version bump
1756         * debian/changelog: version bump
1757
1758 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
1759
1760         Modified the way to scroll to the current selection just when the touch
1761         selector is shown on the screen, avoiding a g_idle. Added too a property
1762         to configure this behaviour. See hildon_pannable_area_jump_to_child
1763         documentation for more information.
1764
1765         * src/hildon-touch-selector.c
1766         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1767         Added 'initial-scroll' property
1768         (hildon_touch_selector_set_property): Added
1769         (hildon_touch_selector_map): Removed as not required anymore
1770         (_hildon_touch_selector_on_selected_items): Modified in order to manage
1771         only a concrete column, instead of iterate along all the columns
1772
1773 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1774
1775         [Release 2.1.20]
1776
1777         * NEWS: updates
1778         * configure.ac: bump version
1779         * debian/changelog: updates
1780
1781 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1782
1783         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1784         compilation time warnings.
1785
1786 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1787
1788         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1789         the default value for HildonPannableArea::mov-mode to
1790         HILDON_PANNABLE_AREA_MODE_VERT.
1791
1792         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1793
1794 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1795
1796         Reverting following commit:
1797
1798         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
1799
1800           * src/hildon-app-menu-private.h
1801           * src/hildon-app-menu.[ch]
1802           * src/hildon-button.[ch]
1803           * src/hildon-check-button.[ch]
1804           * src/hildon-entry.[ch]
1805           * src/hildon-pannable-area.[ch]
1806           * src/hildon-text-view.[ch]:
1807           Added private field to the object's structure.
1808
1809         because it causes an ABI breakage. We will need to introduce these
1810         changes later at some point. See NB#91636 for an extensive
1811         explanation and status.
1812
1813 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1814
1815         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1816
1817         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1818         remove special cases that are no longer necessary.
1819
1820         Fixes: NB#91016 (Change toolbar sizes, simplification)
1821
1822 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1823
1824         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1825         is shown in the cancel note.
1826
1827 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1828
1829         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1830         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1831         (hildon_seekbar_init): Remove steppers, remove expose event.
1832         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1833
1834         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1835
1836 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
1837
1838         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1839         label font to "SmallSystemFont" for vertically arranged buttons.
1840
1841         Fixes: NB#90662 (HildonButton "value" and "detail" text is
1842         unformatted)
1843
1844 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1845
1846         * src/hildon-check-button.c
1847         (hildon_check_button_set_active, hildon_check_button_clicked):
1848         Don't access private parts directly, use getters instead.
1849
1850 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1851
1852         * src/hildon-check-button.c (hildon_check_button_new):
1853         Align the contents of the check button to the left.
1854
1855 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1856
1857         * src/hildon-pannable-area.c,
1858         (hildon_pannable_area_scroll_to),
1859         (hildon_pannable_area_jump_to),
1860         (hildon_pannable_area_scroll_to_child),
1861         (hildon_pannable_area_jump_to_child): Replace the mapped
1862         precondition of these functions with the realized, it is the
1863         correct state of the widget in this case. Changed the
1864         documentation according to this modification.
1865
1866 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1867
1868         Added a new EXTRA_CFLAGS option to add the deprecated define to
1869         the compilation command. This way we can avoid using the define in
1870         the documentation compilation.
1871
1872         * configure.ac: Defined EXTRA_CFLAGS.
1873
1874         * examples/Makefile.am:
1875         * src/Makefile.am:
1876         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1877
1878 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
1879
1880         * src/hildon-picker-dialog.c:
1881         Defined a utility macro with the desired touch selector height
1882         Removed currently unused separator, and title_label variables from
1883         private structure.
1884         (hildon_picker_dialog_init): Removed code related to the creation
1885         of unused private variables title_label and separator.
1886         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1887         to ensure correct visualization of the touch selector inside the dialog.
1888         * src/hildon-touch-selector.c
1889         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1890         ensure a concrete height of the widget.
1891
1892 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1893
1894         * src/Makefile.am:
1895         * tests/Makefile.am:
1896
1897         Remove spurious whitespaces.
1898
1899 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1900
1901         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1902         compilation warning after the cancel button removal.
1903
1904 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1905
1906         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1907
1908         * configure.ac: Added an AM_CONDITIONAL in order to use in the
1909         Makefile.am, that way we can choose not to compile some examples
1910         and tests of the deprecated widgets.
1911
1912         * examples/Makefile.am: Divided the sources in deprecated and
1913         non-deprecated.
1914
1915         * src/Makefile.am: Added undef statement of the deprecated
1916         symbol to the enums file generation process.
1917
1918         * src/hildon-color-chooser-dialog.c
1919         * src/hildon-color-chooser-dialog.h
1920         * src/hildon-color-button.c
1921         * src/hildon-color-button.h
1922         * src/hildon-color-chooser.c
1923         * src/hildon-color-chooser.h
1924         * src/hildon-controlbar.c
1925         * src/hildon-controlbar.h
1926         * src/hildon-date-editor.c
1927         * src/hildon-date-editor.h
1928         * src/hildon-hvolumebar.c
1929         * src/hildon-hvolumebar.h
1930         * src/hildon-private.c
1931         * src/hildon-private.h
1932         * src/hildon-range-editor.c
1933         * src/hildon-range-editor.h
1934         * src/hildon-seekbar.c
1935         * src/hildon-seekbar.h
1936         * src/hildon-time-editor.c
1937         * src/hildon-time-editor.h
1938         * src/hildon-time-picker.c
1939         * src/hildon-time-picker.h
1940         * src/hildon-volumebar.c
1941         * src/hildon-volumebar.h
1942         * src/hildon-vvolumebar.c
1943         * src/hildon-vvolumebar.h
1944         * src/hildon-bread-crumb-trail.h
1945         * src/hildon-bread-crumb-trail.c
1946         * src/hildon-calendar-popup.c
1947         * src/hildon-calendar-popup.h
1948         * src/hildon-weekday-picker.c:
1949         * src/hildon-weekday-picker.h:
1950         * src/hildon-bread-crumb-widget.c:
1951         * src/hildon-bread-crumb-widget.h:
1952         * src/hildon-bread-crumb.c:
1953         * src/hildon-bread-crumb.h:
1954         * src/hildon-calendar.c:
1955         * src/hildon-calendar.h:
1956         * src/hildon-caption.c:
1957         * src/hildon-code-dialog.c:
1958         * src/hildon-code-dialog.h:
1959         * src/hildon-font-selection-dialog.c:
1960         * src/hildon-font-selection-dialog.h:
1961         * src/hildon-get-password-dialog.c:
1962         * src/hildon-get-password-dialog.h:
1963         * src/hildon-login-dialog.c:
1964         * src/hildon-login-dialog.h:
1965         * src/hildon-number-editor.c:
1966         * src/hildon-number-editor.h:
1967         * src/hildon-set-password-dialog.c:
1968         * src/hildon-set-password-dialog.h:
1969         * src/hildon-sort-dialog.c:
1970         * src/hildon-sort-dialog.h: This is the list of deprecated
1971         widgets.
1972
1973         * src/hildon-touch-selector.c:
1974         * src/hildon-window.c: Added undef statement to avoid compilation
1975         warnings
1976
1977         * tests/Makefile.am: Divided the sources in deprecated and
1978         non-deprecated.
1979
1980         * tests/check_test.c,
1981         (configure_tests): Marked the deprecated code that was adding
1982         suites with deprecated tests.
1983
1984         Fixes: NB#91135 (Deprecate legacy hildon widgets)
1985
1986 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1987
1988         * src/hildon-touch-selector.c: (_default_print_func): Do not
1989         duplicate a string returned by gtk_tree_model_get(), it is already
1990         allocated for us.
1991
1992         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1993         function)
1994
1995 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1996
1997         * src/hildon-pannable-area.c
1998         (hildon_pannable_area_add_with_viewport): Reviewed the complete
1999         method, it had problems when adding a widget with viewport the
2000         second time. Now checks if it already has a viewport and uses it.
2001
2002         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2003         on child)
2004
2005 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2006
2007         * src/hildon-pannable-area.c,
2008         (hildon_pannable_area_scroll_to),
2009         (hildon_pannable_area_jump_to),
2010         (hildon_pannable_area_scroll_to_child),
2011         (hildon_pannable_area_jump_to_child): Added a precondition to the
2012         scroll and jump to functions: the widget must be mapped before we
2013         can safely call these functions. We have also added documentation
2014         to the functions to explain how to use them in this situation.
2015
2016
2017 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
2018
2019         Reviewed the threading handling of the pannable widget, we have
2020         used the gdk_threads_add_timeout function instead of the usual
2021         glib handlers. This avoids some problems with the threads.
2022
2023         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2024         (hildon_pannable_area_initial_effect),
2025         (hildon_pannable_area_scroll_indicator_fade),
2026         (hildon_pannable_area_button_press_cb),
2027         (hildon_pannable_area_timeout),
2028         (hildon_pannable_area_motion_notify_cb),
2029         (hildon_pannable_area_button_release_cb),
2030         (hildon_pannable_area_scroll_cb),
2031         (hildon_pannable_area_scroll_to): Removed the
2032         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2033         gdk_threads_add_timeout.
2034
2035         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2036
2037 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2038
2039         [Release 2.1.18]
2040
2041         * NEWS: updates
2042         * configure.ac: bump version
2043         * debian/changelog: updates
2044
2045 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2046
2047         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2048         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2049         * src/hildon-color-chooser-dialog.c:
2050         (hildon_color_chooser_dialog_init):
2051         * src/hildon-font-selection-dialog.c:
2052         (hildon_font_selection_dialog_init):
2053         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2054
2055         Remove all cancel/close-like dialogs, as these are not going to be
2056         displayed at all.
2057
2058 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2059
2060         * src/hildon-note.c: (hildon_note_rebuild),
2061         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2062         when needed.
2063
2064         Fixes: NB#90661 (Delete dialog is displayed without NO button)
2065
2066 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2067
2068         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2069         sure all buttons are shown, even the Cancel/Close-like ones.
2070
2071         Fixes: NB#90861 (Custom Confirmation dialogs should be
2072         protected from cancel button removal)
2073
2074 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2075
2076         * debian/control: Change libhildon1-examples dependency from libhildon1
2077         to libhildon1-dev
2078         * debian/libhildon1-examples.install
2079         * debian/rules
2080         * Makefile.am: Modified the final install directory for the examples on
2081         package libhildon1-examples
2082         * Makefile.static: Update clean target in order to remove all the binary
2083         examples
2084
2085         Changes suggested by Claudio after review new libhildon1-examples package
2086
2087 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
2088
2089         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2090         * src/hildon-touch-selector.c: Ditto.
2091
2092 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2093
2094         * debian/control: Added new package libhildon1-examples, in order to pack
2095         the current hildon examples as documentation
2096         * debian/rules: Not to compress .c files, modify some includes on the
2097         examples (as normally are compiled locally, but when installed it will
2098         require to include the installed libhildon1 library), and rename
2099         Makefile.static
2100         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2101         install all the example files on the new example package
2102         * examples/Makefile.static: Added static makefile that can be used to
2103         compile the examples, once installed the new example package
2104         * examples: Most of the examples were modified in order to grant that
2105         all use only '#include "hildon.h"', in order to be easy to prepare
2106         it on the example package
2107
2108 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
2109
2110         * debian/control
2111         * debian/libhildon1-dev.install
2112         * debian/libhildon1-doc.install:
2113         Move all gtk-doc files to a separate libhildon1-doc package.
2114
2115 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
2116
2117         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
2118
2119         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2120
2121 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
2122
2123         * debian/rules: Fixed a error in order to avoid unnecessary calls
2124         to autogen.sh on package building
2125
2126 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
2127
2128         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2129
2130 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2131
2132         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2133         header include.
2134
2135 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
2136
2137         * src/hildon-picker-button.c
2138         (hildon_picker_button_finalize):
2139         Free priv->done_button_text
2140
2141         * src/hildon-time-button.c
2142         (hildon_time_button_set_time)
2143         * src/hildon-picker-button.c
2144         (hildon_picker_button_clicked)
2145         (hildon_picker_button_selector_selection_changed)
2146         (hildon_picker_button_set_selector)
2147         * src/hildon-date-button.c
2148         (hildon_date_button_set_date):
2149         Free strings returned by hildon_touch_selector_get_current_text()
2150
2151         * src/hildon-button.c (hildon_button_construct_child):
2152         Fix leaks in priv->image and priv->label_box
2153
2154         Fixes: NB#90535 (Memory leak in picker button)
2155
2156 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2157
2158         * src/hildon-button.c: (hildon_button_get_property): Do not access
2159         private elements directly, use getters instead.
2160
2161 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2162
2163         * src/hildon-app-menu-private.h
2164         * src/hildon-app-menu.c
2165         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2166         Store the menu's parent window.
2167
2168         * src/hildon-stackable-window.c
2169         (hildon_stackable_window_toggle_menu)
2170         (hildon_stackable_window_finalize):
2171         Set the menu's parent window when the menu is shown, unset it when
2172         it is destroyed.
2173
2174         * src/hildon-app-menu.c
2175         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2176         (hildon_app_menu_class_init):
2177         Send unhandled keyboard accelerators to the parent window.
2178
2179 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2180
2181         * src/hildon-stackable-window.c
2182         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2183
2184 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2185
2186         * configure.ac: post release version bump
2187
2188 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2189
2190         * NEWS: Updates
2191         * configure.ac: Bump version
2192         * debian/changelog: Updates
2193         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2194         gtk-doc 1.10.
2195
2196 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2197
2198         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2199
2200         * src/hildon-gtk.h
2201         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2202         GtkMenu with Hildon style.
2203
2204 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2205
2206         * src/hildon-picker-button.c:
2207         (hildon_picker_button_set_done_button_text): Set the dialog's
2208         done button text here as well.
2209
2210         Fixes: NB#90232 (Picker button does not set the label on done button
2211         for the second time)
2212
2213 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2214
2215         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2216         warning message.
2217
2218 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2219
2220         * src/hildon-app-menu.c (hildon_app_menu_insert)
2221         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2222         the HildonAppMenu to be activatable using keyboard accelerators
2223         when the menu is not being shown.
2224
2225         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2226
2227 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2228
2229         * src/hildon-stackable-window.c
2230         (hildon_stackable_window_show):
2231         Don't hide old windows automatically when new windows are shown:
2232         this is now a task for the window manager.
2233         (hildon_stackable_window_class_init)
2234         (hildon_stackable_window_hide):
2235         Remove windows from the stack everytime they're hidden.
2236         (hildon_stackable_window_realize):
2237         Don't change the _NET_WM_WINDOW_TYPE property. Use
2238         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2239         it as a stackable window.
2240
2241         * src/hildon-program.c
2242         (hildon_program_pop_window_stack):
2243         Just hide the window to remove it from the stack.
2244         (hildon_program_go_to_root_window):
2245         Don't call gtk_widget_show(), this is now a task for the window
2246         manager.
2247
2248         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2249
2250 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
2251
2252         * src/hildon-button.c
2253         (hildon_button_construct_child):
2254         Don't pack anything in the button until text or image are
2255         set. This allows adding a custom child after creating the button
2256         with hildon_button_new().
2257         (hildon_button_finalize, hildon_button_class_init)
2258         (hildon_button_init, hildon_button_set_arrangement): Destroy the
2259         alignment and the label box even when they're not packed in the
2260         button.
2261
2262 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
2263
2264         * src/hildon-touch-selector.h:
2265         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2266         currently the type definition was using GTK_TYPE_VBOX
2267         * src/hildon-touch-selector.c:
2268         Added some implementation notes in order to clarify that any other widget
2269         added without the column related API will not be included on the
2270         selection logic, and how the widget is freed, as some people ask about
2271         it.
2272         (hildon_touch_selector_remove): Reimplemented in order to free properly
2273         the column related data when you remove the private hbox.
2274         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2275         to get a proper HildonTouchSelectorColumn documentation
2276
2277 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2278
2279         * src/hildon-touch-selector-entry.c:
2280         (hildon_touch_selector_entry_print_func): Return NULL if there is no
2281         text in the GtkEntry and there is no item selected. Fixes a
2282         potential crasher.
2283
2284 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
2285
2286         * src/hildon-app-menu-private.h
2287         * src/hildon-app-menu.[ch]
2288         * src/hildon-button.[ch]
2289         * src/hildon-check-button.[ch]
2290         * src/hildon-entry.[ch]
2291         * src/hildon-pannable-area.[ch]
2292         * src/hildon-text-view.[ch]:
2293         Added private field to the object's structure.
2294
2295 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2296
2297         * configure.ac: post-release version bump
2298
2299 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2300
2301         [Release 2.1.14]
2302
2303         * configure.ac: pre-release version bump
2304         * NEWS: updates.
2305         * debian/changelog: updates.
2306
2307 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2308
2309         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2310         Disconnect the handler for HildonTouchSelector::changed.
2311
2312         (hildon_picker_button_selector_selection_changed): Update the button
2313         value if the selection change was not triggered by the
2314         HildonPickerDialog.
2315
2316         (hildon_picker_button_set_selector): connect to
2317         HildonTouchSelector::changed.
2318
2319         Fixes: NB#89650 (Picker button is not updated, when selection in
2320         selector has changed)
2321
2322 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
2323
2324         * src/hildon-picker-dialog.c
2325         (hildon_picker_dialog_realize): Removed as not required
2326         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2327         * src/hildon-picker-button.c
2328         (_current_selector_empty): New function, checks if the selector is empty
2329         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2330         if the current selector is empty, in order to avoid to show the dialog
2331         close the dialog in this case (and shows a g_warning).
2332
2333         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2334
2335 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
2336
2337         * src/hildon-pannable-area.c,
2338         (hildon_pannable_area_scroll): Added clause to stop movement when
2339         the child of pannable is smaller than one page.
2340         (hildon_pannable_area_scroll_to): Added conditions to avoid
2341         starting the scrolling movement if the child is smaller than one
2342         page, the complete child is in the screen, we do not have to move.
2343
2344         Fixes: NB#89632 (Picker button selection doesn't change on first click)
2345
2346 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2347
2348         * src/hildon-app-menu.c: Removed the 'columns' property, as now
2349         this is managed automatically by the widget when the size of the
2350         screen changes.
2351
2352 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2353
2354         * src/hildon-picker-button.c
2355         (hildon_picker_button_set_done_button_text): Make a copy of the
2356         text, and free the previous value.
2357
2358 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2359
2360         * src/hildon-touch-selector-entry.c:
2361         (hildon_touch_selector_entry_print_func): Return the selected row's
2362         text if the entry is empty.
2363
2364         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2365         entry is empty)
2366
2367 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2368
2369         * src/hildon-touch-selector-entry.c: Minor docs fixes.
2370
2371 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2372
2373         * doc/hildon.types
2374         * src/hildon-check-button.h
2375         * src/hildon-check-button.c
2376         * examples/hildon-check-button-example.c:
2377         HildonCheckButton is now a new widget. 'toggled' signal added.
2378
2379 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2380
2381         * src/hildon-program-private.h
2382         * src/hildon-program.c (hildon_program_init)
2383         (hildon_program_finalize): Removed unused variables group_leader
2384         and name from HildonProgramPrivate.
2385
2386 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2387
2388         * src/hildon-check-button.c (hildon_check_button_set_active)
2389         (hildon_check_button_get_active, hildon_check_button_new): Use
2390         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2391
2392 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
2393
2394         * src/hildon-touch-selector.h
2395         (hildon_touch_selector_set_column_attributes): added deprecation
2396         guard HILDON_DISABLE_DEPRECATED
2397         * src/hildon-time-selector.c
2398         (hildon_time_selector_set_time)
2399         (hildon_time_selector_get_time): Fixed a typo on documentation
2400         * src/hildon-touch-selector.c: update HildonTouchSelector and
2401         HildonTouchSelectorColumn documentation
2402         * src/hildon-touch-selector-entry.c: update "text-column" property
2403         documentation
2404         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2405         to be added to the general documentation.
2406
2407 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
2408
2409         * examples/hildon-pannable-area-example-4.c,
2410         (main),
2411         * examples/hildon-pannable-area-example.c,
2412         (main): Modified the code in order to use the container add, with
2413         viewport treeviews could have problems if they are really big.
2414
2415 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
2416
2417         * src/hildon-weekday-picker.c,
2418         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2419         the agreement regarding deprecation in the library.
2420
2421 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2422
2423         * examples/hildon-picker-button-multicolumn-example.c:
2424         (main): Use custom "done" button text.
2425
2426         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2427         (hildon_picker_button_set_property),
2428         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2429         (hildon_picker_button_init),
2430         (+hildon_picker_button_get_done_button_text),
2431         (+hildon_picker_button_set_done_button_text): New methods to customize
2432         the "done" button label in the launched HildonPickerDialog. Also,
2433         make it a property.
2434
2435         * src/hildon-picker-button.h: add the public API.
2436
2437 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2438
2439         * src/hildon-date-selector.h:
2440         * src/hildon-picker-dialog.h:
2441         * src/hildon-time-selector.h:
2442         * src/hildon-touch-selector-column.h:
2443         * src/hildon-touch-selector.h:
2444
2445         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2446         declarations. Fixes gtk-doc warnings.
2447
2448 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2449
2450         * src/hildon-picker-dialog.h
2451         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2452         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2453
2454         Fixes: NB#89329 (selectors in picker dialog are not visible when a
2455         long text is set as label for done button)
2456
2457 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2458
2459         * src/hildon-dialog.c (hildon_dialog_add_button):
2460         Set fixed width to all buttons in the HildonDialog.
2461
2462 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2463
2464         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2465
2466         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2467         Set widget name using class name plus "-finger" or "-thumb".
2468
2469 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
2470
2471         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2472         'clicked' when the state of the button is manually changed.
2473
2474 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
2475
2476         * src/hildon-app-menu.c (hildon_app_menu_realize)
2477         (hildon_app_menu_unrealize, hildon_app_menu_init)
2478         (hildon_app_menu_class_init, item_visibility_changed):
2479         Change the menu layout when the size of the screen changes.
2480         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2481         Show warning only when changing the number of colums using the
2482         property.
2483
2484 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
2485
2486         * debian/compat: Set to 5
2487         * debian/control: Update dependencies.
2488         * debian/libhildon1-dbg.install: Remove.
2489         * debian/libhildon1-dev.install: Update according to cdbs paths.
2490         * debian/libhildon1.install: Update according to cdbs paths.
2491         * debian/rules: Switch to cdbs.
2492
2493 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2494
2495         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2496         'item' variable renamed to 'filter'
2497
2498 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2499
2500         * src/hildon-app-menu.c (hildon_app_menu_insert)
2501         (hildon_app_menu_add_filter, remove_item_from_list)
2502         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2503         Don't leak hidden items when the menu is destroyed.
2504
2505 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2506
2507         * src/hildon-app-menu.c (hildon_app_menu_insert)
2508         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2509         (hildon_app_menu_set_columns, item_visibility_changed)
2510         (filter_visibility_changed, hildon_app_menu_repack_filters)
2511         (hildon_app_menu_repack_items):
2512         Repack items and filters separately.
2513
2514         Don't repack all items, change only the ones that are needed to
2515         update the layout.
2516
2517 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2518
2519         * src/Makefile.am: added hildon-touch-selector-column.h
2520
2521 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2522
2523         * src/hildon-touch-selector.c: added the property "text-column" to the
2524         class HildonTouchSelectorColumn, and related get/set functions
2525         (_default_printf_func): updated to use "text-column" property
2526         * src/hildon-touch-selector-entry.c: mark as deprecated the property
2527         "text-column" in his documentation, as this is now included on
2528         HildonTouchSelectorColumn. The get/set_property can still be used,
2529         working as a wrapper to the concrete column "text-column" property
2530         (_text_column_modified): callback added in order to handle the signal
2531         "notify::text-column" of the concrete HildonTouchSelectorColumn
2532         (hildon_touch_selector_entry_get_text_column)
2533         (hildon_touch_selector_entry_set_text_column): Added documentation, and
2534         modified in order to use the HildonTouchSelectorColumn "text-column"
2535         property
2536         * src/hildon-time-selector.c:
2537         * src/hildon-date-selector.c:
2538         * examples/hildon-touch-selector-example.c
2539         * examples/hildon-touch-selector-multi-cells-example.c
2540         * examples/hildon-picker-button-multicolumn-example.c
2541         Set the right value to "text-column" property on the creation of a new
2542         column using hildon_touch_selector_append_column()
2543
2544         Fixes: NB#88644 (Hardcoded first column of the model as text column)
2545
2546 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
2547
2548         * src/hildon-app-menu.c
2549         (hildon_app_menu_construct_child, hildon_app_menu_init): When
2550         updating the layout of the menu, don't create all widgets again,
2551         just repack the items in their new places.
2552
2553 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
2554
2555         * src/hildon-time-selector.c
2556         (hildon_time_selector_get_time)
2557         (hildon_time_selector_set_time)
2558         Added documentation of these public methods
2559
2560         * src/hildon-date-button.h
2561         * src/hildon-touch-selector-column.h
2562         * src/hildon-time-button.h
2563         * src/hildon-picker-dialog.h
2564         * src/hildon-time-selector.h
2565         * src/hildon-picker-button.h
2566         * src/hildon-touch-selector.h
2567         * src/hildon-time-picker.h
2568         * src/hildon-date-selector.h
2569         * src/hildon-touch-selector-entry.h
2570         Modified in order to use hildon-widgets code style
2571
2572 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2573
2574         Added deprecated support to the compilation process using
2575         HILDON_DISABLE_DEPRECATED
2576
2577         * configure.ac: Added the --disable-deprecated to the configure
2578         script
2579
2580         * src/hildon-weekday-picker.c:
2581         * src/hildon-weekday-picker.h: Deprecated widget, example of how
2582         to use the deprecated support. We will update the other deprecated
2583         widgets status in a new patch.
2584
2585 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2586
2587         * configure.ac: Fixed typo with fatal warnings support, the
2588         variable name was not correct
2589
2590 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
2591
2592         * src/hildon-app-menu.c
2593         * src/hildon-program.c: Update documentation.
2594
2595 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2596
2597         * configure.ac: Post-release version bump.
2598
2599 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2600
2601         [Release 2.1.12]
2602
2603         * NEWS: Update.
2604         * configure.ac: Pre-release version bump.
2605         * debian/changelog: Updates.
2606
2607 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2608
2609         * NEWS: Update news for previous releases.
2610
2611 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2612
2613         * examples/hildon-touch-selector-multi-cells-example.c:
2614         (create_selector): Update the example to use
2615         hildon_touch_selector_append_column() with a NULL renderer and set
2616         the renderers later.
2617         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2618         passed a NULL renderer. This is documented behavior now.
2619
2620         Allow passing a NULL renderer to hildon_touch_selector_append_column().
2621         This must be used if the developer wants full control on the layout of
2622         the renderers to be added to the column.
2623
2624         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2625
2626 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2627
2628         * src/hildon-touch-selector.c: Documentation fixes.
2629
2630 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2631
2632         * src/hildon-wizard-dialog-private.h: Remove image and box.
2633         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2634         (hildon_wizard_dialog_set_property), (response): Completely remove
2635         image/icon support, and the containers required for the layout.
2636
2637         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2638
2639 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2640
2641         * src/hildon-app-menu.c: Updated documentation.
2642
2643         * src/hildon-stackable-window.c
2644         (hildon_stackable_window_set_main_menu): Unref the old menu after
2645         ref'ing the new one.
2646
2647 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2648
2649         * src/hildon-stackable-window.c
2650         (hildon_stackable_window_set_main_menu): Unref the previous menu
2651         instead of destroying it.
2652
2653         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2654         floating reference and set has_user_ref_count to FALSE to make
2655         HildonAppMenu act like a normal ref-counted widget and not a
2656         toplevel widget.
2657
2658         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2659         changed)
2660
2661 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
2662
2663         * src/hildon-touch-selector-column.h: new file
2664         * src/hildon-touch-selector.h
2665         * src/hildon-touch-selector.c
2666         Implemented GtkCellLayout interface, in order to allow to configure
2667         the cell layout on each individual selector column
2668         (hildon_touch_selector_set_column_attributes): marked as deprecated
2669         * examples/hildon-touch-selector-multi-cells-example.c
2670         Example of how to use the GtkCellLayout interface on the selector
2671
2672         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2673
2674 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2675
2676         * src/hildon-app-menu.h
2677         * src/hildon-app-menu.c
2678         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2679         (hildon_app_menu_append, hildon_app_menu_prepend):
2680         New methods to prepend, insert and move items in the menu.
2681
2682 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2683
2684         * src/hildon-wizard-dialog.c:
2685
2686         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2687         button.
2688         (create_title): Update logical IDs and related code.
2689         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2690
2691         * src/hildon-wizard-dialog.h: Note that
2692         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2693         point, as it is not used anymore.
2694
2695         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2696
2697 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2698
2699         * src/hildon-note.c:
2700         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2701         shown.  Do not display an icon in confirmation notes nor information
2702         notes.
2703         (hildon_note_set_button_text): Update logical ID for cancel button.
2704
2705         Fixes: NB#88850 (Update HildonNote button strings + signals)
2706
2707 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2708
2709         * src/hildon-stackable-window.c
2710         (hildon_stackable_window_set_main_menu): Fix compilation warning.
2711
2712 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2713
2714         * src/hildon-app-menu-private.h
2715         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2716         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2717         (hildon_app_menu_init, hildon_app_menu_class_init): Added
2718         temporary property 'columns' to change the number of columns.
2719
2720 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2721
2722         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2723
2724         * examples/hildon-note-example.c: (on_information_clicked),
2725         (on_confirmation_clicked), (on_progress_clicked), (main): Add
2726         debugging information.
2727         * src/hildon-note-private.h: Remove close_if_pressed_outside,
2728         not needed anymore.
2729         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2730         (hildon_note_rebuild): Remove special handling of tapping outside/inside
2731         in order to close: this will be handled by the WM from now on.
2732
2733         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2734
2735 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2736
2737         * src/hildon-app-menu-private.h
2738         * src/hildon-app-menu.c
2739         (hildon_app_menu_append, hildon_app_menu_add_filter)
2740         (button_visibility_changed, hildon_app_menu_apply_style)
2741         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2742         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2743         layout everytime a button (item or filter) is shown or hidden.
2744
2745         * src/hildon-stackable-window.c
2746         (hildon_stackable_window_set_main_menu): Destroy the old menu when
2747         setting a new one.
2748
2749 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
2750
2751         * src/hildon-touch-selector.c:
2752         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2753         that the treeview inside the touch selector is in fremantle hildon mode
2754         * examples/hildon-date-button-example.c
2755         * examples/hildon-picker-button-multicolumn-example.c
2756         * examples/hildon-touch-selector-entry-example.c
2757         * examples/hildon-touch-selector-example.c
2758         * examples/hildon-time-button-example.c
2759         * examples/hildon-picker-button-example.c:
2760         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2761
2762 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
2763
2764         * examples/hildon-text-view-example.c: (main): Remove the
2765         gtkrc bits, now handled by the theme.
2766
2767 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
2768
2769         * src/hildon-picker-button.c (hildon_picker_button_set_active):
2770         Fix memory leak
2771
2772 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2773
2774         * po/Makefile.am: Install properly the mo files.
2775         * po/en_GB.po: Update translation, to ease testing purposes.
2776
2777 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2778
2779         * examples/hildon-picker-button-example.c: (main): Select an item
2780         in the selector before setting it to the button.
2781
2782 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2783
2784         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2785         Update button's value if the selector has an item active.
2786
2787         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2788         'value' with the selector)
2789
2790 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2791
2792         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2793         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2794         (hildon_picker_button_class_init): Plug the finalize method.
2795         (hildon_picker_button_set_selector): If there's a previously set
2796         selector, unref'it before setting a new one.
2797
2798         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2799         HildonTouchSelector)
2800
2801 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
2802
2803         * src/hildon-touch-selector-entry.c:
2804         (hildon_touch_selector_entry_changed): Check if there is no text
2805         selected before setting the entry text.
2806         Fixes: NB#88576
2807
2808 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2809
2810         * src/hildon-touch-selector.h
2811         * src/hildon-touch-selector.c
2812         (hildon_touch_selector_get_active)
2813         (hildon_touch_selector_set_active): New methods to set/get the
2814         index of the selected item.
2815
2816         * src/hildon-picker-button.h
2817         * src/hildon-picker-button.c
2818         (hildon_picker_button_get_active)
2819         (hildon_picker_button_set_active): New methods to set/get the
2820         index of the selected item.
2821
2822 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2823
2824         * configure.ac: post-release version bump.
2825
2826 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2827
2828         Release 2.1.10-1.
2829
2830         * configure.ac: Pre-release version bump.
2831         * debian/changelog: Updates.
2832         * debian/control: Add myself as maintainer and depend on l10n
2833         packages.
2834
2835 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2836
2837         * src/hildon-window.c
2838         (hildon_window_set_main_menu)
2839         * src/hildon-stackable-window.c
2840         (hildon_stackable_window_set_main_menu):
2841         Updated documentation.
2842
2843 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2844
2845         * src/hildon-date-selector.c (hildon_date_selector_finalize):
2846         Don't free selector->priv manually.
2847         Fixes: NB#88414
2848
2849 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2850
2851         * src/hildon-gtk.c,
2852         (hildon_gtk_window_set_progress_indicator):
2853         * src/hildon-gtk.h: Added the new API
2854         hildon_gtk_window_set_progress_indicator, it changes the state of
2855         the window progress hint.
2856
2857 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2858
2859         * src/hildon-button.c
2860         * src/hildon-stackable-window.c: Minor documentation updates.
2861
2862 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2863
2864         * src/hildon-stackable-window.c: Updated documentation.
2865
2866 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
2867
2868         * src/hildon-defines.h: Update margins definitions
2869         to the Fremantle sizes.
2870         Fixes: NB#88364
2871
2872 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2873
2874         * src/hildon-touch-selector.c,
2875         (_hildon_touch_selector_set_model): Cleaning the code after
2876         review, removed g_print and #if 0 from the code.
2877
2878 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2879
2880         * src/hildon-edit-toolbar.c: Update documentation.
2881
2882 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2883
2884         * src/hildon-check-button.h
2885         * src/hildon-check-button.c
2886         (hildon_check_button_set_label, hildon_check_button_get_label)
2887         * examples/hildon-check-button-example.c
2888         (button_clicked_cb):
2889         Removed deprecated methods.
2890
2891 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2892
2893         * src/hildon-text-view.c:
2894         Add sample code to the documentation.
2895
2896         * src/hildon-entry.h
2897         * src/hildon-text-view.h:
2898         Minor cosmetic changes.
2899
2900         * src/hildon-entry.c:
2901         Add sample code to the documentation.
2902         (hildon_entry_init, hildon_entry_refresh_contents):
2903         Don't allow NULL values in the placeholder.
2904
2905 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
2906
2907         * doc/hildon-docs.sgml
2908         * doc/hildon.types
2909         * examples/Makefile.am
2910         * examples/hildon-text-view-example.c
2911         * src/Makefile.am
2912         * src/hildon-text-view.c
2913         * src/hildon-text-view.h
2914         * src/hildon.h:
2915         New HildonTextView widget, with example.
2916
2917 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2918
2919         * po/POTFILES.in: Add missing files with translatable strings.
2920         Partially fixes NB#88287.
2921
2922 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2923
2924         * examples/hildon-pannable-area-example-2.c: (main): No need to
2925         set the cellrenderer height inside hildon touch lists, the theme does
2926         that for us.
2927
2928 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2929
2930         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2931         they are integrated in the theme.
2932
2933 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
2934
2935         * examples/hildon-entry-example.c: Update the example adding
2936         widgets to modify the text and the placeholder of the HildonEntry.
2937
2938         * src/hildon-entry.c: Show the placeholder everytime the widget
2939         is empty and loses the focus.
2940
2941 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
2942
2943         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2944
2945         * src/hildon-pannable-area.c,
2946         (hildon_pannable_area_size_request): Fixed bug in height
2947         requisition, avoid increasing size and add border twice.
2948
2949 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2950
2951         * configure.ac: postrelease version bump.
2952
2953 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2954
2955         Release 2.1.8-1.
2956
2957         * configure.ac: Prerelease version bump.
2958         * debian/changelog: update.
2959         * debian/rules: make -dbg package contain useful debugging symbols.
2960
2961 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2962
2963         * src/hildon-dialog.h
2964         * src/hildon-dialog.c
2965         (hildon_dialog_add_button, hildon_dialog_add_buttons):
2966         New methods to add buttons with finger size.
2967         (hildon_dialog_new_with_buttons):
2968         Create buttons with finger size.
2969
2970         * examples/hildon-dialog-example.c (main): Use HildonDialog
2971         methods to add buttons.
2972
2973 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2974
2975         * src/hildon-entry.c: Updated HildonButton documentation.
2976
2977 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2978
2979         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2980         button value label with (FALSE, FALSE) to prevent NB#88126 from
2981         being triggered.
2982
2983 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2984
2985         * examples/hildon-pannable-area-example.c,
2986         (main): Removed examples panning a vbox inside a pannable
2987         area. Check bug NB#87965
2988
2989 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2990
2991         Patch contributed by Kris Rietveld (kris@imendio.com)
2992
2993         * src/hildon-pannable-area.c,
2994         (hildon_pannable_area_get_topmost): replaced the get_geometry with
2995         get_size and get_position, this saves an X server roundtrip.
2996
2997 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
2998
2999         * doc/hildon-docs.sgml
3000         * doc/hildon.types
3001         * examples/Makefile.am
3002         * examples/hildon-entry-example.c
3003         * src/Makefile.am
3004         * src/hildon-entry.c
3005         * src/hildon-entry.h
3006         * src/hildon.h:
3007         New HildonEntry widget, with example.
3008
3009 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
3010
3011         * src/hildon-button.c (hildon_button_construct_child): Pack the
3012         image with expand == fill == FALSE. This is a workaround for a bug
3013         in GtkBox.
3014
3015 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
3016
3017         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3018         labels for the text column, to make it more look more dynamic.
3019
3020 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3021
3022         * src/hildon-time-selector.c
3023         Define gettext auxiliar macro N_
3024         (_create_minutes_model)
3025         (_create_hours_model)
3026         (_create_ampm_model): use of strftime in order to fill the model
3027         * src/hildon-date-selector.c
3028         (hildon_date_selector_finalize):
3029         (_locales_init): remove the logic related to get the name of the months
3030         using nl_langinfo, as it is not required anymore
3031         (_create_day_model)
3032         (_create_year_model)
3033         (_create_month_model)
3034         (_update_day_model): use of strftime in order to fill the model properly
3035
3036
3037 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
3038
3039         * src/hildon-button.h
3040         * src/hildon-button.c (hildon_button_get_image): New method to
3041         retrieve the image.
3042
3043 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
3044
3045         * src/hildon-touch-selector.c:
3046         (hildon_touch_selector_remove_column): Remove from the correct parent
3047         and also remove the list element and free it.
3048         Fixes: NB#88049
3049
3050 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
3051
3052         * src/hildon-time-selector.c
3053         (_create_hours_model): change the range on 12h ampm format in order to use
3054         a 12-11 range instead of previous 01-12 range
3055         (hildon_time_selector_set_time): change the way to select the current time
3056         on 12h ampm format, due the change on the range
3057         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3058         Fixes: NB#88036
3059
3060 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
3061
3062         * src/hildon-touch-selector.c
3063         (hildon_date_touch_selector_get_selected): fix the selection mode check,
3064         in order to allow use this function on multiple row selection mode if
3065         the column is different that the first one
3066         Fixes: NB#88047
3067
3068 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
3069
3070         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3071         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3072
3073 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3074
3075         * src/hildon-date-selector.h: clean some comments, now on the .c
3076         * src/hildon-date-selector.c
3077         (hildon_date_selector_select_month): first implementation
3078         (hildon_date_selector_select_day): added documentation, reimplemented
3079         using hildon_date_selector_select_current_date to avoid repeat code
3080         Fixes: NB#88027
3081
3082 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
3083
3084         Reviewed interaction logic based on device experiences, refactored
3085         code.
3086
3087         * src/hildon-pannable-area.c,
3088         (hildon_pannable_area_class_init): Updated default vmax speed.
3089         (hildon_pannable_area_calculate_velocity): Added this function, it
3090         avoids duplicate valocity calculation. Adjusted calculation to
3091         avoid problems with zero dist events.
3092
3093         (hildon_pannable_area_motion_notify_cb): Now we use the
3094         calculate_velocity function.
3095
3096 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3097
3098         * src/hildon-date-selector.c
3099         (hildon_date_selector_select_current_date): fix the day range check
3100         as it failed using the last day of the current month
3101         Fixes NB#88023
3102
3103 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3104
3105         * src/hildon-touch-selector.c
3106         (hildon_touch_selector_get_num_columns): added a parameter validation
3107         Fixes: NB#88022
3108
3109 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3110
3111         * examples/Makefile.am
3112         * examples/hildon-edit-toolbar-example.c: Example of the
3113         HildonEditToolbar widget.
3114
3115 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3116
3117         * configure.ac: postrelease version bump.
3118
3119 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3120
3121         Release 2.1.6-1.
3122
3123         * configure.ac: prerelease version bump.
3124         * debian/changelog: update.
3125
3126 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3127
3128         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3129         renderer to display stock icons in the touch list. Also, set the sizes
3130         to the recommended in the style guide.
3131
3132 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3133         * src/hildon-touch-selector.h
3134         (hildon_touch_selector_set_active_iter): renamed, now is
3135         hildon_touch_selector_select_iter
3136         (hildon_touch_selector_get_active_iter): renamed, now is
3137         hildon_touch_selector_get_selected
3138         (hildon_touch_selector_unselect_iter): added
3139         * src/hildon-touch-selector.c
3140         Update after API modification (methods renamed)
3141         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3142         order to avoid problems selecting multiple elements on the column
3143         (hildon_touch_selector_unselect_iter): added the implementation
3144         * src/hildon-time-selector.c
3145         * src/hildon-date-selector.c
3146         * src/hildon-touch-selector-entry.c
3147         Update methods calls after hildon-touch-selector.h API modification (methods
3148         renamed)
3149
3150 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3151
3152         * src/hildon-stackable-window.c
3153         (hildon_stackable_window_finalize): Call the parent class's finalize.
3154
3155 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3156
3157         * examples/hildon-touch-selector-example.c: (create_selector): Use
3158         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3159         cell height.
3160
3161 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3162
3163         * examples/hildon-touch-selector-example.c: (create_selector): Do not
3164         set a cell background color, to respect theming.
3165
3166 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
3167
3168         * doc/hildon-docs.sgml
3169         * doc/hildon.types
3170         * src/Makefile.am
3171         * src/hildon-edit-toolbar.c
3172         * src/hildon-edit-toolbar.h
3173         * src/hildon.h: New HildonEditToolbar widget.
3174
3175 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
3176
3177         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3178         extra GtkVBox.
3179
3180 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3181         * src/hildon-touch-selector.c
3182         (_create_new_column): use g_object_set instead of two g_object_set_property
3183
3184 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3185         * src/hildon-touch-selector.c
3186         (_create_new_column): use of hildon_gtk_tree_view_new to create
3187         the treeview, instead of use directly g_object_new
3188         (_create_new_column): update the property name "vindicator-mode" for the
3189         new one "vscrollbar-policy"
3190         * examples/hildon-date-button-example.c
3191         * examples/hildon-picker-button-multicolumn-example.c
3192         * examples/hildon-touch-selector-entry-example.c
3193         * examples/hildon-touch-selector-example.c
3194         * examples/hildon-time-button-example.c
3195         * examples/hildon-picker-button-example.c
3196         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3197         to all the treeviews inside a pannable area.
3198
3199 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3200
3201         * src/hildon-button.h
3202         * src/hildon-button.c (hildon_button_init)
3203         (hildon_button_set_arrangement, hildon_button_set_alignment)
3204         (hildon_button_set_title_alignment)
3205         (hildon_button_set_value_alignment)
3206         (hildon_button_set_image_alignment)
3207         (hildon_button_construct_child): New methods to set the alignment
3208         of the individual components of the button (title, value,
3209         image). Also, new method to alter the xscale and yscale properties
3210         of the GtkAlignment inside the button, so more complex layouts can
3211         be created.
3212
3213 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3214
3215         * src/hildon-button.c (hildon_button_style_set)
3216         (hildon_button_class_init, hildon_button_set_arrangement)
3217         (hildon_button_construct_child): Apply style properties
3218         correctly. Use the 'image-spacing' style property too.
3219
3220 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
3221
3222         * src/hildon-app-menu.c (hildon_app_menu_style_set)
3223         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3224         correctly.
3225
3226 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3227
3228         * src/hildon-pannable-area.c,
3229         (hildon_pannable_area_size_request): Fixed problem with
3230         pannable-area size_request.
3231
3232 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3233
3234         Added management for the grab-focus to a child widget, like a
3235         range, we need to fade out the scrollbar when releasing.
3236
3237         * src/hildon-pannable-area.c,
3238         (hildon_pannable_area_init): Connected the grab-focus signal to
3239         the callback.
3240         (hildon_pannable_area_grab_notify): Added this function in order
3241         to manage the situation when the grab-focus ends. We have to
3242         fade-out the scrollbar.
3243
3244 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3245
3246         * src/hildon-app-menu.c: Minor documentation update.
3247
3248 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3249
3250         * src/hildon-app-menu.c
3251         * examples/hildon-app-menu-example.c (create_menu): Update
3252         examples and documentation to explain how to connect callbacks.
3253
3254 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
3255
3256         * examples/hildon-button-example.c
3257         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3258         hildon_stackable_window_new instead of gtk_window_new
3259
3260 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
3261
3262         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3263         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3264         (hildon_pannable_area_set_property),
3265         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3266         (hildon_pannable_area_unrealize),
3267         (hildon_pannable_area_size_request),
3268         (hildon_pannable_area_size_allocate),
3269         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3270         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3271         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3272         (hildon_pannable_area_initial_effect),
3273         (hildon_pannable_area_redraw),
3274         (hildon_pannable_area_scroll_indicator_fade),
3275         (hildon_pannable_area_expose_event),
3276         (hildon_pannable_area_get_topmost), (synth_crossing),
3277         (hildon_pannable_area_button_press_cb),
3278         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3279         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3280         (hildon_pannable_area_motion_notify_cb),
3281         (hildon_pannable_area_button_release_cb),
3282         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3283         (hildon_pannable_area_remove),
3284         (hildon_pannable_calculate_vel_factor): Widget refactorization,
3285         chage the code layout to a more GtkWidget like. Review the use of
3286         variables.
3287
3288 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
3289
3290         * examples/hildon-pannable-area-example-4.c,
3291         (main): Modified the name of the hindicator_mode to
3292         hscrollbar_visible
3293
3294         * src/hildon-pannable-area.c,
3295         (hildon_pannable_area_class_init),
3296         (hildon_pannable_area_motion_notify_cb),
3297         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3298         we have reduced the amount of signals and managed reviewed its
3299         rationale. Changed the default decelerate value.
3300
3301         (hildon_pannable_area_add),
3302         (hildon_pannable_area_redraw): Refactored functions.
3303
3304         (hildon_pannable_area_init),
3305         (hildon_pannable_area_get_property),
3306         (hildon_pannable_area_set_property):
3307         (hildon_pannable_draw_vscroll),
3308         (hildon_pannable_draw_hscroll),
3309         (hildon_pannable_area_initial_effect),
3310         (hildon_pannable_area_expose_event),
3311         (hildon_pannable_area_scroll),
3312         (hildon_pannable_area_button_press_cb),
3313         (hildon_pannable_area_realize): Replaced the names hindicator_mode
3314         and vindicator_mode with hscrollbar_policy and
3315         vscrollbar_policy. Replaced hscroll and vscroll with
3316         hscroll_visible and vscroll_visible.
3317
3318         (hildon_pannable_area_refresh): Refactor the function, remove
3319         variables and check the calls to this function, added resize
3320         conditions in case the children change their layout.
3321
3322         (hildon_pannable_area_size_request): Added more detailed
3323         size_request calculation.
3324
3325
3326 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
3327
3328         * src/hildon-color-chooser.c
3329         (init_borders): use the correct gtk_border_free instead of g_free, to
3330         avoid a crash when this widget is used (ie: the three color selection
3331         examples)
3332
3333 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3334
3335         * src/hildon-check-button.c,
3336         (hildon_check_button_set_active): Fixed problem when setting the
3337         active value, the widget was not redrawn.
3338
3339 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3340
3341         * src/hildon-pannable-area.c,
3342         (hildon_pannable_area_refresh),
3343         (hildon_pannable_area_scroll),
3344         (hildon_pannable_area_motion_notify_cb): Small code style change.
3345
3346         (hildon_pannable_area_class_init): Default initial_hint set to
3347         FALSE, it is not in the specs.
3348
3349         (hildon_pannable_area_initial_effect),
3350         (hildon_pannable_area_expose_event),
3351         (hildon_pannable_area_map),
3352         (hildon_pannable_area_init): Moved the launching point of the
3353         initial effect, it was in map but the sizes where not correct in
3354         that method so we do not know if we have the reproduce it. Now it
3355         is placed in the expose_event method and uses a variable to
3356         reproduce it just once.
3357
3358 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3359
3360         * src/hildon-pannable-area.c,
3361         (hildon_pannable_draw_vscroll),
3362         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3363         position allowed for the scrollbars.
3364
3365         (hildon_pannable_area_size_allocate): Small style change.
3366
3367 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3368
3369         * src/hildon-pannable-area.c,
3370         (hildon_pannable_area_scroll_indicator_fade),
3371         (hildon_pannable_area_button_press_cb),
3372         (hildon_pannable_area_button_release_cb),
3373         (hildon_pannable_area_scroll_cb),
3374         (hildon_pannable_area_expose_event),
3375         (hildon_pannable_area_init): Added the define parameter
3376         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3377         and refactor the fade variable.
3378
3379 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3380
3381         * src/hildon-pannable-area.c,
3382         (hildon_pannable_area_redraw),
3383         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3384         lines, we were reimplemeting the redraw code.
3385
3386 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3387
3388         * src/hildon-pannable-area.c,
3389         (hildon_pannable_area_scroll_cb),
3390         (hildon_pannable_area_realize),
3391         (hildon_pannable_area_class_init): Added scroll_event management
3392         for pannable area, now we can scroll the usual desktop method.
3393
3394         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3395         initialization of the parameters should depend on idle_id.
3396
3397         (hildon_pannable_area_init),
3398         (hildon_pannable_area_map): Small code style modifications
3399
3400 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3401
3402         * src/hildon-pannable-area.c
3403         (hildon_pannable_area_button_press_cb),
3404         (hildon_pannable_area_motion_notify_cb),
3405         (hildon_pannable_area_button_release_cb),
3406         (hildon_pannable_area_size_allocate),
3407         (hildon_pannable_area_scroll_to): Improved the timeouts
3408         management, we avoid creating them each time.
3409
3410 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3411
3412         * src/hildon-pannable-area.c:
3413         (hildon_pannable_area_refresh),
3414         (hildon_pannable_area_motion_notify_cb),
3415         (hildon_pannable_area_class_init):
3416         * src/hildon-pannable-area.h:
3417         * src/hildon-touch-selector.c
3418         (_create_new_column):
3419         * examples/hildon-pannable-area-example-4.c:
3420         (horizontal_movement),
3421         (vertical_movement),
3422         (main):
3423         Replaced the names of enums in the HildonPannableArea:
3424            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
3425               HILDON_MOVEMENT_MODE_*
3426            -  HILDON_PANNABLE_AREA_MOV_* ->
3427               HILDON_MOVEMENT_*
3428            - Removed HildonPannableAreaIndicatorMode, now we
3429              use GtkPolicyType
3430
3431 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3432
3433         * examples/hildon-pannable-area-touch-grid-example.c
3434         * examples/hildon-pannable-area-touch-list-example.c: Fix
3435         compilation warnings.
3436
3437 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3438
3439         * src/hildon-gtk.c (hildon_gtk_button_new)
3440         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3441         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3442         images overriding the value of the "gtk-button-images" setting.
3443
3444 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3445
3446         * src/hildon-check-button.c (hildon_check_button_new):
3447         Instead of using a custom container, display the label and the
3448         checkbox using the standard GtkButton API.
3449
3450         * examples/hildon-check-button-example.c (main): Don't use
3451         hildon_check_button_set_label() anymore
3452
3453         * src/hildon-check-button.h
3454         * src/hildon-check-button.c
3455         (hildon_check_button_set_label, hildon_check_button_get_label):
3456         Set as deprecated, now we're using gtk_button_{get,set}_label()
3457
3458 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3459
3460         * src/hildon-pannable-area.c,
3461         (hildon_pannable_area_get_topmost): Fixed bug with click in the
3462         GtkTreeview first line we detected it after the inclusion of the
3463         GtkWindowImpl in gtk+. We now check if the window is visible, not
3464         just if the pointer is over the window.
3465         (hildon_pannable_axis_scroll),
3466         (hildon_pannable_area_expose_event): Small style changes.
3467
3468 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3469
3470         * src/hildon-button.c: Update documentation.
3471
3472 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3473
3474         * examples/hildon-button-example.c: Add a switch to show images in
3475         the buttons.
3476
3477 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3478
3479         * doc/hildon-docs.sgml: Some docs reorganization.
3480
3481 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3482
3483         * examples/hildon-pannable-area-touch-list-example.c
3484         (create_tree_view)
3485         * examples/hildon-pannable-area-touch-grid-example.c
3486         (create_icon_view): Use gtk_{tree,icon}_view_new() and
3487         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3488         Fix memory leak when setting the tree model.
3489
3490 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3491
3492         Released 2.1.4
3493
3494 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3495
3496         * doc/hildon.types: Remove duplicated hildon_window_get_type
3497         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3498         documentation comment.
3499
3500 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3501
3502         * doc/Makefile.am: Complete list of private headers.
3503
3504 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3505
3506         * doc/hildon-docs.sgml
3507         * src/hildon-app-menu.c
3508         * src/hildon-bread-crumb.c
3509         * src/hildon-button.c
3510         * src/hildon-gtk.c
3511         * src/hildon-program.c
3512         * src/hildon-stackable-window.c
3513         * src/hildon-window.c: Lots of documentation updates.
3514
3515 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3516
3517         * debian/control: Depend on Gtk 2:2.12.9-0osso3
3518
3519         * configure.ac: Require Gtk+ 2.12.9 at least
3520
3521 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
3522
3523         * src/hildon-pannable-area.c
3524         (hildon_pannable_area_scroll_indicator_fade),
3525         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3526         to protect the return of this timeout callbacks, avoiding deadlocks.
3527
3528 2008-08-12  Christian Dywan  <christian@imendio.com>
3529
3530         * src/hildon-*.c
3531         * src/hildon-*.h: Ensure a consistent include order,
3532         include <gtk/gtk.h> instead of particular files and
3533         only include the topmost header in the gtk stack. See NB #39857
3534
3535 2008-08-12  Christian Dywan  <christian@imendio.com>
3536
3537         * src/hildon-picker-dialog.c
3538         * src/hildon-touch-selector.c: Fix warnings about unused and
3539         uninitialized variables.
3540
3541 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3542
3543         * examples/Makefile.am
3544         * examples/hildon-check-button-example.c: Example of the hildon
3545         check button.
3546
3547 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3548
3549         * src/hildon-window.h
3550         * src/hildon-window.c (hildon_window_class_init)
3551         (hildon_window_unset_program): Don't make
3552         hildon_window_unset_program a virtual function anymore.
3553
3554         * src/hildon-stackable-window.c: Update documentation
3555
3556 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3557
3558         * doc/Makefile.am
3559         * doc/hildon-docs.sgml
3560         * doc/visual_index.xml
3561         * src/hildon-defines.c
3562         * src/hildon-gtk.c
3563         * src/hildon-helper.c
3564         * src/hildon-range-editor.c: Lots of documentation fixes.
3565
3566 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3567
3568         * examples/hildon-picker-button-multicolumn-example.c
3569         (create_touch_selector): Fix compilation warning.
3570
3571 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3572
3573         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3574         (hildon_pannable_area_button_release_cb)
3575         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3576
3577 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3578
3579         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3580         assertion.
3581
3582 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3583
3584         * src/hildon-bread-crumb-trail.h
3585         * src/hildon-date-editor.c
3586         * src/hildon-date-selector.c
3587         * src/hildon-pannable-area.c
3588         * src/hildon-picker-dialog.c
3589         * src/hildon-time-selector.c
3590         * src/hildon-touch-selector-entry.c
3591         * src/hildon-touch-selector.c
3592         * src/hildon-touch-selector.h: Misc documentation fixes
3593
3594 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3595
3596         * examples/hildon-date-editor-example.c (main): Updated date
3597         editor example.
3598
3599         * examples/hildon-note-example.c (on_confirmation_clicked):
3600         Updated confirmation note example.
3601
3602         * src/hildon-date-editor.c
3603         * src/hildon-note.c: Updated sample programs in documentation.
3604         Fixes: NB#87437
3605
3606 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3607
3608         * src/hildon-date-button.h:
3609         * src/hildon-picker-button.h:
3610         * src/hildon-time-button.c:
3611         * src/hildon-time-button.h:
3612
3613         Some declarations changes to allow gtk-doc to document the widgets
3614         properly.
3615
3616 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3617
3618         * src/hildon-date-button.c: Document the widget.
3619         * src/hildon-time-button.c: Document the widget.
3620
3621 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3622
3623         * src/hildon-picker-button.c: Document the widget.
3624         * src/hildon-touch-selector-entry.c: Document the widget.
3625
3626 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3627
3628         * doc/hildon-docs.sgml
3629         * src/Makefile.am
3630         * src/hildon.h
3631         * src/hildon-check-button.h
3632         * src/hildon-check-button.c: New functions to create the Hildon
3633         Touch Checkbox.
3634
3635         * src/hildon-gtk.h
3636         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3637
3638 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3639
3640         * src/hildon-button.h
3641         * src/hildon-button.c
3642         (hildon_button_add_title_size_group)
3643         (hildon_button_add_value_size_group)
3644         (hildon_button_add_image_size_group)
3645         (hildon_button_add_size_groups): New functions to set size groups
3646         for the button labels and image.
3647         (hildon_button_new_full): Removed
3648
3649 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
3650
3651         * src/hildon-time-selector.c
3652         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3653         in order to avoid a crash if gconf is not available
3654
3655 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3656
3657         * src/hildon-button.c (hildon_button_set_arrangement)
3658         (hildon_button_construct_child): Don't construct the button child
3659         before setting the arrangement.
3660
3661 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3662
3663         * src/hildon-program-private.h
3664         * src/hildon-program.c
3665         * src/hildon-program.h
3666         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3667         (hildon_program_peek_window_stack)
3668         (hildon_program_pop_window_stack)
3669         (hildon_program_go_to_root_window): HildonProgram now has a
3670         separate list for stackable windows. Functions are provided to
3671         manage that list with a stack-like API.
3672
3673         * src/hildon-stackable-window.c: Stackable window management is
3674         now much simpler with the new HildonProgram API. Windows no
3675         longer need to be manually added to the program, they're
3676         automatically pushed to the top of the stack when shown.
3677
3678         * examples/hildon-stackable-window-example.c: Updated example to
3679         reflect the API changes.
3680
3681 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3682
3683         * src/hildon-touch-selector.c: Comment out unimplemented
3684         hildon_touch_selector_insert_column() to avoid a compile warning.
3685
3686 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3687
3688         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3689         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3690         (hildon_touch_selector_set_column_selection_mode),
3691         (_hildon_touch_selector_set_model),
3692         (hildon_touch_selector_set_model):
3693
3694         Complete review of HildonTouchSelector documentation.
3695
3696 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3697
3698         * doc/hildon-docs.sgml
3699         * src/Makefile.am
3700         * src/hildon.h
3701         * src/hildon-gtk.h
3702         * src/hildon-gtk.c: Convenience functions for standard Gtk
3703         widgets, used to easily perform frequent operations.
3704
3705         * src/hildon-button-helpers.h
3706         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3707
3708         * src/hildon-helper.h
3709         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3710         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3711
3712         * src/hildon-button.h
3713         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3714
3715 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3716
3717         * src/hildon-button.c (hildon_button_init)
3718         (hildon_button_set_arrangement, hildon_button_construct_child):
3719         Pack the image and the labels inside the same GtkAlignment so
3720         gtk_button_set_alignment() can be used
3721
3722 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3723
3724         * src/hildon-button.h
3725         * src/hildon-button.c
3726         (hildon_button_init, hildon_button_set_image)
3727         (hildon_button_set_image_position)
3728         (hildon_button_construct_child): New functions to add an image to
3729         the HildonButton.
3730
3731 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3732
3733         * src/hildon-date-button.c
3734         * src/hildon-picker-button.c
3735         * src/hildon-time-button.c
3736         * src/hildon-button.c:
3737         (hildon_button_class_init): "size-flags" renamed to "size"
3738         (hildon_button_set_title): Hide the title label if set to NULL.
3739
3740 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3741
3742         HildonButtonFlags split into HildonButtonArrangement (to set the
3743         button layout) and HildonSizeType (which can be used for any
3744         widget).
3745
3746         * src/hildon-button.h
3747         * src/hildon-button.c
3748         (hildon_button_class_init)
3749         (hildon_button_set_arrangement)
3750         (hildon_button_set_property): New "size-flags"
3751         property. "arrangement-flags" renamed to "arrangement".
3752         (hildon_button_new, hildon_button_new_with_text)
3753         (hildon_button_new_full): Constructors updated to reflect type changes.
3754
3755         * src/hildon-helper.h
3756         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3757         to set the size of a widget.
3758
3759         * src/Makefile.am
3760         * src/hildon.h
3761         * src/hildon-button-helpers.c
3762         * src/hildon-button-helpers.h: New hildon-button-helpers module.
3763
3764         * src/hildon-date-button.c
3765         * src/hildon-date-button.h
3766         * src/hildon-picker-button.c
3767         * src/hildon-picker-button.h
3768         * src/hildon-time-button.c
3769         * src/hildon-time-button.h: Updated widgets to reflect
3770         HildonButton API changes.
3771
3772         * examples/hildon-button-example.c
3773         * examples/hildon-date-button-example.c
3774         * examples/hildon-picker-button-example.c
3775         * examples/hildon-picker-button-multicolumn-example.c
3776         * examples/hildon-time-button-example.c
3777         * examples/hildon-touch-selector-entry-example.c
3778         * examples/hildon-touch-selector-example.c: Updated examples to
3779         reflect HildonButton API changes.
3780
3781 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3782
3783         * doc/hildon-docs.sgml:
3784         * doc/hildon.types:
3785         * examples/Makefile.am:
3786         * examples/hildon-touch-selector-entry-example.c:
3787         * src/Makefile.am:
3788         * src/hildon-touch-selector-entry.c:
3789         * src/hildon-touch-selector-entry.h:
3790         * src/hildon.h:
3791
3792         Moved HildonTouchSelectorEntry from sandbox. Added its
3793         documentation and examples.
3794
3795 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3796
3797         * src/hildon-touch-selector.h:
3798         * examples/hildon-picker-button-multicolumn-example.c:
3799         (hildon_touch_selector_append_text_column): Add a gboolean
3800         parameter to determine if text must be centered in the column.
3801
3802         * src/hildon-date-selector.c: (hildon_date_selector_init):
3803         * src/hildon-time-selector.c: (hildon_time_selector_init):
3804         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3805         (create_touch_selector): Update widgets and example to reflect
3806         the API change.
3807
3808 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3809
3810         * src/hildon-touch-selector.c:
3811         (hildon_touch_selector_set_active_iter): Set also the cursor in
3812         the active row.
3813
3814 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
3815
3816         * doc/hildon-docs.sgml
3817         * doc/hildon.types
3818         * src/Makefile.am
3819         * src/hildon-toggle-button.c
3820         * src/hildon-toggle-button.h
3821         * src/hildon.h: Removed HildonToggleButton widget, a derived
3822         class is not necessary for this.
3823
3824 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
3825
3826         * src/hildon-pannable-area.c,
3827         (hildon_pannable_area_realize),
3828         (hildon_pannable_area_size_allocate): Code refactoring, add tests
3829         for negative sizes.
3830
3831 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
3832
3833         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3834         "done" button the default widget for the dialog.
3835
3836 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3837
3838         * src/hildon-touch-selector.c:
3839         (hildon_touch_selector_class_init),
3840         (hildon_touch_selector_get_property),
3841         (_hildon_touch_selector_set_model),
3842         (_hildon_touch_selector_has_multiple_selection),
3843         (hildon_touch_selector_has_multiple_selection):
3844         Add a "has-multiple-selection" property with a virtual
3845         has_multiple_selection() method to allow derived classes to
3846         override the default value for it. See the method and property
3847         documentation for details.
3848
3849         * src/hildon-touch-selector.h: Add the new API.
3850
3851         * src/hildon-picker-dialog.c: (requires_done_button): Call
3852         hildon_touch_selector_has_multiple_selection() instead of
3853         determining the need for a button itself.
3854
3855 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3856
3857         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3858         (_hildon_touch_selector_set_model),
3859         (hildon_touch_selector_set_model): Move working code to
3860         _hildon_touch_selector_set_mode(). Call the class method instead.
3861
3862         * src/hildon-touch-selector.h: Add (*set_model) to
3863         HildonTouchSelectorClass.
3864
3865         Make hildon_touch_selector_set_model() a virtual method, so that
3866         derived classes can extend it and do fancy stuff with the model.
3867
3868 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3869
3870         * configure.ac: Set back the tarname in AC_INIT to hildon.
3871
3872 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3873
3874         Release 2.1.3
3875
3876         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3877         instead of libesd (NB#86876). Volume handling is still an open issue.
3878
3879         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3880         cleanups.
3881
3882 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3883
3884         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3885         (hildon_touch_selector_append_column): Make the widget a GtkVBox
3886         derived class to ease placement of an entry widget in
3887         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3888         end, where the selector columns are packed now.
3889
3890 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3891
3892         * src/hildon-picker-button.c: Removed the simple _text() API.
3893         * src/hildon-picker-button.h: Likewise.
3894
3895         * src/hildon-touch-selector.h:
3896         * src/hildon-touch-selector.c:
3897         (hildon_touch_selector_new_text),
3898         (hildon_touch_selector_append_text),
3899         (hildon_touch_selector_prepend_text),
3900         (hildon_touch_selector_insert_text):
3901
3902         Moved the simple _text() API from HildonPickerButton to
3903         HildonTouchPicker, to provide better escalability and not to tie
3904         that API to HildonPickerButton.
3905
3906         * examples/hildon-picker-button-example.c: (main): Example updated.
3907
3908 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3909
3910         * src/hildon-button.c: Updated documentation.
3911
3912         * examples/hildon-button-example.c: Add the posibility to create
3913         the buttons using horizontal layout for title and value.
3914
3915 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3916
3917         * src/hildon-app-menu-private.h
3918         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3919         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3920         GtkSizeGroup for the filters, use the 'homogeneous' property of
3921         the box instead.
3922
3923 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3924
3925         * examples/hildon-button-example.c: Updated example.
3926
3927 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
3928
3929         * doc/hildon-docs.sgml:
3930         * doc/hildon.types:
3931
3932         Update documentation.
3933
3934         * examples/Makefile.am: Update renamed examples.
3935
3936         * examples/hildon-picker-button-multicolumn-example.c:
3937         (create_touch_selector), (main): Update after the rename.
3938
3939         * examples/hildon-touch-picker-example.c: Removed.
3940         * examples/hildon-touch-selector-example.c: (value_changed),
3941         (create_selector), (get_visible_content), (main): Renamed from
3942         hildon-touch-picker-example.c
3943
3944         * src/Makefile.am: Updated renamed files.
3945
3946         * src/hildon-date-button.c: (hildon_date_button_init),
3947         (hildon_date_button_get_date), (hildon_date_button_set_date):
3948         * src/hildon-date-selector.c: (hildon_date_selector_init),
3949         (_custom_print_func), (_update_day_model),
3950         (_manage_selector_change_cb),
3951         (hildon_date_selector_select_current_date),
3952         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3953         * src/hildon-date-selector.h:
3954         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3955         (hildon_picker_button_set_property),
3956         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3957         (hildon_picker_button_init), (hildon_picker_button_new_text),
3958         (hildon_picker_button_append_text),
3959         (hildon_picker_button_prepend_text),
3960         (hildon_picker_button_insert_text),
3961         (hildon_picker_button_set_selector),
3962         (hildon_picker_button_get_selector):
3963         * src/hildon-picker-button.h:
3964         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3965         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3966         (_update_title_on_selector_changed_cb), (requires_done_button),
3967         (_hildon_picker_dialog_set_selector),
3968         (hildon_picker_dialog_set_selector),
3969         (hildon_picker_dialog_get_selector):
3970         * src/hildon-picker-dialog.h:
3971         * src/hildon-time-button.c: (hildon_time_button_init),
3972         (hildon_time_button_get_time), (hildon_time_button_set_time):
3973         * src/hildon-time-selector.c: (hildon_time_selector_init),
3974         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3975         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3976         * src/hildon-time-selector.h:
3977         * src/hildon.h:
3978
3979         Massive code updates after the rename.
3980
3981         * src/hildon-touch-picker.c: Removed.
3982         * src/hildon-touch-picker.h: Removed.
3983
3984         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3985         (hildon_touch_selector_init), (hildon_touch_selector_map),
3986         (hildon_touch_selector_remove), (_default_print_func),
3987         (_selection_changed_cb), (_create_new_column),
3988         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3989         (hildon_touch_selector_append_text_column),
3990         (hildon_touch_selector_remove_column),
3991         (hildon_touch_selector_set_column_attributes),
3992         (hildon_touch_selector_insert_column),
3993         (hildon_touch_selector_get_num_columns),
3994         (hildon_touch_selector_get_column_selection_mode),
3995         (hildon_touch_selector_set_column_selection_mode),
3996         (hildon_touch_selector_set_print_func),
3997         (hildon_touch_selector_get_print_func),
3998         (hildon_touch_selector_get_active_iter),
3999         (hildon_touch_selector_set_active_iter),
4000         (hildon_touch_selector_get_selected_rows),
4001         (hildon_touch_selector_get_model),
4002         (hildon_touch_selector_set_model),
4003         (hildon_touch_selector_get_current_text),
4004         (_hildon_touch_selector_center_on_selected_items):
4005         * src/hildon-touch-selector.h: Renamed from
4006         hildon-touch-picker.[ch]
4007
4008         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4009         references, code examples, and related documentation.
4010
4011 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4012
4013         * doc/hildon-docs.sgml
4014         * doc/hildon.types
4015         * src/Makefile.am
4016         * src/hildon-toggle-button.c
4017         * src/hildon-toggle-button.h
4018         * src/hildon.h: New HildonToggleButton widget.
4019
4020 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
4021
4022         * src/hildon-button.c: Add API documentation.
4023         (hildon_button_set_size_groups): Check input parameters
4024
4025 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
4026
4027         * src/hildon-pannable-area.c
4028         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4029         effect after reaching the movement thredshold. This way we start
4030         using the distance after passing the thredshold.
4031
4032 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4033
4034         * src/hildon-button.c: (hildon_button_set_property): Use the
4035         appropriate g_value_get_flags() method.
4036
4037 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4038
4039         * doc/hildon-docs.sgml:
4040         * doc/hildon.types:
4041
4042          Add the touch pickers, picker dialogs, and picker button widgets
4043         to the documentation.
4044
4045 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4046
4047         * src/hildon-button.c: (hildon_button_set_property),
4048         (hildon_button_class_init): Make "arrangement-flags" a proper
4049         G_TYPE_FLAGS derived property.
4050
4051 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4052
4053         * examples/Makefile.am: Add below examples.
4054         * examples/hildon-date-button-example.c:
4055         * examples/hildon-picker-button-example.c:
4056         * examples/hildon-picker-button-multicolumn-example.c:
4057         * examples/hildon-time-button-example.c:
4058         * examples/hildon-touch-picker-example.c:
4059
4060         Add examples for the recently added touch pickers,
4061         picker dialogs, and picker button widgets.
4062
4063 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4064
4065         * src/hildon-button.c: Add some API documentation
4066
4067 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4068
4069         * src/hildon-button.h
4070         * src/hildon-button.c
4071         (hildon_button_new)
4072         (hildon_button_new_with_text): New constructor to create a button
4073         with no text at all.
4074         (hildon_button_init, hildon_button_set_arrangement)
4075         (hildon_button_set_title, hildon_button_set_value)
4076         (hildon_button_set_text)
4077         (hildon_button_construct_child): Hide the value when it's not used
4078         so the rest of the text is properly aligned.
4079         Allow creating buttons with arbitrary widgets inside (not just
4080         title/value labels).
4081
4082         * examples/hildon-button-example.c (vertical_buttons_window)
4083         (horizontal_buttons_window): Update example to use new API.
4084
4085 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4086
4087         * src/Makefile.am: Added HildonTimeButton.
4088         * src/hildon-time-button.c: Added missing LGPL header.
4089         * src/hildon-time-button.h: Added missing LGPL header.
4090         * src/hildon.h: Add hildon-time-button.h
4091
4092         Copied HildonTimeButton from sandbox to trunk. Future work on this
4093         widget must take place in trunk.
4094
4095 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4096
4097         * src/Makefile.am: Added HildonDateButton.
4098         * src/hildon-date-button.c: Update includes.
4099         * src/hildon.h: Add hildon-date-button.h
4100
4101         Copied HildonDateButton from sandbox to trunk. Future work on this
4102         widget must take place in trunk.
4103
4104 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4105
4106         * src/Makefile.am: Added HildonPickerButton.
4107         * src/hildon-picker-button.h: Update includes.
4108         * src/hildon.h: Add hildon-picker-button.h
4109
4110         Copied HildonPickerButton from sandbox to trunk. Future work on
4111         this widget must take place in trunk.
4112
4113 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4114
4115         * src/Makefile.am: Added HildonPickerDialog.
4116         * src/hildon-picker-dialog.c: Update includes.
4117         * src/hildon.h: Add hildon-picker-dialog.h
4118
4119         Copied HildonPickerDialog from sandbox to trunk. Future work
4120         on this widget must take place in trunk.
4121
4122 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4123
4124         * src/Makefile.am: Added HildonTimeSelector.
4125         * src/hildon.h: Add hildon-time-selector.h
4126
4127         Copied HildonTimeSelector widget from sandbox to trunk. Future
4128         work on this widget must happen in trunk.
4129
4130 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4131
4132         * src/Makefile.am: Added HildonDateSelector.
4133         * src/hildon.h: Add hildon-date-selector.h
4134
4135         Copied HildonDateSelector widget from sandbox to trunk.  Future
4136         work on this widget must happen in trunk.
4137
4138 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4139
4140         * src/Makefile.am: Added HildonTouchPicker.
4141         * src/hildon-touch-picker.c: Update includes.
4142         * src/hildon.h: Add hildon-touch-picker.h
4143
4144         Copied HildonTouchPicker widget from sandbox to trunk. Future work
4145         on this widget must happen in trunk.
4146
4147 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4148
4149         * src/hildon-pannable-area.c:
4150         (hildon_pannable_area_motion_notify_cb): Fix a typo.
4151
4152 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4153
4154         * examples/hildon-app-menu-example.c (main): Let the window
4155         destroy the menu.
4156
4157 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4158
4159         * src/hildon-pannable-area.c
4160         (hildon_pannable_area_class_init): Set the min value of the
4161         overshoot properties to zero, which points out that not
4162         overshooting allowed.
4163
4164 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4165
4166         Modified the procedure to get the widget at a point inside the
4167         pannable area when using the movement type signals. Now the user
4168         has to call a function to get the child, that way we just
4169         calculate the child in case the user really want to use it and not
4170         all the time.
4171
4172         * src/hildon-marshalers.list: Modified the marshallers, now we do
4173         not have the widget as a parameter.
4174
4175         * src/hildon-pannable-area.c
4176         (hildon_pannable_area_motion_notify_cb),
4177         (hildon_pannable_area_class_init),
4178         (hildon_pannable_get_child_widget_at):  Removed the widget
4179         parameter from the signal callback. We have also refactored the
4180         emission of the signals.
4181
4182         * src/hildon-pannable-area.h: Added a new method to the API to
4183         calculate a widget at a point inside the pannable area,
4184         hildon_pannable_get_child_widget_at.
4185
4186         * examples/hildon-pannable-area-example-4.c
4187         (horizontal_movement): Modified the example to use the new API,
4188         added condition to control which widget is under the event. This
4189         way we can avoid scrolling laterally over other widgets.
4190
4191 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4192
4193         * src/hildon-pannable-area.c
4194         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4195         modes, we stop getting the pointer events due to returning the
4196         callback without properly calling the get pointer again. Fixed
4197         also an error using the hscroll and vscroll.
4198
4199 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
4200
4201         * src/hildon-app-menu-private.h
4202         * src/hildon-app-menu.c (hildon_app_menu_button_press)
4203         (hildon_app_menu_button_release, hildon_app_menu_init)
4204         (hildon_app_menu_class_init): Don't hide the menu on button
4205         release if the user didn't press outside first.
4206
4207         * src/hildon-window.h
4208         * src/hildon-window.c (hildon_window_toggle_menu)
4209         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4210         hildon_window_toggle_menu a virtual function for the stackable
4211         window to override it.
4212
4213         * src/hildon-stackable-window.h
4214         * src/hildon-stackable-window-private.h
4215         * src/hildon-stackable-window.c
4216         (hildon_stackable_window_realize)
4217         (hildon_stackable_window_finalize)
4218         (hildon_stackable_window_class_init)
4219         (hildon_stackable_window_init)
4220         (hildon_stackable_window_set_main_menu): New function to set the
4221         app menu of a HildonStackableWindow.
4222
4223         * examples/hildon-app-menu-example.c: Remove the button to show
4224         the app menu, now it'll be shown when clicking on the title bar
4225         instead.
4226
4227 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4228
4229         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4230         set the widget name if the arrangement flags do not specify
4231         a particular size.
4232
4233 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4234
4235         * src/hildon-button.c: (hildon_button_set_property),
4236         (hildon_button_class_init), (hildon_button_new_full),
4237         (hildon_button_set_arrangement): Added "arrangement-flags"
4238         property.
4239
4240         Make the HildonButtonFlags a construction-only property, to allow
4241         subclasses to set them properly.
4242
4243 2008-07-21 Tim Janik  <timj@imendio.com>
4244
4245         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4246         insertion position after backspace, so additional digits are appended,
4247         fixes Bug #85874.
4248
4249 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4250
4251         * src/hildon-pannable-area.c,
4252         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4253         TODO list, it was complete and removed the g_debug and g_print
4254         lines.
4255
4256 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4257
4258         Added the movement modes to the hildon-pannable-area, with this
4259         modes the developers can control in which directions the widget
4260         can scroll. They can also connect to signals in order to do
4261         something when that happens, allowing applications scroll. There
4262         is an example uploaded showing how to use it.
4263
4264         * examples/Makefile.am:
4265         * examples/hildon-pannable-area-example-4.c: Added this example of
4266         an application using the modes.
4267
4268         * src/hildon-marshalers.list: Added a new marshaller for the new
4269         signals.
4270
4271         * src/hildon-pannable-area.h: Added new enumerations and flags in
4272         order to control the movement modes and the new signals to warn
4273         about the movements in the area.
4274
4275         * src/hildon-pannable-area.c:
4276         (hildon_pannable_axis_scroll),
4277         (hildon_pannable_area_scroll),
4278         (hildon_pannable_area_motion_notify_cb),
4279         (hildon_pannable_area_get_property),
4280         (hildon_pannable_area_set_property),
4281         (hildon_pannable_area_map),
4282         (hildon_pannable_area_class_init),
4283         (hildon_pannable_area_init),
4284         (hildon_pannable_area_jump_to): Added the modes to control the
4285         movement in the widget. We have added properties to control it,
4286         signals to warn about the movements and refactored some code.
4287
4288 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
4289
4290         Changes required in order to allow vfast_factor set to zero to
4291         work properly.
4292
4293         * src/hildon-pannable-area.c:
4294         (hildon_pannable_area_button_press_cb): Changed the condition, it
4295         is required for not allowing click when vfast_factor is zero.
4296         (hildon_pannable_area_timeout): Initialized velocity variables
4297         when we stop moving, it was less than 1 but not zero and we need
4298         to check zero in some situations.
4299         (hildon_pannable_area_class_init): Changed the default value of
4300         the speed factor, now the button_press is just sent in case the
4301         speed is 2 per cent of the max speed.
4302         (hildon_pannable_area_init): Initialization with 0.
4303
4304 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
4305
4306         * src/hildon-pannable-area.c,
4307         (hildon_pannable_area_get_topmost): replaced
4308         gdk_window_get_children with gdk_window_peek_children, this way we
4309         do not have to free the list because it is not a copy.
4310
4311         (hildon_pannable_axis_scroll),
4312         (hildon_pannable_area_scroll),
4313         (hildon_pannable_area_timeout),
4314         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4315         two parameters that were only used inside the
4316         hildon_pannable_area_scroll function.
4317
4318         * examples/hildon-pannable-area-example.c,
4319         (get_sawtooth_label): Fixed small memory leak.
4320
4321 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4322
4323         More checks for the case where the overshoot is bigger than the
4324         size of the widget.
4325
4326         * src/hildon-pannable-area.c:
4327         (hildon_pannable_draw_vscroll),
4328         (hildon_pannable_draw_hscroll): with this new calculation we avoid
4329         to draw the slider of the scrollbar under the other scrollbar.
4330         (hildon_pannable_area_expose_event): added new checks to control
4331         the drawing of the overshooting area rectangle, in case it is too
4332         big for the area of the widget.
4333         (hildon_pannable_area_size_allocate): add more checks to avoid
4334         setting a position to the child widget outside the area.
4335
4336 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4337
4338         * src/hildon-pannable-area.c
4339         (hildon_pannable_area_size_allocate): Added conditions to control
4340         when overshooting is bigger than the allocated space for the
4341         children, this avoids negative allocations.
4342
4343 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
4344
4345         * doc/hildon-docs.sgml
4346         * doc/hildon.types
4347         * examples/Makefile.am
4348         * examples/hildon-button-example.c
4349         * src/Makefile.am
4350         * src/hildon-button.c
4351         * src/hildon-button.h
4352         * src/hildon.h: Initial version of the new HildonButton widget,
4353         with examples.
4354
4355 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
4356
4357         * src/hildon-pannable-area.c:
4358         (hildon_pannable_area_button_press_cb),
4359         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4360         (hildon_pannable_area_motion_notify_cb),
4361         (hildon_pannable_area_button_release_cb),
4362         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4363         (hildon_pannable_area_jump_to_child):
4364
4365         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4366
4367 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
4368
4369         * examples/Makefile.am
4370         * examples/hildon-pannable-area-touch-grid-example.c
4371         * examples/hildon-pannable-area-touch-list-example.c: Examples of
4372         the Hildon Touch List and Hildon Touch Grid using the
4373         HildonPannableArea widget.
4374
4375 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4376
4377         * src/hildon-pannable-area.c,
4378         (hildon_pannable_area_button_press_cb),
4379         (hildon_pannable_area_refresh),
4380         (hildon_pannable_area_scroll),
4381         (hildon_pannable_area_motion_notify_cb),
4382         (hildon_pannable_area_button_release_cb),
4383         (hildon_pannable_area_expose_event),
4384         (hildon_pannable_area_add),
4385         (hildon_pannable_area_remove),
4386         (hildon_pannable_area_realize),
4387         (hildon_pannable_area_size_allocate),
4388         (hildon_pannable_area_class_init),
4389         (hildon_pannable_area_init),
4390         (hildon_pannable_area_scroll_to_child),
4391         (hildon_pannable_area_jump_to_child): Fixed the problem of
4392         removing the child from the GtkBin, we have rearranged the widget
4393         hierarchy, now there is no GtkAlignment which was not doing
4394         anything interesting but breaking some of the assumptions of
4395         GtkContainer. Now developers if they want to add a GtkAlignment
4396         they could, but it is not inside the area.
4397
4398         We had to review the whole allocation/expose process, now it is
4399         improved and we save at least three signals which would be saving
4400         some time when rendering the widget. The allocation of the
4401         scrollbars is now made in the allocate method as usual.
4402
4403         We have also added some conditions in order to control when there
4404         is no child of the pannable area. Maybe we will need more work
4405         here.
4406
4407 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4408
4409         * src/hildon-pannable-area.c,
4410         (hildon_pannable_area_dispose): Released the fade-out timeout when
4411         disposing the widget.
4412
4413 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4414
4415         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4416         zero, we are going to use that property in order to deactivate the
4417         overshooting
4418         (hildon_pannable_axis_scroll),
4419         (hildon_pannable_area_size_allocate): Added conditions to control
4420         when overshoot_max is zero. Moved the gtk_adjustment_set_value
4421         call, now it is called in all situations and we can remove calls
4422         in the allocate method.
4423         (hildon_pannable_area_map): Control the situation when
4424         overshoot_max is zero, we do not need the timeout.
4425         (hildon_pannable_area_class_init): Added documentation in order to
4426         point out that setting zero to overshoot_max means deactivate
4427         overshooting.
4428
4429         NOTE: removed trailing whitespaces from my previous comments of
4430         the Changelog.
4431
4432 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4433
4434         * src/hildon-pannable-area.c
4435         (hildon_pannable_area_get_property),
4436         (hildon_pannable_area_set_property),
4437         (hildon_pannable_area_map),
4438         (hildon_pannable_area_class_init),
4439         (hildon_pannable_area_init): Add a boolean "initial-hint" property
4440         to cause the widget give a hint about its panning abilities upon
4441         realization.
4442
4443 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4444
4445         * src/hildon-pannable-area.c: Several documentation improvements.
4446
4447 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4448
4449         * src/hildon-program.c
4450         * src/hildon-stackable-window.c: Update documentation.
4451
4452 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4453
4454         * src/hildon-stackable-window.c (get_previous_window_if_last):
4455         Renamed get_last_window()
4456         (hildon_stackable_window_map, hildon_stackable_window_unmap)
4457         (hildon_stackable_window_unset_program):
4458         Simplified code.
4459         (get_previous_window_if_last):
4460         Detect if the window hasn't been added to a HildonProgram.
4461
4462 2008-06-26  Alejandro G. Castro <alex@igalia.com>
4463
4464         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4465
4466         * src/hildon-pannable-area.c
4467         (hildon_pannable_area_button_press_cb),
4468         (hildon_pannable_axis_scroll),
4469         (hildon_pannable_area_scroll),
4470         (hildon_pannable_area_timeout),
4471         (hildon_pannable_calculate_vel_factor),
4472         (hildon_pannable_area_get_property),
4473         (hildon_pannable_area_set_property),
4474         (hildon_pannable_area_class_init),
4475         (hildon_pannable_area_init),
4476         (hildon_pannable_area_scroll_to),
4477         (hildon_pannable_area_jump_to),
4478         (hildon_pannable_area_scroll_to_child),
4479         (hildon_pannable_area_jump_to_child):
4480         * src/hildon-pannable-area.h: Added the new API functions:
4481         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4482         hildon_pannable_area_scroll_to_child,
4483         hildon_pannable_area_jump_to_child
4484
4485
4486         * examples/Makefile.am
4487         * examples/hildon-pannable-area-example-2.c
4488         * examples/hildon-pannable-area-example-3.c: Added these two new
4489         examples in order to test and show how the new APIs work.
4490
4491 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
4492
4493         * examples/hildon-stackable-window-example.c (new_window):
4494         * src/Makefile.am (noinst_HEADERS):
4495         * src/hildon-program.c (hildon_program_go_to_root_window):
4496         * src/hildon-program.h:
4497         * src/hildon-stackable-window-private.h:
4498         * src/hildon-stackable-window.c:
4499         * src/hildon-stackable-window.h:
4500         Create hildon-stackable-window-private.h
4501         Move hildon_stackable_window_go_to_root_window() to HildonProgram
4502
4503         * examples/hildon-app-menu-example.c (create_menu):
4504         * examples/hildon-hvolumebar-insensitive-example.c (main):
4505         * examples/hildon-hvolumebar-timer-example.c (on_idle):
4506         * examples/hildon-toolbar-seekbar-example.c (main):
4507         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4508         * src/hildon-banner.c (hildon_banner_set_property):
4509         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4510         Fix compilation warnings
4511
4512         * src/hildon-window.c:
4513         Fix typo in doc
4514
4515 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
4516
4517         * src/hildon-stackable-window.c
4518         (hildon_stackable_window_unset_program):
4519         Calculate correctly whether to show the previous window if the
4520         last one is removed from the stack.
4521         (hildon_stackable_window_go_to_root_window):
4522         Send delete events starting from the topmost window.
4523         Stop if one of the windows is not destroyed.
4524         Update doc.
4525         (hildon_stackable_window_delete_event)
4526         (hildon_stackable_window_class_init):
4527         Ignore the delete event if the window is not the topmost one.
4528
4529 2008-06-24  Alejandro G. Castro <alex@igalia.com>
4530
4531         * src/hildon-pannable-area.c
4532         (hildon_pannable_area_expose_event): Fixed a problem when
4533         selecting the background color of the scrollbars.
4534
4535 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
4536
4537         * examples/hildon-stackable-window-example.c
4538         * src/hildon-stackable-window.c
4539         * src/hildon-stackable-window.h
4540         hildon_stackable_window_go_home() renamed to
4541         hildon_stackable_window_go_to_root_window()
4542         Send delete events to windows rather than closing them with
4543         gtk_widget_destroy()
4544
4545 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4546
4547         * src/hildon-pannable-area.c
4548         (hildon_pannable_area_button_release_cb): Fix overshooting in
4549         accel mode.
4550
4551 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4552
4553         * src/hildon-pannable-area.c
4554         (hildon_pannable_area_init): Initially show the scroll indicators.
4555         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4556
4557         Add initial effect showing the widget is pannable.
4558
4559 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4560
4561         * src/hildon-pannable-area.c
4562         (hildon_pannable_area_class_init)
4563         (hildon_pannable_area_set_property)
4564         (hildon_pannable_area_get_property)
4565         (hildon_pannable_area_button_press_cb):
4566         New 'velocity_fast_factor' property to decide which velocity is
4567         considered fast.
4568
4569 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4570
4571         * src/hildon-pannable-area.c
4572         (hildon_pannable_draw_hscroll)
4573         (hildon_pannable_draw_vscroll):
4574         Use float variables to calculate the size of the scrollbars to
4575         avoid error propagation and resizing during scrolling.
4576
4577 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4578
4579         * src/hildon-pannable-area.c
4580         (hildon_pannable_draw_vscroll)
4581         (hildon_pannable_draw_hscroll):
4582         Define a minimum size for the scroll bars
4583
4584         * src/hildon-stackable-window.c
4585         (hildon_stackable_window_go_home): Fix compilation warning
4586         (get_last_window): Minor optimizations
4587         (hildon_stackable_window_class_init): Fix initialization of
4588         private structure.
4589
4590 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
4591
4592         * src/hildon-stackable-window.c: Fixed typos in doc
4593
4594 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
4595
4596         * src/hildon-pannable-area.c
4597         (hildon_pannable_area_scroll):
4598         Calculate here whether we need to scroll instead of using the booleans
4599         that tell us whether to /draw/ the scrolling bars.
4600
4601 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
4602
4603         * src/hildon-app-menu.h
4604         Update API.
4605         * src/hildon-app-menu.c
4606         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4607         multiple filter groups related code and API. Now we support only
4608         one filter group.
4609         * examples/hildon-app-menu-example.c:
4610         (create_menu):
4611         Update to reflect API changes.
4612
4613 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
4614
4615         * src/hildon-stackable-window.c
4616         (hildon_stackable_window_class_init):
4617         Add hildon_stackable_window_realize.
4618         (hildon_stackable_window_realize):
4619         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4620         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4621         to apply theming and behavior specific to HildonStackableWindow
4622         windows.
4623
4624 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4625
4626         * src/hildon-note.c (hildon_note_button_release):
4627         Close information notes also when tapping on them
4628
4629 2008-06-12  Alejandro G. Castro <alex@igalia.com>
4630
4631         Added BOUNCE_STEPS define to control the overshoot effect. Removed
4632         ELASTICITY, refactor and review, fix some issues with drawing
4633         scrollbars.
4634
4635         * src/hildon-pannable-area.c:
4636         (hildon_pannable_area_button_press_cb): removed the conditions to
4637         avoid clicks when overshooting. It is not required
4638
4639         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4640         define. Refatored and reviewed the code, now we do not need to
4641         manage velocity in motion_notify.
4642
4643         (hildon_pannable_area_motion_notify_cb): We have moved the code
4644         that controls the area_scroll to the axis_scroll function and get
4645         rid of duplicated code.
4646
4647         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4648
4649         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4650
4651         (hildon_pannable_draw_vscroll),
4652         (hildon_pannable_draw_hscroll): Fixed the problems with the
4653         scrollbar drawing, now we do not use two surfaces, it is easier
4654         and saves resources.
4655
4656         (hildon_pannable_area_get_property): Style modification.
4657
4658         (hildon_pannable_area_class_init): Changed some default values.
4659
4660 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
4661
4662         * src/hildon-stackable-window.c: Fix some typos in the
4663         documentation.
4664
4665 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4666
4667         * src/hildon-dialog.c:
4668         Change indentation style
4669
4670         * src/hildon-note.c
4671         (hildon_note_button_release):
4672         Use root coordinates to check if the release event happened
4673         outside the widget.
4674
4675         * src/hildon-app-menu.c
4676         (hildon_app_menu_button_release):
4677         Remove unnecessary check
4678
4679         * examples/hildon-app-menu-example.c
4680         (button_clicked):
4681         Add cast to fix warning
4682
4683         * src/hildon-app-menu.c
4684         (hildon_app_menu_class_init):
4685         New inner-border style property.
4686         Set all default spacings to 16
4687         (hildon_app_menu_init):
4688         Use vertical-spacing to set the space between filter buttons and
4689         regular menu buttons.
4690         Set the default container border using the inner-border value.
4691
4692         * examples/hildon-app-menu-example.c
4693         (create_menu):
4694         Don't set the menu border explicitly, now we have the inner-border
4695         style property for that.
4696
4697 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
4698
4699         * src/hildon-app-menu.c (hildon_app_menu_init):
4700         Make the window modal
4701
4702         * src/hildon-note.c (hildon_note_map)
4703         * src/hildon-app-menu.c (hildon_app_menu_map):
4704         Destroy the grab window if we're unable to grab the pointer
4705
4706         * src/hildon-app-menu-private.h
4707         * src/hildon-app-menu.c
4708         (hildon_app_menu_init, hildon_app_menu_finalize)
4709         (hildon_app_menu_map, hildon_app_menu_unmap)
4710         (hildon_app_menu_button_release)
4711         (grab_transfer_window_get):
4712         Bring back the grab window
4713         (hildon_app_menu_realize):
4714         Decorate the window, set WM hint for Matchbox
4715
4716         * src/hildon-note.c (hildon_note_realize):
4717         * src/hildon-banner.c (hildon_banner_realize):
4718         Add WM hints for Matchbox
4719
4720 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
4721
4722         * src/hildon-app-menu-private.h
4723         * src/hildon-app-menu.c
4724         (hildon_app_menu_init, hildon_app_menu_finalize)
4725         (hildon_app_menu_map, hildon_app_menu_unmap)
4726         (hildon_app_menu_button_release):
4727         Remove the grab window, it's not needed anymore
4728
4729         * src/hildon-program.c
4730         Fixed typo in documentation
4731
4732         * src/hildon-app-menu.h
4733         * src/hildon-app-menu.c
4734         * examples/hildon-app-menu-example.c
4735         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4736
4737 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
4738
4739         * src/hildon-note.c
4740         Added new transfer_window and close_if_pressed_outside private
4741         attributes.
4742         (hildon_note_rebuild):
4743         Don't add a cancel button to the information note. It will be
4744         closed when tapping outside
4745         Remove the comment about the OK button in the documentation
4746         (hildon_note_realize):
4747         Set the notification type hint
4748         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4749         Grab/ungrab pointer and keyboard if the note has to be closed when
4750         tapping outside
4751         (hildon_note_button_release):
4752         Close the note when tapping outside (if applicable)
4753
4754         * src/hildon-app-menu.c
4755         Grab/ungrab pointer and keyboard on map/unmap
4756         (hildon_app_menu_button_release, hildon_app_menu_class_init):
4757         Close the menu on button release, not button press
4758
4759         * src/hildon-banner.c
4760         (hildon_banner_set_property)
4761         (hildon_banner_check_position):
4762         Make the banner use the full width of the screen
4763         (hildon_banner_show_information)
4764         (hildon_banner_show_information_with_markup):
4765         Don't display an icon by default
4766
4767 2008-06-09  Alejandro G. Castro <alex@igalia.com>
4768
4769         Added fading scrollbars and adapted all the overshooting code to
4770         horizontal scrolling. We have also fixed bugs with overshooting
4771         and current fading implementation.
4772
4773         * src/hildon-pannable-area.c
4774         (hildon_pannable_area_scroll_indicator_fade): Time out function
4775         used to change the transparency of the scrollbars.
4776
4777         (hildon_pannable_area_button_press_cb): Added horizontal overshot
4778         control and fixed a problem with fading, we now remove the fade
4779         timeout before adding a new one.
4780
4781         (hildon_pannable_axis_scroll):
4782         (hildon_pannable_area_scroll):
4783         (hildon_pannable_area_timeout): Added this functions so we can use
4784         the scroll code both for vertical and horizontal.
4785
4786         (hildon_pannable_area_motion_notify_cb):
4787         (hildon_pannable_area_button_release_cb): Added the horizontal
4788         scrolling control, fixed a problem with the overshooting timeout.
4789
4790         (rgb_from_gdkcolor): Added this function, it is used in the cairo
4791         painting of the scrolls.
4792
4793         (hildon_pannable_draw_vscroll):
4794         (hildon_pannable_draw_hscroll):
4795         (hildon_pannable_area_expose_event):
4796         Draw both scrollbars and rectangles in the overshooting area.
4797
4798         (hildon_pannable_area_get_property):
4799         (hildon_pannable_area_set_property):
4800         Modified the overshoot property to overshoot_max
4801
4802         (hildon_pannable_area_map):
4803         Replaced the comments symbols.
4804
4805         (hildon_pannable_area_size_allocate):
4806         (hildon_pannable_area_class_init):
4807         (hildon_pannable_area_init): Added horizontal scroll, fading
4808         effect properties, fixed a problem when overshooting in the bottom
4809         of the widget.
4810
4811         * examples/hildon-pannable-area-example.c:
4812         (get_sawtooth_label): Now we use smaller sawtooths, the effect
4813         looks better in the example.
4814
4815 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
4816
4817         * src/hildon-window.c
4818         * src/hildon-window.h
4819         (hildon_window_class_init)
4820         (hildon_window_unset_program)
4821         (hildon_window_unset_program_real):
4822         Make unset_program a virtual function
4823
4824         * src/hildon-stackable-window.c
4825         * src/hildon-stackable-window.h
4826         Added hildon_stackable_window_go_home()
4827
4828         * examples/Makefile.am
4829         * examples/hildon-stackable-window-example.c
4830         HildonStackableWindow example
4831
4832 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4833
4834         * hildon-pannable-area.c: Added the overshoot property and removed
4835         the OVERSHOOT define. Fixed an indent style error.
4836         (hildon_pannable_area_motion_notify_cb):
4837         (hildon_pannable_area_get_property):
4838         (hildon_pannable_area_set_property): Add overshoot property.
4839
4840         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4841         overshoot property.
4842
4843         (hildon_pannable_area_class_init): Installed the new property.
4844
4845         * hildon-pannable-area-example.c: Added a sawtooth function, this
4846         way it is easier to check the movement in the pannable.
4847         (get_sawtooth_label): Added this function.
4848         (main): Now we get the labels from the new get_sawtooth_label
4849         function.
4850
4851 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
4852
4853         * src/hildon-app-menu.h
4854         * src/hildon-app-menu.c
4855         Renamed API variables for consistency
4856
4857         (hildon_app_menu_popup): Use also the default window size to
4858         decide where to place the menu
4859
4860         (hildon_app_menu_init, hildon_app_menu_class_init): New
4861         external-border style property
4862
4863 2008-05-26  Michael Natterer  <mitch@imendio.com>
4864
4865         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4866         widget_class->tap_and_hold_setup signal slot doesn't exist any
4867         longer, stop overriding it.
4868
4869         (hildon_time_editor_init): g_signal_connect() to the
4870         tap-and-hold-setup signal instead.
4871
4872         (hildon_time_editor_entry_keypress): add cast to fix warning.
4873
4874 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
4875
4876         * doc/hildon-docs.sgml
4877         * doc/hildon.types
4878         * examples/Makefile.am
4879         * examples/hildon-app-menu-example.c
4880         * src/Makefile.am
4881         * src/hildon-app-menu-private.h
4882         * src/hildon-app-menu.c
4883         * src/hildon-app-menu.h
4884         * src/hildon.h
4885         New HildonAppMenu widget
4886
4887 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4888
4889         Rearranged the inheritance of the pannable area, now it inherits
4890         from GtkBin. This will allow us to control the event_window and
4891         the allocation process of the widget, required for some effects.
4892
4893         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4894         GtkBin structures.  * src/hildon-pannable-area.c: Added the
4895         event_window variable.
4896         (hildon_pannable_area_button_press_cb):
4897         (hildon_pannable_area_button_release_cb):
4898         (hildon_pannable_area_motion_notify_cb):
4899         Changed the signature of the method, now we override the event
4900         callback instead of connecting to the signal.
4901
4902         (hildon_pannable_area_realize):
4903         (hildon_pannable_area_unrealize):
4904         (hildon_pannable_area_map):
4905         (hildon_pannable_area_unmap):
4906         (hildon_pannable_area_size_allocate):
4907         Added functions to control the widget construction. We add a
4908         INPUT_ONLY window and we put it over the widgets inside the
4909         container, this event_window handles the events.
4910
4911         (hildon_pannable_area_class_init):
4912         Replaced the signal connections with overrides of the event
4913         callbacks.
4914
4915 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4916
4917         Bouncing effect added when touching the borders, you can change
4918         the elasticity of the border changing the ELASTICITY define.
4919
4920         * src/hildon-pannable-area.c: Added ELASTICITY define.
4921         (hildon_pannable_area_timeout): Added inverse velocity when
4922         touching the border of the child widget, that causes a bounce.
4923
4924 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4925
4926         Improved performance, we now do not go to the X server in order to
4927         get the list of window children. Apparently the effect is the
4928         same, we have to be careful and check if this breaks something in
4929         any corner case.
4930
4931         * src/hildon-pannable-area.c:
4932         (get_ordered_children): Removed this function.
4933         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4934         the children windows function with gdk_window_get_children.
4935
4936 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4937
4938         * src/hildon-pannable-area.c:
4939         (hildon_pannable_area_dispose): Fixed a crash when closing the
4940         window and kinetics is activated.
4941
4942 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
4943
4944         * src/hildon-pannable-area.h
4945         * src/hildon-pannable-area.c
4946         Changed indentation style to meet the one used in Hildon
4947
4948 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4949
4950         Reviewed the interaction of the AUTO mode, now we use the time
4951         attribute of the events and calculate the velocity in the motion,
4952         doing a gimp like calculation. The velocity is calculated in each
4953         motion event using the last velocity and the current one, the
4954         SMOOTH_FACTOR controls the percentage of the new velocity we use.
4955
4956         * src/hildon-pannable-area.c: Replaced the time based algorithm
4957         for the AUTO mode.
4958         (hildon_pannable_area_motion_notify_cb): now we do not launch the
4959         timeout for the AUTO mode when we are still moving the cursor. We
4960         added also the velocity calculation in this function.
4961         (hildon_pannable_area_button_release_cb): launch the timeout in
4962         case we are in AUTO mode. There are still some constants here that
4963         come from the old implementation that should be reviewed and
4964         handled properly.
4965
4966 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
4967
4968         * doc/hildon-docs.sgml
4969         * doc/hildon.types
4970         * src/Makefile.am
4971         * src/hildon-stackable-window.c
4972         * src/hildon-stackable-window.h
4973         * src/hildon.h
4974         New HildonStackableWindow widget
4975
4976         * examples/hildon-dialog-example.c
4977         * examples/hildon-pannable-area-example.c
4978         Updated copyright
4979
4980 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
4981
4982         * src/hildon-dialog.c
4983         (hildon_dialog_new_with_buttons): New constructor.
4984
4985         * examples/hildon-dialog-example.c
4986         (main): Update the example to use the new
4987         hildon_dialog_new_with_buttons().
4988
4989         * examples/hildon-pannable-area-example.c
4990         (main): Update example.
4991
4992 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4993
4994         * doc/hildon-docs.sgml
4995         * doc/hildon.types
4996         Added HildonPannableArea to the documentation.
4997
4998 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4999
5000         * doc/visual_index.xml
5001         Fix reference to HildonLoginDialog in documentation
5002
5003         * doc/hildon-docs.sgml
5004         * doc/hildon.types
5005         * examples/Makefile.am
5006         * examples/hildon-dialog-example.c
5007         * src/Makefile.am
5008         * src/hildon-dialog.c
5009         * src/hildon-dialog.h
5010         * src/hildon.h
5011         New HildonDialog widget.
5012
5013 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5014
5015         * src/hildon-pannable-area.c
5016         Merge latest changes (r4318, r4342) from libmokoui trunk
5017
5018 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5019
5020         * examples/Makefile.am
5021         * examples/hildon-pannable-area-example.c
5022         * src/Makefile.am
5023         * src/hildon-pannable-area.c
5024         * src/hildon-pannable-area.h
5025         * src/hildon.h
5026         New HildonPannableArea widget.
5027
5028 2008-04-15 18:05:19    <timj@imendio.com>
5029
5030         * src/hildon-banner.c: revert the recent change, that introduced
5031         gtk_window_present() calls. this reopens:
5032           Bug 78481 - [freetest] information banners are hidden under browser menu
5033         But resolves another variant of:
5034           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5035
5036 2008-04-15 13:21:13    <timj@imendio.com>
5037
5038         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5039         recreated its layout, spotted by Kris. this fixes all remaining
5040         artefacts and stability issues with the banner code. in particular:
5041         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5042
5043 2008-04-14 16:52:59    <timj@imendio.com>
5044
5045         * src/hildon-banner.c: guard force_to_wrap_truncated() against
5046         operating on unrealized widgets, fixes:
5047         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5048
5049         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5050
5051 2008-04-09  Kristian Rietveld  <kris@imendio.com>
5052
5053         Fixes: NB#77775: Media Player, Save Now playing list, too long name
5054         makes banner disappear.
5055         Fixes: NB#79182: info banner flickering with certain message lengts.
5056
5057         * src/hildon-banner.c (hildon_banner_constructor),
5058         (hildon_banner_init), (hildon_banner_set_text),
5059         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5060         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5061         FALSE, reset size requests of label and banner,
5062         (force_to_wrap_truncated): when the text is too wide, always enforce
5063         the maximum possible width instead of recalculating it from the
5064         layout; enforce the maximum banner height of 3 lines,
5065         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5066         nicer wrapping and no truncated chars if space gets tight.
5067
5068         * src/hildon-banner-private.h: add has_been_wrapped and
5069         has_been_truncated fields.
5070
5071 2008-04-07  Sven Herzberg  <sven@imendio.com>
5072
5073         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5074         local values in hildon_date_editor_size_allocate
5075
5076         * src/hildon-date-editor.c: moved the real allocation code into the
5077         if() branch
5078
5079 2008-04-07  Sven Herzberg  <sven@imendio.com>
5080
5081         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5082         local values in hildon_date_editor_size_allocate
5083
5084         * src/hildon-date-editor.c: merged the two if() branches together
5085
5086 2008-04-07  Sven Herzberg  <sven@imendio.com>
5087
5088         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5089         local values in hildon_date_editor_size_allocate
5090
5091         * src/hildon-date-editor.c: changed the arguments of the if()
5092         conditions
5093
5094 2008-04-07  Sven Herzberg  <sven@imendio.com>
5095
5096         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5097         local values in hildon_date_editor_size_allocate
5098
5099         * src/hildon-date-editor.c: split the calculation of the allocation
5100         from the real allocation
5101
5102 2008-03-27  Michael Natterer  <mitch@imendio.com>
5103
5104         Fixes: NB#81696: The passcode is not overwritten even after
5105         selecting
5106
5107         * src/hildon-code-dialog.c
5108         (hildon_code_dialog_button_clicked)
5109         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5110         because that doesn't overwrite selected text. Instead, emit the
5111         "commit" signal on the entry's im_context so the entry's normal
5112         insert logic is triggered. Set the cursor to the end of the entry
5113         after each insert operation so that we *only* insert in the middle
5114         of the text if something was selected.
5115
5116 2008-03-27  Michael Natterer  <mitch@imendio.com>
5117
5118         Enable fixing: NB#79916 and NB#79918: The help topic for Color
5119         selector cannot be opened
5120
5121         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5122         when the popup color selector is created. Please connect to this
5123         signal in order to set the dialog's help ID.
5124
5125 2008-03-25  Sven Herzberg  <sven@imendio.com>
5126
5127         Fixes: MB#1212: Hide info banners (infoprints) on click
5128
5129         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5130         extracted the close event simulation into an extra function
5131         (hildon_banner_button_press_event): simulate a close event and destroy
5132         the widget if the event wasn't handled
5133         (hildon_banner_class_init): added the button_press_event handler
5134         (hildon_banner_init): added button-press events to the widget
5135
5136 2008-03-25  Sven Herzberg  <sven@imendio.com>
5137
5138         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5139         Patch from: Mohammad Anwari  <mdamt@maemo.org>
5140
5141         * src/hildon-banner.c: let the HildonBanners pop up on the left side
5142         instead of the right in RTL mode
5143         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5144         breadcrumb button list in RTL mode
5145         * src/hildon-caption.c: mirror the appearance of the caption widget in
5146         RTL mode
5147         * src/hildon-date-editor.c: mirror appearance of the date editor in
5148         RTL mode
5149         * src/hildon-time-editor.c: mirror appearance of the time editor in
5150         RTL mode
5151         * src/hildon-window.c: fix the position of the popup in RTL mode
5152
5153 2008-03-25  Sven Herzberg  <sven@imendio.com>
5154
5155         Amendment to the fix of NB#22072. Fix compilation.
5156
5157         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5158
5159 2008-03-19  Sven Herzberg  <sven@imendio.com>
5160
5161         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5162         in Info Banner" bug
5163
5164         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5165         timeout id properly when the timeout will disappear this leaves no
5166         artifacts around in the destroy(); there will only be the timeout
5167         created by hildon_banner_ensure_timeout() and adding a new timeout
5168         will also work if the timeout gets removed because the timeout_handler
5169         returned FALSE
5170
5171 2008-03-19  Michael Natterer  <mitch@imendio.com>
5172
5173         Fixes: NB#79791: Cannot set focus to Master volume using stylus
5174
5175         * src/hildon-volumebar.c
5176         * src/hildon-vvolumebar.c
5177         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5178         the widget becomes focussable at all.
5179
5180         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5181         set the focus to wither the mute button or the volumebar.
5182
5183         Remove own "can-focus" property and instead listen to
5184         notify::can-focus in order to update the widget's state.
5185
5186         Implement GtkWidget::focus() and make sure we can also *leave* the
5187         widget, not only enter it, depending on volumebar orientation and
5188         requested focus direction.
5189
5190         Clean up set_mute() to cooperate nicely with all the above.
5191
5192 2008-03-04  Michael Natterer  <mitch@imendio.com>
5193
5194         Fixes: NB#78481: information banners are hidden under browser menu
5195
5196         * src/hildon-banner.c: call gtk_window_present() on the banners so
5197         they are risen if they are already visible.
5198
5199 2008-03-03  Sven Herzberg  <sven@imendio.com>
5200
5201         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5202
5203         * examples/hildon-window-menu-example.c: (main): extended the window
5204         menu example to serve as a testcase for automatically added
5205         accelerator groups, too
5206         * src/hildon-window.c: (hildon_window_add_accel_group),
5207         (hildon_window_set_menu): added patch by Tommi Komulainen
5208
5209 2008-03-03  Sven Herzberg  <sven@imendio.com>
5210
5211         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5212
5213         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5214         knowledge about the border allocators used within GTK+
5215
5216 2008-02-26  Sven Herzberg  <sven@imendio.com>
5217
5218         Fixes: MB#2981: Build with asserts broken
5219
5220         * src/hildon-date-editor.c,
5221         * src/hildon-number-editor.c,
5222         * src/hildon-time-editor.c,
5223         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5224         the proper GType instance check
5225
5226 2008-02-25  Sven Herzberg  <sven@imendio.com>
5227
5228         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5229
5230         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5231         * examples/hildon-window-menu-example.c: (main): explicitly show
5232         the menu item
5233         * src/hildon-window.c:
5234         (hildon_window_set_main_menu): moved most of the code from set_menu()
5235         to this place; skipped the call to gtk_widget_show_all(); also didn't
5236         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5237         (hildon_window_set_menu): removed most of the code, just keep the
5238         questionable gtk_widget_show_all()
5239         * src/hildon-window.h: added the new function and deprecate the old
5240         one
5241
5242 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5243
5244         [2.0.1-1 release]
5245
5246         * NEWS:
5247         * configure.ac:
5248         * debian/changelog: Updating.
5249
5250 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5251
5252         * configure.ac:
5253         * pkgconfig/Makefile.am:
5254         * pkgconfig/hildon.pc.in:
5255         * src/Makefile.am:
5256
5257         Do not use PACKAGE_VERSION_MAJOR as the API revision,
5258         use newly created API_MAJOR_VERSION.
5259
5260 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5261
5262         [2.0.0-1 release]
5263
5264         * NEWS:
5265         * configure.ac:
5266         * debian/changelog: Updating.
5267
5268 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5269
5270         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5271
5272         Add outer_border style property, we use it but don't define it (!).
5273
5274         Fixes NB#75310
5275
5276 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
5277
5278         * examples/hildon-bread-crumb-trail-example.c (main):
5279
5280         Add clear button.
5281
5282         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5283
5284         Fix logic for the bread crumb trail node removal.
5285
5286         Fixes: NB#78616
5287
5288 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5289
5290         [1.99.1-1 release]
5291
5292         * NEWS:
5293         * configure.ac:
5294         * debian/changelog: Updating.
5295
5296 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5297
5298         Patch by Alejandro to get/set passwords dialogs accesibility.
5299
5300         * hildon-1/src/hildon-get-password-dialog.c:
5301         * hildon-1/src/hildon-set-password-dialog.c:
5302         Set atk_set_name to the passwd entries in order to allow
5303         accessibility by name on this entries.
5304
5305 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5306
5307         [1.99.0-2 release]
5308
5309         * debian/changelog:
5310         * debian/control: Updating gtk dep.
5311
5312 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
5313
5314         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5315         USE_MAEMO_GTK is enabled.
5316
5317 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
5318
5319         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5320         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5321
5322 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5323
5324         [1.99.0-1 release]
5325
5326         * NEWS:
5327         * configure.ac:
5328         * debian/changelog: Updating.
5329
5330 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5331
5332         * examples/Makefile.am:
5333         * examples/hildon-logical-color-example.c:
5334         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5335         applied + adding a test case. Fixes: NB#71660.
5336
5337 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
5338
5339         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5340         to be visible, fixes warning on map for windows without toolbars.
5341
5342 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
5343
5344         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5345         2.11.0, add a check for that besides the MAEMO_GTK check.
5346
5347 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5348
5349         [1.0.17-1 release]
5350
5351         * NEWS:
5352         * configure.ac:
5353         * debian/changelog: Updating.
5354
5355 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5356
5357         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5358         visibility. Fixes: NB#70842 and MB#615.
5359
5360 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5361
5362         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5363         set the separator as no-show-all so it doesn't unintentionally appear when
5364         someone does a show_all.
5365
5366 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5367
5368         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5369         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5370         toplevel item. Fixes: NB#62031
5371
5372 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
5373
5374         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5375         fix the name of the function in the docs.
5376
5377 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5378
5379         [1.0.16-1 release]
5380
5381         * NEWS:
5382         * configure.ac:
5383         * debian/changelog: Updating.
5384
5385 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5386
5387         * examples/hildon-banner-long-example.c: Adding a test-case for long
5388         hildon banner.
5389
5390         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5391
5392 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5393
5394         * src/hildon-color-chooser-dialog.c:
5395         * src/hildon-color-chooser.c:
5396         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5397         memory leaks in font selector and color selector. Fixes: NB#70499 and
5398         NB#70474.
5399
5400 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
5401
5402         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5403
5404 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5405
5406         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5407         little bit bigger. Fixes: #NB63694.
5408
5409 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5410
5411         [1.0.15-1 release]
5412
5413         * NEWS:
5414         * configure.ac:
5415         * debian/changelog: Updating.
5416
5417 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5418
5419         * doc/Makefile.am:
5420         * doc/hildon-docs.sgml:
5421         * doc/images/bread-crumb-trail.png:
5422         * doc/images/calendar-popup.png:
5423         * doc/images/caption.png:
5424         * doc/images/code-dialog.png:
5425         * doc/images/color-button.png:
5426         * doc/images/color-chooser-dialog.png:
5427         * doc/images/color-chooser.png:
5428         * doc/images/controlbar.png:
5429         * doc/images/date-editor.png:
5430         * doc/images/font-selection-dialog.png:
5431         * doc/images/get-password-dialog.png:
5432         * doc/images/hvolumebar.png:
5433         * doc/images/login-dialog.png:
5434         * doc/images/note.png:
5435         * doc/images/number-editor.png:
5436         * doc/images/range-editor.png:
5437         * doc/images/seekbar.png:
5438         * doc/images/set-password-dialog.png:
5439         * doc/images/sort-dialog.png:
5440         * doc/images/time-editor.png:
5441         * doc/images/time-picker.png:
5442         * doc/images/vvolumebar.png:
5443         * doc/images/weekday-picker.png: Adding the new generated widget shots.
5444         Adding the bread-crumb-trial and helpers to the documentation.
5445
5446 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5447
5448         * examples/hildon-find-toolbar-example.c:
5449         * src/hildon-find-toolbar.c:
5450         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5451         actually continue firing the other handlers if connected. Adding a new
5452         function:
5453         hildon_find_toolbar_get_last_index that gets the index of the most
5454         recently added (last) item. Fixes: NB#52301.
5455
5456 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5457
5458         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5459         behaviour. Fixes: NB#68610.
5460
5461 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5462
5463         * src/hildon-banner.c: Actually reverting the previous change. It somehow
5464         looks a bit worse.
5465
5466 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5467
5468         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5469         when realizing the banner. Should make the infonbanner effect a bit more
5470         bearable.
5471
5472 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5473
5474         * src/hildon-volumebar.c:
5475         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5476         hildon_volumebar_set_range_insensitive_message and
5477         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5478
5479 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5480
5481         * src/hildon-window.c: Fixing the border freeing on destroy.
5482
5483 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5484
5485         * src/hildon-code-dialog-private.h:
5486         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5487         kw keyboard support in HildonCodeDialog.
5488
5489 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5490
5491         [1.0.14-1 release]
5492
5493         * NEWS:
5494         * configure.ac:
5495         * debian/changelog: Updating.
5496
5497 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5498
5499         * src/hildon-date-editor.c:
5500         * src/hildon-number-editor.c:
5501         * src/hildon-private.c:
5502         * src/hildon-private.h:
5503         * src/hildon-time-editor.c:
5504         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5505         handling in subclassed composite widgets. Fixes: NB#66628.
5506
5507 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5508
5509         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5510         from destroy_ callback as it introduces problems in async dbus signal
5511         handlers. Fixes NB#66673.
5512
5513 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5514
5515         * examples/hildon-hvolumebar-example.c:
5516         * src/hildon-volumebar.c: Improving the focus handling in the
5517         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5518         set_property accessor so that "mute" property can be actually set. I'm
5519         scared that nobody noticed it's totally broken.
5520
5521 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5522
5523         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5524         Fixes NB#66548.
5525
5526 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5527
5528         * src/hildon-calendar.c:
5529         * src/hildon-number-editor.c:
5530         * src/hildon-time-picker.c: Changing the timeout repeat so that it
5531         matches the spec of 6 chars per second. Fixes: NB#60489.
5532
5533 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5534
5535         * src/hildon-helper.c: Really fixing NB#58352. Looks like
5536         gtk_style_lookup_color sometime returns FALSE even though color was
5537         found and values were filled properly. Weird. Removing the warning for the
5538         time being.
5539
5540 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5541
5542         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5543         expand vertically. Adding some extra space to the find toolbar buttons to
5544         make them thumbable. Fixes NB#66060.
5545
5546 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5547
5548         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5549         popup with "Ok" and "Cancel". Fixes NB#59299.
5550
5551 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5552
5553         * src/hildon-calendar.c: Process all window updates before executing next
5554         timeout. Fixes: NB#54146.
5555
5556 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5557
5558         [1.0.13-1 release]
5559
5560         * NEWS:
5561         * configure.ac:
5562         * debian/changelog: Updating.
5563
5564 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5565
5566         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5567         the client event and ignore it, since we use the delete event to close
5568         after timeouts.
5569
5570 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5571
5572         * src/hildon-helper.c: Remove the bogus warning about color not being
5573         found. Fixes NB#58352.
5574
5575 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5576
5577         * examples/Makefile.am:
5578         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5579         HildonSeekbar widget inside a toolbar.
5580
5581 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5582
5583         * src/hildon-banner.c (hildon_banner_init): mark the banners as
5584         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5585         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5586         don't want to be closed by non-temporary windows on map.
5587
5588         Also use G_DEFINE_TYPE instead of manually typed code.
5589
5590 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5591
5592         [1.0.12-1 release]
5593
5594         * NEWS:
5595         * configure.ac:
5596         * debian/changelog:
5597         * debian/rules: Updating.
5598
5599 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5600
5601         * examples/Makefile.am:
5602         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5603         bug NB#61128. Strangely it works.
5604
5605 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5606
5607         * src/hildon-date-editor.c: When the date editor entry has been changed
5608         but the numbers of characters < max, turn off the skip validation flag.
5609         Prevents a situation when we enter first a valid year and later re-write
5610         it with an invalid one. Fixes NB#60154.
5611
5612 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5613
5614         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5615         code dialog. Fixes NB#64355.
5616
5617 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5618
5619         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5620         switching the page. Fixes NB#49374.
5621
5622         * examples/Makefile.am:
5623         * examples/hildon-wizard-dialog-example.c: Adding an example for
5624         HildonWizardDialog that shows how to handle manual sensitivity setting on
5625         the wizard dialog.
5626
5627 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5628
5629         * configure.ac:
5630         * src/Makefile.am:
5631         * src/hildon-version.h.in:
5632         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5633
5634 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5635
5636         * src/hildon-volumebar.c: Updating the docs.
5637
5638 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5639
5640         [1.0.11-1 release]
5641
5642         * NEWS:
5643         * configure.ac:
5644         * debian/changelog: Updating.
5645
5646 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5647
5648         * src/hildon-find-toolbar.c:
5649         * src/hildon-find-toolbar.h: Adding a few new functions to control the
5650         selected item: hildon_find_toolbar_set_active,
5651         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5652         hildon_find_toolbar_get_active_iter . They correspond to respective
5653         GtkComboBox functions.
5654
5655         * examples/Makefile.am:
5656         * examples/hildon-find-toolbar-example.c: Adding the example to test the
5657         new functionality.
5658
5659 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5660
5661         * examples/Makefile.am:
5662         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5663         theming easily.
5664
5665         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5666         when font size > 32 and we pack a focusable widget inside. Actually using
5667         the default response would work too, but since we don't show default
5668         response state in any way (no theming) it would not be visible to the
5669         user. Fixes NB#63430.
5670
5671 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5672
5673         * src/hildon-date-editor.c: Adding the missing variable setter in the
5674         set_property handler. Fixes NB#54182.
5675
5676 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5677
5678         * src/hildon-window.h: Changing the long key press time from 1500ms to
5679         800ms as requested in NB#63700. I have a bad feeling about this, let's
5680         see... Fixes NB#63700.
5681
5682 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
5683
5684         * src/hildon-time-picker.c (hildon_time_picker_class_init,
5685         hildon_time_picker_map, hildon_time_picker_realize,
5686         hildon_time_picker_style_set): Split the contents of map to more
5687         appropriate functions; set window decorations on realize and update
5688         arrows' size requisitions on style-set. Avoids unnecessary resizing.
5689
5690 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
5691
5692         [1.0.10-2 release]
5693
5694         * NEWS:
5695         * debian/changelog: Updating.
5696
5697 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
5698
5699         * src/Makefile.am: fixed installation of the header files
5700
5701 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5702
5703         [1.0.10-1 release]
5704
5705         * NEWS:
5706         * configure.ac:
5707         * debian/changelog: Updating.
5708
5709 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5710
5711         * configure.ac: Removing some remaining of --enable-xan.
5712
5713 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
5714
5715         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5716         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5717
5718         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5719         2.10.12-osso6 because the move-focus signal needs to be available in
5720         GtkWidget.
5721
5722 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5723
5724         * examples/Makefile.am:
5725         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5726         that makes a HildonVolumebar insensitive before mapping it. Seems to work
5727         fine. Prolly NB#61128 is fixed now.
5728
5729 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5730
5731         * src/hildon-volumebar.c:
5732         * src/hildon-volumebar.h: Adding the
5733         hildon_volumebar_set_range_insensitive_message and
5734         hildon_volumebar_set_range_insensitive_messagef functions to set
5735         insensitive message on the slider of the volumebar. Fixes NB#61129.
5736
5737         * examples/Makefile.am:
5738         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5739         test the new insensitive messsage functionality on HildonVolumebar.
5740
5741 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
5742
5743         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5744         work again.
5745
5746 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
5747
5748         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5749         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5750         button on after clearing the trail.
5751
5752 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5753
5754         * src/hildon-code-dialog.c: Removing the separator from the dialog.
5755
5756 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5757
5758         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5759         by splitting the installed headers in generated and non-generated groups. Use
5760         only the non-generated headers to create the hildon-enum-types.h file.
5761
5762         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5763
5764 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5765
5766         * src/hildon-window.c: Hide the window before performing the destroy.
5767         Should make the app closing a little tiny bit more snappy.
5768
5769 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5770
5771         * src/hildon-seekbar.c: add gtkrange.h header
5772         * src/hildon-caption.c: remove unused variable
5773
5774 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
5775
5776         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5777         Loic Minier.
5778
5779 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5780
5781         [1.0.9-1 release]
5782
5783         * NEWS:
5784         * configure.ac:
5785         * debian/changelog: Updating.
5786
5787 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
5788
5789         * src/hildon-window.c (hildon_window_window_state_event,
5790         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5791         escape timeout on focus-out-event rather than notify::is-topmost; the
5792         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5793
5794 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5795
5796         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5797         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5798
5799 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5800
5801         * src/hildon-window: actually, you need to use the macro always, there's
5802         no private pointer in the instance structure. We should have cleaned this up
5803         when we had the chance...
5804
5805 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5806
5807         * src/hildon-window.c: do not get the private date from HildonWindow before
5808         it passes the g_return_if_fail check. Once it's passed the test, there's no
5809         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5810         if you are only going to access the data once. Whitespace cleanups.
5811
5812 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
5813
5814         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5815         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5816
5817 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5818
5819         [1.0.8-1 release]
5820
5821         * NEWS:
5822         * configure.ac:
5823         * debian/changelog: Updating.
5824
5825 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5826
5827         * src/hildon-window.c: When destroying the window, remove (if exists) the
5828         escape timeout handler. Fixes #NB59276.
5829
5830 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5831
5832         * src/hildon-banner.c: When realizing the widget, set the window
5833         transiency. Setting the transiency in the gobject constructor is not
5834         good, as the widget is not realized at that point. Fixes: #NB56624.
5835
5836 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5837
5838         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5839         Add padding for future expansions.
5840
5841 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5842
5843         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5844         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5845         will fake an activation on the previous to the last item of the trail, so
5846         the effect can be overrided by the developer as usual.
5847         Also change the callback for the back button to do the same thing, so its
5848         effect can be overrided too. Fixes: NB#58982
5849
5850 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5851
5852         * src/hildon-caption.c: Implementing the proper focus grabbing in the
5853         HildonCaption. Fixes NB#52379.
5854
5855 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5856
5857         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5858         the internal state of the trail after the user has had the chance of executing
5859         his handler for the signal. Specifically, it may happen that the activated button
5860         is removed and the user still lets the default handler run. This would segfault
5861         previously.
5862
5863 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5864
5865         * src/hildon-font-selection-dialog.c: When the font is really big, add the
5866         scrollbar to the preview dialog. Fixes NB#54147.
5867
5868 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5869
5870         * src/hildon-date-editor.c: Changing the default max year to 2037. The
5871         max/min year properties can be altered, so the client can modify it
5872         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5873
5874 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5875
5876         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5877         hildonlike by default. Fixing a problem with disappearing arrows when
5878         scrolling through months and years. Fixes NB#54127.
5879
5880 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5881
5882         * examples/hildon-date-editor-example.c: Adding error callback to the date
5883         editor example.
5884
5885 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5886
5887         [1.0.7-1 release]
5888
5889         * NEWS:
5890         * debian/changelog:
5891         * configure.ac: Updating.
5892
5893 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5894
5895         * configure.ac: Adding a special '--enable-xan' configure option that
5896         turns off the -Werror compilation setting. Usefull for development.
5897
5898         * src/hildon-calendar.c:
5899         * src/hildon-number-editor.c:
5900         * src/hildon-time-picker.c: Adding the 5* multiplier to
5901         gtk-timeout-update.
5902
5903 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
5904
5905         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5906         instead of g_object_ref + gtk_object_sink.
5907
5908 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5909
5910         [1.0.6-1 release]
5911
5912         * NEWS:
5913         * configure.ac:
5914         * debian/changelog: Updating.
5915
5916 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5917
5918         * src/hildon-color-chooser-dialog.c:
5919         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5920         straight from Tommi labs.
5921
5922 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5923
5924         * examples/hildon-finger-example.c: Correcting the header file path.
5925
5926         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5927         the changed signal. Fixes a small memory leak.
5928
5929 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5930
5931         * autogen.sh:
5932         * debian/rules:
5933         * src/hildon-banner.c: Importing several usefull fixes from the
5934         ubuntu-mobile branch.
5935
5936 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5937
5938         * examples/Makefile.am:
5939         * examples/hildon-finger-example.c: Adding a finger-checking code
5940         example.
5941
5942         * src/hildon-font-selection-dialog.c: Do not allocate the color
5943         structure using the g_new. Fixes NB#54061.
5944
5945 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5946
5947         * src/hildon-helper.c: Correcting tabs in file.
5948
5949 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
5950
5951         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5952         control the visibility of the children.
5953
5954         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5955
5956 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5957
5958         [1.0.5-1 release]
5959
5960         * NEWS:
5961         * configure.ac:
5962         * debian/changelog: Updating.
5963
5964 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5965
5966         * src/hildon-bread-crumb-trail.c:
5967         (hildon_bread_crumb_trail_size_allocate):
5968
5969         Make the back button always a square.
5970
5971 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5972
5973         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5974         from the .c file as it's a private file.
5975
5976 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5977
5978         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5979         uses slightly bigger height.
5980
5981         * src/hildon-font-selection-dialog.c: Adding some checks before
5982         freeing memory in the font selection dialog.
5983
5984 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5985
5986         * src/hildon-font-selection-dialog.c: Adding a small check when
5987         freeing memory.
5988
5989         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5990         buttons sensitivity on page switching.
5991
5992 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
5993
5994         * src/hildon-bread-crumb-trail.c: make the add method handle all the
5995         internal details of adding a bread crumb to the trail.
5996
5997 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5998
5999         [1.0.4-1 release]
6000
6001         * README:
6002         * configure.ac:
6003         * debian/changelog: Updating.
6004
6005         * src/hildon-bread-crumb-trail.h:
6006         * src/hildon-bread-crumb.h: Changing the API guard to
6007         HILDON_ENABLE_UNSTABLE_API.
6008
6009 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6010
6011         [1.0.3-1 release]
6012
6013         * NEWS:
6014         * configure.ac:
6015         * debian/changelog:
6016         * debian/rules:
6017         * src/hildon-helper.h: Updating.
6018
6019 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6020
6021         [1.0.2-1 release]
6022
6023         * NEWS:
6024         * configure.ac:
6025         * debian/changelog:
6026
6027 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6028
6029         * README:
6030         * configure.ac:
6031         * src/hildon-helper.h: Small fix to make the package actually compile.
6032
6033 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6034
6035         * src/hildon-bread-crumb-trail.h:
6036         * src/hildon-bread-crumb.h:
6037
6038         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6039         to define ENABLE_UNSTABLE_API in the code that includes these headers.
6040
6041 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
6042
6043         * examples/hildon-bread-crumb-trail-example.c:
6044         * src/Makefile.am:
6045         * src/hildon-bread-crumb-trail.c:
6046         * src/hildon-bread-crumb-trail.h:
6047         * src/hildon-bread-crumb.c:
6048         * src/hildon-bread-crumb.h:
6049         * src/hildon-marshalers.list:
6050         * src/hildon-bread-crumb-widget.c:
6051         * src/hildon-bread-crumb-widget.h:
6052
6053         Slight change in the widget design. The bread crumb trail API is
6054         unchanged, but HildonBreadCrumb is now an interface. A *private*
6055         implementation, hildon-bread-crumb-widget, is provided and used
6056         internally by the trail for the push_text/push_icon functions.
6057
6058         The generic push API is still available, so anyone can implement
6059         and use its own bread crumb widget.
6060
6061 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6062
6063         * debian/rules: Fixing the shlibs.
6064
6065 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6066
6067         * src/hildon-banner.c: Fixing a problem with timed banners having
6068         their parrent destroyed before they are.
6069
6070 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
6071
6072         * src/hildon-bread-crumb.c:
6073         * src/hildon-bread-crumb.h:
6074
6075         Make the get_natural_size function a vfunc.
6076
6077 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6078
6079         * src/hildon-bread-crumb.c:
6080         * src/hildon-bread-crumb-trail.c:
6081
6082         Some cleanups.
6083
6084 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6085
6086         [1.0.1-1 release]
6087
6088         * AUTHORS:
6089         * NEWS:
6090         * configure.ac:
6091         * debian/changelog: Updating for release.
6092
6093 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6094
6095         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6096         don't leak the pango layout.
6097
6098 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6099
6100         * src/hildon.h:
6101         * examples/hildon-bread-crumb-trail-example.c:
6102
6103         Fix example.
6104
6105 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6106
6107         * debian/changelog: Removing the bug-fixed entries that were actually
6108         resolved as WONTFIX.
6109
6110         * src/hildon-date-editor.c: Removing a redundant check. Fixes
6111         NB#54182.
6112
6113 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6114
6115         * src/hildon-bread-crumb-trail.c:
6116         * src/hildon-bread-crumb-trail.h:
6117         * src/hildon-bread-crumb.c:
6118         * src/hildon-bread-crumb.h:
6119
6120         Untabify.
6121
6122 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6123
6124         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6125         until it's passed the type check.
6126
6127 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6128
6129         * examples/hildon-bread-crumb-trail-example.c
6130
6131         Add license.
6132
6133 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6134
6135         * examples/Makefile.am
6136         * examples/hildon-bread-crumb-trail-example.c
6137         * src/Makefile.am
6138         * src/hildon-bread-crumb-trail.c
6139         * src/hildon-bread-crumb-trail.h
6140         * src/hildon-bread-crumb.c
6141         * src/hildon-bread-crumb.h
6142
6143         New HildonBreadCrumbTrail widget.
6144
6145 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
6146
6147         * src/hildon-range-editor.c (hildon_range_editor_init),
6148         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6149         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6150         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6151         hildon_time_editor_class_init, hildon_time_editor_init),
6152         src/hildon-get-password-dialog.c (invalid_input,
6153         hildon_get_password_set_property, hildon_get_password_get_property,
6154         create_contents, hildon_get_password_dialog_set_max_characters),
6155         src/hildon-set-password-dialog.c (create_contents),
6156         src/hildon-date-editor.c (hildon_date_editor_init),
6157         src/hildon-login-dialog.c (hildon_login_dialog_init),
6158         src/hildon-number-editor.c (hildon_number_editor_init),
6159         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6160         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6161         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6162          configure option and adding the respective checks in the code.
6163         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6164         hildon_calendar_drag_data_received): fixed some build warnings.
6165
6166 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6167
6168         * debian/changelog: A 1.0.0 release notes.
6169