1 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-02-20 Alejandro G. Castro <alex@igalia.com>
11 * src/hildon-pannable-area.c,
12 (hildon_pannable_area_get_topmost),
13 (hildon_pannable_area_button_press_cb),
14 (hildon_pannable_area_button_release_cb),
15 (hildon_pannable_get_child_widget_at): Reverted the patch for the
16 topmost function adding the event mask. We have to try a
17 differente approach because it is still causing problems (NB#9745,
20 2009-02-19 Alberto Garcia <agarcia@igalia.com>
22 * src/hildon-banner.c:
23 Update the maximum width of timed banners.
24 (force_to_wrap_truncated): Enforce the maximum text width if the
27 Fixes: NB#102413 (The text margins (wrapping) in information
28 banner should be HILDON_MARGIN_TRIPLE)
30 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
32 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
34 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
35 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
36 bound when calculating the scroll indicator position.
38 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
39 treat ->lower correctly)
41 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
43 * src/hildon-caption.c (hildon_caption_class_init): Remove the
44 expose event handling, since it is not necessary to draw the focus
47 Fixes: NB#102467 (Do not show highlight on the text in
50 2009-02-18 Alberto Garcia <agarcia@igalia.com>
52 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
53 full height of the toolbar for the button and the label.
55 2009-02-18 Alberto Garcia <agarcia@igalia.com>
57 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
58 padding before the label and after the button.
60 2009-02-18 Alberto Garcia <agarcia@igalia.com>
62 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
64 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
65 Add a GtkVSeparator between the button and the back arrow.
66 Let the button have automatic size.
67 Set a name to the widget for theming handling.
69 Fixes: NB#101793 (Make edit toolbar the same height as window
70 title bar (use title area theming))
72 2009-02-18 Alberto Garcia <agarcia@igalia.com>
74 * src/hildon-helper.c (attach_new_color_element): Fix memory
77 Fixes: NB#102262 (memory leak in hildon_button_set_style())
79 2009-02-18 Alberto Garcia <agarcia@igalia.com>
81 * examples/hildon-button-example.c (common_buttons_window): Don't
84 2009-02-18 Alberto Garcia <agarcia@igalia.com>
86 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
87 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
89 2009-02-18 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-gtk.c: Check that the window is realized.
93 Fixes: NB#102225 (Crash setting the progress indicator to a non
96 2009-02-17 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
99 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
100 instead of modifying the one in the widget style.
102 Fixes: NB#101043 (Second row of all the command button are
103 displayed in transparent mode.)
105 2009-02-17 Alberto Garcia <agarcia@igalia.com>
107 * src/hildon-date-button.c
108 * src/hildon-time-button.c: Add gettext macros
110 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
112 * src/hildon-date-button.c (hildon_date_button_new):
113 * src/hildon-time-button.c (hildon_time_button_new_step):
114 Use new logical strings to set the button default title.
116 Fixes: NB#99915 (Date and Time options are not localised in Date
119 2009-02-16 Alejandro G. Castro <alex@igalia.com>
121 * src/hildon-pannable-area.c
122 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
123 the PANNING_THRESHOLD.
125 2009-02-16 Alejandro G. Castro <alex@igalia.com>
127 * src/hildon-pannable-area.c,
128 (hildon_pannable_area_class_init): Increased the maximum speed.
129 (hildon_pannable_area_get_property),
130 (hildon_pannable_area_set_property),
131 (hildon_pannable_area_timeout): Added a new low friction mode, it
132 allows the user avoid friction when launching the widget fast
133 enough. It is interesting to traverse long lists.
135 2009-02-16 Alberto Garcia <agarcia@igalia.com>
137 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
138 (+hildon_stackable_window_delete_event): Ignore delete events if
139 the window is not the topmost one.
141 Fixes: NB#101698 (Back button long press and delete-event handling)
143 2009-02-16 Alejandro G. Castro <alex@igalia.com>
145 * src/hildon-pannable-area.c,
146 (hildon_pannable_area_motion_notify_cb): Removed the use of the
147 gtk-dnd-drag-threshold, it was too big. We have defined our own
148 dnd define and set a smaller value: PANNIG_THRESHOLD.
150 2009-02-16 Alberto Garcia <agarcia@igalia.com>
152 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
153 user-defined icons, use always the default one.
155 Fixes: NB#101916 (Do not allow custom icons on animation banner)
157 2009-02-13 Alejandro G. Castro <alex@igalia.com>
159 This patch was applied before but reverted because it caused
160 problems, we have changed the main condition and tested the
161 regressions we detected before and they work ok.
163 * src/hildon-pannable-area.c,
164 (hildon_pannable_area_get_topmost): Added a new parameter to
165 filter the the windows that do not include those events. Added
166 also a condition when finding the window to filter windows that do
167 not ask for those events.
168 (hildon_pannable_area_button_press_cb),
169 (hildon_pannable_area_button_release_cb),
170 (hildon_pannable_get_child_widget_at): Reviewed the call the the
171 topmost function, we have added the new parameter.
173 Fixes: NB#97458 (Pannable area prevents propagation of button
176 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
178 * tests/check-hildon-color-button.c (START_TEST): do not leak
181 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
183 * src/hildon-font-selection-dialog.c
184 (hildon_font_selection_dialog_get_preview_text): Return NULL
185 instead of FALSE on the g_return_val_if_fail().
187 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-time-selector.c (hildon_time_selector_set_time):
190 * src/hildon-date-selector.c
191 (hildon_date_selector_select_current_date):
192 Do not compare unsigned integers to be greater than or equal 0,
193 because it's always TRUE.
195 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
197 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
198 (hildon_date_selector_constructor): Do not select the current
199 date until we are handle the "changed" signal, to avoid having bogus
200 elements in the days model.
202 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
204 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
205 for num_days, since _month_days() can return a negative value.
207 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
209 * src/hildon-caption.c (hildon_caption_size_allocate):
210 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
211 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
213 Initialize allocation variables to 0, to avoid eventually using
214 unitialized variables.
216 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
218 * src/hildon-bread-crumb-trail.c
219 (hildon_bread_crumb_trail_size_allocate):
220 * src/hildon-calendar.c (hildon_calendar_set_background):
221 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
222 * src/hildon-range-editor.c (hildon_range_editor_get_range):
223 * src/hildon-seekbar.c (hildon_seekbar_init):
224 * src/hildon-time-editor.c (hildon_time_editor_get_time):
225 * src/hildon-time-selector.c (hildon_time_selector_finalize):
226 * src/hildon-touch-selector-entry.c
227 (hildon_touch_selector_get_text_from_model):
228 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
229 * src/hildon-window.c (hildon_window_finalize):
231 Remove many unused variables.
233 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-seekbar.c: (hildon_seekbar_init),
236 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
238 Remove unnecessary g_assert() calls.
240 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-caption.c: (hildon_caption_expose),
243 (hildon_caption_set_property), (hildon_caption_init),
244 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
245 (hildon_caption_size_request), (hildon_caption_size_allocate),
246 (hildon_caption_forall), (hildon_caption_set_separator),
247 (hildon_caption_activate), (hildon_caption_set_child_expand),
248 (hildon_caption_set_label_text),
249 (hildon_caption_get_label_alignment):
251 Remove unnecessary g_assert() calls.
253 2009-02-12 Alberto Garcia <agarcia@igalia.com>
255 * src/hildon-banner.c
256 (hildon_banner_map, hildon_banner_init): Make banner temporary
257 before mapping it to avoid closing other temporary windows, but
258 make it non-temporary afterwards to avoid being closed by other
259 non-temporary windows.
260 (-hildon_banner_client_event, hildon_banner_init):
261 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
263 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
266 2009-02-11 Alberto Garcia <agarcia@igalia.com>
268 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
271 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
273 * src/hildon-remote-texture.c
274 * src/hildon-remote-texture.h
275 * src/hildon-remote-texture-private.h
276 * examples/hildon-remote-texture-example.c:
277 Updates/fixes to remote-texture and its example.
279 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
281 Patch by Mox Soini (ext-mox.soini@nokia.com)
283 * src/hildon-code-dialog.c: Update logical id.
284 * src/hildon-set-password-dialog.c: Update logical id.
286 Fixes: NB#100646 (Logical strings is shown for ok in set
287 password,Password needed dialogs)
289 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
292 * src/hildon-remote-texture.c
293 * src/hildon-remote-texture.h
294 * src/hildon-remote-texture-private.h
296 Added remote texture widget (for Clutter shared memory textures)
298 * examples/hildon-remote-texture-example.c
299 * examples/Makefile.am
300 Added example file for remote texture usage
302 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: post release version bump.
305 * debian/changelog: version bump.
307 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
312 * configure.ac: Bump version.
313 * debian/changelog: Updates.
315 2009-02-06 Alberto Garcia <agarcia@igalia.com>
317 * src/hildon-date-selector.c (hildon_date_selector_init)
318 (hildon_date_selector_constructor): Don't connect to the "changed"
319 signal until the selector is completely constructed.
321 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
323 * src/hildon-touch-selector.c: (_create_new_column),
324 (hildon_touch_selector_append_column),
325 (hildon_touch_selector_set_column_selection_mode),
326 (hildon_touch_selector_set_active),
327 (hildon_touch_selector_select_iter):
328 Emit the HildonTouchSelector::changed signal every time selection
329 is changed in any of the methods above. This behavior was already
330 documented but not fully functional.
332 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
333 selection is programmatically changed)
335 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
337 * doc/hildon-sections.txt: Remove obsolete icon
338 sizes from here as well.
340 2009-02-05 Alberto Garcia <agarcia@igalia.com>
342 * examples/hildon-stackable-window-example.c (add_window): Remove
345 2009-02-05 Alberto Garcia <agarcia@igalia.com>
347 * src/hildon-app-menu.c
348 (hildon_app_menu_show): Check whether the parent window of a menu
349 is topmost before popping it up.
351 Fixes: NB#100468 (Application menu window is launched even when a
352 new secondary-window/dialog is pending to be shown/realized.)
354 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
356 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
359 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
361 Patch by Mox Soini (ext-mox.soini@nokia.com)
363 * src/hildon-banner.c: (hildon_banner_show_animation):
364 use stylus size instead of obsolete note size.
365 * src/hildon-defines.h: Update icon sizes.
367 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-touch-selector-entry.c:
370 (hildon_touch_selector_entry_init): Disable unsupported
372 (hildon_touch_selector_entry_get_text_column): Emit a warning
373 if an unsupported input modes is used and explicitile state
374 these modes in the documentation.
376 Fixes: NB#99802 (Hildon touch selector entry not working properly
377 for some of the input modes)
379 2009-02-05 Alejandro G. Castro <alex@igalia.com>
381 * src/hildon-pannable-area.c,
382 (hildon_pannable_area_init): Added the changed signal handlers of
385 Fixes: NB#100320 (HildonPannableArea does not listen to
386 GtkAdjustment "change" signals)
388 2009-02-04 Alberto Garcia <agarcia@igalia.com>
390 * doc/hildon-sections.txt
391 * src/hildon-window-private.h
392 * src/hildon-window.h
393 * src/hildon-window.c (hildon_window_init)
394 (hildon_window_realize, hildon_window_unrealize)
395 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
396 (hildon_window_size_request, hildon_window_size_allocate)
397 (hildon_window_forall, hildon_window_show_all)
398 (hildon_window_destroy, +paint_edit_toolbar)
399 (+hildon_window_set_edit_toolbar):
400 New hildon_window_set_edit_toolbar() method, to add a
401 HildonEditToolbar to a window without having to pack it manually.
403 Reorganize hildon_window_size_allocate()
405 * src/hildon-edit-toolbar.c: Update documentation.
407 * examples/hildon-edit-toolbar-example.c (edit_window): Update
408 example to use the new API.
410 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
412 2009-02-04 Alberto Garcia <agarcia@igalia.com>
414 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
415 Remove from stack before calling parent's hide.
417 2009-02-04 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
420 window is removed from the middle of the stack, update the
421 transiency of the previous one.
423 Fixes: NB#100487 (HildonStackableWindow transiency becomes
426 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
428 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
429 block/unblock the signal handler if it's not actually being used.
430 Fixes some critical warnings.
432 2009-02-02 Alberto Garcia <agarcia@igalia.com>
434 Based on a patch by Iván Gómez (igomez@igalia.com)
436 * src/hildon-banner.c
440 * src/hildon-pannable-area.c
441 * src/hildon-picker-dialog.c
442 * src/hildon-wizard-dialog.h
443 * src/hildon-wizard-dialog.c: Documentation updates.
445 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
446 gtk_dialog_add_button() instead of hildon_dialog_add_button().
448 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
450 * configure.ac: post release version bump.
451 * debian/changelog: version bump.
453 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: Bump version.
459 * debian/changelog: Updates.
461 2009-01-29 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
464 a stock icon nor change the relief of the back arrow.
466 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
469 2009-01-29 Alberto Garcia <agarcia@igalia.com>
471 * src/hildon-button.c (hildon_button_set_alignment): Use
472 priv->alignment if the button has no child yet.
474 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-button.c: (hildon_button_init): Set the
477 button style during initialization to give it the proper
480 Fixes: NB#99713 (HildonButton value label color is wrong)
482 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
484 * src/hildon-touch-selector.c: Document
485 hildon_touch_selector_center_on_selected()
487 2009-01-28 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
490 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
491 all menu items, but not the menu itself.
492 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
493 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
494 items after adding them to the menu so keyboard accelerators work.
495 (hildon_app_menu_show): Don't show the menu if it contains items
496 but none of them are visible.
498 * examples/hildon-app-menu-example.c (create_menu): Use
499 gtk_widget_show_all() to show all menu items.
501 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
503 * src/hildon-picker-dialog.c:
504 (-_update_title_on_selector_changed_cb),
505 (-_dialog_update_title): Removed.
506 (_select_on_selector_changed_cb), (_on_dialog_response),
507 (on_selector_columns_changed): Do not update the dialog title.
508 (setup_interaction_mode): Do not connect to
509 HildonTouchSelector::changed signal if there's a "done" button, as
510 the dialog title doesn't need to be updated.
512 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
515 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
517 Patch by Kristian Rietveld (kris@imendio.com)
519 * src/hildon-touch-selector.c: (_create_new_column): Use new
520 GtkTreeView::hildon-row-tapped signal to react to user interactions
521 instead of ::changed.
523 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
524 with some dynamic tree model)
526 2009-01-27 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
529 (+screen_size_changed, +label_size_request)
530 (hildon_note_class_init): Make the Hildon information note have a
531 minimum height, and make its text hvae a maximum width.
533 Fixes: NB#98614 (Hildon information note (background) should have
534 minimum height and maximum text width)
536 2009-01-26 Alberto Garcia <agarcia@igalia.com>
538 * src/hildon-banner.h
539 * src/hildon-banner.c (hildon_banner_show_information)
540 (hildon_banner_show_informationf)
541 (hildon_banner_show_information_with_markup): Update documentation
542 to reflect that the icon_name parameter is not used anymore.
543 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
544 Remove all code from these functions and mark them as deprecated.
545 (hildon_banner_show_progress): Mark as deprecated.
547 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
549 2009-01-26 Alejandro G. Castro <alex@igalia.com>
551 * src/hildon-pannable-area.c,
552 (hildon_pannable_area_class_init),
554 (hildon_pannable_draw_vscroll),
555 (hildon_pannable_draw_hscroll),
556 (hildon_pannable_area_expose_event): Added a new way to render the
557 scrollbars of the pannable area avoiding using cairo at all. This
558 way we improve the performance of the pannable area rendering. The
559 cairo rendering procedure is still in the code, we can control
560 which one to use changing the value of the define
561 USE_CAIRO_SCROLLBARS.
563 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
565 * configure.ac: post release version bump.
566 * debian/changelog: version bump.
568 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
573 * configure.ac: Bump version.
574 * debian/changelog: Updates.
576 2009-01-23 Alberto Garcia <agarcia@igalia.com>
578 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
579 banners instead of destroying them when they receive a button
582 2009-01-23 Alejandro G. Castro <alex@igalia.com>
584 Reverted commit 34028, it was causing regressions, probably the
585 topmost condition is not correct, we have to check it in more
586 detail. We have reponed the bug: NB#97458 (Pannable area prevents
587 propagation of button press events)
589 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
592 that the selection is not empty before attempting to retrieve the
593 current ampm selection.
595 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
597 * src/hildon-picker-button.c:
598 (hildon_picker_button_on_dialog_response): Directly update the
599 button contents when required instead of calling _selection_changed.
601 2009-01-23 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-program.c (hildon_program_update_top_most): Update
604 'is-topmost' property also when wm_hints is not set.
606 Fixes: NB#98383 (is-topmost signal is not emitted when task
607 switcher is clicked.)
609 2009-01-23 Alejandro G. Castro <alex@igalia.com>
611 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
615 * src/hildon-animation-actor.c,
616 * src/hildon-animation-actor.h: Added the animation actor class,
617 this widget represents an animation actor for WM-assisted
618 animation effects in the Hildon framework.
620 2009-01-23 Alberto Garcia <agarcia@igalia.com>
622 * src/hildon-window-stack-private.h
623 * src/hildon-window-stack.c
624 * src/hildon-stackable-window.c (hildon_stackable_window_show):
625 Avoid calling gtk_widget_show() again indirectly from
626 hildon_stackable_window_show()
628 2009-01-23 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
633 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
636 (hildon_time_selector_init): Move the construction of the hours and
637 ampm columns to the constructor to preserve the order the columns
640 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-picker-dialog.c:
643 (hildon_picker_dialog_class_init): Connect a realize method.
644 (+hildon_picker_dialog_realize): Setup the interaction mode here
646 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
647 yet, do it during the realize instead.
648 (_on_dialog_response):
649 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
650 if the widget is not realized, to avoid the dialog response before it
653 Avoid premature responses in the HildonPickerDialog that can cause it
654 to be hidden before it's even shown.
656 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
659 (on_selector_columns_changed), (requires_done_button),
660 (+prepare_action_area), (setup_interaction_mode),
661 (_hildon_picker_dialog_set_selector):
663 Split the interaction mode setup into preparation of the
664 action area (prepare_action_area()) and the connection of
665 the signals in setup_interaction_mode() and update the code to
668 2009-01-22 Alejandro G. Castro <alex@igalia.com>
670 * src/hildon-pannable-area.c,
671 (hildon_pannable_area_class_init): Reduced the amount of scrolls
672 per second to 15, we will check if this is ok regarding
675 2009-01-22 Alejandro G. Castro <alex@igalia.com>
677 * src/hildon-pannable-area.c,
678 (hildon_pannable_axis_scroll): Avoid resize if we already have
679 reached overshoot_max.
681 2009-01-22 Alejandro G. Castro <alex@igalia.com>
683 * src/hildon-pannable-area.c,
684 (hildon_pannable_area_init),
685 (hildon_pannable_area_realize),
686 (hildon_pannable_area_size_allocate),
687 (hildon_pannable_area_map),
688 (hildon_pannable_area_unmap),
689 (hildon_pannable_draw_vscroll),
690 (hildon_pannable_draw_hscroll),
691 (hildon_pannable_area_expose_event),
692 (hildon_pannable_area_refresh): Added a new GdkWindow to the
693 pannable are to avoid the expose events go to the window and
694 redraw the window. We save this way that part of the stack and the
695 paint_boxes. We had to change the positions of the elements when
698 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
700 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
701 * src/hildon-color-chooser-dialog.c:
702 (hildon_color_chooser_dialog_init):
703 * src/hildon-font-selection-dialog.c:
704 (hildon_font_selection_dialog_init),
705 (hildon_font_selection_dialog_show_preview):
706 * src/hildon-get-password-dialog.c:
707 * src/hildon-login-dialog.c:
708 * src/hildon-set-password-dialog.c:
709 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
710 * src/hildon-time-picker.c: (hildon_time_picker_init):
712 Remove obsolete logical string IDs and update to the appropriate ones.
714 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
716 2009-01-21 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
719 that happens if the window hasn't been realized yet.
721 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
722 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
724 2009-01-20 Alberto Garcia <agarcia@igalia.com>
726 * src/hildon-app-menu.c (hildon_app_menu_class_init)
727 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
730 Fixes: NB#98537 (Device hangs in account settings dialog)
732 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
734 * configure.ac: post release version bump.
735 * debian/changelog: version bump
737 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: Bump version.
743 * debian/changelog: Updates.
745 2009-01-20 Alejandro G. Castro <alex@igalia.com>
747 Added a new function to the HildonTimeButton widget that allows to
748 change the step of the minutes in the selector associated with the
749 button: hildon_time_button_new_step
751 * src/hildon-time-button.c,
752 (hildon_time_button_init),
753 (hildon_time_button_new),
754 (hildon_time_button_new_step):
755 * src/hildon-time-button.h: Added the new function and refactored
757 * examples/hildon-time-button-example.c,
758 (main): We have replaced the function without parameters with the
759 function with the steps set to 5
761 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
763 2009-01-20 Alejandro G. Castro <alex@igalia.com>
765 * src/hildon-time-selector.c,
766 (hildon_time_selector_class_init),
767 (hildon_time_selector_constructor),
768 (hildon_time_selector_get_property),
769 (hildon_time_selector_set_property),
770 (_create_minutes_model),
771 (hildon_time_selector_new_step),
772 (hildon_time_selector_set_time),
773 * src/hildon-time-selector.h: Added a new property to the
774 HildonTimeSelector (minutes-step), we use that property to control
775 the steps between the minutes in the list of the selector. We have
776 added a new function to the API to create a widget changing the
777 step: hildon_time_selector_new_step.
779 2009-01-20 Alejandro G. Castro <alex@igalia.com>
781 * src/hildon-time-selector.c,
782 (hildon_time_selector_class_init),
783 (hildon_time_selector_constructor),
784 (hildon_time_selector_init): Overrided the construct function when
785 creating the time selector object. We have moved the minutes model
786 handling code from the init to the new construction function:
787 hildon_time_selector_constructor.
789 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
791 * examples/hildon-date-button-example.c: (main): Use the new
792 hildon_date_button_new_with_year_range() method in the example.
793 * src/hildon-date-button.c:
794 (+hildon_date_button_new_with_year_range): New public method
795 to conveniently create a HildonDateButton with a custom year range
796 in its HildonDateSelector.
797 * src/hildon-date-button.h: Add the new public method definition.
799 Fixes: NB#97908 (Not possible to change the year range in
800 HildonDateSelector/HildonDateButton)
802 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-date-selector.c:
805 (+hildon_date_selector_set_property),
806 (+hildon_date_selector_get_property),
807 (hildon_date_selector_class_init): Install new properties "min-year"
808 and "max-year" to define boundaries for the year column.
809 (_create_year_model): Use the boundary properties to populate the model.
810 (+hildon_date_selector_new_with_year_range): New public method to
811 create a HildonDateSelector with a user defined year range.
812 (hildon_date_selector_select_current_date): Use the new boundaries to
813 calculate the iterator of current year.
814 * src/hildon-date-selector.h: Add the new public method definition.
816 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
818 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
819 Install a constructor method.
820 (+hildon_date_selector_construct_ui): construct the widget.
821 (+hildon_date_selector_constructor): new constructor.
822 (+hildon_date_selector_init): move out widget construction code to
825 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
828 that there's actually a month or year selected before obtaining them.
829 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
830 of the HildonTouchSelector::changed signal, as it was emitted on every
831 single item selection.
833 Fix some warnings and possible crashers due to the selection restoring.
835 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
838 the signal handlers only after creating the dialog instead of on every
841 2009-01-19 Alberto Garcia <agarcia@igalia.com>
843 * src/hildon-button.c (hildon_button_init)
844 * src/hildon-check-button.c (hildon_check_button_init)
845 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
846 focus when clicked by default.
848 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
850 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
853 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
855 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
856 Alejandro G. Castro (alex@igalia.com)
858 * src/hildon-picker-dialog.c:
859 (hildon_picker_dialog_class_init): install new "center-on-show"
861 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
862 (hildon_picker_dialog_set_property): add setter code for the new
864 (hildon_picker_dialog_get_property): add getter code for the new
866 (hildon_picker_dialog_show): Ensure visibility of selected items in the
867 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
870 Fixes: NB#92849 (Selected item is not always visible when
871 HildonTouchSelector is shown)
873 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
875 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
876 Alejandro G. Castro (alex@igalia.com)
878 * src/hildon-touch-selector.c:
879 (_create_new_column): Do not connect to the "realize" signal of the
881 (hildon_touch_selector_append_column): center on the selected items
882 when a new column is appended.
883 (hildon_touch_selector_select_iter): Factor out the code to select a
884 column to hildon_touch_selector_scroll_to().
885 (+search_nearest_element): Method to retrieve the nearest selected
886 element to the visible area of the pannable area in a column.
887 (+on_realize_cb): scroll to the initially selected item.
888 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
889 the pannable area is realized, otherwise delay this until it is.
890 (+_hildon_touch_selector_center_on_selected_items): Centers on the
891 selected items of a given column.
892 (+hildon_touch_selector_center_on_selected): Public method to center
893 all columns on the nearest selected item.
894 * src/hildon-touch-selector.h: Add definition for
895 hildon_touch_selector_center_on_selected().
897 Implement public API to ensure visibility of all selected items in
898 a HildonTouchSelector.
900 2009-01-16 Alejandro G. Castro <alex@igalia.com>
902 Fixed a problem in the fading when calling the scroll_to API, and
903 improve scrollbar fading handling.
905 * src/hildon-pannable-area.c,
906 (hildon_pannable_area_grab_notify): avoid the timeout when the
908 (hildon_pannable_area_button_press_cb),
909 (hildon_pannable_area_motion_notify_cb): Code style changes.
910 (hildon_pannable_area_button_release_cb): Review the conditions
911 when releasing the mouse button to avoid unrequired fading
913 (hildon_pannable_area_scroll_to): Do not calculate and set the
914 velocity if the scroll is not required.
916 2009-01-15 Alberto Garcia <agarcia@igalia.com>
918 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
919 Don't check whether the new selector is NULL: it cannot be.
920 Hold a reference to the selector while doing the replacement.
922 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
924 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
925 unnecessary size_request in a removed widget.
927 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
929 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
930 an unnecessary reference tracking that was leaking.
932 2009-01-15 Alejandro G. Castro <alex@igalia.com>
934 Added delayed motion notify event handling, this way we can
935 discard redrawing if more than 25 events arrive per second.
937 * src/hildon-pannable-area.c,
938 (hildon_pannable_area_init): Initialized the new private atributes
939 controlling this timeout
940 (hildon_pannable_area_dispose): Remove the timeout that controls
941 the motion notify events.
942 (hildon_pannable_area_scroll): Added a condition to control the
943 use of the acceleration.
944 (hildon_pannable_area_motion_event_scroll_timeout),
945 (hildon_pannable_area_motion_event_scroll): Added this two
946 functions, they handle the motion notify events inside the
948 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
949 to the scroll method with the new function.
950 (hildon_pannable_area_button_release_cb): We have to remove the
951 timeout handler and move to the last position if the last motion
952 events were not handled.
954 Fixes: NB#97028 (Pannable area updates on every motion event)
956 2009-01-15 Alejandro G. Castro <alex@igalia.com>
958 * src/hildon-pannable-area.c,
959 (hildon_pannable_area_get_topmost): Added a new parameter to
960 filter the the windows that do not include those events. Added
961 also a condition when finding the window to filter windows that do
962 not ask for those events.
963 (hildon_pannable_area_button_press_cb),
964 (hildon_pannable_area_button_release_cb),
965 (hildon_pannable_get_child_widget_at): Reviewed the call the the
966 topmost function, we have added the new parameter.
968 Fixes: NB#97458 (Pannable area prevents propagation of button
971 2009-01-15 Alejandro G. Castro <alex@igalia.com>
973 * src/hildon-pannable-area.c,
974 (hildon_pannable_area_initial_effect): Added controls before
975 launching the timeout and the idle functions.
976 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
977 of the method, in some situations it can return with TRUE and 0 in
979 (hildon_pannable_area_button_press_cb): We do not need to set
980 DELAY for fading out here.
982 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
984 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
986 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
987 post-cleaning if the selection is not NULL.
989 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
992 all items before restoring the selection.
994 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
996 * src/hildon-touch-selector.c:
997 (+hildon_touch_selector_unselect_all):
998 * src/hildon-touch-selector.h: New API to unselect all items in a
999 column of the touch selector.
1001 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1003 * src/hildon-pannable-area.c,
1004 (hildon_pannable_area_redraw): Added a call to the refresh
1005 function inside the redraw because apparently in some cases the
1006 change in the adjustment does not imply a size allocate.
1008 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1009 despite the view not being scrollable)
1011 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1014 leak. Check for NULL before attempting to set the window title.
1016 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1019 whether to show or not the 'Done' button each time the dialog is
1020 shown, as it depends on the HildonTouchSelector selection mode.
1022 Fixes: NB#96226 (In multiple selection mode Done button is shown
1023 sometimes in listpicker)
1025 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1027 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1028 for the number of columns in the HildonTouchSelector more than once.
1030 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-touch-selector.c: Minor documentation fixes.
1034 * src/hildon-picker-dialog.c (+_dialog_update_title)
1035 (_select_on_selector_changed_cb)
1036 (_update_title_on_selector_changed_cb)
1037 (on_selector_columns_changed): Update dialog title when there's no
1038 'Done' button and also when the number of columns in the selector
1042 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1043 (+_selection_changed, hildon_picker_button_on_dialog_response)
1044 (hildon_picker_button_selector_selection_changed)
1045 (+hildon_picker_button_selector_columns_changed)
1046 (hildon_picker_button_set_selector): Update button value and emit
1047 'value-changed' when the number of columns in the selector
1051 Fixes: NB#96225 (Dialog titles are not shown according to the
1052 values selected in the list picker)
1054 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1057 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1058 New "arrow-width" and "arrow-height" style properties to set the
1059 size of the arrow button.
1060 Set name of arrow button ("hildon-edit-toolbar-arrow").
1062 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1063 graphics from theme)
1065 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-picker-button.c:
1068 (hildon_picker_button_selector_selection_changed): Use
1069 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1070 the dialog is present.
1072 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1073 the selection is accepted in the dialog)
1075 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1077 * src/hildon-color-chooser.h
1078 * src/hildon-color-chooser-dialog.h:
1079 Added G_BEGIN_DECLS and G_END_DECLS
1081 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1083 (_clean_current_selection): plug a leak in the list.
1085 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1087 * src/hildon-picker-dialog.c:
1088 (+free_path_list): Method to free a GList of GtkTreePaths.
1089 (_clean_current_selection), (_save_current_selection),
1090 (_restore_current_selection): Save the current selection in
1091 as a list of lists, to support multiple selection properly.
1093 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1095 patch by Claudio Saavedra (csaavedra@igalia.com)
1097 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1098 Store the press position.
1099 (+hildon_text_view_button_release_event): If the release position is
1100 close enough to the press position, move the cursor here. Otherwise,
1102 (hildon_text_view_class_init): Override GtkTextView press, release, and
1103 motion event handlers, disabling this way text selection through
1104 pointer interaction, and allowing the container widget to handle the
1107 Fixes: NB#95828 (HildonTextView functionality)
1109 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1111 Based on a patch by Iván Gómez (igomez@igalia.com)
1113 * src/hildon-button.[ch]
1114 * src/hildon-calendar.c
1115 * src/hildon-check-button.c
1116 * src/hildon-date-editor.c
1117 * src/hildon-date-selector.c
1118 * src/hildon-picker-button.c
1119 * src/hildon-time-editor.c
1120 * src/hildon-time-selector.c
1121 * src/hildon-touch-selector.[ch]:
1122 Documentation updates
1124 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1126 * src/hildon-pannable-area.c,
1127 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1128 threshold, it was required due to X events handling.
1130 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1132 * src/hildon-pannable-area.c,
1133 (hildon_pannable_area_grab_notify),
1134 (hildon_pannable_area_initial_effect),
1135 (hildon_pannable_area_button_press_cb),
1136 (hildon_pannable_area_button_release_cb),
1137 (hildon_pannable_area_scroll_cb),
1138 (hildon_pannable_area_scroll_to): Review the timeout management of
1139 the scrollbar, the frecuency was incorrectly set.
1141 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1143 * src/hildon-picker-button.c:
1144 (+hildon_picker_button_on_dialog_response),
1145 (hildon_picker_button_clicked): Present the dialog instead of
1146 running it with gtk_dialog_run().
1148 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1151 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1154 (hildon_app_menu_finalize): When a window is hidden it doesn't
1155 emit notify::is-topmost, so make sure than the menu also
1156 disappears in that case.
1157 (parent_window_topmost_notify): Renamed from parent_window_hidden
1159 Fixes: NB#94460 (stackable window's menu is not closed when its
1162 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-touch-selector-entry.c:
1165 (+hildon_touch_selector_entry_set_input_mode),
1166 (+hildon_touch_selector_entry_get_input_mode):
1167 * src/hildon-touch-selector-entry.h: New methods to access the input
1168 mode in the selector's entry.
1170 Fixes: NB#93410 (API required for setting IM mode in
1171 HildonTouchSelectorEntry)
1173 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1175 * configure.ac: post release version bump.
1176 * debian/changelog: version bump
1178 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1183 * configure.ac: Bump version.
1184 * debian/changelog: Updates.
1186 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-touch-selector.c:
1189 (_hildon_touch_selector_has_multiple_selection): No need
1190 to initialize the variables here.
1192 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1194 * src/hildon-note-private.h
1195 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1196 (hildon_note_finalize, hildon_note_rebuild): Close information
1197 notes when they receive a button press.
1199 Fixes: NB#89890 (Information notes does not get disappeared after
1202 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1204 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1205 mark from the wizard title, as it's not really necessary. Also,
1206 do not display the page title if not set.
1208 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1210 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1211 (parent_window_hidden): Use the window's "is-topmost" property to
1212 detect when to hide the menu.
1214 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1217 (hildon_app_menu_finalize): If the parent window of the menu is
1218 hidden, hide the menu too.
1220 Fixes: NB#94460 (stackable window's menu is not closed when its
1223 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1226 * debian/libhildon1-examples.install
1228 * examples/Makefile.am:
1229 Use dh_install to install all examples.
1230 Use DEB_SRCDIR instead of defining SOURCE_DIR
1232 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1234 * configure.ac: post release version bump.
1235 * debian/changelog: version bump
1237 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1242 * configure.ac: bump version
1243 * debian/changelog: updates
1244 * debian/control: bump gtk+ dependency
1246 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1248 patch by Christian Dywan (christian@imendio.com)
1250 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1251 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1253 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-check-button.c (hildon_check_button_init)
1256 (hildon_check_button_class_init, hildon_check_button_style_set)
1257 (hildon_check_button_apply_style):
1258 New "checkbox-size" style property.
1260 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1261 larger / configurable size)
1263 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1265 * configure.ac: post release version bump.
1266 * debian/changelog: version bump
1268 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1273 * configure.ac: bump version
1274 * debian/changelog: updates
1276 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1278 * doc/hildon-sections.txt
1279 * src/hildon-pannable-area.c
1280 * src/hildon-program.c
1281 * src/hildon-time-editor.c
1282 * src/hildon-touch-selector-entry.c:
1284 More documentation updates.
1286 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1288 * doc/hildon-sections.txt
1289 * src/hildon-caption.c
1290 * src/hildon-code-dialog.c
1291 * src/hildon-color-button.c
1292 * src/hildon-controlbar.c
1293 * src/hildon-date-editor.c
1294 * src/hildon-date-selector.c
1295 * src/hildon-edit-toolbar.c
1296 * src/hildon-find-toolbar.c
1297 * src/hildon-font-selection-dialog.c
1299 * src/hildon-program.c
1300 * src/hildon-range-editor.c
1301 * src/hildon-seekbar.c
1302 * src/hildon-time-editor.c
1303 * src/hildon-time-selector.c
1304 * src/hildon-volumebar-range.c
1305 * src/hildon-volumebar.c
1306 * src/hildon-vvolumebar.c
1307 * src/hildon-weekday-picker.c
1308 * src/hildon-window.c
1309 * src/hildon-wizard-dialog.c:
1311 Lots of documentation fixes.
1313 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1315 Patch contributed by Iván Gómez (igomez@igalia.com)
1317 * src/hildon-check-button.c:
1318 * src/hildon-date-button.c:
1319 * src/hildon-date-selector.c:
1320 * src/hildon-dialog.c:
1321 * src/hildon-edit-toolbar.c:
1322 * src/hildon-entry.c:
1323 * src/hildon-picker-button.c:
1324 * src/hildon-program.c:
1325 * src/hildon-text-view.c:
1326 * src/hildon-time-button.c:
1327 * src/hildon-touch-selector-entry.c:
1328 * src/hildon-window-stack.c:
1330 Add more "since" tags to the new API.
1332 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1334 * doc/hildon-sections.txt: Add below method.
1335 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1336 version for the hildonized scale.
1337 * src/hildon-gtk.h: Add the definition.
1339 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1341 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1343 * doc/hildon-sections.txt: Add missing entries for new methods.
1345 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1347 Added API to pannable are in order to get its adjustments. We
1348 added two properties to manage the values we had in the private
1351 * src/hildon-pannable-area.c:
1352 (hildon_pannable_area_class_init): Added hadjustment and
1353 vadjustment properties in order to expose horizontal and vertical
1355 (hildon_pannable_area_get_property),
1356 (hildon_pannable_area_set_property): Added code to handle the new
1358 (hildon_pannable_area_get_hadjustment),
1359 (hildon_pannable_area_get_vadjustment): API functions to get the
1361 * src/hildon-pannable-area.h:
1362 (hildon_pannable_area_get_hadjustment),
1363 (hildon_pannable_area_get_vadjustment): API functions to get the
1366 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1368 Fixed some leaks, after valgrinding.
1370 * src/hildon-touch-selector.c:
1371 (_default_print_func): Fixed a leak.
1372 (hildon_touch_selector_append_column): Fixed a leak.
1373 * src/hildon-date-button.c:
1374 (hildon_date_button_init): Fixed a leak.
1375 * src/hildon-date-selector.c
1376 (hildon_date_selector_finalize): Fixed a leak.
1378 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1380 Based on a patch by Christian Dywan (christian@imendio.com)
1382 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1384 * src/hildon-gtk.h: Add definition.
1386 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1388 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1390 * src/hildon-picker-button.c: (hildon_picker_button_init),
1391 (hildon_picker_button_new): Set the HildonButton::style property
1392 in the init method, to propagate the value to the derived classes.
1394 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1396 * src/hildon-button.c: (hildon_button_class_init): Do not make
1397 the "style" property a construct property.
1399 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1401 * src/hildon-wizard-dialog.h
1402 * src/hildon-wizard-dialog.c
1403 (hildon_wizard_dialog_set_forward_page_func)
1404 * src/hildon-pannable-area.h
1405 * src/hildon-pannable-area.c
1406 (hildon_pannable_area_set_size_request_policy):
1407 Documentation fixes.
1409 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1411 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1413 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1415 * doc/hildon-sections.txt: Added sections file.
1417 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/*.[ch]: Updates.
1422 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1424 * examples/hildon-progress-indicator-example.c: new file
1425 * examples/Makefile.am: include the new example program
1427 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1431 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1433 * configure.ac: post release version bump
1434 * debian/changelog: version bump
1436 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1441 * configure.ac: bump version
1442 * debian/changelog: updates
1443 * debian/control: bump gtk+ dependency
1445 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-dialog.c: Mark as deprecated.
1448 * src/hildon-dialog.h: Mark as deprecated.
1449 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1450 from HildonDialog and still work, even if
1451 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1452 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1454 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1455 maemo changes) instead)
1457 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1459 * src/hildon-pannable_area.h:
1460 * src/hildon-pannable_area.c:
1461 (hildon_pannable_area_class_init),
1462 (hildon_pannable_area_set_property),
1463 (hildon_pannable_area_get_property),
1464 (hildon_pannable_area_size_request),
1465 (hildon_pannable_area_get_size_request_policy),
1466 (hildon_pannable_area_set_size_request_policy): Added new API
1467 allowing applications to control the request policy. Now they can
1468 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1469 children allocation (HILDON_MOVEMENT_CHILDREN).
1471 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1475 (hildon_gtk_tree_view_set_ui_mode)
1476 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1477 mode of treeviews and iconviews.
1479 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-touch-selector-entry.c:
1482 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1483 of a GtkEntry to get proper theming.
1485 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1486 widget, not GtkEntry)
1488 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1491 no HildonWizardDialogPageFunc.
1493 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1495 Patch contributed by Iván Gómez (igomez@igalia.com)
1497 * src/hildon-app-menu.c:
1498 * src/hildon-button.c:
1499 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1500 * src/hildon-stackable-window.c:
1501 * src/hildon-time-selector.c:
1502 * src/hildon-touch-selector.c:
1503 * src/hildon-window.c:
1505 Add more "since" tags to the new API in hildon 2.2.
1507 2008-12-05 Tim Janik <timj@imendio.com>
1509 Patch contributed by Christian Dywan (christian@imendio.com)
1511 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1512 HildonSizeType, which are supplied by Gtk+ now.
1514 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1516 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1517 (with maemo changes) instead)
1519 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1521 Patch contributed by Iván Gómez (igomez@igalia.com)
1523 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1526 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1528 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1529 (some_page_func), (main): Update the example to use a
1530 HildonWizardDialogPageFunc function.
1532 * src/hildon-wizard-dialog-private.h: Add private data for
1533 the HildonWizardDialogPageFunc function usage.
1535 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1536 (destroy), (hildon_wizard_dialog_init), (response),
1537 (hildon_wizard_dialog_set_forward_page_func):
1538 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1539 that applications can use to stop a HildonWizardDialog to jump to
1542 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1545 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-program.h
1548 * src/hildon-program-private.h
1549 * src/hildon-program.c (hildon_program_init)
1550 (hildon_program_set_common_app_menu)
1551 (hildon_program_get_common_app_menu):
1552 New API for setting a common HildonAppMenu for all
1553 HildonStackableWindows registered with the HildonProgram.
1555 * src/hildon-stackable-window.c
1556 (hildon_stackable_window_toggle_menu):
1557 Use the common HildonAppMenu if a window doesn't have a specific
1560 * src/hildon-app-menu-private.h
1561 * src/hildon-app-menu.c
1562 (hildon_app_menu_get_parent_window):
1563 Function to obtain the window a HildonAppMenu is attached to.
1564 (hildon_app_menu_set_parent_window):
1565 Hide the menu if the parent window is set to NULL.
1567 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1569 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1570 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1571 search widget to popup.
1573 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1575 * configure.ac: post release version bump
1576 * debian/changelog: version bump
1578 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1583 * configure.ac: bump version
1584 * debian/changelog: updates
1586 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1588 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1590 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1591 (hildon_window_stack_window_realized)
1592 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1593 Set the leader GdkWindow when a window is stacked and realized,
1594 unset it when it's unstacked.
1595 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1597 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1599 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-stackable-window.h
1602 * src/hildon-window-stack.h:
1603 Protect definition of HildonWindowStack using the preprocessor.
1605 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1607 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1608 Fix warning if all menu items are hidden.
1610 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1612 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1614 * src/hildon-controlbar.c:
1615 * src/hildon-hvolumebar.c:
1616 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1617 Multiple scale size defines updates.
1619 Fixes: NB#94322 (Scale Updates)
1621 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1623 * examples/hildon-app-menu-example.c (create_menu)
1624 Show items after adding them to the menu, as in the future the
1625 menu will no longer call gtk_widget_show() on the added items.
1627 * src/hildon-app-menu.c:
1628 Update example as explained above.
1630 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-app-menu.c
1633 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1634 Make sure that all menu items have finger height.
1636 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1638 * src/hildon-picker-dialog.c:
1639 (_on_dialog_response), (_save_current_selection),
1640 (_restore_current_selection), (_clean_current_selection),
1641 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1642 Defined new functions in order to save the current internal selector
1643 selection previous open the dialog, in case that the use cancel the
1644 interaction, so the widget restores the previous selection.
1646 Fixes: NB#92032 (In calendar application, date values in 'new event'
1649 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1651 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-button.c: Add a reference to the button examples in
1654 hildon-button-example.c
1656 * examples/hildon-button-example.c: Added examples of the most
1657 common button layouts.
1659 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1661 * src/hildon-app-menu.c (hildon_app_menu_show)
1662 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1664 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1666 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-picker-dialog.c:
1669 (hildon_picker_dialog_init): Initialize the signal id for
1670 HildonTouchSelector::columns-changed.
1671 (+on_selector_columns_changed): Set up the interaction mode everytime a
1672 column is added or removed from the HildonTouchSelector.
1673 (_hildon_picker_dialog_set_selector): Connect to
1674 HildonTouchSelector::columns-changed and keep track of it.
1676 Make sure to update the interaction mode of the dialog everytime a
1677 column is added or removed in the HildonTouchSelector.
1679 Fixes: NB#93228 (Done button is not shown always in listpicker)
1681 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1684 a new ::columns-changed signal.
1685 (hildon_touch_selector_append_column): Emit ::columns-changed.
1686 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1688 Add a ::columns-changed signal, emitted when the number of columns in a
1689 HildonTouchSelector changes.
1691 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1694 (_hildon_picker_dialog_set_selector): Factor out the code
1695 to set up the dialog interaction mode.
1697 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1699 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1700 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1701 to signal_changed_id.
1703 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1708 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1710 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1711 Updated the logical ids related to ampm format, as now it is required to
1712 show it correctly localized even on languages with no default
1713 abbreviations for am or pm
1714 (_check_am_pm_format): check correctly the 24h format gconf property
1716 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1718 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1720 * src/hildon-button.c: Documentation updates.
1722 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1725 * src/hildon-caption.c: (hildon_caption_class_init):
1726 * src/hildon-color-button.c: (hildon_color_button_class_init):
1727 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1728 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1729 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1730 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1732 Remove deprecated GTK+ marshalers and replace them with the ones
1733 provided by GLib, for those available, add a marshaler for
1734 BOOLEAN:VOID, which is not available in GLib, and use it.
1736 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1739 the text from the previous column if there is no
1740 HildonTouchSelectorColumn::text-property set.
1742 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-button.h
1745 * src/hildon-button.c (hildon_button_set_property)
1746 (hildon_button_get_property, hildon_button_class_init)
1747 (hildon_button_set_style, hildon_button_get_style):
1748 New "style" property to change the visual appearance of the
1751 * src/hildon-picker-button.c (hildon_picker_button_new):
1752 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1754 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1755 HildonButton look like PickerButton)
1757 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1760 column while building the default string.
1762 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1765 scroll indicator by default.
1767 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1769 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-main.c: Fix the documentation for hildon_init()
1773 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1775 * doc/hildon-docs.sgml
1779 * src/hildon-window-stack-private.h
1780 * src/hildon-window-stack.h
1781 * src/hildon-window-stack.c:
1782 New HildonWindowStack object, that adds support for multiple
1783 stacks of windows per process.
1785 * src/hildon-stackable-window-private.h
1786 * src/hildon-stackable-window.h
1787 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1788 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1789 (hildon_stackable_window_show, hildon_stackable_window_hide)
1790 (hildon_stackable_window_class_init)
1791 (hildon_stackable_window_init):
1792 Use HildonWindowStack for stack management.
1794 * src/hildon-program.c (hildon_program_pop_window_stack)
1795 (hildon_program_peek_window_stack)
1796 (hildon_program_go_to_root_window):
1797 Add a fallback implementation to the deprecated functions using
1800 * examples/hildon-stackable-window-example.c:
1801 Use the new HildonWindowStack API.
1803 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-stackable-window-private.h
1806 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1807 (hildon_stackable_window_hide, hildon_stackable_window_init):
1808 Remove all window stack management.
1810 * src/hildon-program-private.h
1811 * src/hildon-program.h
1812 * src/hildon-program.c (hildon_program_init)
1813 (hildon_program_pop_window_stack)
1814 (hildon_program_peek_window_stack)
1815 (hildon_program_go_to_root_window):
1816 Remove all window stack management and mark functions as
1819 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-app-menu.c (hildon_app_menu_realize):
1822 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1824 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: post release version bump
1827 * debian/changelog: version bump
1829 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1834 * configure.ac: bump version
1835 * debian/changelog: updates
1837 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1839 Based on initial code by Christian Dywan (christian@imendio.com)
1841 * doc/hildon-docs.sgml: Add section for hildon-main.
1842 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1843 * src/Makefile.am: Add new hildon-main.[ch]
1844 * src/hildon-defines.h: Update the icon sizes.
1845 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1846 new library initialization files and register icon sizes.
1847 * src/hildon-main.h: New declarations.
1848 * src/hildon.h: Include hildon-main.h
1850 Add new initialization functions to the library. These methods
1851 will register the hildon specific icon sizes and can be used in the
1852 future for other hildon specific bits.
1854 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1856 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1858 * src/hildon-window.c: (hildon_window_realize),
1859 (hildon_window_notify), (-hildon_window_update_title): Do not set
1860 the application name in the window title.
1862 Fixes: NB#89754 (Applications shouldn't display their names in the
1865 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-note-private.h:
1868 * src/hildon-note.c: (hildon_note_set_property),
1869 (hildon_note_get_property), (hildon_note_class_init),
1870 (hildon_note_init), (hildon_note_finalize),
1871 (hildon_note_new_confirmation_with_icon_name),
1872 (hildon_note_new_information_with_icon_name):
1874 No need to mark as deprecated the actual code. Revert
1875 to avoid missing symbols in widgets using deprecated API.
1877 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1879 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1881 * src/hildon-volumebar.h
1882 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1883 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1885 * src/hildon-helper.h
1886 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1887 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1889 * examples/Makefile.am:
1890 Deprecate hildon-insensitive-example
1892 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1894 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1896 * examples/hildon-pannable-area-buttons-scroll-example.c:
1897 Make all buttons finger height
1899 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1901 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1903 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1904 update the day model only if it is really required, and to avoid the
1905 full-reconstruction aproach. Now it only add or remove the required days.
1907 The purpose of this is avoid superfluous HildonTouchSelector::changed
1910 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1911 with strange parameters)
1913 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1915 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1917 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1918 the WINDOW_TYPE property.
1920 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1922 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1925 Fix dependency to allow parallel compilation with make -jX
1927 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1930 color frame and some minor tweaks to make it more consistent with
1933 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1934 highlighted but not visible)
1936 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1938 * examples/Makefile.am: Fixed typo in the Makefile.am.
1940 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1942 Reviewed the use of MAEMO_GTK define, now we add the define in the
1943 compilation line, and we also add it to the pc file.
1945 * configure.ac: Added MAEMO_GTK define to the compilation command
1946 and removed it from the config.h.
1948 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1949 do not have to take care about this define if the library was
1953 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1955 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1957 * examples/Makefile.am,
1958 * examples/hildon-pannable-area-buttons-scroll-example.c,
1959 * examples/hildon-pannable-area-gesture-signals-example.c,
1960 * examples/hildon-pannable-area-scroll-jump-example.c,
1961 * examples/hildon-pannable-area-tree-view-example.c:
1962 Renamed the pannable area examples, now they have more meaningful
1965 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1967 * src/hildon-touch-selector.c:
1968 (hildon_touch_selector_set_column_selection_mode): Used of
1969 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1970 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1971 to avoid re-seting the same selection mode.
1973 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1974 breaks HildonPickerDialog)
1976 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1978 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1979 conditional in the Makefile.am
1981 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1983 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1984 Remove unused methods.
1986 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1988 * src/hildon-button.c (hildon_button_init):
1989 Make button images center-aligned by default
1991 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1994 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1995 activated, we have to think about how to deal with both defines
1996 MAEMO_GTK and MAEMO_CHANGES.
1998 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2000 * examples/hildon-app-menu-example.c (create_menu): Make all
2001 buttons finger size.
2003 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2005 Fixed the compilation without maemo gtk adding ifdefs with
2006 MAEMO_GTK define to the code, we have to check this version more
2009 * examples/Makefile.am: Added control to avoid some examples that
2010 just make sense with maemo gtk.
2013 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2014 hildon modes with the define.
2016 * examples/hildon-edit-toolbar-example.c,
2017 (create_icon_view): Create the icon view without hildon-gtk
2018 helpers if we are not using maemo gtk.
2020 * src/hildon-touch-selector.c,
2021 (_create_new_column): Create the treeview without hildon-gtk
2022 helpers if we are not using maemo gtk.
2024 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2026 * src/hildon-pnnable-area.c,
2027 (hildon_pannable_area_dispose),
2028 (hildon_pannable_area_button_press_cb),
2029 (hildon_pannable_area_child_mapped),
2030 (hildon_pannable_area_add),
2031 (hildon_pannable_area_remove): Added code to control the position
2032 of the event_window when adding and removing children from the
2033 pannable. We have to raise the event window when the child is
2036 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2037 selection mode using custom widget inside pannable)
2039 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2041 * configure.ac: post release version bump
2042 * debian/changelog: version bump
2044 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2049 * configure.ac: bump version
2050 * debian/changelog: updates
2052 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2054 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2055 search mode, in order to avoid lose the focus on the treeview when
2056 a hw key (like enter) is pressed.
2058 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2059 in HildonDateSelector dialog)
2061 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2063 * debian/rules: Added --enable-maintainer-mode
2064 * Makefile.am: Added ACLOCAL_AMFLAGS
2066 This allows to properly regenerate the Makefiles if you modify the
2067 configure.ac or any Makefile.am.
2069 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2071 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2072 properties, not needed at all.
2074 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2076 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2078 * src/hildon-note.c: (hildon_note_set_property),
2079 (hildon_note_get_property), (hildon_note_class_init),
2080 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2081 (hildon_note_new_confirmation_add_buttons): Remove icons.
2082 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2083 (hildon_note_new_information_with_icon_name): Deprecate.
2084 (hildon_note_new_confirmation): Act directly, without calling
2085 the deprecated constructor.
2086 (hildon_note_new_information): Act directly, without calling
2087 the deprecated constructor.
2088 * src/hildon-note.h: Mark deprecate methods as such.
2089 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2090 not run tests on the deprecated methods if built with deprecation
2093 Fixes: NB#91688 (Never show icons in information notes/confirmation
2096 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2099 (hildon_app_menu_key_press): Remove leftover usage of the
2100 private structure in HildonAppMenu struct.
2101 * src/hildon-app-menu.h: Remove leftover private structure
2102 from the HildonAppMenu struct.
2104 Fixes a crasher when using the HildonAppMenu.
2106 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-picker-dialog.c: Use appropriate logical id
2109 for the default "Done" text.
2111 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2113 * configure.ac: post release version bump
2114 * debian/changelog: version bump
2116 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2118 Modified the way to scroll to the current selection just when the touch
2119 selector is shown on the screen, avoiding a g_idle. Added too a property
2120 to configure this behaviour. See hildon_pannable_area_jump_to_child
2121 documentation for more information.
2123 * src/hildon-touch-selector.c
2124 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2125 Added 'initial-scroll' property
2126 (hildon_touch_selector_set_property): Added
2127 (hildon_touch_selector_map): Removed as not required anymore
2128 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2129 only a concrete column, instead of iterate along all the columns
2131 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2136 * configure.ac: bump version
2137 * debian/changelog: updates
2139 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2142 compilation time warnings.
2144 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2147 the default value for HildonPannableArea::mov-mode to
2148 HILDON_PANNABLE_AREA_MODE_VERT.
2150 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2152 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2154 Reverting following commit:
2156 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu-private.h
2159 * src/hildon-app-menu.[ch]
2160 * src/hildon-button.[ch]
2161 * src/hildon-check-button.[ch]
2162 * src/hildon-entry.[ch]
2163 * src/hildon-pannable-area.[ch]
2164 * src/hildon-text-view.[ch]:
2165 Added private field to the object's structure.
2167 because it causes an ABI breakage. We will need to introduce these
2168 changes later at some point. See NB#91636 for an extensive
2169 explanation and status.
2171 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2173 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2175 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2176 remove special cases that are no longer necessary.
2178 Fixes: NB#91016 (Change toolbar sizes, simplification)
2180 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2183 is shown in the cancel note.
2185 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2188 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2189 (hildon_seekbar_init): Remove steppers, remove expose event.
2190 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2192 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2194 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2196 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2197 label font to "SmallSystemFont" for vertically arranged buttons.
2199 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2202 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-check-button.c
2205 (hildon_check_button_set_active, hildon_check_button_clicked):
2206 Don't access private parts directly, use getters instead.
2208 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2210 * src/hildon-check-button.c (hildon_check_button_new):
2211 Align the contents of the check button to the left.
2213 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2215 * src/hildon-pannable-area.c,
2216 (hildon_pannable_area_scroll_to),
2217 (hildon_pannable_area_jump_to),
2218 (hildon_pannable_area_scroll_to_child),
2219 (hildon_pannable_area_jump_to_child): Replace the mapped
2220 precondition of these functions with the realized, it is the
2221 correct state of the widget in this case. Changed the
2222 documentation according to this modification.
2224 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2226 Added a new EXTRA_CFLAGS option to add the deprecated define to
2227 the compilation command. This way we can avoid using the define in
2228 the documentation compilation.
2230 * configure.ac: Defined EXTRA_CFLAGS.
2232 * examples/Makefile.am:
2234 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2236 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2238 * src/hildon-picker-dialog.c:
2239 Defined a utility macro with the desired touch selector height
2240 Removed currently unused separator, and title_label variables from
2242 (hildon_picker_dialog_init): Removed code related to the creation
2243 of unused private variables title_label and separator.
2244 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2245 to ensure correct visualization of the touch selector inside the dialog.
2246 * src/hildon-touch-selector.c
2247 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2248 ensure a concrete height of the widget.
2250 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2253 * tests/Makefile.am:
2255 Remove spurious whitespaces.
2257 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2260 compilation warning after the cancel button removal.
2262 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2264 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2266 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2267 Makefile.am, that way we can choose not to compile some examples
2268 and tests of the deprecated widgets.
2270 * examples/Makefile.am: Divided the sources in deprecated and
2273 * src/Makefile.am: Added undef statement of the deprecated
2274 symbol to the enums file generation process.
2276 * src/hildon-color-chooser-dialog.c
2277 * src/hildon-color-chooser-dialog.h
2278 * src/hildon-color-button.c
2279 * src/hildon-color-button.h
2280 * src/hildon-color-chooser.c
2281 * src/hildon-color-chooser.h
2282 * src/hildon-controlbar.c
2283 * src/hildon-controlbar.h
2284 * src/hildon-date-editor.c
2285 * src/hildon-date-editor.h
2286 * src/hildon-hvolumebar.c
2287 * src/hildon-hvolumebar.h
2288 * src/hildon-private.c
2289 * src/hildon-private.h
2290 * src/hildon-range-editor.c
2291 * src/hildon-range-editor.h
2292 * src/hildon-seekbar.c
2293 * src/hildon-seekbar.h
2294 * src/hildon-time-editor.c
2295 * src/hildon-time-editor.h
2296 * src/hildon-time-picker.c
2297 * src/hildon-time-picker.h
2298 * src/hildon-volumebar.c
2299 * src/hildon-volumebar.h
2300 * src/hildon-vvolumebar.c
2301 * src/hildon-vvolumebar.h
2302 * src/hildon-bread-crumb-trail.h
2303 * src/hildon-bread-crumb-trail.c
2304 * src/hildon-calendar-popup.c
2305 * src/hildon-calendar-popup.h
2306 * src/hildon-weekday-picker.c:
2307 * src/hildon-weekday-picker.h:
2308 * src/hildon-bread-crumb-widget.c:
2309 * src/hildon-bread-crumb-widget.h:
2310 * src/hildon-bread-crumb.c:
2311 * src/hildon-bread-crumb.h:
2312 * src/hildon-calendar.c:
2313 * src/hildon-calendar.h:
2314 * src/hildon-caption.c:
2315 * src/hildon-code-dialog.c:
2316 * src/hildon-code-dialog.h:
2317 * src/hildon-font-selection-dialog.c:
2318 * src/hildon-font-selection-dialog.h:
2319 * src/hildon-get-password-dialog.c:
2320 * src/hildon-get-password-dialog.h:
2321 * src/hildon-login-dialog.c:
2322 * src/hildon-login-dialog.h:
2323 * src/hildon-number-editor.c:
2324 * src/hildon-number-editor.h:
2325 * src/hildon-set-password-dialog.c:
2326 * src/hildon-set-password-dialog.h:
2327 * src/hildon-sort-dialog.c:
2328 * src/hildon-sort-dialog.h: This is the list of deprecated
2331 * src/hildon-touch-selector.c:
2332 * src/hildon-window.c: Added undef statement to avoid compilation
2335 * tests/Makefile.am: Divided the sources in deprecated and
2338 * tests/check_test.c,
2339 (configure_tests): Marked the deprecated code that was adding
2340 suites with deprecated tests.
2342 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2344 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-touch-selector.c: (_default_print_func): Do not
2347 duplicate a string returned by gtk_tree_model_get(), it is already
2350 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2353 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2355 * src/hildon-pannable-area.c
2356 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2357 method, it had problems when adding a widget with viewport the
2358 second time. Now checks if it already has a viewport and uses it.
2360 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2363 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2365 * src/hildon-pannable-area.c,
2366 (hildon_pannable_area_scroll_to),
2367 (hildon_pannable_area_jump_to),
2368 (hildon_pannable_area_scroll_to_child),
2369 (hildon_pannable_area_jump_to_child): Added a precondition to the
2370 scroll and jump to functions: the widget must be mapped before we
2371 can safely call these functions. We have also added documentation
2372 to the functions to explain how to use them in this situation.
2375 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2377 Reviewed the threading handling of the pannable widget, we have
2378 used the gdk_threads_add_timeout function instead of the usual
2379 glib handlers. This avoids some problems with the threads.
2381 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2382 (hildon_pannable_area_initial_effect),
2383 (hildon_pannable_area_scroll_indicator_fade),
2384 (hildon_pannable_area_button_press_cb),
2385 (hildon_pannable_area_timeout),
2386 (hildon_pannable_area_motion_notify_cb),
2387 (hildon_pannable_area_button_release_cb),
2388 (hildon_pannable_area_scroll_cb),
2389 (hildon_pannable_area_scroll_to): Removed the
2390 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2391 gdk_threads_add_timeout.
2393 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2395 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: bump version
2401 * debian/changelog: updates
2403 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2406 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2407 * src/hildon-color-chooser-dialog.c:
2408 (hildon_color_chooser_dialog_init):
2409 * src/hildon-font-selection-dialog.c:
2410 (hildon_font_selection_dialog_init):
2411 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2413 Remove all cancel/close-like dialogs, as these are not going to be
2416 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-note.c: (hildon_note_rebuild),
2419 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2422 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2424 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2426 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2427 sure all buttons are shown, even the Cancel/Close-like ones.
2429 Fixes: NB#90861 (Custom Confirmation dialogs should be
2430 protected from cancel button removal)
2432 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2434 * debian/control: Change libhildon1-examples dependency from libhildon1
2436 * debian/libhildon1-examples.install
2438 * Makefile.am: Modified the final install directory for the examples on
2439 package libhildon1-examples
2440 * Makefile.static: Update clean target in order to remove all the binary
2443 Changes suggested by Claudio after review new libhildon1-examples package
2445 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2448 * src/hildon-touch-selector.c: Ditto.
2450 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2452 * debian/control: Added new package libhildon1-examples, in order to pack
2453 the current hildon examples as documentation
2454 * debian/rules: Not to compress .c files, modify some includes on the
2455 examples (as normally are compiled locally, but when installed it will
2456 require to include the installed libhildon1 library), and rename
2458 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2459 install all the example files on the new example package
2460 * examples/Makefile.static: Added static makefile that can be used to
2461 compile the examples, once installed the new example package
2462 * examples: Most of the examples were modified in order to grant that
2463 all use only '#include "hildon.h"', in order to be easy to prepare
2464 it on the example package
2466 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2469 * debian/libhildon1-dev.install
2470 * debian/libhildon1-doc.install:
2471 Move all gtk-doc files to a separate libhildon1-doc package.
2473 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2475 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2479 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2481 * debian/rules: Fixed a error in order to avoid unnecessary calls
2482 to autogen.sh on package building
2484 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2486 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2488 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2493 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-picker-button.c
2496 (hildon_picker_button_finalize):
2497 Free priv->done_button_text
2499 * src/hildon-time-button.c
2500 (hildon_time_button_set_time)
2501 * src/hildon-picker-button.c
2502 (hildon_picker_button_clicked)
2503 (hildon_picker_button_selector_selection_changed)
2504 (hildon_picker_button_set_selector)
2505 * src/hildon-date-button.c
2506 (hildon_date_button_set_date):
2507 Free strings returned by hildon_touch_selector_get_current_text()
2509 * src/hildon-button.c (hildon_button_construct_child):
2510 Fix leaks in priv->image and priv->label_box
2512 Fixes: NB#90535 (Memory leak in picker button)
2514 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-button.c: (hildon_button_get_property): Do not access
2517 private elements directly, use getters instead.
2519 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2521 * src/hildon-app-menu-private.h
2522 * src/hildon-app-menu.c
2523 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2524 Store the menu's parent window.
2526 * src/hildon-stackable-window.c
2527 (hildon_stackable_window_toggle_menu)
2528 (hildon_stackable_window_finalize):
2529 Set the menu's parent window when the menu is shown, unset it when
2532 * src/hildon-app-menu.c
2533 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2534 (hildon_app_menu_class_init):
2535 Send unhandled keyboard accelerators to the parent window.
2537 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2539 * src/hildon-stackable-window.c
2540 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2542 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2544 * configure.ac: post release version bump
2546 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2549 * configure.ac: Bump version
2550 * debian/changelog: Updates
2551 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2554 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2556 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2559 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2560 GtkMenu with Hildon style.
2562 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-picker-button.c:
2565 (hildon_picker_button_set_done_button_text): Set the dialog's
2566 done button text here as well.
2568 Fixes: NB#90232 (Picker button does not set the label on done button
2569 for the second time)
2571 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2573 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2576 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-app-menu.c (hildon_app_menu_insert)
2579 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2580 the HildonAppMenu to be activatable using keyboard accelerators
2581 when the menu is not being shown.
2583 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2585 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2587 * src/hildon-stackable-window.c
2588 (hildon_stackable_window_show):
2589 Don't hide old windows automatically when new windows are shown:
2590 this is now a task for the window manager.
2591 (hildon_stackable_window_class_init)
2592 (hildon_stackable_window_hide):
2593 Remove windows from the stack everytime they're hidden.
2594 (hildon_stackable_window_realize):
2595 Don't change the _NET_WM_WINDOW_TYPE property. Use
2596 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2597 it as a stackable window.
2599 * src/hildon-program.c
2600 (hildon_program_pop_window_stack):
2601 Just hide the window to remove it from the stack.
2602 (hildon_program_go_to_root_window):
2603 Don't call gtk_widget_show(), this is now a task for the window
2606 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2608 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-button.c
2611 (hildon_button_construct_child):
2612 Don't pack anything in the button until text or image are
2613 set. This allows adding a custom child after creating the button
2614 with hildon_button_new().
2615 (hildon_button_finalize, hildon_button_class_init)
2616 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2617 alignment and the label box even when they're not packed in the
2620 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2622 * src/hildon-touch-selector.h:
2623 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2624 currently the type definition was using GTK_TYPE_VBOX
2625 * src/hildon-touch-selector.c:
2626 Added some implementation notes in order to clarify that any other widget
2627 added without the column related API will not be included on the
2628 selection logic, and how the widget is freed, as some people ask about
2630 (hildon_touch_selector_remove): Reimplemented in order to free properly
2631 the column related data when you remove the private hbox.
2632 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2633 to get a proper HildonTouchSelectorColumn documentation
2635 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-touch-selector-entry.c:
2638 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2639 text in the GtkEntry and there is no item selected. Fixes a
2642 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-app-menu-private.h
2645 * src/hildon-app-menu.[ch]
2646 * src/hildon-button.[ch]
2647 * src/hildon-check-button.[ch]
2648 * src/hildon-entry.[ch]
2649 * src/hildon-pannable-area.[ch]
2650 * src/hildon-text-view.[ch]:
2651 Added private field to the object's structure.
2653 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2655 * configure.ac: post-release version bump
2657 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2661 * configure.ac: pre-release version bump
2663 * debian/changelog: updates.
2665 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2668 Disconnect the handler for HildonTouchSelector::changed.
2670 (hildon_picker_button_selector_selection_changed): Update the button
2671 value if the selection change was not triggered by the
2674 (hildon_picker_button_set_selector): connect to
2675 HildonTouchSelector::changed.
2677 Fixes: NB#89650 (Picker button is not updated, when selection in
2678 selector has changed)
2680 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2682 * src/hildon-picker-dialog.c
2683 (hildon_picker_dialog_realize): Removed as not required
2684 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2685 * src/hildon-picker-button.c
2686 (_current_selector_empty): New function, checks if the selector is empty
2687 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2688 if the current selector is empty, in order to avoid to show the dialog
2689 close the dialog in this case (and shows a g_warning).
2691 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2693 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2695 * src/hildon-pannable-area.c,
2696 (hildon_pannable_area_scroll): Added clause to stop movement when
2697 the child of pannable is smaller than one page.
2698 (hildon_pannable_area_scroll_to): Added conditions to avoid
2699 starting the scrolling movement if the child is smaller than one
2700 page, the complete child is in the screen, we do not have to move.
2702 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2704 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2707 this is managed automatically by the widget when the size of the
2710 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-picker-button.c
2713 (hildon_picker_button_set_done_button_text): Make a copy of the
2714 text, and free the previous value.
2716 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-touch-selector-entry.c:
2719 (hildon_touch_selector_entry_print_func): Return the selected row's
2720 text if the entry is empty.
2722 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2725 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2729 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-check-button.h
2733 * src/hildon-check-button.c
2734 * examples/hildon-check-button-example.c:
2735 HildonCheckButton is now a new widget. 'toggled' signal added.
2737 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-program-private.h
2740 * src/hildon-program.c (hildon_program_init)
2741 (hildon_program_finalize): Removed unused variables group_leader
2742 and name from HildonProgramPrivate.
2744 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-check-button.c (hildon_check_button_set_active)
2747 (hildon_check_button_get_active, hildon_check_button_new): Use
2748 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2750 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2752 * src/hildon-touch-selector.h
2753 (hildon_touch_selector_set_column_attributes): added deprecation
2754 guard HILDON_DISABLE_DEPRECATED
2755 * src/hildon-time-selector.c
2756 (hildon_time_selector_set_time)
2757 (hildon_time_selector_get_time): Fixed a typo on documentation
2758 * src/hildon-touch-selector.c: update HildonTouchSelector and
2759 HildonTouchSelectorColumn documentation
2760 * src/hildon-touch-selector-entry.c: update "text-column" property
2762 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2763 to be added to the general documentation.
2765 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2767 * examples/hildon-pannable-area-example-4.c,
2769 * examples/hildon-pannable-area-example.c,
2770 (main): Modified the code in order to use the container add, with
2771 viewport treeviews could have problems if they are really big.
2773 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2775 * src/hildon-weekday-picker.c,
2776 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2777 the agreement regarding deprecation in the library.
2779 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2781 * examples/hildon-picker-button-multicolumn-example.c:
2782 (main): Use custom "done" button text.
2784 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2785 (hildon_picker_button_set_property),
2786 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2787 (hildon_picker_button_init),
2788 (+hildon_picker_button_get_done_button_text),
2789 (+hildon_picker_button_set_done_button_text): New methods to customize
2790 the "done" button label in the launched HildonPickerDialog. Also,
2793 * src/hildon-picker-button.h: add the public API.
2795 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-date-selector.h:
2798 * src/hildon-picker-dialog.h:
2799 * src/hildon-time-selector.h:
2800 * src/hildon-touch-selector-column.h:
2801 * src/hildon-touch-selector.h:
2803 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2804 declarations. Fixes gtk-doc warnings.
2806 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-picker-dialog.h
2809 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2810 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2812 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2813 long text is set as label for done button)
2815 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-dialog.c (hildon_dialog_add_button):
2818 Set fixed width to all buttons in the HildonDialog.
2820 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2822 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2824 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2825 Set widget name using class name plus "-finger" or "-thumb".
2827 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2830 'clicked' when the state of the button is manually changed.
2832 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-app-menu.c (hildon_app_menu_realize)
2835 (hildon_app_menu_unrealize, hildon_app_menu_init)
2836 (hildon_app_menu_class_init, item_visibility_changed):
2837 Change the menu layout when the size of the screen changes.
2838 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2839 Show warning only when changing the number of colums using the
2842 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2844 * debian/compat: Set to 5
2845 * debian/control: Update dependencies.
2846 * debian/libhildon1-dbg.install: Remove.
2847 * debian/libhildon1-dev.install: Update according to cdbs paths.
2848 * debian/libhildon1.install: Update according to cdbs paths.
2849 * debian/rules: Switch to cdbs.
2851 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2854 'item' variable renamed to 'filter'
2856 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2858 * src/hildon-app-menu.c (hildon_app_menu_insert)
2859 (hildon_app_menu_add_filter, remove_item_from_list)
2860 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2861 Don't leak hidden items when the menu is destroyed.
2863 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-app-menu.c (hildon_app_menu_insert)
2866 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2867 (hildon_app_menu_set_columns, item_visibility_changed)
2868 (filter_visibility_changed, hildon_app_menu_repack_filters)
2869 (hildon_app_menu_repack_items):
2870 Repack items and filters separately.
2872 Don't repack all items, change only the ones that are needed to
2875 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2877 * src/Makefile.am: added hildon-touch-selector-column.h
2879 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2881 * src/hildon-touch-selector.c: added the property "text-column" to the
2882 class HildonTouchSelectorColumn, and related get/set functions
2883 (_default_printf_func): updated to use "text-column" property
2884 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2885 "text-column" in his documentation, as this is now included on
2886 HildonTouchSelectorColumn. The get/set_property can still be used,
2887 working as a wrapper to the concrete column "text-column" property
2888 (_text_column_modified): callback added in order to handle the signal
2889 "notify::text-column" of the concrete HildonTouchSelectorColumn
2890 (hildon_touch_selector_entry_get_text_column)
2891 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2892 modified in order to use the HildonTouchSelectorColumn "text-column"
2894 * src/hildon-time-selector.c:
2895 * src/hildon-date-selector.c:
2896 * examples/hildon-touch-selector-example.c
2897 * examples/hildon-touch-selector-multi-cells-example.c
2898 * examples/hildon-picker-button-multicolumn-example.c
2899 Set the right value to "text-column" property on the creation of a new
2900 column using hildon_touch_selector_append_column()
2902 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2904 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-app-menu.c
2907 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2908 updating the layout of the menu, don't create all widgets again,
2909 just repack the items in their new places.
2911 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2913 * src/hildon-time-selector.c
2914 (hildon_time_selector_get_time)
2915 (hildon_time_selector_set_time)
2916 Added documentation of these public methods
2918 * src/hildon-date-button.h
2919 * src/hildon-touch-selector-column.h
2920 * src/hildon-time-button.h
2921 * src/hildon-picker-dialog.h
2922 * src/hildon-time-selector.h
2923 * src/hildon-picker-button.h
2924 * src/hildon-touch-selector.h
2925 * src/hildon-time-picker.h
2926 * src/hildon-date-selector.h
2927 * src/hildon-touch-selector-entry.h
2928 Modified in order to use hildon-widgets code style
2930 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2932 Added deprecated support to the compilation process using
2933 HILDON_DISABLE_DEPRECATED
2935 * configure.ac: Added the --disable-deprecated to the configure
2938 * src/hildon-weekday-picker.c:
2939 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2940 to use the deprecated support. We will update the other deprecated
2941 widgets status in a new patch.
2943 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2945 * configure.ac: Fixed typo with fatal warnings support, the
2946 variable name was not correct
2948 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-app-menu.c
2951 * src/hildon-program.c: Update documentation.
2953 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2955 * configure.ac: Post-release version bump.
2957 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2962 * configure.ac: Pre-release version bump.
2963 * debian/changelog: Updates.
2965 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2967 * NEWS: Update news for previous releases.
2969 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2971 * examples/hildon-touch-selector-multi-cells-example.c:
2972 (create_selector): Update the example to use
2973 hildon_touch_selector_append_column() with a NULL renderer and set
2974 the renderers later.
2975 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2976 passed a NULL renderer. This is documented behavior now.
2978 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2979 This must be used if the developer wants full control on the layout of
2980 the renderers to be added to the column.
2982 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2984 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-touch-selector.c: Documentation fixes.
2988 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-wizard-dialog-private.h: Remove image and box.
2991 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2992 (hildon_wizard_dialog_set_property), (response): Completely remove
2993 image/icon support, and the containers required for the layout.
2995 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2997 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-app-menu.c: Updated documentation.
3001 * src/hildon-stackable-window.c
3002 (hildon_stackable_window_set_main_menu): Unref the old menu after
3003 ref'ing the new one.
3005 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-stackable-window.c
3008 (hildon_stackable_window_set_main_menu): Unref the previous menu
3009 instead of destroying it.
3011 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3012 floating reference and set has_user_ref_count to FALSE to make
3013 HildonAppMenu act like a normal ref-counted widget and not a
3016 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3019 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3021 * src/hildon-touch-selector-column.h: new file
3022 * src/hildon-touch-selector.h
3023 * src/hildon-touch-selector.c
3024 Implemented GtkCellLayout interface, in order to allow to configure
3025 the cell layout on each individual selector column
3026 (hildon_touch_selector_set_column_attributes): marked as deprecated
3027 * examples/hildon-touch-selector-multi-cells-example.c
3028 Example of how to use the GtkCellLayout interface on the selector
3030 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3032 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-app-menu.h
3035 * src/hildon-app-menu.c
3036 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3037 (hildon_app_menu_append, hildon_app_menu_prepend):
3038 New methods to prepend, insert and move items in the menu.
3040 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3042 * src/hildon-wizard-dialog.c:
3044 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3046 (create_title): Update logical IDs and related code.
3047 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3049 * src/hildon-wizard-dialog.h: Note that
3050 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3051 point, as it is not used anymore.
3053 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3055 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3057 * src/hildon-note.c:
3058 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3059 shown. Do not display an icon in confirmation notes nor information
3061 (hildon_note_set_button_text): Update logical ID for cancel button.
3063 Fixes: NB#88850 (Update HildonNote button strings + signals)
3065 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3067 * src/hildon-stackable-window.c
3068 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3070 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-app-menu-private.h
3073 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3074 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3075 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3076 temporary property 'columns' to change the number of columns.
3078 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3080 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3082 * examples/hildon-note-example.c: (on_information_clicked),
3083 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3084 debugging information.
3085 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3087 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3088 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3089 in order to close: this will be handled by the WM from now on.
3091 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3093 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-app-menu-private.h
3096 * src/hildon-app-menu.c
3097 (hildon_app_menu_append, hildon_app_menu_add_filter)
3098 (button_visibility_changed, hildon_app_menu_apply_style)
3099 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3100 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3101 layout everytime a button (item or filter) is shown or hidden.
3103 * src/hildon-stackable-window.c
3104 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3107 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3109 * src/hildon-touch-selector.c:
3110 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3111 that the treeview inside the touch selector is in fremantle hildon mode
3112 * examples/hildon-date-button-example.c
3113 * examples/hildon-picker-button-multicolumn-example.c
3114 * examples/hildon-touch-selector-entry-example.c
3115 * examples/hildon-touch-selector-example.c
3116 * examples/hildon-time-button-example.c
3117 * examples/hildon-picker-button-example.c:
3118 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3120 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3122 * examples/hildon-text-view-example.c: (main): Remove the
3123 gtkrc bits, now handled by the theme.
3125 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3130 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3132 * po/Makefile.am: Install properly the mo files.
3133 * po/en_GB.po: Update translation, to ease testing purposes.
3135 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3137 * examples/hildon-picker-button-example.c: (main): Select an item
3138 in the selector before setting it to the button.
3140 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3143 Update button's value if the selector has an item active.
3145 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3146 'value' with the selector)
3148 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3151 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3152 (hildon_picker_button_class_init): Plug the finalize method.
3153 (hildon_picker_button_set_selector): If there's a previously set
3154 selector, unref'it before setting a new one.
3156 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3157 HildonTouchSelector)
3159 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-touch-selector-entry.c:
3162 (hildon_touch_selector_entry_changed): Check if there is no text
3163 selected before setting the entry text.
3166 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-touch-selector.h
3169 * src/hildon-touch-selector.c
3170 (hildon_touch_selector_get_active)
3171 (hildon_touch_selector_set_active): New methods to set/get the
3172 index of the selected item.
3174 * src/hildon-picker-button.h
3175 * src/hildon-picker-button.c
3176 (hildon_picker_button_get_active)
3177 (hildon_picker_button_set_active): New methods to set/get the
3178 index of the selected item.
3180 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3182 * configure.ac: post-release version bump.
3184 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3188 * configure.ac: Pre-release version bump.
3189 * debian/changelog: Updates.
3190 * debian/control: Add myself as maintainer and depend on l10n
3193 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-window.c
3196 (hildon_window_set_main_menu)
3197 * src/hildon-stackable-window.c
3198 (hildon_stackable_window_set_main_menu):
3199 Updated documentation.
3201 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3204 Don't free selector->priv manually.
3207 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3210 (hildon_gtk_window_set_progress_indicator):
3211 * src/hildon-gtk.h: Added the new API
3212 hildon_gtk_window_set_progress_indicator, it changes the state of
3213 the window progress hint.
3215 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3217 * src/hildon-button.c
3218 * src/hildon-stackable-window.c: Minor documentation updates.
3220 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-stackable-window.c: Updated documentation.
3224 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-defines.h: Update margins definitions
3227 to the Fremantle sizes.
3230 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3232 * src/hildon-touch-selector.c,
3233 (_hildon_touch_selector_set_model): Cleaning the code after
3234 review, removed g_print and #if 0 from the code.
3236 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-edit-toolbar.c: Update documentation.
3240 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3242 * src/hildon-check-button.h
3243 * src/hildon-check-button.c
3244 (hildon_check_button_set_label, hildon_check_button_get_label)
3245 * examples/hildon-check-button-example.c
3246 (button_clicked_cb):
3247 Removed deprecated methods.
3249 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-text-view.c:
3252 Add sample code to the documentation.
3254 * src/hildon-entry.h
3255 * src/hildon-text-view.h:
3256 Minor cosmetic changes.
3258 * src/hildon-entry.c:
3259 Add sample code to the documentation.
3260 (hildon_entry_init, hildon_entry_refresh_contents):
3261 Don't allow NULL values in the placeholder.
3263 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3265 * doc/hildon-docs.sgml
3267 * examples/Makefile.am
3268 * examples/hildon-text-view-example.c
3270 * src/hildon-text-view.c
3271 * src/hildon-text-view.h
3273 New HildonTextView widget, with example.
3275 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3277 * po/POTFILES.in: Add missing files with translatable strings.
3278 Partially fixes NB#88287.
3280 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3282 * examples/hildon-pannable-area-example-2.c: (main): No need to
3283 set the cellrenderer height inside hildon touch lists, the theme does
3286 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3288 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3289 they are integrated in the theme.
3291 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3293 * examples/hildon-entry-example.c: Update the example adding
3294 widgets to modify the text and the placeholder of the HildonEntry.
3296 * src/hildon-entry.c: Show the placeholder everytime the widget
3297 is empty and loses the focus.
3299 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3301 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3303 * src/hildon-pannable-area.c,
3304 (hildon_pannable_area_size_request): Fixed bug in height
3305 requisition, avoid increasing size and add border twice.
3307 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3309 * configure.ac: postrelease version bump.
3311 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3315 * configure.ac: Prerelease version bump.
3316 * debian/changelog: update.
3317 * debian/rules: make -dbg package contain useful debugging symbols.
3319 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-dialog.h
3322 * src/hildon-dialog.c
3323 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3324 New methods to add buttons with finger size.
3325 (hildon_dialog_new_with_buttons):
3326 Create buttons with finger size.
3328 * examples/hildon-dialog-example.c (main): Use HildonDialog
3329 methods to add buttons.
3331 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-entry.c: Updated HildonButton documentation.
3335 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3337 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3338 button value label with (FALSE, FALSE) to prevent NB#88126 from
3341 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3343 * examples/hildon-pannable-area-example.c,
3344 (main): Removed examples panning a vbox inside a pannable
3345 area. Check bug NB#87965
3347 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3349 Patch contributed by Kris Rietveld (kris@imendio.com)
3351 * src/hildon-pannable-area.c,
3352 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3353 get_size and get_position, this saves an X server roundtrip.
3355 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3357 * doc/hildon-docs.sgml
3359 * examples/Makefile.am
3360 * examples/hildon-entry-example.c
3362 * src/hildon-entry.c
3363 * src/hildon-entry.h
3365 New HildonEntry widget, with example.
3367 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-button.c (hildon_button_construct_child): Pack the
3370 image with expand == fill == FALSE. This is a workaround for a bug
3373 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3375 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3376 labels for the text column, to make it more look more dynamic.
3378 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3380 * src/hildon-time-selector.c
3381 Define gettext auxiliar macro N_
3382 (_create_minutes_model)
3383 (_create_hours_model)
3384 (_create_ampm_model): use of strftime in order to fill the model
3385 * src/hildon-date-selector.c
3386 (hildon_date_selector_finalize):
3387 (_locales_init): remove the logic related to get the name of the months
3388 using nl_langinfo, as it is not required anymore
3390 (_create_year_model)
3391 (_create_month_model)
3392 (_update_day_model): use of strftime in order to fill the model properly
3395 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3397 * src/hildon-button.h
3398 * src/hildon-button.c (hildon_button_get_image): New method to
3401 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-touch-selector.c:
3404 (hildon_touch_selector_remove_column): Remove from the correct parent
3405 and also remove the list element and free it.
3408 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3410 * src/hildon-time-selector.c
3411 (_create_hours_model): change the range on 12h ampm format in order to use
3412 a 12-11 range instead of previous 01-12 range
3413 (hildon_time_selector_set_time): change the way to select the current time
3414 on 12h ampm format, due the change on the range
3415 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3418 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3420 * src/hildon-touch-selector.c
3421 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3422 in order to allow use this function on multiple row selection mode if
3423 the column is different that the first one
3426 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3428 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3429 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3431 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3433 * src/hildon-date-selector.h: clean some comments, now on the .c
3434 * src/hildon-date-selector.c
3435 (hildon_date_selector_select_month): first implementation
3436 (hildon_date_selector_select_day): added documentation, reimplemented
3437 using hildon_date_selector_select_current_date to avoid repeat code
3440 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3442 Reviewed interaction logic based on device experiences, refactored
3445 * src/hildon-pannable-area.c,
3446 (hildon_pannable_area_class_init): Updated default vmax speed.
3447 (hildon_pannable_area_calculate_velocity): Added this function, it
3448 avoids duplicate valocity calculation. Adjusted calculation to
3449 avoid problems with zero dist events.
3451 (hildon_pannable_area_motion_notify_cb): Now we use the
3452 calculate_velocity function.
3454 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3456 * src/hildon-date-selector.c
3457 (hildon_date_selector_select_current_date): fix the day range check
3458 as it failed using the last day of the current month
3461 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3463 * src/hildon-touch-selector.c
3464 (hildon_touch_selector_get_num_columns): added a parameter validation
3467 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3469 * examples/Makefile.am
3470 * examples/hildon-edit-toolbar-example.c: Example of the
3471 HildonEditToolbar widget.
3473 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3475 * configure.ac: postrelease version bump.
3477 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3481 * configure.ac: prerelease version bump.
3482 * debian/changelog: update.
3484 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3486 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3487 renderer to display stock icons in the touch list. Also, set the sizes
3488 to the recommended in the style guide.
3490 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3491 * src/hildon-touch-selector.h
3492 (hildon_touch_selector_set_active_iter): renamed, now is
3493 hildon_touch_selector_select_iter
3494 (hildon_touch_selector_get_active_iter): renamed, now is
3495 hildon_touch_selector_get_selected
3496 (hildon_touch_selector_unselect_iter): added
3497 * src/hildon-touch-selector.c
3498 Update after API modification (methods renamed)
3499 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3500 order to avoid problems selecting multiple elements on the column
3501 (hildon_touch_selector_unselect_iter): added the implementation
3502 * src/hildon-time-selector.c
3503 * src/hildon-date-selector.c
3504 * src/hildon-touch-selector-entry.c
3505 Update methods calls after hildon-touch-selector.h API modification (methods
3508 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-stackable-window.c
3511 (hildon_stackable_window_finalize): Call the parent class's finalize.
3513 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3515 * examples/hildon-touch-selector-example.c: (create_selector): Use
3516 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3519 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3521 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3522 set a cell background color, to respect theming.
3524 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3526 * doc/hildon-docs.sgml
3529 * src/hildon-edit-toolbar.c
3530 * src/hildon-edit-toolbar.h
3531 * src/hildon.h: New HildonEditToolbar widget.
3533 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3535 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3538 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3539 * src/hildon-touch-selector.c
3540 (_create_new_column): use g_object_set instead of two g_object_set_property
3542 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3543 * src/hildon-touch-selector.c
3544 (_create_new_column): use of hildon_gtk_tree_view_new to create
3545 the treeview, instead of use directly g_object_new
3546 (_create_new_column): update the property name "vindicator-mode" for the
3547 new one "vscrollbar-policy"
3548 * examples/hildon-date-button-example.c
3549 * examples/hildon-picker-button-multicolumn-example.c
3550 * examples/hildon-touch-selector-entry-example.c
3551 * examples/hildon-touch-selector-example.c
3552 * examples/hildon-time-button-example.c
3553 * examples/hildon-picker-button-example.c
3554 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3555 to all the treeviews inside a pannable area.
3557 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-button.h
3560 * src/hildon-button.c (hildon_button_init)
3561 (hildon_button_set_arrangement, hildon_button_set_alignment)
3562 (hildon_button_set_title_alignment)
3563 (hildon_button_set_value_alignment)
3564 (hildon_button_set_image_alignment)
3565 (hildon_button_construct_child): New methods to set the alignment
3566 of the individual components of the button (title, value,
3567 image). Also, new method to alter the xscale and yscale properties
3568 of the GtkAlignment inside the button, so more complex layouts can
3571 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-button.c (hildon_button_style_set)
3574 (hildon_button_class_init, hildon_button_set_arrangement)
3575 (hildon_button_construct_child): Apply style properties
3576 correctly. Use the 'image-spacing' style property too.
3578 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3581 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3584 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3586 * src/hildon-pannable-area.c,
3587 (hildon_pannable_area_size_request): Fixed problem with
3588 pannable-area size_request.
3590 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3592 Added management for the grab-focus to a child widget, like a
3593 range, we need to fade out the scrollbar when releasing.
3595 * src/hildon-pannable-area.c,
3596 (hildon_pannable_area_init): Connected the grab-focus signal to
3598 (hildon_pannable_area_grab_notify): Added this function in order
3599 to manage the situation when the grab-focus ends. We have to
3600 fade-out the scrollbar.
3602 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3604 * src/hildon-app-menu.c: Minor documentation update.
3606 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-app-menu.c
3609 * examples/hildon-app-menu-example.c (create_menu): Update
3610 examples and documentation to explain how to connect callbacks.
3612 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3614 * examples/hildon-button-example.c
3615 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3616 hildon_stackable_window_new instead of gtk_window_new
3618 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3620 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3621 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3622 (hildon_pannable_area_set_property),
3623 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3624 (hildon_pannable_area_unrealize),
3625 (hildon_pannable_area_size_request),
3626 (hildon_pannable_area_size_allocate),
3627 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3628 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3629 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3630 (hildon_pannable_area_initial_effect),
3631 (hildon_pannable_area_redraw),
3632 (hildon_pannable_area_scroll_indicator_fade),
3633 (hildon_pannable_area_expose_event),
3634 (hildon_pannable_area_get_topmost), (synth_crossing),
3635 (hildon_pannable_area_button_press_cb),
3636 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3637 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3638 (hildon_pannable_area_motion_notify_cb),
3639 (hildon_pannable_area_button_release_cb),
3640 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3641 (hildon_pannable_area_remove),
3642 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3643 chage the code layout to a more GtkWidget like. Review the use of
3646 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3648 * examples/hildon-pannable-area-example-4.c,
3649 (main): Modified the name of the hindicator_mode to
3652 * src/hildon-pannable-area.c,
3653 (hildon_pannable_area_class_init),
3654 (hildon_pannable_area_motion_notify_cb),
3655 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3656 we have reduced the amount of signals and managed reviewed its
3657 rationale. Changed the default decelerate value.
3659 (hildon_pannable_area_add),
3660 (hildon_pannable_area_redraw): Refactored functions.
3662 (hildon_pannable_area_init),
3663 (hildon_pannable_area_get_property),
3664 (hildon_pannable_area_set_property):
3665 (hildon_pannable_draw_vscroll),
3666 (hildon_pannable_draw_hscroll),
3667 (hildon_pannable_area_initial_effect),
3668 (hildon_pannable_area_expose_event),
3669 (hildon_pannable_area_scroll),
3670 (hildon_pannable_area_button_press_cb),
3671 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3672 and vindicator_mode with hscrollbar_policy and
3673 vscrollbar_policy. Replaced hscroll and vscroll with
3674 hscroll_visible and vscroll_visible.
3676 (hildon_pannable_area_refresh): Refactor the function, remove
3677 variables and check the calls to this function, added resize
3678 conditions in case the children change their layout.
3680 (hildon_pannable_area_size_request): Added more detailed
3681 size_request calculation.
3684 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3686 * src/hildon-color-chooser.c
3687 (init_borders): use the correct gtk_border_free instead of g_free, to
3688 avoid a crash when this widget is used (ie: the three color selection
3691 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3693 * src/hildon-check-button.c,
3694 (hildon_check_button_set_active): Fixed problem when setting the
3695 active value, the widget was not redrawn.
3697 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3699 * src/hildon-pannable-area.c,
3700 (hildon_pannable_area_refresh),
3701 (hildon_pannable_area_scroll),
3702 (hildon_pannable_area_motion_notify_cb): Small code style change.
3704 (hildon_pannable_area_class_init): Default initial_hint set to
3705 FALSE, it is not in the specs.
3707 (hildon_pannable_area_initial_effect),
3708 (hildon_pannable_area_expose_event),
3709 (hildon_pannable_area_map),
3710 (hildon_pannable_area_init): Moved the launching point of the
3711 initial effect, it was in map but the sizes where not correct in
3712 that method so we do not know if we have the reproduce it. Now it
3713 is placed in the expose_event method and uses a variable to
3714 reproduce it just once.
3716 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3718 * src/hildon-pannable-area.c,
3719 (hildon_pannable_draw_vscroll),
3720 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3721 position allowed for the scrollbars.
3723 (hildon_pannable_area_size_allocate): Small style change.
3725 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3727 * src/hildon-pannable-area.c,
3728 (hildon_pannable_area_scroll_indicator_fade),
3729 (hildon_pannable_area_button_press_cb),
3730 (hildon_pannable_area_button_release_cb),
3731 (hildon_pannable_area_scroll_cb),
3732 (hildon_pannable_area_expose_event),
3733 (hildon_pannable_area_init): Added the define parameter
3734 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3735 and refactor the fade variable.
3737 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3739 * src/hildon-pannable-area.c,
3740 (hildon_pannable_area_redraw),
3741 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3742 lines, we were reimplemeting the redraw code.
3744 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3746 * src/hildon-pannable-area.c,
3747 (hildon_pannable_area_scroll_cb),
3748 (hildon_pannable_area_realize),
3749 (hildon_pannable_area_class_init): Added scroll_event management
3750 for pannable area, now we can scroll the usual desktop method.
3752 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3753 initialization of the parameters should depend on idle_id.
3755 (hildon_pannable_area_init),
3756 (hildon_pannable_area_map): Small code style modifications
3758 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3760 * src/hildon-pannable-area.c
3761 (hildon_pannable_area_button_press_cb),
3762 (hildon_pannable_area_motion_notify_cb),
3763 (hildon_pannable_area_button_release_cb),
3764 (hildon_pannable_area_size_allocate),
3765 (hildon_pannable_area_scroll_to): Improved the timeouts
3766 management, we avoid creating them each time.
3768 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3770 * src/hildon-pannable-area.c:
3771 (hildon_pannable_area_refresh),
3772 (hildon_pannable_area_motion_notify_cb),
3773 (hildon_pannable_area_class_init):
3774 * src/hildon-pannable-area.h:
3775 * src/hildon-touch-selector.c
3776 (_create_new_column):
3777 * examples/hildon-pannable-area-example-4.c:
3778 (horizontal_movement),
3779 (vertical_movement),
3781 Replaced the names of enums in the HildonPannableArea:
3782 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3783 HILDON_MOVEMENT_MODE_*
3784 - HILDON_PANNABLE_AREA_MOV_* ->
3786 - Removed HildonPannableAreaIndicatorMode, now we
3789 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3791 * examples/hildon-pannable-area-touch-grid-example.c
3792 * examples/hildon-pannable-area-touch-list-example.c: Fix
3793 compilation warnings.
3795 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3797 * src/hildon-gtk.c (hildon_gtk_button_new)
3798 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3799 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3800 images overriding the value of the "gtk-button-images" setting.
3802 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3804 * src/hildon-check-button.c (hildon_check_button_new):
3805 Instead of using a custom container, display the label and the
3806 checkbox using the standard GtkButton API.
3808 * examples/hildon-check-button-example.c (main): Don't use
3809 hildon_check_button_set_label() anymore
3811 * src/hildon-check-button.h
3812 * src/hildon-check-button.c
3813 (hildon_check_button_set_label, hildon_check_button_get_label):
3814 Set as deprecated, now we're using gtk_button_{get,set}_label()
3816 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3818 * src/hildon-pannable-area.c,
3819 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3820 GtkTreeview first line we detected it after the inclusion of the
3821 GtkWindowImpl in gtk+. We now check if the window is visible, not
3822 just if the pointer is over the window.
3823 (hildon_pannable_axis_scroll),
3824 (hildon_pannable_area_expose_event): Small style changes.
3826 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3828 * src/hildon-button.c: Update documentation.
3830 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3832 * examples/hildon-button-example.c: Add a switch to show images in
3835 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3837 * doc/hildon-docs.sgml: Some docs reorganization.
3839 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3841 * examples/hildon-pannable-area-touch-list-example.c
3843 * examples/hildon-pannable-area-touch-grid-example.c
3844 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3845 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3846 Fix memory leak when setting the tree model.
3848 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3852 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3854 * doc/hildon.types: Remove duplicated hildon_window_get_type
3855 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3856 documentation comment.
3858 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3860 * doc/Makefile.am: Complete list of private headers.
3862 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3864 * doc/hildon-docs.sgml
3865 * src/hildon-app-menu.c
3866 * src/hildon-bread-crumb.c
3867 * src/hildon-button.c
3869 * src/hildon-program.c
3870 * src/hildon-stackable-window.c
3871 * src/hildon-window.c: Lots of documentation updates.
3873 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3875 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3877 * configure.ac: Require Gtk+ 2.12.9 at least
3879 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3881 * src/hildon-pannable-area.c
3882 (hildon_pannable_area_scroll_indicator_fade),
3883 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3884 to protect the return of this timeout callbacks, avoiding deadlocks.
3886 2008-08-12 Christian Dywan <christian@imendio.com>
3889 * src/hildon-*.h: Ensure a consistent include order,
3890 include <gtk/gtk.h> instead of particular files and
3891 only include the topmost header in the gtk stack. See NB #39857
3893 2008-08-12 Christian Dywan <christian@imendio.com>
3895 * src/hildon-picker-dialog.c
3896 * src/hildon-touch-selector.c: Fix warnings about unused and
3897 uninitialized variables.
3899 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3901 * examples/Makefile.am
3902 * examples/hildon-check-button-example.c: Example of the hildon
3905 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-window.h
3908 * src/hildon-window.c (hildon_window_class_init)
3909 (hildon_window_unset_program): Don't make
3910 hildon_window_unset_program a virtual function anymore.
3912 * src/hildon-stackable-window.c: Update documentation
3914 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3917 * doc/hildon-docs.sgml
3918 * doc/visual_index.xml
3919 * src/hildon-defines.c
3921 * src/hildon-helper.c
3922 * src/hildon-range-editor.c: Lots of documentation fixes.
3924 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3926 * examples/hildon-picker-button-multicolumn-example.c
3927 (create_touch_selector): Fix compilation warning.
3929 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3932 (hildon_pannable_area_button_release_cb)
3933 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3935 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3937 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3940 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-bread-crumb-trail.h
3943 * src/hildon-date-editor.c
3944 * src/hildon-date-selector.c
3945 * src/hildon-pannable-area.c
3946 * src/hildon-picker-dialog.c
3947 * src/hildon-time-selector.c
3948 * src/hildon-touch-selector-entry.c
3949 * src/hildon-touch-selector.c
3950 * src/hildon-touch-selector.h: Misc documentation fixes
3952 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3954 * examples/hildon-date-editor-example.c (main): Updated date
3957 * examples/hildon-note-example.c (on_confirmation_clicked):
3958 Updated confirmation note example.
3960 * src/hildon-date-editor.c
3961 * src/hildon-note.c: Updated sample programs in documentation.
3964 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3966 * src/hildon-date-button.h:
3967 * src/hildon-picker-button.h:
3968 * src/hildon-time-button.c:
3969 * src/hildon-time-button.h:
3971 Some declarations changes to allow gtk-doc to document the widgets
3974 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-date-button.c: Document the widget.
3977 * src/hildon-time-button.c: Document the widget.
3979 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-picker-button.c: Document the widget.
3982 * src/hildon-touch-selector-entry.c: Document the widget.
3984 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3986 * doc/hildon-docs.sgml
3989 * src/hildon-check-button.h
3990 * src/hildon-check-button.c: New functions to create the Hildon
3994 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3996 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-button.h
3999 * src/hildon-button.c
4000 (hildon_button_add_title_size_group)
4001 (hildon_button_add_value_size_group)
4002 (hildon_button_add_image_size_group)
4003 (hildon_button_add_size_groups): New functions to set size groups
4004 for the button labels and image.
4005 (hildon_button_new_full): Removed
4007 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4009 * src/hildon-time-selector.c
4010 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4011 in order to avoid a crash if gconf is not available
4013 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-button.c (hildon_button_set_arrangement)
4016 (hildon_button_construct_child): Don't construct the button child
4017 before setting the arrangement.
4019 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4021 * src/hildon-program-private.h
4022 * src/hildon-program.c
4023 * src/hildon-program.h
4024 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4025 (hildon_program_peek_window_stack)
4026 (hildon_program_pop_window_stack)
4027 (hildon_program_go_to_root_window): HildonProgram now has a
4028 separate list for stackable windows. Functions are provided to
4029 manage that list with a stack-like API.
4031 * src/hildon-stackable-window.c: Stackable window management is
4032 now much simpler with the new HildonProgram API. Windows no
4033 longer need to be manually added to the program, they're
4034 automatically pushed to the top of the stack when shown.
4036 * examples/hildon-stackable-window-example.c: Updated example to
4037 reflect the API changes.
4039 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-touch-selector.c: Comment out unimplemented
4042 hildon_touch_selector_insert_column() to avoid a compile warning.
4044 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4047 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4048 (hildon_touch_selector_set_column_selection_mode),
4049 (_hildon_touch_selector_set_model),
4050 (hildon_touch_selector_set_model):
4052 Complete review of HildonTouchSelector documentation.
4054 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4056 * doc/hildon-docs.sgml
4060 * src/hildon-gtk.c: Convenience functions for standard Gtk
4061 widgets, used to easily perform frequent operations.
4063 * src/hildon-button-helpers.h
4064 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4066 * src/hildon-helper.h
4067 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4068 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4070 * src/hildon-button.h
4071 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4073 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4075 * src/hildon-button.c (hildon_button_init)
4076 (hildon_button_set_arrangement, hildon_button_construct_child):
4077 Pack the image and the labels inside the same GtkAlignment so
4078 gtk_button_set_alignment() can be used
4080 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-button.h
4083 * src/hildon-button.c
4084 (hildon_button_init, hildon_button_set_image)
4085 (hildon_button_set_image_position)
4086 (hildon_button_construct_child): New functions to add an image to
4089 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-date-button.c
4092 * src/hildon-picker-button.c
4093 * src/hildon-time-button.c
4094 * src/hildon-button.c:
4095 (hildon_button_class_init): "size-flags" renamed to "size"
4096 (hildon_button_set_title): Hide the title label if set to NULL.
4098 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4100 HildonButtonFlags split into HildonButtonArrangement (to set the
4101 button layout) and HildonSizeType (which can be used for any
4104 * src/hildon-button.h
4105 * src/hildon-button.c
4106 (hildon_button_class_init)
4107 (hildon_button_set_arrangement)
4108 (hildon_button_set_property): New "size-flags"
4109 property. "arrangement-flags" renamed to "arrangement".
4110 (hildon_button_new, hildon_button_new_with_text)
4111 (hildon_button_new_full): Constructors updated to reflect type changes.
4113 * src/hildon-helper.h
4114 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4115 to set the size of a widget.
4119 * src/hildon-button-helpers.c
4120 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4122 * src/hildon-date-button.c
4123 * src/hildon-date-button.h
4124 * src/hildon-picker-button.c
4125 * src/hildon-picker-button.h
4126 * src/hildon-time-button.c
4127 * src/hildon-time-button.h: Updated widgets to reflect
4128 HildonButton API changes.
4130 * examples/hildon-button-example.c
4131 * examples/hildon-date-button-example.c
4132 * examples/hildon-picker-button-example.c
4133 * examples/hildon-picker-button-multicolumn-example.c
4134 * examples/hildon-time-button-example.c
4135 * examples/hildon-touch-selector-entry-example.c
4136 * examples/hildon-touch-selector-example.c: Updated examples to
4137 reflect HildonButton API changes.
4139 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4141 * doc/hildon-docs.sgml:
4143 * examples/Makefile.am:
4144 * examples/hildon-touch-selector-entry-example.c:
4146 * src/hildon-touch-selector-entry.c:
4147 * src/hildon-touch-selector-entry.h:
4150 Moved HildonTouchSelectorEntry from sandbox. Added its
4151 documentation and examples.
4153 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-touch-selector.h:
4156 * examples/hildon-picker-button-multicolumn-example.c:
4157 (hildon_touch_selector_append_text_column): Add a gboolean
4158 parameter to determine if text must be centered in the column.
4160 * src/hildon-date-selector.c: (hildon_date_selector_init):
4161 * src/hildon-time-selector.c: (hildon_time_selector_init):
4162 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4163 (create_touch_selector): Update widgets and example to reflect
4166 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-touch-selector.c:
4169 (hildon_touch_selector_set_active_iter): Set also the cursor in
4172 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4174 * doc/hildon-docs.sgml
4177 * src/hildon-toggle-button.c
4178 * src/hildon-toggle-button.h
4179 * src/hildon.h: Removed HildonToggleButton widget, a derived
4180 class is not necessary for this.
4182 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4184 * src/hildon-pannable-area.c,
4185 (hildon_pannable_area_realize),
4186 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4189 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4192 "done" button the default widget for the dialog.
4194 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-touch-selector.c:
4197 (hildon_touch_selector_class_init),
4198 (hildon_touch_selector_get_property),
4199 (_hildon_touch_selector_set_model),
4200 (_hildon_touch_selector_has_multiple_selection),
4201 (hildon_touch_selector_has_multiple_selection):
4202 Add a "has-multiple-selection" property with a virtual
4203 has_multiple_selection() method to allow derived classes to
4204 override the default value for it. See the method and property
4205 documentation for details.
4207 * src/hildon-touch-selector.h: Add the new API.
4209 * src/hildon-picker-dialog.c: (requires_done_button): Call
4210 hildon_touch_selector_has_multiple_selection() instead of
4211 determining the need for a button itself.
4213 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4216 (_hildon_touch_selector_set_model),
4217 (hildon_touch_selector_set_model): Move working code to
4218 _hildon_touch_selector_set_mode(). Call the class method instead.
4220 * src/hildon-touch-selector.h: Add (*set_model) to
4221 HildonTouchSelectorClass.
4223 Make hildon_touch_selector_set_model() a virtual method, so that
4224 derived classes can extend it and do fancy stuff with the model.
4226 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4228 * configure.ac: Set back the tarname in AC_INIT to hildon.
4230 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4234 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4235 instead of libesd (NB#86876). Volume handling is still an open issue.
4237 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4240 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4243 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4244 derived class to ease placement of an entry widget in
4245 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4246 end, where the selector columns are packed now.
4248 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-picker-button.c: Removed the simple _text() API.
4251 * src/hildon-picker-button.h: Likewise.
4253 * src/hildon-touch-selector.h:
4254 * src/hildon-touch-selector.c:
4255 (hildon_touch_selector_new_text),
4256 (hildon_touch_selector_append_text),
4257 (hildon_touch_selector_prepend_text),
4258 (hildon_touch_selector_insert_text):
4260 Moved the simple _text() API from HildonPickerButton to
4261 HildonTouchPicker, to provide better escalability and not to tie
4262 that API to HildonPickerButton.
4264 * examples/hildon-picker-button-example.c: (main): Example updated.
4266 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-button.c: Updated documentation.
4270 * examples/hildon-button-example.c: Add the posibility to create
4271 the buttons using horizontal layout for title and value.
4273 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4275 * src/hildon-app-menu-private.h
4276 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4277 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4278 GtkSizeGroup for the filters, use the 'homogeneous' property of
4281 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4283 * examples/hildon-button-example.c: Updated example.
4285 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4287 * doc/hildon-docs.sgml:
4290 Update documentation.
4292 * examples/Makefile.am: Update renamed examples.
4294 * examples/hildon-picker-button-multicolumn-example.c:
4295 (create_touch_selector), (main): Update after the rename.
4297 * examples/hildon-touch-picker-example.c: Removed.
4298 * examples/hildon-touch-selector-example.c: (value_changed),
4299 (create_selector), (get_visible_content), (main): Renamed from
4300 hildon-touch-picker-example.c
4302 * src/Makefile.am: Updated renamed files.
4304 * src/hildon-date-button.c: (hildon_date_button_init),
4305 (hildon_date_button_get_date), (hildon_date_button_set_date):
4306 * src/hildon-date-selector.c: (hildon_date_selector_init),
4307 (_custom_print_func), (_update_day_model),
4308 (_manage_selector_change_cb),
4309 (hildon_date_selector_select_current_date),
4310 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4311 * src/hildon-date-selector.h:
4312 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4313 (hildon_picker_button_set_property),
4314 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4315 (hildon_picker_button_init), (hildon_picker_button_new_text),
4316 (hildon_picker_button_append_text),
4317 (hildon_picker_button_prepend_text),
4318 (hildon_picker_button_insert_text),
4319 (hildon_picker_button_set_selector),
4320 (hildon_picker_button_get_selector):
4321 * src/hildon-picker-button.h:
4322 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4323 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4324 (_update_title_on_selector_changed_cb), (requires_done_button),
4325 (_hildon_picker_dialog_set_selector),
4326 (hildon_picker_dialog_set_selector),
4327 (hildon_picker_dialog_get_selector):
4328 * src/hildon-picker-dialog.h:
4329 * src/hildon-time-button.c: (hildon_time_button_init),
4330 (hildon_time_button_get_time), (hildon_time_button_set_time):
4331 * src/hildon-time-selector.c: (hildon_time_selector_init),
4332 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4333 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4334 * src/hildon-time-selector.h:
4337 Massive code updates after the rename.
4339 * src/hildon-touch-picker.c: Removed.
4340 * src/hildon-touch-picker.h: Removed.
4342 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4343 (hildon_touch_selector_init), (hildon_touch_selector_map),
4344 (hildon_touch_selector_remove), (_default_print_func),
4345 (_selection_changed_cb), (_create_new_column),
4346 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4347 (hildon_touch_selector_append_text_column),
4348 (hildon_touch_selector_remove_column),
4349 (hildon_touch_selector_set_column_attributes),
4350 (hildon_touch_selector_insert_column),
4351 (hildon_touch_selector_get_num_columns),
4352 (hildon_touch_selector_get_column_selection_mode),
4353 (hildon_touch_selector_set_column_selection_mode),
4354 (hildon_touch_selector_set_print_func),
4355 (hildon_touch_selector_get_print_func),
4356 (hildon_touch_selector_get_active_iter),
4357 (hildon_touch_selector_set_active_iter),
4358 (hildon_touch_selector_get_selected_rows),
4359 (hildon_touch_selector_get_model),
4360 (hildon_touch_selector_set_model),
4361 (hildon_touch_selector_get_current_text),
4362 (_hildon_touch_selector_center_on_selected_items):
4363 * src/hildon-touch-selector.h: Renamed from
4364 hildon-touch-picker.[ch]
4366 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4367 references, code examples, and related documentation.
4369 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4371 * doc/hildon-docs.sgml
4374 * src/hildon-toggle-button.c
4375 * src/hildon-toggle-button.h
4376 * src/hildon.h: New HildonToggleButton widget.
4378 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-button.c: Add API documentation.
4381 (hildon_button_set_size_groups): Check input parameters
4383 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4385 * src/hildon-pannable-area.c
4386 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4387 effect after reaching the movement thredshold. This way we start
4388 using the distance after passing the thredshold.
4390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-button.c: (hildon_button_set_property): Use the
4393 appropriate g_value_get_flags() method.
4395 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4397 * doc/hildon-docs.sgml:
4400 Add the touch pickers, picker dialogs, and picker button widgets
4401 to the documentation.
4403 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-button.c: (hildon_button_set_property),
4406 (hildon_button_class_init): Make "arrangement-flags" a proper
4407 G_TYPE_FLAGS derived property.
4409 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4411 * examples/Makefile.am: Add below examples.
4412 * examples/hildon-date-button-example.c:
4413 * examples/hildon-picker-button-example.c:
4414 * examples/hildon-picker-button-multicolumn-example.c:
4415 * examples/hildon-time-button-example.c:
4416 * examples/hildon-touch-picker-example.c:
4418 Add examples for the recently added touch pickers,
4419 picker dialogs, and picker button widgets.
4421 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-button.c: Add some API documentation
4425 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-button.h
4428 * src/hildon-button.c
4430 (hildon_button_new_with_text): New constructor to create a button
4431 with no text at all.
4432 (hildon_button_init, hildon_button_set_arrangement)
4433 (hildon_button_set_title, hildon_button_set_value)
4434 (hildon_button_set_text)
4435 (hildon_button_construct_child): Hide the value when it's not used
4436 so the rest of the text is properly aligned.
4437 Allow creating buttons with arbitrary widgets inside (not just
4438 title/value labels).
4440 * examples/hildon-button-example.c (vertical_buttons_window)
4441 (horizontal_buttons_window): Update example to use new API.
4443 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/Makefile.am: Added HildonTimeButton.
4446 * src/hildon-time-button.c: Added missing LGPL header.
4447 * src/hildon-time-button.h: Added missing LGPL header.
4448 * src/hildon.h: Add hildon-time-button.h
4450 Copied HildonTimeButton from sandbox to trunk. Future work on this
4451 widget must take place in trunk.
4453 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/Makefile.am: Added HildonDateButton.
4456 * src/hildon-date-button.c: Update includes.
4457 * src/hildon.h: Add hildon-date-button.h
4459 Copied HildonDateButton from sandbox to trunk. Future work on this
4460 widget must take place in trunk.
4462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/Makefile.am: Added HildonPickerButton.
4465 * src/hildon-picker-button.h: Update includes.
4466 * src/hildon.h: Add hildon-picker-button.h
4468 Copied HildonPickerButton from sandbox to trunk. Future work on
4469 this widget must take place in trunk.
4471 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/Makefile.am: Added HildonPickerDialog.
4474 * src/hildon-picker-dialog.c: Update includes.
4475 * src/hildon.h: Add hildon-picker-dialog.h
4477 Copied HildonPickerDialog from sandbox to trunk. Future work
4478 on this widget must take place in trunk.
4480 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/Makefile.am: Added HildonTimeSelector.
4483 * src/hildon.h: Add hildon-time-selector.h
4485 Copied HildonTimeSelector widget from sandbox to trunk. Future
4486 work on this widget must happen in trunk.
4488 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/Makefile.am: Added HildonDateSelector.
4491 * src/hildon.h: Add hildon-date-selector.h
4493 Copied HildonDateSelector widget from sandbox to trunk. Future
4494 work on this widget must happen in trunk.
4496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/Makefile.am: Added HildonTouchPicker.
4499 * src/hildon-touch-picker.c: Update includes.
4500 * src/hildon.h: Add hildon-touch-picker.h
4502 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4503 on this widget must happen in trunk.
4505 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4507 * src/hildon-pannable-area.c:
4508 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4510 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4512 * examples/hildon-app-menu-example.c (main): Let the window
4515 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4517 * src/hildon-pannable-area.c
4518 (hildon_pannable_area_class_init): Set the min value of the
4519 overshoot properties to zero, which points out that not
4520 overshooting allowed.
4522 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4524 Modified the procedure to get the widget at a point inside the
4525 pannable area when using the movement type signals. Now the user
4526 has to call a function to get the child, that way we just
4527 calculate the child in case the user really want to use it and not
4530 * src/hildon-marshalers.list: Modified the marshallers, now we do
4531 not have the widget as a parameter.
4533 * src/hildon-pannable-area.c
4534 (hildon_pannable_area_motion_notify_cb),
4535 (hildon_pannable_area_class_init),
4536 (hildon_pannable_get_child_widget_at): Removed the widget
4537 parameter from the signal callback. We have also refactored the
4538 emission of the signals.
4540 * src/hildon-pannable-area.h: Added a new method to the API to
4541 calculate a widget at a point inside the pannable area,
4542 hildon_pannable_get_child_widget_at.
4544 * examples/hildon-pannable-area-example-4.c
4545 (horizontal_movement): Modified the example to use the new API,
4546 added condition to control which widget is under the event. This
4547 way we can avoid scrolling laterally over other widgets.
4549 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4551 * src/hildon-pannable-area.c
4552 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4553 modes, we stop getting the pointer events due to returning the
4554 callback without properly calling the get pointer again. Fixed
4555 also an error using the hscroll and vscroll.
4557 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-app-menu-private.h
4560 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4561 (hildon_app_menu_button_release, hildon_app_menu_init)
4562 (hildon_app_menu_class_init): Don't hide the menu on button
4563 release if the user didn't press outside first.
4565 * src/hildon-window.h
4566 * src/hildon-window.c (hildon_window_toggle_menu)
4567 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4568 hildon_window_toggle_menu a virtual function for the stackable
4569 window to override it.
4571 * src/hildon-stackable-window.h
4572 * src/hildon-stackable-window-private.h
4573 * src/hildon-stackable-window.c
4574 (hildon_stackable_window_realize)
4575 (hildon_stackable_window_finalize)
4576 (hildon_stackable_window_class_init)
4577 (hildon_stackable_window_init)
4578 (hildon_stackable_window_set_main_menu): New function to set the
4579 app menu of a HildonStackableWindow.
4581 * examples/hildon-app-menu-example.c: Remove the button to show
4582 the app menu, now it'll be shown when clicking on the title bar
4585 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4588 set the widget name if the arrangement flags do not specify
4591 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/hildon-button.c: (hildon_button_set_property),
4594 (hildon_button_class_init), (hildon_button_new_full),
4595 (hildon_button_set_arrangement): Added "arrangement-flags"
4598 Make the HildonButtonFlags a construction-only property, to allow
4599 subclasses to set them properly.
4601 2008-07-21 Tim Janik <timj@imendio.com>
4603 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4604 insertion position after backspace, so additional digits are appended,
4607 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4609 * src/hildon-pannable-area.c,
4610 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4611 TODO list, it was complete and removed the g_debug and g_print
4614 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4616 Added the movement modes to the hildon-pannable-area, with this
4617 modes the developers can control in which directions the widget
4618 can scroll. They can also connect to signals in order to do
4619 something when that happens, allowing applications scroll. There
4620 is an example uploaded showing how to use it.
4622 * examples/Makefile.am:
4623 * examples/hildon-pannable-area-example-4.c: Added this example of
4624 an application using the modes.
4626 * src/hildon-marshalers.list: Added a new marshaller for the new
4629 * src/hildon-pannable-area.h: Added new enumerations and flags in
4630 order to control the movement modes and the new signals to warn
4631 about the movements in the area.
4633 * src/hildon-pannable-area.c:
4634 (hildon_pannable_axis_scroll),
4635 (hildon_pannable_area_scroll),
4636 (hildon_pannable_area_motion_notify_cb),
4637 (hildon_pannable_area_get_property),
4638 (hildon_pannable_area_set_property),
4639 (hildon_pannable_area_map),
4640 (hildon_pannable_area_class_init),
4641 (hildon_pannable_area_init),
4642 (hildon_pannable_area_jump_to): Added the modes to control the
4643 movement in the widget. We have added properties to control it,
4644 signals to warn about the movements and refactored some code.
4646 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4648 Changes required in order to allow vfast_factor set to zero to
4651 * src/hildon-pannable-area.c:
4652 (hildon_pannable_area_button_press_cb): Changed the condition, it
4653 is required for not allowing click when vfast_factor is zero.
4654 (hildon_pannable_area_timeout): Initialized velocity variables
4655 when we stop moving, it was less than 1 but not zero and we need
4656 to check zero in some situations.
4657 (hildon_pannable_area_class_init): Changed the default value of
4658 the speed factor, now the button_press is just sent in case the
4659 speed is 2 per cent of the max speed.
4660 (hildon_pannable_area_init): Initialization with 0.
4662 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4664 * src/hildon-pannable-area.c,
4665 (hildon_pannable_area_get_topmost): replaced
4666 gdk_window_get_children with gdk_window_peek_children, this way we
4667 do not have to free the list because it is not a copy.
4669 (hildon_pannable_axis_scroll),
4670 (hildon_pannable_area_scroll),
4671 (hildon_pannable_area_timeout),
4672 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4673 two parameters that were only used inside the
4674 hildon_pannable_area_scroll function.
4676 * examples/hildon-pannable-area-example.c,
4677 (get_sawtooth_label): Fixed small memory leak.
4679 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4681 More checks for the case where the overshoot is bigger than the
4684 * src/hildon-pannable-area.c:
4685 (hildon_pannable_draw_vscroll),
4686 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4687 to draw the slider of the scrollbar under the other scrollbar.
4688 (hildon_pannable_area_expose_event): added new checks to control
4689 the drawing of the overshooting area rectangle, in case it is too
4690 big for the area of the widget.
4691 (hildon_pannable_area_size_allocate): add more checks to avoid
4692 setting a position to the child widget outside the area.
4694 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4696 * src/hildon-pannable-area.c
4697 (hildon_pannable_area_size_allocate): Added conditions to control
4698 when overshooting is bigger than the allocated space for the
4699 children, this avoids negative allocations.
4701 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4703 * doc/hildon-docs.sgml
4705 * examples/Makefile.am
4706 * examples/hildon-button-example.c
4708 * src/hildon-button.c
4709 * src/hildon-button.h
4710 * src/hildon.h: Initial version of the new HildonButton widget,
4713 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-pannable-area.c:
4716 (hildon_pannable_area_button_press_cb),
4717 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4718 (hildon_pannable_area_motion_notify_cb),
4719 (hildon_pannable_area_button_release_cb),
4720 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4721 (hildon_pannable_area_jump_to_child):
4723 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4725 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4727 * examples/Makefile.am
4728 * examples/hildon-pannable-area-touch-grid-example.c
4729 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4730 the Hildon Touch List and Hildon Touch Grid using the
4731 HildonPannableArea widget.
4733 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4735 * src/hildon-pannable-area.c,
4736 (hildon_pannable_area_button_press_cb),
4737 (hildon_pannable_area_refresh),
4738 (hildon_pannable_area_scroll),
4739 (hildon_pannable_area_motion_notify_cb),
4740 (hildon_pannable_area_button_release_cb),
4741 (hildon_pannable_area_expose_event),
4742 (hildon_pannable_area_add),
4743 (hildon_pannable_area_remove),
4744 (hildon_pannable_area_realize),
4745 (hildon_pannable_area_size_allocate),
4746 (hildon_pannable_area_class_init),
4747 (hildon_pannable_area_init),
4748 (hildon_pannable_area_scroll_to_child),
4749 (hildon_pannable_area_jump_to_child): Fixed the problem of
4750 removing the child from the GtkBin, we have rearranged the widget
4751 hierarchy, now there is no GtkAlignment which was not doing
4752 anything interesting but breaking some of the assumptions of
4753 GtkContainer. Now developers if they want to add a GtkAlignment
4754 they could, but it is not inside the area.
4756 We had to review the whole allocation/expose process, now it is
4757 improved and we save at least three signals which would be saving
4758 some time when rendering the widget. The allocation of the
4759 scrollbars is now made in the allocate method as usual.
4761 We have also added some conditions in order to control when there
4762 is no child of the pannable area. Maybe we will need more work
4765 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4767 * src/hildon-pannable-area.c,
4768 (hildon_pannable_area_dispose): Released the fade-out timeout when
4769 disposing the widget.
4771 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4773 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4774 zero, we are going to use that property in order to deactivate the
4776 (hildon_pannable_axis_scroll),
4777 (hildon_pannable_area_size_allocate): Added conditions to control
4778 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4779 call, now it is called in all situations and we can remove calls
4780 in the allocate method.
4781 (hildon_pannable_area_map): Control the situation when
4782 overshoot_max is zero, we do not need the timeout.
4783 (hildon_pannable_area_class_init): Added documentation in order to
4784 point out that setting zero to overshoot_max means deactivate
4787 NOTE: removed trailing whitespaces from my previous comments of
4790 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-pannable-area.c
4793 (hildon_pannable_area_get_property),
4794 (hildon_pannable_area_set_property),
4795 (hildon_pannable_area_map),
4796 (hildon_pannable_area_class_init),
4797 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4798 to cause the widget give a hint about its panning abilities upon
4801 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-pannable-area.c: Several documentation improvements.
4805 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-program.c
4808 * src/hildon-stackable-window.c: Update documentation.
4810 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4812 * src/hildon-stackable-window.c (get_previous_window_if_last):
4813 Renamed get_last_window()
4814 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4815 (hildon_stackable_window_unset_program):
4817 (get_previous_window_if_last):
4818 Detect if the window hasn't been added to a HildonProgram.
4820 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4822 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-pannable-area.c
4825 (hildon_pannable_area_button_press_cb),
4826 (hildon_pannable_axis_scroll),
4827 (hildon_pannable_area_scroll),
4828 (hildon_pannable_area_timeout),
4829 (hildon_pannable_calculate_vel_factor),
4830 (hildon_pannable_area_get_property),
4831 (hildon_pannable_area_set_property),
4832 (hildon_pannable_area_class_init),
4833 (hildon_pannable_area_init),
4834 (hildon_pannable_area_scroll_to),
4835 (hildon_pannable_area_jump_to),
4836 (hildon_pannable_area_scroll_to_child),
4837 (hildon_pannable_area_jump_to_child):
4838 * src/hildon-pannable-area.h: Added the new API functions:
4839 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4840 hildon_pannable_area_scroll_to_child,
4841 hildon_pannable_area_jump_to_child
4844 * examples/Makefile.am
4845 * examples/hildon-pannable-area-example-2.c
4846 * examples/hildon-pannable-area-example-3.c: Added these two new
4847 examples in order to test and show how the new APIs work.
4849 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4851 * examples/hildon-stackable-window-example.c (new_window):
4852 * src/Makefile.am (noinst_HEADERS):
4853 * src/hildon-program.c (hildon_program_go_to_root_window):
4854 * src/hildon-program.h:
4855 * src/hildon-stackable-window-private.h:
4856 * src/hildon-stackable-window.c:
4857 * src/hildon-stackable-window.h:
4858 Create hildon-stackable-window-private.h
4859 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4861 * examples/hildon-app-menu-example.c (create_menu):
4862 * examples/hildon-hvolumebar-insensitive-example.c (main):
4863 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4864 * examples/hildon-toolbar-seekbar-example.c (main):
4865 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4866 * src/hildon-banner.c (hildon_banner_set_property):
4867 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4868 Fix compilation warnings
4870 * src/hildon-window.c:
4873 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-stackable-window.c
4876 (hildon_stackable_window_unset_program):
4877 Calculate correctly whether to show the previous window if the
4878 last one is removed from the stack.
4879 (hildon_stackable_window_go_to_root_window):
4880 Send delete events starting from the topmost window.
4881 Stop if one of the windows is not destroyed.
4883 (hildon_stackable_window_delete_event)
4884 (hildon_stackable_window_class_init):
4885 Ignore the delete event if the window is not the topmost one.
4887 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4889 * src/hildon-pannable-area.c
4890 (hildon_pannable_area_expose_event): Fixed a problem when
4891 selecting the background color of the scrollbars.
4893 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4895 * examples/hildon-stackable-window-example.c
4896 * src/hildon-stackable-window.c
4897 * src/hildon-stackable-window.h
4898 hildon_stackable_window_go_home() renamed to
4899 hildon_stackable_window_go_to_root_window()
4900 Send delete events to windows rather than closing them with
4901 gtk_widget_destroy()
4903 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-pannable-area.c
4906 (hildon_pannable_area_button_release_cb): Fix overshooting in
4909 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-pannable-area.c
4912 (hildon_pannable_area_init): Initially show the scroll indicators.
4913 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4915 Add initial effect showing the widget is pannable.
4917 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-pannable-area.c
4920 (hildon_pannable_area_class_init)
4921 (hildon_pannable_area_set_property)
4922 (hildon_pannable_area_get_property)
4923 (hildon_pannable_area_button_press_cb):
4924 New 'velocity_fast_factor' property to decide which velocity is
4927 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-pannable-area.c
4930 (hildon_pannable_draw_hscroll)
4931 (hildon_pannable_draw_vscroll):
4932 Use float variables to calculate the size of the scrollbars to
4933 avoid error propagation and resizing during scrolling.
4935 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4937 * src/hildon-pannable-area.c
4938 (hildon_pannable_draw_vscroll)
4939 (hildon_pannable_draw_hscroll):
4940 Define a minimum size for the scroll bars
4942 * src/hildon-stackable-window.c
4943 (hildon_stackable_window_go_home): Fix compilation warning
4944 (get_last_window): Minor optimizations
4945 (hildon_stackable_window_class_init): Fix initialization of
4948 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4950 * src/hildon-stackable-window.c: Fixed typos in doc
4952 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-pannable-area.c
4955 (hildon_pannable_area_scroll):
4956 Calculate here whether we need to scroll instead of using the booleans
4957 that tell us whether to /draw/ the scrolling bars.
4959 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4961 * src/hildon-app-menu.h
4963 * src/hildon-app-menu.c
4964 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4965 multiple filter groups related code and API. Now we support only
4967 * examples/hildon-app-menu-example.c:
4969 Update to reflect API changes.
4971 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4973 * src/hildon-stackable-window.c
4974 (hildon_stackable_window_class_init):
4975 Add hildon_stackable_window_realize.
4976 (hildon_stackable_window_realize):
4977 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4978 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4979 to apply theming and behavior specific to HildonStackableWindow
4982 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-note.c (hildon_note_button_release):
4985 Close information notes also when tapping on them
4987 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4989 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4990 ELASTICITY, refactor and review, fix some issues with drawing
4993 * src/hildon-pannable-area.c:
4994 (hildon_pannable_area_button_press_cb): removed the conditions to
4995 avoid clicks when overshooting. It is not required
4997 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4998 define. Refatored and reviewed the code, now we do not need to
4999 manage velocity in motion_notify.
5001 (hildon_pannable_area_motion_notify_cb): We have moved the code
5002 that controls the area_scroll to the axis_scroll function and get
5003 rid of duplicated code.
5005 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5007 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5009 (hildon_pannable_draw_vscroll),
5010 (hildon_pannable_draw_hscroll): Fixed the problems with the
5011 scrollbar drawing, now we do not use two surfaces, it is easier
5012 and saves resources.
5014 (hildon_pannable_area_get_property): Style modification.
5016 (hildon_pannable_area_class_init): Changed some default values.
5018 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-stackable-window.c: Fix some typos in the
5023 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-dialog.c:
5026 Change indentation style
5029 (hildon_note_button_release):
5030 Use root coordinates to check if the release event happened
5033 * src/hildon-app-menu.c
5034 (hildon_app_menu_button_release):
5035 Remove unnecessary check
5037 * examples/hildon-app-menu-example.c
5039 Add cast to fix warning
5041 * src/hildon-app-menu.c
5042 (hildon_app_menu_class_init):
5043 New inner-border style property.
5044 Set all default spacings to 16
5045 (hildon_app_menu_init):
5046 Use vertical-spacing to set the space between filter buttons and
5047 regular menu buttons.
5048 Set the default container border using the inner-border value.
5050 * examples/hildon-app-menu-example.c
5052 Don't set the menu border explicitly, now we have the inner-border
5053 style property for that.
5055 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-app-menu.c (hildon_app_menu_init):
5058 Make the window modal
5060 * src/hildon-note.c (hildon_note_map)
5061 * src/hildon-app-menu.c (hildon_app_menu_map):
5062 Destroy the grab window if we're unable to grab the pointer
5064 * src/hildon-app-menu-private.h
5065 * src/hildon-app-menu.c
5066 (hildon_app_menu_init, hildon_app_menu_finalize)
5067 (hildon_app_menu_map, hildon_app_menu_unmap)
5068 (hildon_app_menu_button_release)
5069 (grab_transfer_window_get):
5070 Bring back the grab window
5071 (hildon_app_menu_realize):
5072 Decorate the window, set WM hint for Matchbox
5074 * src/hildon-note.c (hildon_note_realize):
5075 * src/hildon-banner.c (hildon_banner_realize):
5076 Add WM hints for Matchbox
5078 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-app-menu-private.h
5081 * src/hildon-app-menu.c
5082 (hildon_app_menu_init, hildon_app_menu_finalize)
5083 (hildon_app_menu_map, hildon_app_menu_unmap)
5084 (hildon_app_menu_button_release):
5085 Remove the grab window, it's not needed anymore
5087 * src/hildon-program.c
5088 Fixed typo in documentation
5090 * src/hildon-app-menu.h
5091 * src/hildon-app-menu.c
5092 * examples/hildon-app-menu-example.c
5093 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5095 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5098 Added new transfer_window and close_if_pressed_outside private
5100 (hildon_note_rebuild):
5101 Don't add a cancel button to the information note. It will be
5102 closed when tapping outside
5103 Remove the comment about the OK button in the documentation
5104 (hildon_note_realize):
5105 Set the notification type hint
5106 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5107 Grab/ungrab pointer and keyboard if the note has to be closed when
5109 (hildon_note_button_release):
5110 Close the note when tapping outside (if applicable)
5112 * src/hildon-app-menu.c
5113 Grab/ungrab pointer and keyboard on map/unmap
5114 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5115 Close the menu on button release, not button press
5117 * src/hildon-banner.c
5118 (hildon_banner_set_property)
5119 (hildon_banner_check_position):
5120 Make the banner use the full width of the screen
5121 (hildon_banner_show_information)
5122 (hildon_banner_show_information_with_markup):
5123 Don't display an icon by default
5125 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5127 Added fading scrollbars and adapted all the overshooting code to
5128 horizontal scrolling. We have also fixed bugs with overshooting
5129 and current fading implementation.
5131 * src/hildon-pannable-area.c
5132 (hildon_pannable_area_scroll_indicator_fade): Time out function
5133 used to change the transparency of the scrollbars.
5135 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5136 control and fixed a problem with fading, we now remove the fade
5137 timeout before adding a new one.
5139 (hildon_pannable_axis_scroll):
5140 (hildon_pannable_area_scroll):
5141 (hildon_pannable_area_timeout): Added this functions so we can use
5142 the scroll code both for vertical and horizontal.
5144 (hildon_pannable_area_motion_notify_cb):
5145 (hildon_pannable_area_button_release_cb): Added the horizontal
5146 scrolling control, fixed a problem with the overshooting timeout.
5148 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5149 painting of the scrolls.
5151 (hildon_pannable_draw_vscroll):
5152 (hildon_pannable_draw_hscroll):
5153 (hildon_pannable_area_expose_event):
5154 Draw both scrollbars and rectangles in the overshooting area.
5156 (hildon_pannable_area_get_property):
5157 (hildon_pannable_area_set_property):
5158 Modified the overshoot property to overshoot_max
5160 (hildon_pannable_area_map):
5161 Replaced the comments symbols.
5163 (hildon_pannable_area_size_allocate):
5164 (hildon_pannable_area_class_init):
5165 (hildon_pannable_area_init): Added horizontal scroll, fading
5166 effect properties, fixed a problem when overshooting in the bottom
5169 * examples/hildon-pannable-area-example.c:
5170 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5171 looks better in the example.
5173 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5175 * src/hildon-window.c
5176 * src/hildon-window.h
5177 (hildon_window_class_init)
5178 (hildon_window_unset_program)
5179 (hildon_window_unset_program_real):
5180 Make unset_program a virtual function
5182 * src/hildon-stackable-window.c
5183 * src/hildon-stackable-window.h
5184 Added hildon_stackable_window_go_home()
5186 * examples/Makefile.am
5187 * examples/hildon-stackable-window-example.c
5188 HildonStackableWindow example
5190 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5192 * hildon-pannable-area.c: Added the overshoot property and removed
5193 the OVERSHOOT define. Fixed an indent style error.
5194 (hildon_pannable_area_motion_notify_cb):
5195 (hildon_pannable_area_get_property):
5196 (hildon_pannable_area_set_property): Add overshoot property.
5198 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5201 (hildon_pannable_area_class_init): Installed the new property.
5203 * hildon-pannable-area-example.c: Added a sawtooth function, this
5204 way it is easier to check the movement in the pannable.
5205 (get_sawtooth_label): Added this function.
5206 (main): Now we get the labels from the new get_sawtooth_label
5209 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-app-menu.h
5212 * src/hildon-app-menu.c
5213 Renamed API variables for consistency
5215 (hildon_app_menu_popup): Use also the default window size to
5216 decide where to place the menu
5218 (hildon_app_menu_init, hildon_app_menu_class_init): New
5219 external-border style property
5221 2008-05-26 Michael Natterer <mitch@imendio.com>
5223 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5224 widget_class->tap_and_hold_setup signal slot doesn't exist any
5225 longer, stop overriding it.
5227 (hildon_time_editor_init): g_signal_connect() to the
5228 tap-and-hold-setup signal instead.
5230 (hildon_time_editor_entry_keypress): add cast to fix warning.
5232 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5234 * doc/hildon-docs.sgml
5236 * examples/Makefile.am
5237 * examples/hildon-app-menu-example.c
5239 * src/hildon-app-menu-private.h
5240 * src/hildon-app-menu.c
5241 * src/hildon-app-menu.h
5243 New HildonAppMenu widget
5245 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5247 Rearranged the inheritance of the pannable area, now it inherits
5248 from GtkBin. This will allow us to control the event_window and
5249 the allocation process of the widget, required for some effects.
5251 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5252 GtkBin structures. * src/hildon-pannable-area.c: Added the
5253 event_window variable.
5254 (hildon_pannable_area_button_press_cb):
5255 (hildon_pannable_area_button_release_cb):
5256 (hildon_pannable_area_motion_notify_cb):
5257 Changed the signature of the method, now we override the event
5258 callback instead of connecting to the signal.
5260 (hildon_pannable_area_realize):
5261 (hildon_pannable_area_unrealize):
5262 (hildon_pannable_area_map):
5263 (hildon_pannable_area_unmap):
5264 (hildon_pannable_area_size_allocate):
5265 Added functions to control the widget construction. We add a
5266 INPUT_ONLY window and we put it over the widgets inside the
5267 container, this event_window handles the events.
5269 (hildon_pannable_area_class_init):
5270 Replaced the signal connections with overrides of the event
5273 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5275 Bouncing effect added when touching the borders, you can change
5276 the elasticity of the border changing the ELASTICITY define.
5278 * src/hildon-pannable-area.c: Added ELASTICITY define.
5279 (hildon_pannable_area_timeout): Added inverse velocity when
5280 touching the border of the child widget, that causes a bounce.
5282 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5284 Improved performance, we now do not go to the X server in order to
5285 get the list of window children. Apparently the effect is the
5286 same, we have to be careful and check if this breaks something in
5289 * src/hildon-pannable-area.c:
5290 (get_ordered_children): Removed this function.
5291 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5292 the children windows function with gdk_window_get_children.
5294 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5296 * src/hildon-pannable-area.c:
5297 (hildon_pannable_area_dispose): Fixed a crash when closing the
5298 window and kinetics is activated.
5300 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5302 * src/hildon-pannable-area.h
5303 * src/hildon-pannable-area.c
5304 Changed indentation style to meet the one used in Hildon
5306 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5308 Reviewed the interaction of the AUTO mode, now we use the time
5309 attribute of the events and calculate the velocity in the motion,
5310 doing a gimp like calculation. The velocity is calculated in each
5311 motion event using the last velocity and the current one, the
5312 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5314 * src/hildon-pannable-area.c: Replaced the time based algorithm
5316 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5317 timeout for the AUTO mode when we are still moving the cursor. We
5318 added also the velocity calculation in this function.
5319 (hildon_pannable_area_button_release_cb): launch the timeout in
5320 case we are in AUTO mode. There are still some constants here that
5321 come from the old implementation that should be reviewed and
5324 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5326 * doc/hildon-docs.sgml
5329 * src/hildon-stackable-window.c
5330 * src/hildon-stackable-window.h
5332 New HildonStackableWindow widget
5334 * examples/hildon-dialog-example.c
5335 * examples/hildon-pannable-area-example.c
5338 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5340 * src/hildon-dialog.c
5341 (hildon_dialog_new_with_buttons): New constructor.
5343 * examples/hildon-dialog-example.c
5344 (main): Update the example to use the new
5345 hildon_dialog_new_with_buttons().
5347 * examples/hildon-pannable-area-example.c
5348 (main): Update example.
5350 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5352 * doc/hildon-docs.sgml
5354 Added HildonPannableArea to the documentation.
5356 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5358 * doc/visual_index.xml
5359 Fix reference to HildonLoginDialog in documentation
5361 * doc/hildon-docs.sgml
5363 * examples/Makefile.am
5364 * examples/hildon-dialog-example.c
5366 * src/hildon-dialog.c
5367 * src/hildon-dialog.h
5369 New HildonDialog widget.
5371 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5373 * src/hildon-pannable-area.c
5374 Merge latest changes (r4318, r4342) from libmokoui trunk
5376 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5378 * examples/Makefile.am
5379 * examples/hildon-pannable-area-example.c
5381 * src/hildon-pannable-area.c
5382 * src/hildon-pannable-area.h
5384 New HildonPannableArea widget.
5386 2008-04-15 18:05:19 <timj@imendio.com>
5388 * src/hildon-banner.c: revert the recent change, that introduced
5389 gtk_window_present() calls. this reopens:
5390 Bug 78481 - [freetest] information banners are hidden under browser menu
5391 But resolves another variant of:
5392 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5394 2008-04-15 13:21:13 <timj@imendio.com>
5396 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5397 recreated its layout, spotted by Kris. this fixes all remaining
5398 artefacts and stability issues with the banner code. in particular:
5399 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5401 2008-04-14 16:52:59 <timj@imendio.com>
5403 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5404 operating on unrealized widgets, fixes:
5405 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5407 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5409 2008-04-09 Kristian Rietveld <kris@imendio.com>
5411 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5412 makes banner disappear.
5413 Fixes: NB#79182: info banner flickering with certain message lengts.
5415 * src/hildon-banner.c (hildon_banner_constructor),
5416 (hildon_banner_init), (hildon_banner_set_text),
5417 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5418 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5419 FALSE, reset size requests of label and banner,
5420 (force_to_wrap_truncated): when the text is too wide, always enforce
5421 the maximum possible width instead of recalculating it from the
5422 layout; enforce the maximum banner height of 3 lines,
5423 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5424 nicer wrapping and no truncated chars if space gets tight.
5426 * src/hildon-banner-private.h: add has_been_wrapped and
5427 has_been_truncated fields.
5429 2008-04-07 Sven Herzberg <sven@imendio.com>
5431 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5432 local values in hildon_date_editor_size_allocate
5434 * src/hildon-date-editor.c: moved the real allocation code into the
5437 2008-04-07 Sven Herzberg <sven@imendio.com>
5439 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5440 local values in hildon_date_editor_size_allocate
5442 * src/hildon-date-editor.c: merged the two if() branches together
5444 2008-04-07 Sven Herzberg <sven@imendio.com>
5446 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5447 local values in hildon_date_editor_size_allocate
5449 * src/hildon-date-editor.c: changed the arguments of the if()
5452 2008-04-07 Sven Herzberg <sven@imendio.com>
5454 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5455 local values in hildon_date_editor_size_allocate
5457 * src/hildon-date-editor.c: split the calculation of the allocation
5458 from the real allocation
5460 2008-03-27 Michael Natterer <mitch@imendio.com>
5462 Fixes: NB#81696: The passcode is not overwritten even after
5465 * src/hildon-code-dialog.c
5466 (hildon_code_dialog_button_clicked)
5467 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5468 because that doesn't overwrite selected text. Instead, emit the
5469 "commit" signal on the entry's im_context so the entry's normal
5470 insert logic is triggered. Set the cursor to the end of the entry
5471 after each insert operation so that we *only* insert in the middle
5472 of the text if something was selected.
5474 2008-03-27 Michael Natterer <mitch@imendio.com>
5476 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5477 selector cannot be opened
5479 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5480 when the popup color selector is created. Please connect to this
5481 signal in order to set the dialog's help ID.
5483 2008-03-25 Sven Herzberg <sven@imendio.com>
5485 Fixes: MB#1212: Hide info banners (infoprints) on click
5487 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5488 extracted the close event simulation into an extra function
5489 (hildon_banner_button_press_event): simulate a close event and destroy
5490 the widget if the event wasn't handled
5491 (hildon_banner_class_init): added the button_press_event handler
5492 (hildon_banner_init): added button-press events to the widget
5494 2008-03-25 Sven Herzberg <sven@imendio.com>
5496 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5497 Patch from: Mohammad Anwari <mdamt@maemo.org>
5499 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5500 instead of the right in RTL mode
5501 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5502 breadcrumb button list in RTL mode
5503 * src/hildon-caption.c: mirror the appearance of the caption widget in
5505 * src/hildon-date-editor.c: mirror appearance of the date editor in
5507 * src/hildon-time-editor.c: mirror appearance of the time editor in
5509 * src/hildon-window.c: fix the position of the popup in RTL mode
5511 2008-03-25 Sven Herzberg <sven@imendio.com>
5513 Amendment to the fix of NB#22072. Fix compilation.
5515 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5517 2008-03-19 Sven Herzberg <sven@imendio.com>
5519 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5522 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5523 timeout id properly when the timeout will disappear this leaves no
5524 artifacts around in the destroy(); there will only be the timeout
5525 created by hildon_banner_ensure_timeout() and adding a new timeout
5526 will also work if the timeout gets removed because the timeout_handler
5529 2008-03-19 Michael Natterer <mitch@imendio.com>
5531 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5533 * src/hildon-volumebar.c
5534 * src/hildon-vvolumebar.c
5535 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5536 the widget becomes focussable at all.
5538 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5539 set the focus to wither the mute button or the volumebar.
5541 Remove own "can-focus" property and instead listen to
5542 notify::can-focus in order to update the widget's state.
5544 Implement GtkWidget::focus() and make sure we can also *leave* the
5545 widget, not only enter it, depending on volumebar orientation and
5546 requested focus direction.
5548 Clean up set_mute() to cooperate nicely with all the above.
5550 2008-03-04 Michael Natterer <mitch@imendio.com>
5552 Fixes: NB#78481: information banners are hidden under browser menu
5554 * src/hildon-banner.c: call gtk_window_present() on the banners so
5555 they are risen if they are already visible.
5557 2008-03-03 Sven Herzberg <sven@imendio.com>
5559 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5561 * examples/hildon-window-menu-example.c: (main): extended the window
5562 menu example to serve as a testcase for automatically added
5563 accelerator groups, too
5564 * src/hildon-window.c: (hildon_window_add_accel_group),
5565 (hildon_window_set_menu): added patch by Tommi Komulainen
5567 2008-03-03 Sven Herzberg <sven@imendio.com>
5569 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5571 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5572 knowledge about the border allocators used within GTK+
5574 2008-02-26 Sven Herzberg <sven@imendio.com>
5576 Fixes: MB#2981: Build with asserts broken
5578 * src/hildon-date-editor.c,
5579 * src/hildon-number-editor.c,
5580 * src/hildon-time-editor.c,
5581 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5582 the proper GType instance check
5584 2008-02-25 Sven Herzberg <sven@imendio.com>
5586 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5588 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5589 * examples/hildon-window-menu-example.c: (main): explicitly show
5591 * src/hildon-window.c:
5592 (hildon_window_set_main_menu): moved most of the code from set_menu()
5593 to this place; skipped the call to gtk_widget_show_all(); also didn't
5594 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5595 (hildon_window_set_menu): removed most of the code, just keep the
5596 questionable gtk_widget_show_all()
5597 * src/hildon-window.h: added the new function and deprecate the old
5600 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5606 * debian/changelog: Updating.
5608 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5611 * pkgconfig/Makefile.am:
5612 * pkgconfig/hildon.pc.in:
5615 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5616 use newly created API_MAJOR_VERSION.
5618 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5624 * debian/changelog: Updating.
5626 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5628 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5630 Add outer_border style property, we use it but don't define it (!).
5634 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5636 * examples/hildon-bread-crumb-trail-example.c (main):
5640 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5642 Fix logic for the bread crumb trail node removal.
5646 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5652 * debian/changelog: Updating.
5654 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5656 Patch by Alejandro to get/set passwords dialogs accesibility.
5658 * hildon-1/src/hildon-get-password-dialog.c:
5659 * hildon-1/src/hildon-set-password-dialog.c:
5660 Set atk_set_name to the passwd entries in order to allow
5661 accessibility by name on this entries.
5663 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5668 * debian/control: Updating gtk dep.
5670 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5672 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5673 USE_MAEMO_GTK is enabled.
5675 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5677 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5678 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5680 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5686 * debian/changelog: Updating.
5688 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5690 * examples/Makefile.am:
5691 * examples/hildon-logical-color-example.c:
5692 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5693 applied + adding a test case. Fixes: NB#71660.
5695 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5697 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5698 to be visible, fixes warning on map for windows without toolbars.
5700 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5702 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5703 2.11.0, add a check for that besides the MAEMO_GTK check.
5705 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5711 * debian/changelog: Updating.
5713 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5715 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5716 visibility. Fixes: NB#70842 and MB#615.
5718 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5720 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5721 set the separator as no-show-all so it doesn't unintentionally appear when
5722 someone does a show_all.
5724 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5726 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5727 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5728 toplevel item. Fixes: NB#62031
5730 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5732 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5733 fix the name of the function in the docs.
5735 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5741 * debian/changelog: Updating.
5743 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5745 * examples/hildon-banner-long-example.c: Adding a test-case for long
5748 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5750 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5752 * src/hildon-color-chooser-dialog.c:
5753 * src/hildon-color-chooser.c:
5754 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5755 memory leaks in font selector and color selector. Fixes: NB#70499 and
5758 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5760 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5762 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5764 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5765 little bit bigger. Fixes: #NB63694.
5767 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5773 * debian/changelog: Updating.
5775 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5778 * doc/hildon-docs.sgml:
5779 * doc/images/bread-crumb-trail.png:
5780 * doc/images/calendar-popup.png:
5781 * doc/images/caption.png:
5782 * doc/images/code-dialog.png:
5783 * doc/images/color-button.png:
5784 * doc/images/color-chooser-dialog.png:
5785 * doc/images/color-chooser.png:
5786 * doc/images/controlbar.png:
5787 * doc/images/date-editor.png:
5788 * doc/images/font-selection-dialog.png:
5789 * doc/images/get-password-dialog.png:
5790 * doc/images/hvolumebar.png:
5791 * doc/images/login-dialog.png:
5792 * doc/images/note.png:
5793 * doc/images/number-editor.png:
5794 * doc/images/range-editor.png:
5795 * doc/images/seekbar.png:
5796 * doc/images/set-password-dialog.png:
5797 * doc/images/sort-dialog.png:
5798 * doc/images/time-editor.png:
5799 * doc/images/time-picker.png:
5800 * doc/images/vvolumebar.png:
5801 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5802 Adding the bread-crumb-trial and helpers to the documentation.
5804 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5806 * examples/hildon-find-toolbar-example.c:
5807 * src/hildon-find-toolbar.c:
5808 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5809 actually continue firing the other handlers if connected. Adding a new
5811 hildon_find_toolbar_get_last_index that gets the index of the most
5812 recently added (last) item. Fixes: NB#52301.
5814 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5816 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5817 behaviour. Fixes: NB#68610.
5819 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5821 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5824 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5826 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5827 when realizing the banner. Should make the infonbanner effect a bit more
5830 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5832 * src/hildon-volumebar.c:
5833 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5834 hildon_volumebar_set_range_insensitive_message and
5835 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5837 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5839 * src/hildon-window.c: Fixing the border freeing on destroy.
5841 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5843 * src/hildon-code-dialog-private.h:
5844 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5845 kw keyboard support in HildonCodeDialog.
5847 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5853 * debian/changelog: Updating.
5855 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5857 * src/hildon-date-editor.c:
5858 * src/hildon-number-editor.c:
5859 * src/hildon-private.c:
5860 * src/hildon-private.h:
5861 * src/hildon-time-editor.c:
5862 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5863 handling in subclassed composite widgets. Fixes: NB#66628.
5865 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5868 from destroy_ callback as it introduces problems in async dbus signal
5869 handlers. Fixes NB#66673.
5871 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5873 * examples/hildon-hvolumebar-example.c:
5874 * src/hildon-volumebar.c: Improving the focus handling in the
5875 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5876 set_property accessor so that "mute" property can be actually set. I'm
5877 scared that nobody noticed it's totally broken.
5879 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5881 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5884 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5886 * src/hildon-calendar.c:
5887 * src/hildon-number-editor.c:
5888 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5889 matches the spec of 6 chars per second. Fixes: NB#60489.
5891 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5893 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5894 gtk_style_lookup_color sometime returns FALSE even though color was
5895 found and values were filled properly. Weird. Removing the warning for the
5898 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5900 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5901 expand vertically. Adding some extra space to the find toolbar buttons to
5902 make them thumbable. Fixes NB#66060.
5904 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5907 popup with "Ok" and "Cancel". Fixes NB#59299.
5909 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5911 * src/hildon-calendar.c: Process all window updates before executing next
5912 timeout. Fixes: NB#54146.
5914 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5920 * debian/changelog: Updating.
5922 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5924 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5925 the client event and ignore it, since we use the delete event to close
5928 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5930 * src/hildon-helper.c: Remove the bogus warning about color not being
5931 found. Fixes NB#58352.
5933 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5935 * examples/Makefile.am:
5936 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5937 HildonSeekbar widget inside a toolbar.
5939 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5941 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5942 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5943 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5944 don't want to be closed by non-temporary windows on map.
5946 Also use G_DEFINE_TYPE instead of manually typed code.
5948 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5955 * debian/rules: Updating.
5957 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5959 * examples/Makefile.am:
5960 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5961 bug NB#61128. Strangely it works.
5963 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5965 * src/hildon-date-editor.c: When the date editor entry has been changed
5966 but the numbers of characters < max, turn off the skip validation flag.
5967 Prevents a situation when we enter first a valid year and later re-write
5968 it with an invalid one. Fixes NB#60154.
5970 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5972 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5973 code dialog. Fixes NB#64355.
5975 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5977 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5978 switching the page. Fixes NB#49374.
5980 * examples/Makefile.am:
5981 * examples/hildon-wizard-dialog-example.c: Adding an example for
5982 HildonWizardDialog that shows how to handle manual sensitivity setting on
5985 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5989 * src/hildon-version.h.in:
5990 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5992 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * src/hildon-volumebar.c: Updating the docs.
5996 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6002 * debian/changelog: Updating.
6004 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6006 * src/hildon-find-toolbar.c:
6007 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6008 selected item: hildon_find_toolbar_set_active,
6009 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6010 hildon_find_toolbar_get_active_iter . They correspond to respective
6011 GtkComboBox functions.
6013 * examples/Makefile.am:
6014 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6017 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6019 * examples/Makefile.am:
6020 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6023 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6024 when font size > 32 and we pack a focusable widget inside. Actually using
6025 the default response would work too, but since we don't show default
6026 response state in any way (no theming) it would not be visible to the
6027 user. Fixes NB#63430.
6029 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6031 * src/hildon-date-editor.c: Adding the missing variable setter in the
6032 set_property handler. Fixes NB#54182.
6034 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6036 * src/hildon-window.h: Changing the long key press time from 1500ms to
6037 800ms as requested in NB#63700. I have a bad feeling about this, let's
6038 see... Fixes NB#63700.
6040 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6042 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6043 hildon_time_picker_map, hildon_time_picker_realize,
6044 hildon_time_picker_style_set): Split the contents of map to more
6045 appropriate functions; set window decorations on realize and update
6046 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6048 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6053 * debian/changelog: Updating.
6055 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6057 * src/Makefile.am: fixed installation of the header files
6059 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6065 * debian/changelog: Updating.
6067 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6069 * configure.ac: Removing some remaining of --enable-xan.
6071 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6073 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6074 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6076 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6077 2.10.12-osso6 because the move-focus signal needs to be available in
6080 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6082 * examples/Makefile.am:
6083 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6084 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6085 fine. Prolly NB#61128 is fixed now.
6087 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6089 * src/hildon-volumebar.c:
6090 * src/hildon-volumebar.h: Adding the
6091 hildon_volumebar_set_range_insensitive_message and
6092 hildon_volumebar_set_range_insensitive_messagef functions to set
6093 insensitive message on the slider of the volumebar. Fixes NB#61129.
6095 * examples/Makefile.am:
6096 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6097 test the new insensitive messsage functionality on HildonVolumebar.
6099 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6101 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6104 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6106 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6107 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6108 button on after clearing the trail.
6110 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6112 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6114 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6116 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6117 by splitting the installed headers in generated and non-generated groups. Use
6118 only the non-generated headers to create the hildon-enum-types.h file.
6120 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6122 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6124 * src/hildon-window.c: Hide the window before performing the destroy.
6125 Should make the app closing a little tiny bit more snappy.
6127 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6129 * src/hildon-seekbar.c: add gtkrange.h header
6130 * src/hildon-caption.c: remove unused variable
6132 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6134 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6137 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6143 * debian/changelog: Updating.
6145 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6147 * src/hildon-window.c (hildon_window_window_state_event,
6148 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6149 escape timeout on focus-out-event rather than notify::is-topmost; the
6150 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6152 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6154 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6155 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6157 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6159 * src/hildon-window: actually, you need to use the macro always, there's
6160 no private pointer in the instance structure. We should have cleaned this up
6161 when we had the chance...
6163 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6165 * src/hildon-window.c: do not get the private date from HildonWindow before
6166 it passes the g_return_if_fail check. Once it's passed the test, there's no
6167 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6168 if you are only going to access the data once. Whitespace cleanups.
6170 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6172 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6173 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6175 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6181 * debian/changelog: Updating.
6183 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6185 * src/hildon-window.c: When destroying the window, remove (if exists) the
6186 escape timeout handler. Fixes #NB59276.
6188 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6190 * src/hildon-banner.c: When realizing the widget, set the window
6191 transiency. Setting the transiency in the gobject constructor is not
6192 good, as the widget is not realized at that point. Fixes: #NB56624.
6194 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6196 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6197 Add padding for future expansions.
6199 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6201 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6202 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6203 will fake an activation on the previous to the last item of the trail, so
6204 the effect can be overrided by the developer as usual.
6205 Also change the callback for the back button to do the same thing, so its
6206 effect can be overrided too. Fixes: NB#58982
6208 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6210 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6211 HildonCaption. Fixes NB#52379.
6213 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6215 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6216 the internal state of the trail after the user has had the chance of executing
6217 his handler for the signal. Specifically, it may happen that the activated button
6218 is removed and the user still lets the default handler run. This would segfault
6221 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6223 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6224 scrollbar to the preview dialog. Fixes NB#54147.
6226 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6228 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6229 max/min year properties can be altered, so the client can modify it
6230 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6232 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6234 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6235 hildonlike by default. Fixing a problem with disappearing arrows when
6236 scrolling through months and years. Fixes NB#54127.
6238 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6240 * examples/hildon-date-editor-example.c: Adding error callback to the date
6243 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6249 * configure.ac: Updating.
6251 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6253 * configure.ac: Adding a special '--enable-xan' configure option that
6254 turns off the -Werror compilation setting. Usefull for development.
6256 * src/hildon-calendar.c:
6257 * src/hildon-number-editor.c:
6258 * src/hildon-time-picker.c: Adding the 5* multiplier to
6261 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6263 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6264 instead of g_object_ref + gtk_object_sink.
6266 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6272 * debian/changelog: Updating.
6274 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6276 * src/hildon-color-chooser-dialog.c:
6277 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6278 straight from Tommi labs.
6280 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6282 * examples/hildon-finger-example.c: Correcting the header file path.
6284 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6285 the changed signal. Fixes a small memory leak.
6287 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6291 * src/hildon-banner.c: Importing several usefull fixes from the
6292 ubuntu-mobile branch.
6294 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6296 * examples/Makefile.am:
6297 * examples/hildon-finger-example.c: Adding a finger-checking code
6300 * src/hildon-font-selection-dialog.c: Do not allocate the color
6301 structure using the g_new. Fixes NB#54061.
6303 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6305 * src/hildon-helper.c: Correcting tabs in file.
6307 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6309 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6310 control the visibility of the children.
6312 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6314 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6320 * debian/changelog: Updating.
6322 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6324 * src/hildon-bread-crumb-trail.c:
6325 (hildon_bread_crumb_trail_size_allocate):
6327 Make the back button always a square.
6329 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6331 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6332 from the .c file as it's a private file.
6334 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6337 uses slightly bigger height.
6339 * src/hildon-font-selection-dialog.c: Adding some checks before
6340 freeing memory in the font selection dialog.
6342 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6344 * src/hildon-font-selection-dialog.c: Adding a small check when
6347 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6348 buttons sensitivity on page switching.
6350 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6352 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6353 internal details of adding a bread crumb to the trail.
6355 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6361 * debian/changelog: Updating.
6363 * src/hildon-bread-crumb-trail.h:
6364 * src/hildon-bread-crumb.h: Changing the API guard to
6365 HILDON_ENABLE_UNSTABLE_API.
6367 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6375 * src/hildon-helper.h: Updating.
6377 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6385 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6389 * src/hildon-helper.h: Small fix to make the package actually compile.
6391 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6393 * src/hildon-bread-crumb-trail.h:
6394 * src/hildon-bread-crumb.h:
6396 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6397 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6399 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6401 * examples/hildon-bread-crumb-trail-example.c:
6403 * src/hildon-bread-crumb-trail.c:
6404 * src/hildon-bread-crumb-trail.h:
6405 * src/hildon-bread-crumb.c:
6406 * src/hildon-bread-crumb.h:
6407 * src/hildon-marshalers.list:
6408 * src/hildon-bread-crumb-widget.c:
6409 * src/hildon-bread-crumb-widget.h:
6411 Slight change in the widget design. The bread crumb trail API is
6412 unchanged, but HildonBreadCrumb is now an interface. A *private*
6413 implementation, hildon-bread-crumb-widget, is provided and used
6414 internally by the trail for the push_text/push_icon functions.
6416 The generic push API is still available, so anyone can implement
6417 and use its own bread crumb widget.
6419 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6421 * debian/rules: Fixing the shlibs.
6423 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6425 * src/hildon-banner.c: Fixing a problem with timed banners having
6426 their parrent destroyed before they are.
6428 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6430 * src/hildon-bread-crumb.c:
6431 * src/hildon-bread-crumb.h:
6433 Make the get_natural_size function a vfunc.
6435 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6437 * src/hildon-bread-crumb.c:
6438 * src/hildon-bread-crumb-trail.c:
6442 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6449 * debian/changelog: Updating for release.
6451 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6453 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6454 don't leak the pango layout.
6456 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6459 * examples/hildon-bread-crumb-trail-example.c:
6463 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6465 * debian/changelog: Removing the bug-fixed entries that were actually
6466 resolved as WONTFIX.
6468 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6471 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6473 * src/hildon-bread-crumb-trail.c:
6474 * src/hildon-bread-crumb-trail.h:
6475 * src/hildon-bread-crumb.c:
6476 * src/hildon-bread-crumb.h:
6480 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6482 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6483 until it's passed the type check.
6485 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6487 * examples/hildon-bread-crumb-trail-example.c
6491 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6493 * examples/Makefile.am
6494 * examples/hildon-bread-crumb-trail-example.c
6496 * src/hildon-bread-crumb-trail.c
6497 * src/hildon-bread-crumb-trail.h
6498 * src/hildon-bread-crumb.c
6499 * src/hildon-bread-crumb.h
6501 New HildonBreadCrumbTrail widget.
6503 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6505 * src/hildon-range-editor.c (hildon_range_editor_init),
6506 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6507 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6508 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6509 hildon_time_editor_class_init, hildon_time_editor_init),
6510 src/hildon-get-password-dialog.c (invalid_input,
6511 hildon_get_password_set_property, hildon_get_password_get_property,
6512 create_contents, hildon_get_password_dialog_set_max_characters),
6513 src/hildon-set-password-dialog.c (create_contents),
6514 src/hildon-date-editor.c (hildon_date_editor_init),
6515 src/hildon-login-dialog.c (hildon_login_dialog_init),
6516 src/hildon-number-editor.c (hildon_number_editor_init),
6517 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6518 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6519 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6520 configure option and adding the respective checks in the code.
6521 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6522 hildon_calendar_drag_data_received): fixed some build warnings.
6524 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6526 * debian/changelog: A 1.0.0 release notes.