1 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_get_topmost),
5 (hildon_pannable_area_button_press_cb),
6 (hildon_pannable_area_button_release_cb),
7 (hildon_pannable_get_child_widget_at): Reverted the patch for the
8 topmost function adding the event mask. We have to try a
9 differente approach because it is still causing problems (NB#9745,
12 2009-02-19 Alberto Garcia <agarcia@igalia.com>
14 * src/hildon-banner.c:
15 Update the maximum width of timed banners.
16 (force_to_wrap_truncated): Enforce the maximum text width if the
19 Fixes: NB#102413 (The text margins (wrapping) in information
20 banner should be HILDON_MARGIN_TRIPLE)
22 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
24 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
26 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
27 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
28 bound when calculating the scroll indicator position.
30 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
31 treat ->lower correctly)
33 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
35 * src/hildon-caption.c (hildon_caption_class_init): Remove the
36 expose event handling, since it is not necessary to draw the focus
39 Fixes: NB#102467 (Do not show highlight on the text in
42 2009-02-18 Alberto Garcia <agarcia@igalia.com>
44 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
45 full height of the toolbar for the button and the label.
47 2009-02-18 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
50 padding before the label and after the button.
52 2009-02-18 Alberto Garcia <agarcia@igalia.com>
54 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
56 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
57 Add a GtkVSeparator between the button and the back arrow.
58 Let the button have automatic size.
59 Set a name to the widget for theming handling.
61 Fixes: NB#101793 (Make edit toolbar the same height as window
62 title bar (use title area theming))
64 2009-02-18 Alberto Garcia <agarcia@igalia.com>
66 * src/hildon-helper.c (attach_new_color_element): Fix memory
69 Fixes: NB#102262 (memory leak in hildon_button_set_style())
71 2009-02-18 Alberto Garcia <agarcia@igalia.com>
73 * examples/hildon-button-example.c (common_buttons_window): Don't
76 2009-02-18 Alberto Garcia <agarcia@igalia.com>
78 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
79 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
81 2009-02-18 Alberto Garcia <agarcia@igalia.com>
83 * src/hildon-gtk.c: Check that the window is realized.
85 Fixes: NB#102225 (Crash setting the progress indicator to a non
88 2009-02-17 Alberto Garcia <agarcia@igalia.com>
90 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
91 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
92 instead of modifying the one in the widget style.
94 Fixes: NB#101043 (Second row of all the command button are
95 displayed in transparent mode.)
97 2009-02-17 Alberto Garcia <agarcia@igalia.com>
99 * src/hildon-date-button.c
100 * src/hildon-time-button.c: Add gettext macros
102 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
104 * src/hildon-date-button.c (hildon_date_button_new):
105 * src/hildon-time-button.c (hildon_time_button_new_step):
106 Use new logical strings to set the button default title.
108 Fixes: NB#99915 (Date and Time options are not localised in Date
111 2009-02-16 Alejandro G. Castro <alex@igalia.com>
113 * src/hildon-pannable-area.c
114 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
115 the PANNING_THRESHOLD.
117 2009-02-16 Alejandro G. Castro <alex@igalia.com>
119 * src/hildon-pannable-area.c,
120 (hildon_pannable_area_class_init): Increased the maximum speed.
121 (hildon_pannable_area_get_property),
122 (hildon_pannable_area_set_property),
123 (hildon_pannable_area_timeout): Added a new low friction mode, it
124 allows the user avoid friction when launching the widget fast
125 enough. It is interesting to traverse long lists.
127 2009-02-16 Alberto Garcia <agarcia@igalia.com>
129 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
130 (+hildon_stackable_window_delete_event): Ignore delete events if
131 the window is not the topmost one.
133 Fixes: NB#101698 (Back button long press and delete-event handling)
135 2009-02-16 Alejandro G. Castro <alex@igalia.com>
137 * src/hildon-pannable-area.c,
138 (hildon_pannable_area_motion_notify_cb): Removed the use of the
139 gtk-dnd-drag-threshold, it was too big. We have defined our own
140 dnd define and set a smaller value: PANNIG_THRESHOLD.
142 2009-02-16 Alberto Garcia <agarcia@igalia.com>
144 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
145 user-defined icons, use always the default one.
147 Fixes: NB#101916 (Do not allow custom icons on animation banner)
149 2009-02-13 Alejandro G. Castro <alex@igalia.com>
151 This patch was applied before but reverted because it caused
152 problems, we have changed the main condition and tested the
153 regressions we detected before and they work ok.
155 * src/hildon-pannable-area.c,
156 (hildon_pannable_area_get_topmost): Added a new parameter to
157 filter the the windows that do not include those events. Added
158 also a condition when finding the window to filter windows that do
159 not ask for those events.
160 (hildon_pannable_area_button_press_cb),
161 (hildon_pannable_area_button_release_cb),
162 (hildon_pannable_get_child_widget_at): Reviewed the call the the
163 topmost function, we have added the new parameter.
165 Fixes: NB#97458 (Pannable area prevents propagation of button
168 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
170 * tests/check-hildon-color-button.c (START_TEST): do not leak
173 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
175 * src/hildon-font-selection-dialog.c
176 (hildon_font_selection_dialog_get_preview_text): Return NULL
177 instead of FALSE on the g_return_val_if_fail().
179 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
181 * src/hildon-time-selector.c (hildon_time_selector_set_time):
182 * src/hildon-date-selector.c
183 (hildon_date_selector_select_current_date):
184 Do not compare unsigned integers to be greater than or equal 0,
185 because it's always TRUE.
187 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
190 (hildon_date_selector_constructor): Do not select the current
191 date until we are handle the "changed" signal, to avoid having bogus
192 elements in the days model.
194 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
196 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
197 for num_days, since _month_days() can return a negative value.
199 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
201 * src/hildon-caption.c (hildon_caption_size_allocate):
202 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
203 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
205 Initialize allocation variables to 0, to avoid eventually using
206 unitialized variables.
208 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
210 * src/hildon-bread-crumb-trail.c
211 (hildon_bread_crumb_trail_size_allocate):
212 * src/hildon-calendar.c (hildon_calendar_set_background):
213 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
214 * src/hildon-range-editor.c (hildon_range_editor_get_range):
215 * src/hildon-seekbar.c (hildon_seekbar_init):
216 * src/hildon-time-editor.c (hildon_time_editor_get_time):
217 * src/hildon-time-selector.c (hildon_time_selector_finalize):
218 * src/hildon-touch-selector-entry.c
219 (hildon_touch_selector_get_text_from_model):
220 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
221 * src/hildon-window.c (hildon_window_finalize):
223 Remove many unused variables.
225 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
227 * src/hildon-seekbar.c: (hildon_seekbar_init),
228 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
230 Remove unnecessary g_assert() calls.
232 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
234 * src/hildon-caption.c: (hildon_caption_expose),
235 (hildon_caption_set_property), (hildon_caption_init),
236 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
237 (hildon_caption_size_request), (hildon_caption_size_allocate),
238 (hildon_caption_forall), (hildon_caption_set_separator),
239 (hildon_caption_activate), (hildon_caption_set_child_expand),
240 (hildon_caption_set_label_text),
241 (hildon_caption_get_label_alignment):
243 Remove unnecessary g_assert() calls.
245 2009-02-12 Alberto Garcia <agarcia@igalia.com>
247 * src/hildon-banner.c
248 (hildon_banner_map, hildon_banner_init): Make banner temporary
249 before mapping it to avoid closing other temporary windows, but
250 make it non-temporary afterwards to avoid being closed by other
251 non-temporary windows.
252 (-hildon_banner_client_event, hildon_banner_init):
253 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
255 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
258 2009-02-11 Alberto Garcia <agarcia@igalia.com>
260 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
263 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
265 * src/hildon-remote-texture.c
266 * src/hildon-remote-texture.h
267 * src/hildon-remote-texture-private.h
268 * examples/hildon-remote-texture-example.c:
269 Updates/fixes to remote-texture and its example.
271 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
273 Patch by Mox Soini (ext-mox.soini@nokia.com)
275 * src/hildon-code-dialog.c: Update logical id.
276 * src/hildon-set-password-dialog.c: Update logical id.
278 Fixes: NB#100646 (Logical strings is shown for ok in set
279 password,Password needed dialogs)
281 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
284 * src/hildon-remote-texture.c
285 * src/hildon-remote-texture.h
286 * src/hildon-remote-texture-private.h
288 Added remote texture widget (for Clutter shared memory textures)
290 * examples/hildon-remote-texture-example.c
291 * examples/Makefile.am
292 Added example file for remote texture usage
294 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: post release version bump.
297 * debian/changelog: version bump.
299 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: Bump version.
305 * debian/changelog: Updates.
307 2009-02-06 Alberto Garcia <agarcia@igalia.com>
309 * src/hildon-date-selector.c (hildon_date_selector_init)
310 (hildon_date_selector_constructor): Don't connect to the "changed"
311 signal until the selector is completely constructed.
313 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
315 * src/hildon-touch-selector.c: (_create_new_column),
316 (hildon_touch_selector_append_column),
317 (hildon_touch_selector_set_column_selection_mode),
318 (hildon_touch_selector_set_active),
319 (hildon_touch_selector_select_iter):
320 Emit the HildonTouchSelector::changed signal every time selection
321 is changed in any of the methods above. This behavior was already
322 documented but not fully functional.
324 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
325 selection is programmatically changed)
327 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
329 * doc/hildon-sections.txt: Remove obsolete icon
330 sizes from here as well.
332 2009-02-05 Alberto Garcia <agarcia@igalia.com>
334 * examples/hildon-stackable-window-example.c (add_window): Remove
337 2009-02-05 Alberto Garcia <agarcia@igalia.com>
339 * src/hildon-app-menu.c
340 (hildon_app_menu_show): Check whether the parent window of a menu
341 is topmost before popping it up.
343 Fixes: NB#100468 (Application menu window is launched even when a
344 new secondary-window/dialog is pending to be shown/realized.)
346 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
348 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
351 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
353 Patch by Mox Soini (ext-mox.soini@nokia.com)
355 * src/hildon-banner.c: (hildon_banner_show_animation):
356 use stylus size instead of obsolete note size.
357 * src/hildon-defines.h: Update icon sizes.
359 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
361 * src/hildon-touch-selector-entry.c:
362 (hildon_touch_selector_entry_init): Disable unsupported
364 (hildon_touch_selector_entry_get_text_column): Emit a warning
365 if an unsupported input modes is used and explicitile state
366 these modes in the documentation.
368 Fixes: NB#99802 (Hildon touch selector entry not working properly
369 for some of the input modes)
371 2009-02-05 Alejandro G. Castro <alex@igalia.com>
373 * src/hildon-pannable-area.c,
374 (hildon_pannable_area_init): Added the changed signal handlers of
377 Fixes: NB#100320 (HildonPannableArea does not listen to
378 GtkAdjustment "change" signals)
380 2009-02-04 Alberto Garcia <agarcia@igalia.com>
382 * doc/hildon-sections.txt
383 * src/hildon-window-private.h
384 * src/hildon-window.h
385 * src/hildon-window.c (hildon_window_init)
386 (hildon_window_realize, hildon_window_unrealize)
387 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
388 (hildon_window_size_request, hildon_window_size_allocate)
389 (hildon_window_forall, hildon_window_show_all)
390 (hildon_window_destroy, +paint_edit_toolbar)
391 (+hildon_window_set_edit_toolbar):
392 New hildon_window_set_edit_toolbar() method, to add a
393 HildonEditToolbar to a window without having to pack it manually.
395 Reorganize hildon_window_size_allocate()
397 * src/hildon-edit-toolbar.c: Update documentation.
399 * examples/hildon-edit-toolbar-example.c (edit_window): Update
400 example to use the new API.
402 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
404 2009-02-04 Alberto Garcia <agarcia@igalia.com>
406 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
407 Remove from stack before calling parent's hide.
409 2009-02-04 Alberto Garcia <agarcia@igalia.com>
411 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
412 window is removed from the middle of the stack, update the
413 transiency of the previous one.
415 Fixes: NB#100487 (HildonStackableWindow transiency becomes
418 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
421 block/unblock the signal handler if it's not actually being used.
422 Fixes some critical warnings.
424 2009-02-02 Alberto Garcia <agarcia@igalia.com>
426 Based on a patch by Iván Gómez (igomez@igalia.com)
428 * src/hildon-banner.c
432 * src/hildon-pannable-area.c
433 * src/hildon-picker-dialog.c
434 * src/hildon-wizard-dialog.h
435 * src/hildon-wizard-dialog.c: Documentation updates.
437 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
438 gtk_dialog_add_button() instead of hildon_dialog_add_button().
440 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
442 * configure.ac: post release version bump.
443 * debian/changelog: version bump.
445 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
450 * configure.ac: Bump version.
451 * debian/changelog: Updates.
453 2009-01-29 Alberto Garcia <agarcia@igalia.com>
455 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
456 a stock icon nor change the relief of the back arrow.
458 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
461 2009-01-29 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-button.c (hildon_button_set_alignment): Use
464 priv->alignment if the button has no child yet.
466 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
468 * src/hildon-button.c: (hildon_button_init): Set the
469 button style during initialization to give it the proper
472 Fixes: NB#99713 (HildonButton value label color is wrong)
474 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-touch-selector.c: Document
477 hildon_touch_selector_center_on_selected()
479 2009-01-28 Alberto Garcia <agarcia@igalia.com>
481 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
482 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
483 all menu items, but not the menu itself.
484 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
485 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
486 items after adding them to the menu so keyboard accelerators work.
487 (hildon_app_menu_show): Don't show the menu if it contains items
488 but none of them are visible.
490 * examples/hildon-app-menu-example.c (create_menu): Use
491 gtk_widget_show_all() to show all menu items.
493 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
495 * src/hildon-picker-dialog.c:
496 (-_update_title_on_selector_changed_cb),
497 (-_dialog_update_title): Removed.
498 (_select_on_selector_changed_cb), (_on_dialog_response),
499 (on_selector_columns_changed): Do not update the dialog title.
500 (setup_interaction_mode): Do not connect to
501 HildonTouchSelector::changed signal if there's a "done" button, as
502 the dialog title doesn't need to be updated.
504 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
507 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
509 Patch by Kristian Rietveld (kris@imendio.com)
511 * src/hildon-touch-selector.c: (_create_new_column): Use new
512 GtkTreeView::hildon-row-tapped signal to react to user interactions
513 instead of ::changed.
515 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
516 with some dynamic tree model)
518 2009-01-27 Alberto Garcia <agarcia@igalia.com>
520 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
521 (+screen_size_changed, +label_size_request)
522 (hildon_note_class_init): Make the Hildon information note have a
523 minimum height, and make its text hvae a maximum width.
525 Fixes: NB#98614 (Hildon information note (background) should have
526 minimum height and maximum text width)
528 2009-01-26 Alberto Garcia <agarcia@igalia.com>
530 * src/hildon-banner.h
531 * src/hildon-banner.c (hildon_banner_show_information)
532 (hildon_banner_show_informationf)
533 (hildon_banner_show_information_with_markup): Update documentation
534 to reflect that the icon_name parameter is not used anymore.
535 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
536 Remove all code from these functions and mark them as deprecated.
537 (hildon_banner_show_progress): Mark as deprecated.
539 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
541 2009-01-26 Alejandro G. Castro <alex@igalia.com>
543 * src/hildon-pannable-area.c,
544 (hildon_pannable_area_class_init),
546 (hildon_pannable_draw_vscroll),
547 (hildon_pannable_draw_hscroll),
548 (hildon_pannable_area_expose_event): Added a new way to render the
549 scrollbars of the pannable area avoiding using cairo at all. This
550 way we improve the performance of the pannable area rendering. The
551 cairo rendering procedure is still in the code, we can control
552 which one to use changing the value of the define
553 USE_CAIRO_SCROLLBARS.
555 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
557 * configure.ac: post release version bump.
558 * debian/changelog: version bump.
560 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
565 * configure.ac: Bump version.
566 * debian/changelog: Updates.
568 2009-01-23 Alberto Garcia <agarcia@igalia.com>
570 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
571 banners instead of destroying them when they receive a button
574 2009-01-23 Alejandro G. Castro <alex@igalia.com>
576 Reverted commit 34028, it was causing regressions, probably the
577 topmost condition is not correct, we have to check it in more
578 detail. We have reponed the bug: NB#97458 (Pannable area prevents
579 propagation of button press events)
581 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
583 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
584 that the selection is not empty before attempting to retrieve the
585 current ampm selection.
587 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
589 * src/hildon-picker-button.c:
590 (hildon_picker_button_on_dialog_response): Directly update the
591 button contents when required instead of calling _selection_changed.
593 2009-01-23 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-program.c (hildon_program_update_top_most): Update
596 'is-topmost' property also when wm_hints is not set.
598 Fixes: NB#98383 (is-topmost signal is not emitted when task
599 switcher is clicked.)
601 2009-01-23 Alejandro G. Castro <alex@igalia.com>
603 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
607 * src/hildon-animation-actor.c,
608 * src/hildon-animation-actor.h: Added the animation actor class,
609 this widget represents an animation actor for WM-assisted
610 animation effects in the Hildon framework.
612 2009-01-23 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-window-stack-private.h
615 * src/hildon-window-stack.c
616 * src/hildon-stackable-window.c (hildon_stackable_window_show):
617 Avoid calling gtk_widget_show() again indirectly from
618 hildon_stackable_window_show()
620 2009-01-23 Alberto Garcia <agarcia@igalia.com>
622 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
625 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
627 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
628 (hildon_time_selector_init): Move the construction of the hours and
629 ampm columns to the constructor to preserve the order the columns
632 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
634 * src/hildon-picker-dialog.c:
635 (hildon_picker_dialog_class_init): Connect a realize method.
636 (+hildon_picker_dialog_realize): Setup the interaction mode here
638 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
639 yet, do it during the realize instead.
640 (_on_dialog_response):
641 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
642 if the widget is not realized, to avoid the dialog response before it
645 Avoid premature responses in the HildonPickerDialog that can cause it
646 to be hidden before it's even shown.
648 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
651 (on_selector_columns_changed), (requires_done_button),
652 (+prepare_action_area), (setup_interaction_mode),
653 (_hildon_picker_dialog_set_selector):
655 Split the interaction mode setup into preparation of the
656 action area (prepare_action_area()) and the connection of
657 the signals in setup_interaction_mode() and update the code to
660 2009-01-22 Alejandro G. Castro <alex@igalia.com>
662 * src/hildon-pannable-area.c,
663 (hildon_pannable_area_class_init): Reduced the amount of scrolls
664 per second to 15, we will check if this is ok regarding
667 2009-01-22 Alejandro G. Castro <alex@igalia.com>
669 * src/hildon-pannable-area.c,
670 (hildon_pannable_axis_scroll): Avoid resize if we already have
671 reached overshoot_max.
673 2009-01-22 Alejandro G. Castro <alex@igalia.com>
675 * src/hildon-pannable-area.c,
676 (hildon_pannable_area_init),
677 (hildon_pannable_area_realize),
678 (hildon_pannable_area_size_allocate),
679 (hildon_pannable_area_map),
680 (hildon_pannable_area_unmap),
681 (hildon_pannable_draw_vscroll),
682 (hildon_pannable_draw_hscroll),
683 (hildon_pannable_area_expose_event),
684 (hildon_pannable_area_refresh): Added a new GdkWindow to the
685 pannable are to avoid the expose events go to the window and
686 redraw the window. We save this way that part of the stack and the
687 paint_boxes. We had to change the positions of the elements when
690 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
692 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
693 * src/hildon-color-chooser-dialog.c:
694 (hildon_color_chooser_dialog_init):
695 * src/hildon-font-selection-dialog.c:
696 (hildon_font_selection_dialog_init),
697 (hildon_font_selection_dialog_show_preview):
698 * src/hildon-get-password-dialog.c:
699 * src/hildon-login-dialog.c:
700 * src/hildon-set-password-dialog.c:
701 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
702 * src/hildon-time-picker.c: (hildon_time_picker_init):
704 Remove obsolete logical string IDs and update to the appropriate ones.
706 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
708 2009-01-21 Alberto Garcia <agarcia@igalia.com>
710 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
711 that happens if the window hasn't been realized yet.
713 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
714 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
716 2009-01-20 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-app-menu.c (hildon_app_menu_class_init)
719 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
722 Fixes: NB#98537 (Device hangs in account settings dialog)
724 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: post release version bump.
727 * debian/changelog: version bump
729 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
734 * configure.ac: Bump version.
735 * debian/changelog: Updates.
737 2009-01-20 Alejandro G. Castro <alex@igalia.com>
739 Added a new function to the HildonTimeButton widget that allows to
740 change the step of the minutes in the selector associated with the
741 button: hildon_time_button_new_step
743 * src/hildon-time-button.c,
744 (hildon_time_button_init),
745 (hildon_time_button_new),
746 (hildon_time_button_new_step):
747 * src/hildon-time-button.h: Added the new function and refactored
749 * examples/hildon-time-button-example.c,
750 (main): We have replaced the function without parameters with the
751 function with the steps set to 5
753 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
755 2009-01-20 Alejandro G. Castro <alex@igalia.com>
757 * src/hildon-time-selector.c,
758 (hildon_time_selector_class_init),
759 (hildon_time_selector_constructor),
760 (hildon_time_selector_get_property),
761 (hildon_time_selector_set_property),
762 (_create_minutes_model),
763 (hildon_time_selector_new_step),
764 (hildon_time_selector_set_time),
765 * src/hildon-time-selector.h: Added a new property to the
766 HildonTimeSelector (minutes-step), we use that property to control
767 the steps between the minutes in the list of the selector. We have
768 added a new function to the API to create a widget changing the
769 step: hildon_time_selector_new_step.
771 2009-01-20 Alejandro G. Castro <alex@igalia.com>
773 * src/hildon-time-selector.c,
774 (hildon_time_selector_class_init),
775 (hildon_time_selector_constructor),
776 (hildon_time_selector_init): Overrided the construct function when
777 creating the time selector object. We have moved the minutes model
778 handling code from the init to the new construction function:
779 hildon_time_selector_constructor.
781 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
783 * examples/hildon-date-button-example.c: (main): Use the new
784 hildon_date_button_new_with_year_range() method in the example.
785 * src/hildon-date-button.c:
786 (+hildon_date_button_new_with_year_range): New public method
787 to conveniently create a HildonDateButton with a custom year range
788 in its HildonDateSelector.
789 * src/hildon-date-button.h: Add the new public method definition.
791 Fixes: NB#97908 (Not possible to change the year range in
792 HildonDateSelector/HildonDateButton)
794 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-date-selector.c:
797 (+hildon_date_selector_set_property),
798 (+hildon_date_selector_get_property),
799 (hildon_date_selector_class_init): Install new properties "min-year"
800 and "max-year" to define boundaries for the year column.
801 (_create_year_model): Use the boundary properties to populate the model.
802 (+hildon_date_selector_new_with_year_range): New public method to
803 create a HildonDateSelector with a user defined year range.
804 (hildon_date_selector_select_current_date): Use the new boundaries to
805 calculate the iterator of current year.
806 * src/hildon-date-selector.h: Add the new public method definition.
808 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
810 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
811 Install a constructor method.
812 (+hildon_date_selector_construct_ui): construct the widget.
813 (+hildon_date_selector_constructor): new constructor.
814 (+hildon_date_selector_init): move out widget construction code to
817 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
819 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
820 that there's actually a month or year selected before obtaining them.
821 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
822 of the HildonTouchSelector::changed signal, as it was emitted on every
823 single item selection.
825 Fix some warnings and possible crashers due to the selection restoring.
827 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
829 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
830 the signal handlers only after creating the dialog instead of on every
833 2009-01-19 Alberto Garcia <agarcia@igalia.com>
835 * src/hildon-button.c (hildon_button_init)
836 * src/hildon-check-button.c (hildon_check_button_init)
837 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
838 focus when clicked by default.
840 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
845 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
847 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
848 Alejandro G. Castro (alex@igalia.com)
850 * src/hildon-picker-dialog.c:
851 (hildon_picker_dialog_class_init): install new "center-on-show"
853 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
854 (hildon_picker_dialog_set_property): add setter code for the new
856 (hildon_picker_dialog_get_property): add getter code for the new
858 (hildon_picker_dialog_show): Ensure visibility of selected items in the
859 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
862 Fixes: NB#92849 (Selected item is not always visible when
863 HildonTouchSelector is shown)
865 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
867 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
868 Alejandro G. Castro (alex@igalia.com)
870 * src/hildon-touch-selector.c:
871 (_create_new_column): Do not connect to the "realize" signal of the
873 (hildon_touch_selector_append_column): center on the selected items
874 when a new column is appended.
875 (hildon_touch_selector_select_iter): Factor out the code to select a
876 column to hildon_touch_selector_scroll_to().
877 (+search_nearest_element): Method to retrieve the nearest selected
878 element to the visible area of the pannable area in a column.
879 (+on_realize_cb): scroll to the initially selected item.
880 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
881 the pannable area is realized, otherwise delay this until it is.
882 (+_hildon_touch_selector_center_on_selected_items): Centers on the
883 selected items of a given column.
884 (+hildon_touch_selector_center_on_selected): Public method to center
885 all columns on the nearest selected item.
886 * src/hildon-touch-selector.h: Add definition for
887 hildon_touch_selector_center_on_selected().
889 Implement public API to ensure visibility of all selected items in
890 a HildonTouchSelector.
892 2009-01-16 Alejandro G. Castro <alex@igalia.com>
894 Fixed a problem in the fading when calling the scroll_to API, and
895 improve scrollbar fading handling.
897 * src/hildon-pannable-area.c,
898 (hildon_pannable_area_grab_notify): avoid the timeout when the
900 (hildon_pannable_area_button_press_cb),
901 (hildon_pannable_area_motion_notify_cb): Code style changes.
902 (hildon_pannable_area_button_release_cb): Review the conditions
903 when releasing the mouse button to avoid unrequired fading
905 (hildon_pannable_area_scroll_to): Do not calculate and set the
906 velocity if the scroll is not required.
908 2009-01-15 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
911 Don't check whether the new selector is NULL: it cannot be.
912 Hold a reference to the selector while doing the replacement.
914 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
917 unnecessary size_request in a removed widget.
919 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
921 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
922 an unnecessary reference tracking that was leaking.
924 2009-01-15 Alejandro G. Castro <alex@igalia.com>
926 Added delayed motion notify event handling, this way we can
927 discard redrawing if more than 25 events arrive per second.
929 * src/hildon-pannable-area.c,
930 (hildon_pannable_area_init): Initialized the new private atributes
931 controlling this timeout
932 (hildon_pannable_area_dispose): Remove the timeout that controls
933 the motion notify events.
934 (hildon_pannable_area_scroll): Added a condition to control the
935 use of the acceleration.
936 (hildon_pannable_area_motion_event_scroll_timeout),
937 (hildon_pannable_area_motion_event_scroll): Added this two
938 functions, they handle the motion notify events inside the
940 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
941 to the scroll method with the new function.
942 (hildon_pannable_area_button_release_cb): We have to remove the
943 timeout handler and move to the last position if the last motion
944 events were not handled.
946 Fixes: NB#97028 (Pannable area updates on every motion event)
948 2009-01-15 Alejandro G. Castro <alex@igalia.com>
950 * src/hildon-pannable-area.c,
951 (hildon_pannable_area_get_topmost): Added a new parameter to
952 filter the the windows that do not include those events. Added
953 also a condition when finding the window to filter windows that do
954 not ask for those events.
955 (hildon_pannable_area_button_press_cb),
956 (hildon_pannable_area_button_release_cb),
957 (hildon_pannable_get_child_widget_at): Reviewed the call the the
958 topmost function, we have added the new parameter.
960 Fixes: NB#97458 (Pannable area prevents propagation of button
963 2009-01-15 Alejandro G. Castro <alex@igalia.com>
965 * src/hildon-pannable-area.c,
966 (hildon_pannable_area_initial_effect): Added controls before
967 launching the timeout and the idle functions.
968 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
969 of the method, in some situations it can return with TRUE and 0 in
971 (hildon_pannable_area_button_press_cb): We do not need to set
972 DELAY for fading out here.
974 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
976 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
978 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
979 post-cleaning if the selection is not NULL.
981 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
983 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
984 all items before restoring the selection.
986 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
988 * src/hildon-touch-selector.c:
989 (+hildon_touch_selector_unselect_all):
990 * src/hildon-touch-selector.h: New API to unselect all items in a
991 column of the touch selector.
993 2009-01-14 Alejandro G. Castro <alex@igalia.com>
995 * src/hildon-pannable-area.c,
996 (hildon_pannable_area_redraw): Added a call to the refresh
997 function inside the redraw because apparently in some cases the
998 change in the adjustment does not imply a size allocate.
1000 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1001 despite the view not being scrollable)
1003 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1006 leak. Check for NULL before attempting to set the window title.
1008 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1011 whether to show or not the 'Done' button each time the dialog is
1012 shown, as it depends on the HildonTouchSelector selection mode.
1014 Fixes: NB#96226 (In multiple selection mode Done button is shown
1015 sometimes in listpicker)
1017 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1019 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1020 for the number of columns in the HildonTouchSelector more than once.
1022 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-touch-selector.c: Minor documentation fixes.
1026 * src/hildon-picker-dialog.c (+_dialog_update_title)
1027 (_select_on_selector_changed_cb)
1028 (_update_title_on_selector_changed_cb)
1029 (on_selector_columns_changed): Update dialog title when there's no
1030 'Done' button and also when the number of columns in the selector
1034 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1035 (+_selection_changed, hildon_picker_button_on_dialog_response)
1036 (hildon_picker_button_selector_selection_changed)
1037 (+hildon_picker_button_selector_columns_changed)
1038 (hildon_picker_button_set_selector): Update button value and emit
1039 'value-changed' when the number of columns in the selector
1043 Fixes: NB#96225 (Dialog titles are not shown according to the
1044 values selected in the list picker)
1046 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1049 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1050 New "arrow-width" and "arrow-height" style properties to set the
1051 size of the arrow button.
1052 Set name of arrow button ("hildon-edit-toolbar-arrow").
1054 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1055 graphics from theme)
1057 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1059 * src/hildon-picker-button.c:
1060 (hildon_picker_button_selector_selection_changed): Use
1061 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1062 the dialog is present.
1064 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1065 the selection is accepted in the dialog)
1067 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-color-chooser.h
1070 * src/hildon-color-chooser-dialog.h:
1071 Added G_BEGIN_DECLS and G_END_DECLS
1073 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1075 (_clean_current_selection): plug a leak in the list.
1077 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1079 * src/hildon-picker-dialog.c:
1080 (+free_path_list): Method to free a GList of GtkTreePaths.
1081 (_clean_current_selection), (_save_current_selection),
1082 (_restore_current_selection): Save the current selection in
1083 as a list of lists, to support multiple selection properly.
1085 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1087 patch by Claudio Saavedra (csaavedra@igalia.com)
1089 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1090 Store the press position.
1091 (+hildon_text_view_button_release_event): If the release position is
1092 close enough to the press position, move the cursor here. Otherwise,
1094 (hildon_text_view_class_init): Override GtkTextView press, release, and
1095 motion event handlers, disabling this way text selection through
1096 pointer interaction, and allowing the container widget to handle the
1099 Fixes: NB#95828 (HildonTextView functionality)
1101 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1103 Based on a patch by Iván Gómez (igomez@igalia.com)
1105 * src/hildon-button.[ch]
1106 * src/hildon-calendar.c
1107 * src/hildon-check-button.c
1108 * src/hildon-date-editor.c
1109 * src/hildon-date-selector.c
1110 * src/hildon-picker-button.c
1111 * src/hildon-time-editor.c
1112 * src/hildon-time-selector.c
1113 * src/hildon-touch-selector.[ch]:
1114 Documentation updates
1116 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1118 * src/hildon-pannable-area.c,
1119 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1120 threshold, it was required due to X events handling.
1122 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1124 * src/hildon-pannable-area.c,
1125 (hildon_pannable_area_grab_notify),
1126 (hildon_pannable_area_initial_effect),
1127 (hildon_pannable_area_button_press_cb),
1128 (hildon_pannable_area_button_release_cb),
1129 (hildon_pannable_area_scroll_cb),
1130 (hildon_pannable_area_scroll_to): Review the timeout management of
1131 the scrollbar, the frecuency was incorrectly set.
1133 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1135 * src/hildon-picker-button.c:
1136 (+hildon_picker_button_on_dialog_response),
1137 (hildon_picker_button_clicked): Present the dialog instead of
1138 running it with gtk_dialog_run().
1140 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1143 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1145 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1146 (hildon_app_menu_finalize): When a window is hidden it doesn't
1147 emit notify::is-topmost, so make sure than the menu also
1148 disappears in that case.
1149 (parent_window_topmost_notify): Renamed from parent_window_hidden
1151 Fixes: NB#94460 (stackable window's menu is not closed when its
1154 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1156 * src/hildon-touch-selector-entry.c:
1157 (+hildon_touch_selector_entry_set_input_mode),
1158 (+hildon_touch_selector_entry_get_input_mode):
1159 * src/hildon-touch-selector-entry.h: New methods to access the input
1160 mode in the selector's entry.
1162 Fixes: NB#93410 (API required for setting IM mode in
1163 HildonTouchSelectorEntry)
1165 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1167 * configure.ac: post release version bump.
1168 * debian/changelog: version bump
1170 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1175 * configure.ac: Bump version.
1176 * debian/changelog: Updates.
1178 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1180 * src/hildon-touch-selector.c:
1181 (_hildon_touch_selector_has_multiple_selection): No need
1182 to initialize the variables here.
1184 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1186 * src/hildon-note-private.h
1187 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1188 (hildon_note_finalize, hildon_note_rebuild): Close information
1189 notes when they receive a button press.
1191 Fixes: NB#89890 (Information notes does not get disappeared after
1194 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1197 mark from the wizard title, as it's not really necessary. Also,
1198 do not display the page title if not set.
1200 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1203 (parent_window_hidden): Use the window's "is-topmost" property to
1204 detect when to hide the menu.
1206 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1209 (hildon_app_menu_finalize): If the parent window of the menu is
1210 hidden, hide the menu too.
1212 Fixes: NB#94460 (stackable window's menu is not closed when its
1215 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1218 * debian/libhildon1-examples.install
1220 * examples/Makefile.am:
1221 Use dh_install to install all examples.
1222 Use DEB_SRCDIR instead of defining SOURCE_DIR
1224 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1226 * configure.ac: post release version bump.
1227 * debian/changelog: version bump
1229 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1234 * configure.ac: bump version
1235 * debian/changelog: updates
1236 * debian/control: bump gtk+ dependency
1238 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1240 patch by Christian Dywan (christian@imendio.com)
1242 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1243 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1245 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1247 * src/hildon-check-button.c (hildon_check_button_init)
1248 (hildon_check_button_class_init, hildon_check_button_style_set)
1249 (hildon_check_button_apply_style):
1250 New "checkbox-size" style property.
1252 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1253 larger / configurable size)
1255 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: post release version bump.
1258 * debian/changelog: version bump
1260 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1265 * configure.ac: bump version
1266 * debian/changelog: updates
1268 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1270 * doc/hildon-sections.txt
1271 * src/hildon-pannable-area.c
1272 * src/hildon-program.c
1273 * src/hildon-time-editor.c
1274 * src/hildon-touch-selector-entry.c:
1276 More documentation updates.
1278 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1280 * doc/hildon-sections.txt
1281 * src/hildon-caption.c
1282 * src/hildon-code-dialog.c
1283 * src/hildon-color-button.c
1284 * src/hildon-controlbar.c
1285 * src/hildon-date-editor.c
1286 * src/hildon-date-selector.c
1287 * src/hildon-edit-toolbar.c
1288 * src/hildon-find-toolbar.c
1289 * src/hildon-font-selection-dialog.c
1291 * src/hildon-program.c
1292 * src/hildon-range-editor.c
1293 * src/hildon-seekbar.c
1294 * src/hildon-time-editor.c
1295 * src/hildon-time-selector.c
1296 * src/hildon-volumebar-range.c
1297 * src/hildon-volumebar.c
1298 * src/hildon-vvolumebar.c
1299 * src/hildon-weekday-picker.c
1300 * src/hildon-window.c
1301 * src/hildon-wizard-dialog.c:
1303 Lots of documentation fixes.
1305 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1307 Patch contributed by Iván Gómez (igomez@igalia.com)
1309 * src/hildon-check-button.c:
1310 * src/hildon-date-button.c:
1311 * src/hildon-date-selector.c:
1312 * src/hildon-dialog.c:
1313 * src/hildon-edit-toolbar.c:
1314 * src/hildon-entry.c:
1315 * src/hildon-picker-button.c:
1316 * src/hildon-program.c:
1317 * src/hildon-text-view.c:
1318 * src/hildon-time-button.c:
1319 * src/hildon-touch-selector-entry.c:
1320 * src/hildon-window-stack.c:
1322 Add more "since" tags to the new API.
1324 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1326 * doc/hildon-sections.txt: Add below method.
1327 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1328 version for the hildonized scale.
1329 * src/hildon-gtk.h: Add the definition.
1331 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1333 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1335 * doc/hildon-sections.txt: Add missing entries for new methods.
1337 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1339 Added API to pannable are in order to get its adjustments. We
1340 added two properties to manage the values we had in the private
1343 * src/hildon-pannable-area.c:
1344 (hildon_pannable_area_class_init): Added hadjustment and
1345 vadjustment properties in order to expose horizontal and vertical
1347 (hildon_pannable_area_get_property),
1348 (hildon_pannable_area_set_property): Added code to handle the new
1350 (hildon_pannable_area_get_hadjustment),
1351 (hildon_pannable_area_get_vadjustment): API functions to get the
1353 * src/hildon-pannable-area.h:
1354 (hildon_pannable_area_get_hadjustment),
1355 (hildon_pannable_area_get_vadjustment): API functions to get the
1358 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1360 Fixed some leaks, after valgrinding.
1362 * src/hildon-touch-selector.c:
1363 (_default_print_func): Fixed a leak.
1364 (hildon_touch_selector_append_column): Fixed a leak.
1365 * src/hildon-date-button.c:
1366 (hildon_date_button_init): Fixed a leak.
1367 * src/hildon-date-selector.c
1368 (hildon_date_selector_finalize): Fixed a leak.
1370 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1372 Based on a patch by Christian Dywan (christian@imendio.com)
1374 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1376 * src/hildon-gtk.h: Add definition.
1378 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1380 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/hildon-picker-button.c: (hildon_picker_button_init),
1383 (hildon_picker_button_new): Set the HildonButton::style property
1384 in the init method, to propagate the value to the derived classes.
1386 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1388 * src/hildon-button.c: (hildon_button_class_init): Do not make
1389 the "style" property a construct property.
1391 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-wizard-dialog.h
1394 * src/hildon-wizard-dialog.c
1395 (hildon_wizard_dialog_set_forward_page_func)
1396 * src/hildon-pannable-area.h
1397 * src/hildon-pannable-area.c
1398 (hildon_pannable_area_set_size_request_policy):
1399 Documentation fixes.
1401 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1403 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1405 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1407 * doc/hildon-sections.txt: Added sections file.
1409 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/*.[ch]: Updates.
1414 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1416 * examples/hildon-progress-indicator-example.c: new file
1417 * examples/Makefile.am: include the new example program
1419 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1423 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1425 * configure.ac: post release version bump
1426 * debian/changelog: version bump
1428 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1433 * configure.ac: bump version
1434 * debian/changelog: updates
1435 * debian/control: bump gtk+ dependency
1437 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1439 * src/hildon-dialog.c: Mark as deprecated.
1440 * src/hildon-dialog.h: Mark as deprecated.
1441 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1442 from HildonDialog and still work, even if
1443 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1444 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1446 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1447 maemo changes) instead)
1449 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1451 * src/hildon-pannable_area.h:
1452 * src/hildon-pannable_area.c:
1453 (hildon_pannable_area_class_init),
1454 (hildon_pannable_area_set_property),
1455 (hildon_pannable_area_get_property),
1456 (hildon_pannable_area_size_request),
1457 (hildon_pannable_area_get_size_request_policy),
1458 (hildon_pannable_area_set_size_request_policy): Added new API
1459 allowing applications to control the request policy. Now they can
1460 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1461 children allocation (HILDON_MOVEMENT_CHILDREN).
1463 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1467 (hildon_gtk_tree_view_set_ui_mode)
1468 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1469 mode of treeviews and iconviews.
1471 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-touch-selector-entry.c:
1474 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1475 of a GtkEntry to get proper theming.
1477 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1478 widget, not GtkEntry)
1480 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1483 no HildonWizardDialogPageFunc.
1485 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1487 Patch contributed by Iván Gómez (igomez@igalia.com)
1489 * src/hildon-app-menu.c:
1490 * src/hildon-button.c:
1491 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1492 * src/hildon-stackable-window.c:
1493 * src/hildon-time-selector.c:
1494 * src/hildon-touch-selector.c:
1495 * src/hildon-window.c:
1497 Add more "since" tags to the new API in hildon 2.2.
1499 2008-12-05 Tim Janik <timj@imendio.com>
1501 Patch contributed by Christian Dywan (christian@imendio.com)
1503 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1504 HildonSizeType, which are supplied by Gtk+ now.
1506 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1508 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1509 (with maemo changes) instead)
1511 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1513 Patch contributed by Iván Gómez (igomez@igalia.com)
1515 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1518 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1520 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1521 (some_page_func), (main): Update the example to use a
1522 HildonWizardDialogPageFunc function.
1524 * src/hildon-wizard-dialog-private.h: Add private data for
1525 the HildonWizardDialogPageFunc function usage.
1527 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1528 (destroy), (hildon_wizard_dialog_init), (response),
1529 (hildon_wizard_dialog_set_forward_page_func):
1530 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1531 that applications can use to stop a HildonWizardDialog to jump to
1534 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1537 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-program.h
1540 * src/hildon-program-private.h
1541 * src/hildon-program.c (hildon_program_init)
1542 (hildon_program_set_common_app_menu)
1543 (hildon_program_get_common_app_menu):
1544 New API for setting a common HildonAppMenu for all
1545 HildonStackableWindows registered with the HildonProgram.
1547 * src/hildon-stackable-window.c
1548 (hildon_stackable_window_toggle_menu):
1549 Use the common HildonAppMenu if a window doesn't have a specific
1552 * src/hildon-app-menu-private.h
1553 * src/hildon-app-menu.c
1554 (hildon_app_menu_get_parent_window):
1555 Function to obtain the window a HildonAppMenu is attached to.
1556 (hildon_app_menu_set_parent_window):
1557 Hide the menu if the parent window is set to NULL.
1559 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1561 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1562 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1563 search widget to popup.
1565 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1567 * configure.ac: post release version bump
1568 * debian/changelog: version bump
1570 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1575 * configure.ac: bump version
1576 * debian/changelog: updates
1578 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1580 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1582 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1583 (hildon_window_stack_window_realized)
1584 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1585 Set the leader GdkWindow when a window is stacked and realized,
1586 unset it when it's unstacked.
1587 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1589 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1591 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-stackable-window.h
1594 * src/hildon-window-stack.h:
1595 Protect definition of HildonWindowStack using the preprocessor.
1597 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1600 Fix warning if all menu items are hidden.
1602 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1604 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1606 * src/hildon-controlbar.c:
1607 * src/hildon-hvolumebar.c:
1608 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1609 Multiple scale size defines updates.
1611 Fixes: NB#94322 (Scale Updates)
1613 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1615 * examples/hildon-app-menu-example.c (create_menu)
1616 Show items after adding them to the menu, as in the future the
1617 menu will no longer call gtk_widget_show() on the added items.
1619 * src/hildon-app-menu.c:
1620 Update example as explained above.
1622 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1624 * src/hildon-app-menu.c
1625 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1626 Make sure that all menu items have finger height.
1628 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1630 * src/hildon-picker-dialog.c:
1631 (_on_dialog_response), (_save_current_selection),
1632 (_restore_current_selection), (_clean_current_selection),
1633 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1634 Defined new functions in order to save the current internal selector
1635 selection previous open the dialog, in case that the use cancel the
1636 interaction, so the widget restores the previous selection.
1638 Fixes: NB#92032 (In calendar application, date values in 'new event'
1641 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1643 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-button.c: Add a reference to the button examples in
1646 hildon-button-example.c
1648 * examples/hildon-button-example.c: Added examples of the most
1649 common button layouts.
1651 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-app-menu.c (hildon_app_menu_show)
1654 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1656 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1658 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-picker-dialog.c:
1661 (hildon_picker_dialog_init): Initialize the signal id for
1662 HildonTouchSelector::columns-changed.
1663 (+on_selector_columns_changed): Set up the interaction mode everytime a
1664 column is added or removed from the HildonTouchSelector.
1665 (_hildon_picker_dialog_set_selector): Connect to
1666 HildonTouchSelector::columns-changed and keep track of it.
1668 Make sure to update the interaction mode of the dialog everytime a
1669 column is added or removed in the HildonTouchSelector.
1671 Fixes: NB#93228 (Done button is not shown always in listpicker)
1673 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1676 a new ::columns-changed signal.
1677 (hildon_touch_selector_append_column): Emit ::columns-changed.
1678 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1680 Add a ::columns-changed signal, emitted when the number of columns in a
1681 HildonTouchSelector changes.
1683 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1685 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1686 (_hildon_picker_dialog_set_selector): Factor out the code
1687 to set up the dialog interaction mode.
1689 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1691 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1692 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1693 to signal_changed_id.
1695 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1697 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1700 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1702 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1703 Updated the logical ids related to ampm format, as now it is required to
1704 show it correctly localized even on languages with no default
1705 abbreviations for am or pm
1706 (_check_am_pm_format): check correctly the 24h format gconf property
1708 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1710 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-button.c: Documentation updates.
1714 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1717 * src/hildon-caption.c: (hildon_caption_class_init):
1718 * src/hildon-color-button.c: (hildon_color_button_class_init):
1719 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1720 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1721 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1722 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1724 Remove deprecated GTK+ marshalers and replace them with the ones
1725 provided by GLib, for those available, add a marshaler for
1726 BOOLEAN:VOID, which is not available in GLib, and use it.
1728 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1731 the text from the previous column if there is no
1732 HildonTouchSelectorColumn::text-property set.
1734 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-button.h
1737 * src/hildon-button.c (hildon_button_set_property)
1738 (hildon_button_get_property, hildon_button_class_init)
1739 (hildon_button_set_style, hildon_button_get_style):
1740 New "style" property to change the visual appearance of the
1743 * src/hildon-picker-button.c (hildon_picker_button_new):
1744 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1746 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1747 HildonButton look like PickerButton)
1749 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1752 column while building the default string.
1754 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1756 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1757 scroll indicator by default.
1759 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1761 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1763 * src/hildon-main.c: Fix the documentation for hildon_init()
1765 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1767 * doc/hildon-docs.sgml
1771 * src/hildon-window-stack-private.h
1772 * src/hildon-window-stack.h
1773 * src/hildon-window-stack.c:
1774 New HildonWindowStack object, that adds support for multiple
1775 stacks of windows per process.
1777 * src/hildon-stackable-window-private.h
1778 * src/hildon-stackable-window.h
1779 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1780 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1781 (hildon_stackable_window_show, hildon_stackable_window_hide)
1782 (hildon_stackable_window_class_init)
1783 (hildon_stackable_window_init):
1784 Use HildonWindowStack for stack management.
1786 * src/hildon-program.c (hildon_program_pop_window_stack)
1787 (hildon_program_peek_window_stack)
1788 (hildon_program_go_to_root_window):
1789 Add a fallback implementation to the deprecated functions using
1792 * examples/hildon-stackable-window-example.c:
1793 Use the new HildonWindowStack API.
1795 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-stackable-window-private.h
1798 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1799 (hildon_stackable_window_hide, hildon_stackable_window_init):
1800 Remove all window stack management.
1802 * src/hildon-program-private.h
1803 * src/hildon-program.h
1804 * src/hildon-program.c (hildon_program_init)
1805 (hildon_program_pop_window_stack)
1806 (hildon_program_peek_window_stack)
1807 (hildon_program_go_to_root_window):
1808 Remove all window stack management and mark functions as
1811 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-app-menu.c (hildon_app_menu_realize):
1814 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1816 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1818 * configure.ac: post release version bump
1819 * debian/changelog: version bump
1821 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: bump version
1827 * debian/changelog: updates
1829 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1831 Based on initial code by Christian Dywan (christian@imendio.com)
1833 * doc/hildon-docs.sgml: Add section for hildon-main.
1834 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1835 * src/Makefile.am: Add new hildon-main.[ch]
1836 * src/hildon-defines.h: Update the icon sizes.
1837 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1838 new library initialization files and register icon sizes.
1839 * src/hildon-main.h: New declarations.
1840 * src/hildon.h: Include hildon-main.h
1842 Add new initialization functions to the library. These methods
1843 will register the hildon specific icon sizes and can be used in the
1844 future for other hildon specific bits.
1846 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1848 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-window.c: (hildon_window_realize),
1851 (hildon_window_notify), (-hildon_window_update_title): Do not set
1852 the application name in the window title.
1854 Fixes: NB#89754 (Applications shouldn't display their names in the
1857 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-note-private.h:
1860 * src/hildon-note.c: (hildon_note_set_property),
1861 (hildon_note_get_property), (hildon_note_class_init),
1862 (hildon_note_init), (hildon_note_finalize),
1863 (hildon_note_new_confirmation_with_icon_name),
1864 (hildon_note_new_information_with_icon_name):
1866 No need to mark as deprecated the actual code. Revert
1867 to avoid missing symbols in widgets using deprecated API.
1869 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1871 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1873 * src/hildon-volumebar.h
1874 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1875 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1877 * src/hildon-helper.h
1878 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1879 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1881 * examples/Makefile.am:
1882 Deprecate hildon-insensitive-example
1884 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1886 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1888 * examples/hildon-pannable-area-buttons-scroll-example.c:
1889 Make all buttons finger height
1891 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1893 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1895 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1896 update the day model only if it is really required, and to avoid the
1897 full-reconstruction aproach. Now it only add or remove the required days.
1899 The purpose of this is avoid superfluous HildonTouchSelector::changed
1902 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1903 with strange parameters)
1905 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1907 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1909 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1910 the WINDOW_TYPE property.
1912 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1914 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1917 Fix dependency to allow parallel compilation with make -jX
1919 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1921 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1922 color frame and some minor tweaks to make it more consistent with
1925 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1926 highlighted but not visible)
1928 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1930 * examples/Makefile.am: Fixed typo in the Makefile.am.
1932 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1934 Reviewed the use of MAEMO_GTK define, now we add the define in the
1935 compilation line, and we also add it to the pc file.
1937 * configure.ac: Added MAEMO_GTK define to the compilation command
1938 and removed it from the config.h.
1940 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1941 do not have to take care about this define if the library was
1945 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1947 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1949 * examples/Makefile.am,
1950 * examples/hildon-pannable-area-buttons-scroll-example.c,
1951 * examples/hildon-pannable-area-gesture-signals-example.c,
1952 * examples/hildon-pannable-area-scroll-jump-example.c,
1953 * examples/hildon-pannable-area-tree-view-example.c:
1954 Renamed the pannable area examples, now they have more meaningful
1957 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1959 * src/hildon-touch-selector.c:
1960 (hildon_touch_selector_set_column_selection_mode): Used of
1961 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1962 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1963 to avoid re-seting the same selection mode.
1965 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1966 breaks HildonPickerDialog)
1968 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1970 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1971 conditional in the Makefile.am
1973 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1976 Remove unused methods.
1978 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-button.c (hildon_button_init):
1981 Make button images center-aligned by default
1983 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1986 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1987 activated, we have to think about how to deal with both defines
1988 MAEMO_GTK and MAEMO_CHANGES.
1990 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1992 * examples/hildon-app-menu-example.c (create_menu): Make all
1993 buttons finger size.
1995 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1997 Fixed the compilation without maemo gtk adding ifdefs with
1998 MAEMO_GTK define to the code, we have to check this version more
2001 * examples/Makefile.am: Added control to avoid some examples that
2002 just make sense with maemo gtk.
2005 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2006 hildon modes with the define.
2008 * examples/hildon-edit-toolbar-example.c,
2009 (create_icon_view): Create the icon view without hildon-gtk
2010 helpers if we are not using maemo gtk.
2012 * src/hildon-touch-selector.c,
2013 (_create_new_column): Create the treeview without hildon-gtk
2014 helpers if we are not using maemo gtk.
2016 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2018 * src/hildon-pnnable-area.c,
2019 (hildon_pannable_area_dispose),
2020 (hildon_pannable_area_button_press_cb),
2021 (hildon_pannable_area_child_mapped),
2022 (hildon_pannable_area_add),
2023 (hildon_pannable_area_remove): Added code to control the position
2024 of the event_window when adding and removing children from the
2025 pannable. We have to raise the event window when the child is
2028 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2029 selection mode using custom widget inside pannable)
2031 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2033 * configure.ac: post release version bump
2034 * debian/changelog: version bump
2036 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2041 * configure.ac: bump version
2042 * debian/changelog: updates
2044 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2046 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2047 search mode, in order to avoid lose the focus on the treeview when
2048 a hw key (like enter) is pressed.
2050 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2051 in HildonDateSelector dialog)
2053 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2055 * debian/rules: Added --enable-maintainer-mode
2056 * Makefile.am: Added ACLOCAL_AMFLAGS
2058 This allows to properly regenerate the Makefiles if you modify the
2059 configure.ac or any Makefile.am.
2061 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2063 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2064 properties, not needed at all.
2066 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2070 * src/hildon-note.c: (hildon_note_set_property),
2071 (hildon_note_get_property), (hildon_note_class_init),
2072 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2073 (hildon_note_new_confirmation_add_buttons): Remove icons.
2074 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2075 (hildon_note_new_information_with_icon_name): Deprecate.
2076 (hildon_note_new_confirmation): Act directly, without calling
2077 the deprecated constructor.
2078 (hildon_note_new_information): Act directly, without calling
2079 the deprecated constructor.
2080 * src/hildon-note.h: Mark deprecate methods as such.
2081 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2082 not run tests on the deprecated methods if built with deprecation
2085 Fixes: NB#91688 (Never show icons in information notes/confirmation
2088 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2091 (hildon_app_menu_key_press): Remove leftover usage of the
2092 private structure in HildonAppMenu struct.
2093 * src/hildon-app-menu.h: Remove leftover private structure
2094 from the HildonAppMenu struct.
2096 Fixes a crasher when using the HildonAppMenu.
2098 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2100 * src/hildon-picker-dialog.c: Use appropriate logical id
2101 for the default "Done" text.
2103 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2105 * configure.ac: post release version bump
2106 * debian/changelog: version bump
2108 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2110 Modified the way to scroll to the current selection just when the touch
2111 selector is shown on the screen, avoiding a g_idle. Added too a property
2112 to configure this behaviour. See hildon_pannable_area_jump_to_child
2113 documentation for more information.
2115 * src/hildon-touch-selector.c
2116 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2117 Added 'initial-scroll' property
2118 (hildon_touch_selector_set_property): Added
2119 (hildon_touch_selector_map): Removed as not required anymore
2120 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2121 only a concrete column, instead of iterate along all the columns
2123 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2128 * configure.ac: bump version
2129 * debian/changelog: updates
2131 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2134 compilation time warnings.
2136 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2139 the default value for HildonPannableArea::mov-mode to
2140 HILDON_PANNABLE_AREA_MODE_VERT.
2142 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2144 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2146 Reverting following commit:
2148 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-app-menu-private.h
2151 * src/hildon-app-menu.[ch]
2152 * src/hildon-button.[ch]
2153 * src/hildon-check-button.[ch]
2154 * src/hildon-entry.[ch]
2155 * src/hildon-pannable-area.[ch]
2156 * src/hildon-text-view.[ch]:
2157 Added private field to the object's structure.
2159 because it causes an ABI breakage. We will need to introduce these
2160 changes later at some point. See NB#91636 for an extensive
2161 explanation and status.
2163 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2165 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2167 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2168 remove special cases that are no longer necessary.
2170 Fixes: NB#91016 (Change toolbar sizes, simplification)
2172 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2175 is shown in the cancel note.
2177 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2180 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2181 (hildon_seekbar_init): Remove steppers, remove expose event.
2182 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2184 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2186 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2188 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2189 label font to "SmallSystemFont" for vertically arranged buttons.
2191 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2194 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-check-button.c
2197 (hildon_check_button_set_active, hildon_check_button_clicked):
2198 Don't access private parts directly, use getters instead.
2200 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2202 * src/hildon-check-button.c (hildon_check_button_new):
2203 Align the contents of the check button to the left.
2205 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_area_scroll_to),
2209 (hildon_pannable_area_jump_to),
2210 (hildon_pannable_area_scroll_to_child),
2211 (hildon_pannable_area_jump_to_child): Replace the mapped
2212 precondition of these functions with the realized, it is the
2213 correct state of the widget in this case. Changed the
2214 documentation according to this modification.
2216 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2218 Added a new EXTRA_CFLAGS option to add the deprecated define to
2219 the compilation command. This way we can avoid using the define in
2220 the documentation compilation.
2222 * configure.ac: Defined EXTRA_CFLAGS.
2224 * examples/Makefile.am:
2226 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2228 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2230 * src/hildon-picker-dialog.c:
2231 Defined a utility macro with the desired touch selector height
2232 Removed currently unused separator, and title_label variables from
2234 (hildon_picker_dialog_init): Removed code related to the creation
2235 of unused private variables title_label and separator.
2236 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2237 to ensure correct visualization of the touch selector inside the dialog.
2238 * src/hildon-touch-selector.c
2239 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2240 ensure a concrete height of the widget.
2242 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2245 * tests/Makefile.am:
2247 Remove spurious whitespaces.
2249 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2252 compilation warning after the cancel button removal.
2254 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2256 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2258 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2259 Makefile.am, that way we can choose not to compile some examples
2260 and tests of the deprecated widgets.
2262 * examples/Makefile.am: Divided the sources in deprecated and
2265 * src/Makefile.am: Added undef statement of the deprecated
2266 symbol to the enums file generation process.
2268 * src/hildon-color-chooser-dialog.c
2269 * src/hildon-color-chooser-dialog.h
2270 * src/hildon-color-button.c
2271 * src/hildon-color-button.h
2272 * src/hildon-color-chooser.c
2273 * src/hildon-color-chooser.h
2274 * src/hildon-controlbar.c
2275 * src/hildon-controlbar.h
2276 * src/hildon-date-editor.c
2277 * src/hildon-date-editor.h
2278 * src/hildon-hvolumebar.c
2279 * src/hildon-hvolumebar.h
2280 * src/hildon-private.c
2281 * src/hildon-private.h
2282 * src/hildon-range-editor.c
2283 * src/hildon-range-editor.h
2284 * src/hildon-seekbar.c
2285 * src/hildon-seekbar.h
2286 * src/hildon-time-editor.c
2287 * src/hildon-time-editor.h
2288 * src/hildon-time-picker.c
2289 * src/hildon-time-picker.h
2290 * src/hildon-volumebar.c
2291 * src/hildon-volumebar.h
2292 * src/hildon-vvolumebar.c
2293 * src/hildon-vvolumebar.h
2294 * src/hildon-bread-crumb-trail.h
2295 * src/hildon-bread-crumb-trail.c
2296 * src/hildon-calendar-popup.c
2297 * src/hildon-calendar-popup.h
2298 * src/hildon-weekday-picker.c:
2299 * src/hildon-weekday-picker.h:
2300 * src/hildon-bread-crumb-widget.c:
2301 * src/hildon-bread-crumb-widget.h:
2302 * src/hildon-bread-crumb.c:
2303 * src/hildon-bread-crumb.h:
2304 * src/hildon-calendar.c:
2305 * src/hildon-calendar.h:
2306 * src/hildon-caption.c:
2307 * src/hildon-code-dialog.c:
2308 * src/hildon-code-dialog.h:
2309 * src/hildon-font-selection-dialog.c:
2310 * src/hildon-font-selection-dialog.h:
2311 * src/hildon-get-password-dialog.c:
2312 * src/hildon-get-password-dialog.h:
2313 * src/hildon-login-dialog.c:
2314 * src/hildon-login-dialog.h:
2315 * src/hildon-number-editor.c:
2316 * src/hildon-number-editor.h:
2317 * src/hildon-set-password-dialog.c:
2318 * src/hildon-set-password-dialog.h:
2319 * src/hildon-sort-dialog.c:
2320 * src/hildon-sort-dialog.h: This is the list of deprecated
2323 * src/hildon-touch-selector.c:
2324 * src/hildon-window.c: Added undef statement to avoid compilation
2327 * tests/Makefile.am: Divided the sources in deprecated and
2330 * tests/check_test.c,
2331 (configure_tests): Marked the deprecated code that was adding
2332 suites with deprecated tests.
2334 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2336 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-touch-selector.c: (_default_print_func): Do not
2339 duplicate a string returned by gtk_tree_model_get(), it is already
2342 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2345 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-pannable-area.c
2348 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2349 method, it had problems when adding a widget with viewport the
2350 second time. Now checks if it already has a viewport and uses it.
2352 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2355 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pannable-area.c,
2358 (hildon_pannable_area_scroll_to),
2359 (hildon_pannable_area_jump_to),
2360 (hildon_pannable_area_scroll_to_child),
2361 (hildon_pannable_area_jump_to_child): Added a precondition to the
2362 scroll and jump to functions: the widget must be mapped before we
2363 can safely call these functions. We have also added documentation
2364 to the functions to explain how to use them in this situation.
2367 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2369 Reviewed the threading handling of the pannable widget, we have
2370 used the gdk_threads_add_timeout function instead of the usual
2371 glib handlers. This avoids some problems with the threads.
2373 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2374 (hildon_pannable_area_initial_effect),
2375 (hildon_pannable_area_scroll_indicator_fade),
2376 (hildon_pannable_area_button_press_cb),
2377 (hildon_pannable_area_timeout),
2378 (hildon_pannable_area_motion_notify_cb),
2379 (hildon_pannable_area_button_release_cb),
2380 (hildon_pannable_area_scroll_cb),
2381 (hildon_pannable_area_scroll_to): Removed the
2382 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2383 gdk_threads_add_timeout.
2385 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2387 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: bump version
2393 * debian/changelog: updates
2395 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2398 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2399 * src/hildon-color-chooser-dialog.c:
2400 (hildon_color_chooser_dialog_init):
2401 * src/hildon-font-selection-dialog.c:
2402 (hildon_font_selection_dialog_init):
2403 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2405 Remove all cancel/close-like dialogs, as these are not going to be
2408 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-note.c: (hildon_note_rebuild),
2411 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2414 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2416 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2419 sure all buttons are shown, even the Cancel/Close-like ones.
2421 Fixes: NB#90861 (Custom Confirmation dialogs should be
2422 protected from cancel button removal)
2424 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2426 * debian/control: Change libhildon1-examples dependency from libhildon1
2428 * debian/libhildon1-examples.install
2430 * Makefile.am: Modified the final install directory for the examples on
2431 package libhildon1-examples
2432 * Makefile.static: Update clean target in order to remove all the binary
2435 Changes suggested by Claudio after review new libhildon1-examples package
2437 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2440 * src/hildon-touch-selector.c: Ditto.
2442 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2444 * debian/control: Added new package libhildon1-examples, in order to pack
2445 the current hildon examples as documentation
2446 * debian/rules: Not to compress .c files, modify some includes on the
2447 examples (as normally are compiled locally, but when installed it will
2448 require to include the installed libhildon1 library), and rename
2450 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2451 install all the example files on the new example package
2452 * examples/Makefile.static: Added static makefile that can be used to
2453 compile the examples, once installed the new example package
2454 * examples: Most of the examples were modified in order to grant that
2455 all use only '#include "hildon.h"', in order to be easy to prepare
2456 it on the example package
2458 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2461 * debian/libhildon1-dev.install
2462 * debian/libhildon1-doc.install:
2463 Move all gtk-doc files to a separate libhildon1-doc package.
2465 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2467 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2471 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2473 * debian/rules: Fixed a error in order to avoid unnecessary calls
2474 to autogen.sh on package building
2476 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2478 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2480 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2482 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2485 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-picker-button.c
2488 (hildon_picker_button_finalize):
2489 Free priv->done_button_text
2491 * src/hildon-time-button.c
2492 (hildon_time_button_set_time)
2493 * src/hildon-picker-button.c
2494 (hildon_picker_button_clicked)
2495 (hildon_picker_button_selector_selection_changed)
2496 (hildon_picker_button_set_selector)
2497 * src/hildon-date-button.c
2498 (hildon_date_button_set_date):
2499 Free strings returned by hildon_touch_selector_get_current_text()
2501 * src/hildon-button.c (hildon_button_construct_child):
2502 Fix leaks in priv->image and priv->label_box
2504 Fixes: NB#90535 (Memory leak in picker button)
2506 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-button.c: (hildon_button_get_property): Do not access
2509 private elements directly, use getters instead.
2511 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2513 * src/hildon-app-menu-private.h
2514 * src/hildon-app-menu.c
2515 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2516 Store the menu's parent window.
2518 * src/hildon-stackable-window.c
2519 (hildon_stackable_window_toggle_menu)
2520 (hildon_stackable_window_finalize):
2521 Set the menu's parent window when the menu is shown, unset it when
2524 * src/hildon-app-menu.c
2525 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2526 (hildon_app_menu_class_init):
2527 Send unhandled keyboard accelerators to the parent window.
2529 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-stackable-window.c
2532 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2534 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2536 * configure.ac: post release version bump
2538 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2541 * configure.ac: Bump version
2542 * debian/changelog: Updates
2543 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2546 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2548 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2551 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2552 GtkMenu with Hildon style.
2554 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2556 * src/hildon-picker-button.c:
2557 (hildon_picker_button_set_done_button_text): Set the dialog's
2558 done button text here as well.
2560 Fixes: NB#90232 (Picker button does not set the label on done button
2561 for the second time)
2563 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2568 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2570 * src/hildon-app-menu.c (hildon_app_menu_insert)
2571 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2572 the HildonAppMenu to be activatable using keyboard accelerators
2573 when the menu is not being shown.
2575 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2577 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2579 * src/hildon-stackable-window.c
2580 (hildon_stackable_window_show):
2581 Don't hide old windows automatically when new windows are shown:
2582 this is now a task for the window manager.
2583 (hildon_stackable_window_class_init)
2584 (hildon_stackable_window_hide):
2585 Remove windows from the stack everytime they're hidden.
2586 (hildon_stackable_window_realize):
2587 Don't change the _NET_WM_WINDOW_TYPE property. Use
2588 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2589 it as a stackable window.
2591 * src/hildon-program.c
2592 (hildon_program_pop_window_stack):
2593 Just hide the window to remove it from the stack.
2594 (hildon_program_go_to_root_window):
2595 Don't call gtk_widget_show(), this is now a task for the window
2598 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2600 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-button.c
2603 (hildon_button_construct_child):
2604 Don't pack anything in the button until text or image are
2605 set. This allows adding a custom child after creating the button
2606 with hildon_button_new().
2607 (hildon_button_finalize, hildon_button_class_init)
2608 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2609 alignment and the label box even when they're not packed in the
2612 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2614 * src/hildon-touch-selector.h:
2615 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2616 currently the type definition was using GTK_TYPE_VBOX
2617 * src/hildon-touch-selector.c:
2618 Added some implementation notes in order to clarify that any other widget
2619 added without the column related API will not be included on the
2620 selection logic, and how the widget is freed, as some people ask about
2622 (hildon_touch_selector_remove): Reimplemented in order to free properly
2623 the column related data when you remove the private hbox.
2624 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2625 to get a proper HildonTouchSelectorColumn documentation
2627 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-touch-selector-entry.c:
2630 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2631 text in the GtkEntry and there is no item selected. Fixes a
2634 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-app-menu-private.h
2637 * src/hildon-app-menu.[ch]
2638 * src/hildon-button.[ch]
2639 * src/hildon-check-button.[ch]
2640 * src/hildon-entry.[ch]
2641 * src/hildon-pannable-area.[ch]
2642 * src/hildon-text-view.[ch]:
2643 Added private field to the object's structure.
2645 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2647 * configure.ac: post-release version bump
2649 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2653 * configure.ac: pre-release version bump
2655 * debian/changelog: updates.
2657 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2660 Disconnect the handler for HildonTouchSelector::changed.
2662 (hildon_picker_button_selector_selection_changed): Update the button
2663 value if the selection change was not triggered by the
2666 (hildon_picker_button_set_selector): connect to
2667 HildonTouchSelector::changed.
2669 Fixes: NB#89650 (Picker button is not updated, when selection in
2670 selector has changed)
2672 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2674 * src/hildon-picker-dialog.c
2675 (hildon_picker_dialog_realize): Removed as not required
2676 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2677 * src/hildon-picker-button.c
2678 (_current_selector_empty): New function, checks if the selector is empty
2679 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2680 if the current selector is empty, in order to avoid to show the dialog
2681 close the dialog in this case (and shows a g_warning).
2683 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2685 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2687 * src/hildon-pannable-area.c,
2688 (hildon_pannable_area_scroll): Added clause to stop movement when
2689 the child of pannable is smaller than one page.
2690 (hildon_pannable_area_scroll_to): Added conditions to avoid
2691 starting the scrolling movement if the child is smaller than one
2692 page, the complete child is in the screen, we do not have to move.
2694 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2696 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2699 this is managed automatically by the widget when the size of the
2702 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-picker-button.c
2705 (hildon_picker_button_set_done_button_text): Make a copy of the
2706 text, and free the previous value.
2708 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/hildon-touch-selector-entry.c:
2711 (hildon_touch_selector_entry_print_func): Return the selected row's
2712 text if the entry is empty.
2714 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2717 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2721 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-check-button.h
2725 * src/hildon-check-button.c
2726 * examples/hildon-check-button-example.c:
2727 HildonCheckButton is now a new widget. 'toggled' signal added.
2729 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-program-private.h
2732 * src/hildon-program.c (hildon_program_init)
2733 (hildon_program_finalize): Removed unused variables group_leader
2734 and name from HildonProgramPrivate.
2736 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-check-button.c (hildon_check_button_set_active)
2739 (hildon_check_button_get_active, hildon_check_button_new): Use
2740 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2742 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2744 * src/hildon-touch-selector.h
2745 (hildon_touch_selector_set_column_attributes): added deprecation
2746 guard HILDON_DISABLE_DEPRECATED
2747 * src/hildon-time-selector.c
2748 (hildon_time_selector_set_time)
2749 (hildon_time_selector_get_time): Fixed a typo on documentation
2750 * src/hildon-touch-selector.c: update HildonTouchSelector and
2751 HildonTouchSelectorColumn documentation
2752 * src/hildon-touch-selector-entry.c: update "text-column" property
2754 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2755 to be added to the general documentation.
2757 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2759 * examples/hildon-pannable-area-example-4.c,
2761 * examples/hildon-pannable-area-example.c,
2762 (main): Modified the code in order to use the container add, with
2763 viewport treeviews could have problems if they are really big.
2765 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2767 * src/hildon-weekday-picker.c,
2768 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2769 the agreement regarding deprecation in the library.
2771 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2773 * examples/hildon-picker-button-multicolumn-example.c:
2774 (main): Use custom "done" button text.
2776 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2777 (hildon_picker_button_set_property),
2778 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2779 (hildon_picker_button_init),
2780 (+hildon_picker_button_get_done_button_text),
2781 (+hildon_picker_button_set_done_button_text): New methods to customize
2782 the "done" button label in the launched HildonPickerDialog. Also,
2785 * src/hildon-picker-button.h: add the public API.
2787 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-date-selector.h:
2790 * src/hildon-picker-dialog.h:
2791 * src/hildon-time-selector.h:
2792 * src/hildon-touch-selector-column.h:
2793 * src/hildon-touch-selector.h:
2795 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2796 declarations. Fixes gtk-doc warnings.
2798 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-picker-dialog.h
2801 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2802 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2804 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2805 long text is set as label for done button)
2807 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-dialog.c (hildon_dialog_add_button):
2810 Set fixed width to all buttons in the HildonDialog.
2812 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2814 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2816 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2817 Set widget name using class name plus "-finger" or "-thumb".
2819 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2822 'clicked' when the state of the button is manually changed.
2824 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-app-menu.c (hildon_app_menu_realize)
2827 (hildon_app_menu_unrealize, hildon_app_menu_init)
2828 (hildon_app_menu_class_init, item_visibility_changed):
2829 Change the menu layout when the size of the screen changes.
2830 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2831 Show warning only when changing the number of colums using the
2834 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2836 * debian/compat: Set to 5
2837 * debian/control: Update dependencies.
2838 * debian/libhildon1-dbg.install: Remove.
2839 * debian/libhildon1-dev.install: Update according to cdbs paths.
2840 * debian/libhildon1.install: Update according to cdbs paths.
2841 * debian/rules: Switch to cdbs.
2843 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2846 'item' variable renamed to 'filter'
2848 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-app-menu.c (hildon_app_menu_insert)
2851 (hildon_app_menu_add_filter, remove_item_from_list)
2852 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2853 Don't leak hidden items when the menu is destroyed.
2855 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-app-menu.c (hildon_app_menu_insert)
2858 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2859 (hildon_app_menu_set_columns, item_visibility_changed)
2860 (filter_visibility_changed, hildon_app_menu_repack_filters)
2861 (hildon_app_menu_repack_items):
2862 Repack items and filters separately.
2864 Don't repack all items, change only the ones that are needed to
2867 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2869 * src/Makefile.am: added hildon-touch-selector-column.h
2871 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2873 * src/hildon-touch-selector.c: added the property "text-column" to the
2874 class HildonTouchSelectorColumn, and related get/set functions
2875 (_default_printf_func): updated to use "text-column" property
2876 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2877 "text-column" in his documentation, as this is now included on
2878 HildonTouchSelectorColumn. The get/set_property can still be used,
2879 working as a wrapper to the concrete column "text-column" property
2880 (_text_column_modified): callback added in order to handle the signal
2881 "notify::text-column" of the concrete HildonTouchSelectorColumn
2882 (hildon_touch_selector_entry_get_text_column)
2883 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2884 modified in order to use the HildonTouchSelectorColumn "text-column"
2886 * src/hildon-time-selector.c:
2887 * src/hildon-date-selector.c:
2888 * examples/hildon-touch-selector-example.c
2889 * examples/hildon-touch-selector-multi-cells-example.c
2890 * examples/hildon-picker-button-multicolumn-example.c
2891 Set the right value to "text-column" property on the creation of a new
2892 column using hildon_touch_selector_append_column()
2894 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2896 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-app-menu.c
2899 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2900 updating the layout of the menu, don't create all widgets again,
2901 just repack the items in their new places.
2903 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2905 * src/hildon-time-selector.c
2906 (hildon_time_selector_get_time)
2907 (hildon_time_selector_set_time)
2908 Added documentation of these public methods
2910 * src/hildon-date-button.h
2911 * src/hildon-touch-selector-column.h
2912 * src/hildon-time-button.h
2913 * src/hildon-picker-dialog.h
2914 * src/hildon-time-selector.h
2915 * src/hildon-picker-button.h
2916 * src/hildon-touch-selector.h
2917 * src/hildon-time-picker.h
2918 * src/hildon-date-selector.h
2919 * src/hildon-touch-selector-entry.h
2920 Modified in order to use hildon-widgets code style
2922 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2924 Added deprecated support to the compilation process using
2925 HILDON_DISABLE_DEPRECATED
2927 * configure.ac: Added the --disable-deprecated to the configure
2930 * src/hildon-weekday-picker.c:
2931 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2932 to use the deprecated support. We will update the other deprecated
2933 widgets status in a new patch.
2935 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2937 * configure.ac: Fixed typo with fatal warnings support, the
2938 variable name was not correct
2940 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2942 * src/hildon-app-menu.c
2943 * src/hildon-program.c: Update documentation.
2945 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2947 * configure.ac: Post-release version bump.
2949 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2954 * configure.ac: Pre-release version bump.
2955 * debian/changelog: Updates.
2957 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2959 * NEWS: Update news for previous releases.
2961 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2963 * examples/hildon-touch-selector-multi-cells-example.c:
2964 (create_selector): Update the example to use
2965 hildon_touch_selector_append_column() with a NULL renderer and set
2966 the renderers later.
2967 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2968 passed a NULL renderer. This is documented behavior now.
2970 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2971 This must be used if the developer wants full control on the layout of
2972 the renderers to be added to the column.
2974 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2976 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-touch-selector.c: Documentation fixes.
2980 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2982 * src/hildon-wizard-dialog-private.h: Remove image and box.
2983 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2984 (hildon_wizard_dialog_set_property), (response): Completely remove
2985 image/icon support, and the containers required for the layout.
2987 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2989 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-app-menu.c: Updated documentation.
2993 * src/hildon-stackable-window.c
2994 (hildon_stackable_window_set_main_menu): Unref the old menu after
2995 ref'ing the new one.
2997 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-stackable-window.c
3000 (hildon_stackable_window_set_main_menu): Unref the previous menu
3001 instead of destroying it.
3003 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3004 floating reference and set has_user_ref_count to FALSE to make
3005 HildonAppMenu act like a normal ref-counted widget and not a
3008 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3011 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3013 * src/hildon-touch-selector-column.h: new file
3014 * src/hildon-touch-selector.h
3015 * src/hildon-touch-selector.c
3016 Implemented GtkCellLayout interface, in order to allow to configure
3017 the cell layout on each individual selector column
3018 (hildon_touch_selector_set_column_attributes): marked as deprecated
3019 * examples/hildon-touch-selector-multi-cells-example.c
3020 Example of how to use the GtkCellLayout interface on the selector
3022 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3024 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-app-menu.h
3027 * src/hildon-app-menu.c
3028 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3029 (hildon_app_menu_append, hildon_app_menu_prepend):
3030 New methods to prepend, insert and move items in the menu.
3032 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-wizard-dialog.c:
3036 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3038 (create_title): Update logical IDs and related code.
3039 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3041 * src/hildon-wizard-dialog.h: Note that
3042 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3043 point, as it is not used anymore.
3045 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3047 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3049 * src/hildon-note.c:
3050 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3051 shown. Do not display an icon in confirmation notes nor information
3053 (hildon_note_set_button_text): Update logical ID for cancel button.
3055 Fixes: NB#88850 (Update HildonNote button strings + signals)
3057 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-stackable-window.c
3060 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3062 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-app-menu-private.h
3065 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3066 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3067 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3068 temporary property 'columns' to change the number of columns.
3070 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3072 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3074 * examples/hildon-note-example.c: (on_information_clicked),
3075 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3076 debugging information.
3077 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3079 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3080 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3081 in order to close: this will be handled by the WM from now on.
3083 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3085 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-app-menu-private.h
3088 * src/hildon-app-menu.c
3089 (hildon_app_menu_append, hildon_app_menu_add_filter)
3090 (button_visibility_changed, hildon_app_menu_apply_style)
3091 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3092 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3093 layout everytime a button (item or filter) is shown or hidden.
3095 * src/hildon-stackable-window.c
3096 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3099 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3101 * src/hildon-touch-selector.c:
3102 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3103 that the treeview inside the touch selector is in fremantle hildon mode
3104 * examples/hildon-date-button-example.c
3105 * examples/hildon-picker-button-multicolumn-example.c
3106 * examples/hildon-touch-selector-entry-example.c
3107 * examples/hildon-touch-selector-example.c
3108 * examples/hildon-time-button-example.c
3109 * examples/hildon-picker-button-example.c:
3110 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3112 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3114 * examples/hildon-text-view-example.c: (main): Remove the
3115 gtkrc bits, now handled by the theme.
3117 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3122 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3124 * po/Makefile.am: Install properly the mo files.
3125 * po/en_GB.po: Update translation, to ease testing purposes.
3127 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3129 * examples/hildon-picker-button-example.c: (main): Select an item
3130 in the selector before setting it to the button.
3132 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3135 Update button's value if the selector has an item active.
3137 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3138 'value' with the selector)
3140 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3143 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3144 (hildon_picker_button_class_init): Plug the finalize method.
3145 (hildon_picker_button_set_selector): If there's a previously set
3146 selector, unref'it before setting a new one.
3148 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3149 HildonTouchSelector)
3151 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-touch-selector-entry.c:
3154 (hildon_touch_selector_entry_changed): Check if there is no text
3155 selected before setting the entry text.
3158 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-touch-selector.h
3161 * src/hildon-touch-selector.c
3162 (hildon_touch_selector_get_active)
3163 (hildon_touch_selector_set_active): New methods to set/get the
3164 index of the selected item.
3166 * src/hildon-picker-button.h
3167 * src/hildon-picker-button.c
3168 (hildon_picker_button_get_active)
3169 (hildon_picker_button_set_active): New methods to set/get the
3170 index of the selected item.
3172 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3174 * configure.ac: post-release version bump.
3176 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3180 * configure.ac: Pre-release version bump.
3181 * debian/changelog: Updates.
3182 * debian/control: Add myself as maintainer and depend on l10n
3185 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-window.c
3188 (hildon_window_set_main_menu)
3189 * src/hildon-stackable-window.c
3190 (hildon_stackable_window_set_main_menu):
3191 Updated documentation.
3193 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3196 Don't free selector->priv manually.
3199 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3202 (hildon_gtk_window_set_progress_indicator):
3203 * src/hildon-gtk.h: Added the new API
3204 hildon_gtk_window_set_progress_indicator, it changes the state of
3205 the window progress hint.
3207 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3209 * src/hildon-button.c
3210 * src/hildon-stackable-window.c: Minor documentation updates.
3212 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3214 * src/hildon-stackable-window.c: Updated documentation.
3216 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-defines.h: Update margins definitions
3219 to the Fremantle sizes.
3222 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3224 * src/hildon-touch-selector.c,
3225 (_hildon_touch_selector_set_model): Cleaning the code after
3226 review, removed g_print and #if 0 from the code.
3228 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-edit-toolbar.c: Update documentation.
3232 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-check-button.h
3235 * src/hildon-check-button.c
3236 (hildon_check_button_set_label, hildon_check_button_get_label)
3237 * examples/hildon-check-button-example.c
3238 (button_clicked_cb):
3239 Removed deprecated methods.
3241 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-text-view.c:
3244 Add sample code to the documentation.
3246 * src/hildon-entry.h
3247 * src/hildon-text-view.h:
3248 Minor cosmetic changes.
3250 * src/hildon-entry.c:
3251 Add sample code to the documentation.
3252 (hildon_entry_init, hildon_entry_refresh_contents):
3253 Don't allow NULL values in the placeholder.
3255 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3257 * doc/hildon-docs.sgml
3259 * examples/Makefile.am
3260 * examples/hildon-text-view-example.c
3262 * src/hildon-text-view.c
3263 * src/hildon-text-view.h
3265 New HildonTextView widget, with example.
3267 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3269 * po/POTFILES.in: Add missing files with translatable strings.
3270 Partially fixes NB#88287.
3272 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3274 * examples/hildon-pannable-area-example-2.c: (main): No need to
3275 set the cellrenderer height inside hildon touch lists, the theme does
3278 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3280 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3281 they are integrated in the theme.
3283 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3285 * examples/hildon-entry-example.c: Update the example adding
3286 widgets to modify the text and the placeholder of the HildonEntry.
3288 * src/hildon-entry.c: Show the placeholder everytime the widget
3289 is empty and loses the focus.
3291 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3293 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3295 * src/hildon-pannable-area.c,
3296 (hildon_pannable_area_size_request): Fixed bug in height
3297 requisition, avoid increasing size and add border twice.
3299 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: postrelease version bump.
3303 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3307 * configure.ac: Prerelease version bump.
3308 * debian/changelog: update.
3309 * debian/rules: make -dbg package contain useful debugging symbols.
3311 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-dialog.h
3314 * src/hildon-dialog.c
3315 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3316 New methods to add buttons with finger size.
3317 (hildon_dialog_new_with_buttons):
3318 Create buttons with finger size.
3320 * examples/hildon-dialog-example.c (main): Use HildonDialog
3321 methods to add buttons.
3323 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-entry.c: Updated HildonButton documentation.
3327 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3330 button value label with (FALSE, FALSE) to prevent NB#88126 from
3333 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3335 * examples/hildon-pannable-area-example.c,
3336 (main): Removed examples panning a vbox inside a pannable
3337 area. Check bug NB#87965
3339 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3341 Patch contributed by Kris Rietveld (kris@imendio.com)
3343 * src/hildon-pannable-area.c,
3344 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3345 get_size and get_position, this saves an X server roundtrip.
3347 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3349 * doc/hildon-docs.sgml
3351 * examples/Makefile.am
3352 * examples/hildon-entry-example.c
3354 * src/hildon-entry.c
3355 * src/hildon-entry.h
3357 New HildonEntry widget, with example.
3359 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3361 * src/hildon-button.c (hildon_button_construct_child): Pack the
3362 image with expand == fill == FALSE. This is a workaround for a bug
3365 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3367 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3368 labels for the text column, to make it more look more dynamic.
3370 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3372 * src/hildon-time-selector.c
3373 Define gettext auxiliar macro N_
3374 (_create_minutes_model)
3375 (_create_hours_model)
3376 (_create_ampm_model): use of strftime in order to fill the model
3377 * src/hildon-date-selector.c
3378 (hildon_date_selector_finalize):
3379 (_locales_init): remove the logic related to get the name of the months
3380 using nl_langinfo, as it is not required anymore
3382 (_create_year_model)
3383 (_create_month_model)
3384 (_update_day_model): use of strftime in order to fill the model properly
3387 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-button.h
3390 * src/hildon-button.c (hildon_button_get_image): New method to
3393 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-touch-selector.c:
3396 (hildon_touch_selector_remove_column): Remove from the correct parent
3397 and also remove the list element and free it.
3400 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3402 * src/hildon-time-selector.c
3403 (_create_hours_model): change the range on 12h ampm format in order to use
3404 a 12-11 range instead of previous 01-12 range
3405 (hildon_time_selector_set_time): change the way to select the current time
3406 on 12h ampm format, due the change on the range
3407 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3410 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3412 * src/hildon-touch-selector.c
3413 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3414 in order to allow use this function on multiple row selection mode if
3415 the column is different that the first one
3418 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3420 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3421 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3423 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3425 * src/hildon-date-selector.h: clean some comments, now on the .c
3426 * src/hildon-date-selector.c
3427 (hildon_date_selector_select_month): first implementation
3428 (hildon_date_selector_select_day): added documentation, reimplemented
3429 using hildon_date_selector_select_current_date to avoid repeat code
3432 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3434 Reviewed interaction logic based on device experiences, refactored
3437 * src/hildon-pannable-area.c,
3438 (hildon_pannable_area_class_init): Updated default vmax speed.
3439 (hildon_pannable_area_calculate_velocity): Added this function, it
3440 avoids duplicate valocity calculation. Adjusted calculation to
3441 avoid problems with zero dist events.
3443 (hildon_pannable_area_motion_notify_cb): Now we use the
3444 calculate_velocity function.
3446 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3448 * src/hildon-date-selector.c
3449 (hildon_date_selector_select_current_date): fix the day range check
3450 as it failed using the last day of the current month
3453 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3455 * src/hildon-touch-selector.c
3456 (hildon_touch_selector_get_num_columns): added a parameter validation
3459 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3461 * examples/Makefile.am
3462 * examples/hildon-edit-toolbar-example.c: Example of the
3463 HildonEditToolbar widget.
3465 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3467 * configure.ac: postrelease version bump.
3469 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3473 * configure.ac: prerelease version bump.
3474 * debian/changelog: update.
3476 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3478 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3479 renderer to display stock icons in the touch list. Also, set the sizes
3480 to the recommended in the style guide.
3482 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3483 * src/hildon-touch-selector.h
3484 (hildon_touch_selector_set_active_iter): renamed, now is
3485 hildon_touch_selector_select_iter
3486 (hildon_touch_selector_get_active_iter): renamed, now is
3487 hildon_touch_selector_get_selected
3488 (hildon_touch_selector_unselect_iter): added
3489 * src/hildon-touch-selector.c
3490 Update after API modification (methods renamed)
3491 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3492 order to avoid problems selecting multiple elements on the column
3493 (hildon_touch_selector_unselect_iter): added the implementation
3494 * src/hildon-time-selector.c
3495 * src/hildon-date-selector.c
3496 * src/hildon-touch-selector-entry.c
3497 Update methods calls after hildon-touch-selector.h API modification (methods
3500 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3502 * src/hildon-stackable-window.c
3503 (hildon_stackable_window_finalize): Call the parent class's finalize.
3505 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3507 * examples/hildon-touch-selector-example.c: (create_selector): Use
3508 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3511 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3513 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3514 set a cell background color, to respect theming.
3516 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3518 * doc/hildon-docs.sgml
3521 * src/hildon-edit-toolbar.c
3522 * src/hildon-edit-toolbar.h
3523 * src/hildon.h: New HildonEditToolbar widget.
3525 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3527 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3530 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3531 * src/hildon-touch-selector.c
3532 (_create_new_column): use g_object_set instead of two g_object_set_property
3534 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3535 * src/hildon-touch-selector.c
3536 (_create_new_column): use of hildon_gtk_tree_view_new to create
3537 the treeview, instead of use directly g_object_new
3538 (_create_new_column): update the property name "vindicator-mode" for the
3539 new one "vscrollbar-policy"
3540 * examples/hildon-date-button-example.c
3541 * examples/hildon-picker-button-multicolumn-example.c
3542 * examples/hildon-touch-selector-entry-example.c
3543 * examples/hildon-touch-selector-example.c
3544 * examples/hildon-time-button-example.c
3545 * examples/hildon-picker-button-example.c
3546 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3547 to all the treeviews inside a pannable area.
3549 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-button.h
3552 * src/hildon-button.c (hildon_button_init)
3553 (hildon_button_set_arrangement, hildon_button_set_alignment)
3554 (hildon_button_set_title_alignment)
3555 (hildon_button_set_value_alignment)
3556 (hildon_button_set_image_alignment)
3557 (hildon_button_construct_child): New methods to set the alignment
3558 of the individual components of the button (title, value,
3559 image). Also, new method to alter the xscale and yscale properties
3560 of the GtkAlignment inside the button, so more complex layouts can
3563 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-button.c (hildon_button_style_set)
3566 (hildon_button_class_init, hildon_button_set_arrangement)
3567 (hildon_button_construct_child): Apply style properties
3568 correctly. Use the 'image-spacing' style property too.
3570 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3572 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3573 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3576 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3578 * src/hildon-pannable-area.c,
3579 (hildon_pannable_area_size_request): Fixed problem with
3580 pannable-area size_request.
3582 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3584 Added management for the grab-focus to a child widget, like a
3585 range, we need to fade out the scrollbar when releasing.
3587 * src/hildon-pannable-area.c,
3588 (hildon_pannable_area_init): Connected the grab-focus signal to
3590 (hildon_pannable_area_grab_notify): Added this function in order
3591 to manage the situation when the grab-focus ends. We have to
3592 fade-out the scrollbar.
3594 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-app-menu.c: Minor documentation update.
3598 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-app-menu.c
3601 * examples/hildon-app-menu-example.c (create_menu): Update
3602 examples and documentation to explain how to connect callbacks.
3604 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3606 * examples/hildon-button-example.c
3607 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3608 hildon_stackable_window_new instead of gtk_window_new
3610 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3612 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3613 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3614 (hildon_pannable_area_set_property),
3615 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3616 (hildon_pannable_area_unrealize),
3617 (hildon_pannable_area_size_request),
3618 (hildon_pannable_area_size_allocate),
3619 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3620 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3621 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3622 (hildon_pannable_area_initial_effect),
3623 (hildon_pannable_area_redraw),
3624 (hildon_pannable_area_scroll_indicator_fade),
3625 (hildon_pannable_area_expose_event),
3626 (hildon_pannable_area_get_topmost), (synth_crossing),
3627 (hildon_pannable_area_button_press_cb),
3628 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3629 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3630 (hildon_pannable_area_motion_notify_cb),
3631 (hildon_pannable_area_button_release_cb),
3632 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3633 (hildon_pannable_area_remove),
3634 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3635 chage the code layout to a more GtkWidget like. Review the use of
3638 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3640 * examples/hildon-pannable-area-example-4.c,
3641 (main): Modified the name of the hindicator_mode to
3644 * src/hildon-pannable-area.c,
3645 (hildon_pannable_area_class_init),
3646 (hildon_pannable_area_motion_notify_cb),
3647 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3648 we have reduced the amount of signals and managed reviewed its
3649 rationale. Changed the default decelerate value.
3651 (hildon_pannable_area_add),
3652 (hildon_pannable_area_redraw): Refactored functions.
3654 (hildon_pannable_area_init),
3655 (hildon_pannable_area_get_property),
3656 (hildon_pannable_area_set_property):
3657 (hildon_pannable_draw_vscroll),
3658 (hildon_pannable_draw_hscroll),
3659 (hildon_pannable_area_initial_effect),
3660 (hildon_pannable_area_expose_event),
3661 (hildon_pannable_area_scroll),
3662 (hildon_pannable_area_button_press_cb),
3663 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3664 and vindicator_mode with hscrollbar_policy and
3665 vscrollbar_policy. Replaced hscroll and vscroll with
3666 hscroll_visible and vscroll_visible.
3668 (hildon_pannable_area_refresh): Refactor the function, remove
3669 variables and check the calls to this function, added resize
3670 conditions in case the children change their layout.
3672 (hildon_pannable_area_size_request): Added more detailed
3673 size_request calculation.
3676 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3678 * src/hildon-color-chooser.c
3679 (init_borders): use the correct gtk_border_free instead of g_free, to
3680 avoid a crash when this widget is used (ie: the three color selection
3683 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3685 * src/hildon-check-button.c,
3686 (hildon_check_button_set_active): Fixed problem when setting the
3687 active value, the widget was not redrawn.
3689 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3691 * src/hildon-pannable-area.c,
3692 (hildon_pannable_area_refresh),
3693 (hildon_pannable_area_scroll),
3694 (hildon_pannable_area_motion_notify_cb): Small code style change.
3696 (hildon_pannable_area_class_init): Default initial_hint set to
3697 FALSE, it is not in the specs.
3699 (hildon_pannable_area_initial_effect),
3700 (hildon_pannable_area_expose_event),
3701 (hildon_pannable_area_map),
3702 (hildon_pannable_area_init): Moved the launching point of the
3703 initial effect, it was in map but the sizes where not correct in
3704 that method so we do not know if we have the reproduce it. Now it
3705 is placed in the expose_event method and uses a variable to
3706 reproduce it just once.
3708 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3710 * src/hildon-pannable-area.c,
3711 (hildon_pannable_draw_vscroll),
3712 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3713 position allowed for the scrollbars.
3715 (hildon_pannable_area_size_allocate): Small style change.
3717 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3719 * src/hildon-pannable-area.c,
3720 (hildon_pannable_area_scroll_indicator_fade),
3721 (hildon_pannable_area_button_press_cb),
3722 (hildon_pannable_area_button_release_cb),
3723 (hildon_pannable_area_scroll_cb),
3724 (hildon_pannable_area_expose_event),
3725 (hildon_pannable_area_init): Added the define parameter
3726 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3727 and refactor the fade variable.
3729 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3731 * src/hildon-pannable-area.c,
3732 (hildon_pannable_area_redraw),
3733 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3734 lines, we were reimplemeting the redraw code.
3736 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3738 * src/hildon-pannable-area.c,
3739 (hildon_pannable_area_scroll_cb),
3740 (hildon_pannable_area_realize),
3741 (hildon_pannable_area_class_init): Added scroll_event management
3742 for pannable area, now we can scroll the usual desktop method.
3744 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3745 initialization of the parameters should depend on idle_id.
3747 (hildon_pannable_area_init),
3748 (hildon_pannable_area_map): Small code style modifications
3750 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3752 * src/hildon-pannable-area.c
3753 (hildon_pannable_area_button_press_cb),
3754 (hildon_pannable_area_motion_notify_cb),
3755 (hildon_pannable_area_button_release_cb),
3756 (hildon_pannable_area_size_allocate),
3757 (hildon_pannable_area_scroll_to): Improved the timeouts
3758 management, we avoid creating them each time.
3760 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3762 * src/hildon-pannable-area.c:
3763 (hildon_pannable_area_refresh),
3764 (hildon_pannable_area_motion_notify_cb),
3765 (hildon_pannable_area_class_init):
3766 * src/hildon-pannable-area.h:
3767 * src/hildon-touch-selector.c
3768 (_create_new_column):
3769 * examples/hildon-pannable-area-example-4.c:
3770 (horizontal_movement),
3771 (vertical_movement),
3773 Replaced the names of enums in the HildonPannableArea:
3774 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3775 HILDON_MOVEMENT_MODE_*
3776 - HILDON_PANNABLE_AREA_MOV_* ->
3778 - Removed HildonPannableAreaIndicatorMode, now we
3781 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3783 * examples/hildon-pannable-area-touch-grid-example.c
3784 * examples/hildon-pannable-area-touch-list-example.c: Fix
3785 compilation warnings.
3787 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3789 * src/hildon-gtk.c (hildon_gtk_button_new)
3790 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3791 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3792 images overriding the value of the "gtk-button-images" setting.
3794 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-check-button.c (hildon_check_button_new):
3797 Instead of using a custom container, display the label and the
3798 checkbox using the standard GtkButton API.
3800 * examples/hildon-check-button-example.c (main): Don't use
3801 hildon_check_button_set_label() anymore
3803 * src/hildon-check-button.h
3804 * src/hildon-check-button.c
3805 (hildon_check_button_set_label, hildon_check_button_get_label):
3806 Set as deprecated, now we're using gtk_button_{get,set}_label()
3808 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3810 * src/hildon-pannable-area.c,
3811 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3812 GtkTreeview first line we detected it after the inclusion of the
3813 GtkWindowImpl in gtk+. We now check if the window is visible, not
3814 just if the pointer is over the window.
3815 (hildon_pannable_axis_scroll),
3816 (hildon_pannable_area_expose_event): Small style changes.
3818 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3820 * src/hildon-button.c: Update documentation.
3822 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3824 * examples/hildon-button-example.c: Add a switch to show images in
3827 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3829 * doc/hildon-docs.sgml: Some docs reorganization.
3831 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3833 * examples/hildon-pannable-area-touch-list-example.c
3835 * examples/hildon-pannable-area-touch-grid-example.c
3836 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3837 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3838 Fix memory leak when setting the tree model.
3840 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3844 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3846 * doc/hildon.types: Remove duplicated hildon_window_get_type
3847 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3848 documentation comment.
3850 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3852 * doc/Makefile.am: Complete list of private headers.
3854 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3856 * doc/hildon-docs.sgml
3857 * src/hildon-app-menu.c
3858 * src/hildon-bread-crumb.c
3859 * src/hildon-button.c
3861 * src/hildon-program.c
3862 * src/hildon-stackable-window.c
3863 * src/hildon-window.c: Lots of documentation updates.
3865 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3867 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3869 * configure.ac: Require Gtk+ 2.12.9 at least
3871 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3873 * src/hildon-pannable-area.c
3874 (hildon_pannable_area_scroll_indicator_fade),
3875 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3876 to protect the return of this timeout callbacks, avoiding deadlocks.
3878 2008-08-12 Christian Dywan <christian@imendio.com>
3881 * src/hildon-*.h: Ensure a consistent include order,
3882 include <gtk/gtk.h> instead of particular files and
3883 only include the topmost header in the gtk stack. See NB #39857
3885 2008-08-12 Christian Dywan <christian@imendio.com>
3887 * src/hildon-picker-dialog.c
3888 * src/hildon-touch-selector.c: Fix warnings about unused and
3889 uninitialized variables.
3891 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3893 * examples/Makefile.am
3894 * examples/hildon-check-button-example.c: Example of the hildon
3897 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3899 * src/hildon-window.h
3900 * src/hildon-window.c (hildon_window_class_init)
3901 (hildon_window_unset_program): Don't make
3902 hildon_window_unset_program a virtual function anymore.
3904 * src/hildon-stackable-window.c: Update documentation
3906 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3909 * doc/hildon-docs.sgml
3910 * doc/visual_index.xml
3911 * src/hildon-defines.c
3913 * src/hildon-helper.c
3914 * src/hildon-range-editor.c: Lots of documentation fixes.
3916 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3918 * examples/hildon-picker-button-multicolumn-example.c
3919 (create_touch_selector): Fix compilation warning.
3921 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3924 (hildon_pannable_area_button_release_cb)
3925 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3927 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3932 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-bread-crumb-trail.h
3935 * src/hildon-date-editor.c
3936 * src/hildon-date-selector.c
3937 * src/hildon-pannable-area.c
3938 * src/hildon-picker-dialog.c
3939 * src/hildon-time-selector.c
3940 * src/hildon-touch-selector-entry.c
3941 * src/hildon-touch-selector.c
3942 * src/hildon-touch-selector.h: Misc documentation fixes
3944 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3946 * examples/hildon-date-editor-example.c (main): Updated date
3949 * examples/hildon-note-example.c (on_confirmation_clicked):
3950 Updated confirmation note example.
3952 * src/hildon-date-editor.c
3953 * src/hildon-note.c: Updated sample programs in documentation.
3956 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-date-button.h:
3959 * src/hildon-picker-button.h:
3960 * src/hildon-time-button.c:
3961 * src/hildon-time-button.h:
3963 Some declarations changes to allow gtk-doc to document the widgets
3966 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3968 * src/hildon-date-button.c: Document the widget.
3969 * src/hildon-time-button.c: Document the widget.
3971 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3973 * src/hildon-picker-button.c: Document the widget.
3974 * src/hildon-touch-selector-entry.c: Document the widget.
3976 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3978 * doc/hildon-docs.sgml
3981 * src/hildon-check-button.h
3982 * src/hildon-check-button.c: New functions to create the Hildon
3986 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3988 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-button.h
3991 * src/hildon-button.c
3992 (hildon_button_add_title_size_group)
3993 (hildon_button_add_value_size_group)
3994 (hildon_button_add_image_size_group)
3995 (hildon_button_add_size_groups): New functions to set size groups
3996 for the button labels and image.
3997 (hildon_button_new_full): Removed
3999 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4001 * src/hildon-time-selector.c
4002 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4003 in order to avoid a crash if gconf is not available
4005 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-button.c (hildon_button_set_arrangement)
4008 (hildon_button_construct_child): Don't construct the button child
4009 before setting the arrangement.
4011 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-program-private.h
4014 * src/hildon-program.c
4015 * src/hildon-program.h
4016 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4017 (hildon_program_peek_window_stack)
4018 (hildon_program_pop_window_stack)
4019 (hildon_program_go_to_root_window): HildonProgram now has a
4020 separate list for stackable windows. Functions are provided to
4021 manage that list with a stack-like API.
4023 * src/hildon-stackable-window.c: Stackable window management is
4024 now much simpler with the new HildonProgram API. Windows no
4025 longer need to be manually added to the program, they're
4026 automatically pushed to the top of the stack when shown.
4028 * examples/hildon-stackable-window-example.c: Updated example to
4029 reflect the API changes.
4031 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-touch-selector.c: Comment out unimplemented
4034 hildon_touch_selector_insert_column() to avoid a compile warning.
4036 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4039 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4040 (hildon_touch_selector_set_column_selection_mode),
4041 (_hildon_touch_selector_set_model),
4042 (hildon_touch_selector_set_model):
4044 Complete review of HildonTouchSelector documentation.
4046 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4048 * doc/hildon-docs.sgml
4052 * src/hildon-gtk.c: Convenience functions for standard Gtk
4053 widgets, used to easily perform frequent operations.
4055 * src/hildon-button-helpers.h
4056 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4058 * src/hildon-helper.h
4059 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4060 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4062 * src/hildon-button.h
4063 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4065 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-button.c (hildon_button_init)
4068 (hildon_button_set_arrangement, hildon_button_construct_child):
4069 Pack the image and the labels inside the same GtkAlignment so
4070 gtk_button_set_alignment() can be used
4072 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-button.h
4075 * src/hildon-button.c
4076 (hildon_button_init, hildon_button_set_image)
4077 (hildon_button_set_image_position)
4078 (hildon_button_construct_child): New functions to add an image to
4081 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-date-button.c
4084 * src/hildon-picker-button.c
4085 * src/hildon-time-button.c
4086 * src/hildon-button.c:
4087 (hildon_button_class_init): "size-flags" renamed to "size"
4088 (hildon_button_set_title): Hide the title label if set to NULL.
4090 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4092 HildonButtonFlags split into HildonButtonArrangement (to set the
4093 button layout) and HildonSizeType (which can be used for any
4096 * src/hildon-button.h
4097 * src/hildon-button.c
4098 (hildon_button_class_init)
4099 (hildon_button_set_arrangement)
4100 (hildon_button_set_property): New "size-flags"
4101 property. "arrangement-flags" renamed to "arrangement".
4102 (hildon_button_new, hildon_button_new_with_text)
4103 (hildon_button_new_full): Constructors updated to reflect type changes.
4105 * src/hildon-helper.h
4106 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4107 to set the size of a widget.
4111 * src/hildon-button-helpers.c
4112 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4114 * src/hildon-date-button.c
4115 * src/hildon-date-button.h
4116 * src/hildon-picker-button.c
4117 * src/hildon-picker-button.h
4118 * src/hildon-time-button.c
4119 * src/hildon-time-button.h: Updated widgets to reflect
4120 HildonButton API changes.
4122 * examples/hildon-button-example.c
4123 * examples/hildon-date-button-example.c
4124 * examples/hildon-picker-button-example.c
4125 * examples/hildon-picker-button-multicolumn-example.c
4126 * examples/hildon-time-button-example.c
4127 * examples/hildon-touch-selector-entry-example.c
4128 * examples/hildon-touch-selector-example.c: Updated examples to
4129 reflect HildonButton API changes.
4131 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4133 * doc/hildon-docs.sgml:
4135 * examples/Makefile.am:
4136 * examples/hildon-touch-selector-entry-example.c:
4138 * src/hildon-touch-selector-entry.c:
4139 * src/hildon-touch-selector-entry.h:
4142 Moved HildonTouchSelectorEntry from sandbox. Added its
4143 documentation and examples.
4145 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-touch-selector.h:
4148 * examples/hildon-picker-button-multicolumn-example.c:
4149 (hildon_touch_selector_append_text_column): Add a gboolean
4150 parameter to determine if text must be centered in the column.
4152 * src/hildon-date-selector.c: (hildon_date_selector_init):
4153 * src/hildon-time-selector.c: (hildon_time_selector_init):
4154 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4155 (create_touch_selector): Update widgets and example to reflect
4158 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-touch-selector.c:
4161 (hildon_touch_selector_set_active_iter): Set also the cursor in
4164 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4166 * doc/hildon-docs.sgml
4169 * src/hildon-toggle-button.c
4170 * src/hildon-toggle-button.h
4171 * src/hildon.h: Removed HildonToggleButton widget, a derived
4172 class is not necessary for this.
4174 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4176 * src/hildon-pannable-area.c,
4177 (hildon_pannable_area_realize),
4178 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4181 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4184 "done" button the default widget for the dialog.
4186 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-touch-selector.c:
4189 (hildon_touch_selector_class_init),
4190 (hildon_touch_selector_get_property),
4191 (_hildon_touch_selector_set_model),
4192 (_hildon_touch_selector_has_multiple_selection),
4193 (hildon_touch_selector_has_multiple_selection):
4194 Add a "has-multiple-selection" property with a virtual
4195 has_multiple_selection() method to allow derived classes to
4196 override the default value for it. See the method and property
4197 documentation for details.
4199 * src/hildon-touch-selector.h: Add the new API.
4201 * src/hildon-picker-dialog.c: (requires_done_button): Call
4202 hildon_touch_selector_has_multiple_selection() instead of
4203 determining the need for a button itself.
4205 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4208 (_hildon_touch_selector_set_model),
4209 (hildon_touch_selector_set_model): Move working code to
4210 _hildon_touch_selector_set_mode(). Call the class method instead.
4212 * src/hildon-touch-selector.h: Add (*set_model) to
4213 HildonTouchSelectorClass.
4215 Make hildon_touch_selector_set_model() a virtual method, so that
4216 derived classes can extend it and do fancy stuff with the model.
4218 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4220 * configure.ac: Set back the tarname in AC_INIT to hildon.
4222 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4226 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4227 instead of libesd (NB#86876). Volume handling is still an open issue.
4229 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4232 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4235 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4236 derived class to ease placement of an entry widget in
4237 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4238 end, where the selector columns are packed now.
4240 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-picker-button.c: Removed the simple _text() API.
4243 * src/hildon-picker-button.h: Likewise.
4245 * src/hildon-touch-selector.h:
4246 * src/hildon-touch-selector.c:
4247 (hildon_touch_selector_new_text),
4248 (hildon_touch_selector_append_text),
4249 (hildon_touch_selector_prepend_text),
4250 (hildon_touch_selector_insert_text):
4252 Moved the simple _text() API from HildonPickerButton to
4253 HildonTouchPicker, to provide better escalability and not to tie
4254 that API to HildonPickerButton.
4256 * examples/hildon-picker-button-example.c: (main): Example updated.
4258 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-button.c: Updated documentation.
4262 * examples/hildon-button-example.c: Add the posibility to create
4263 the buttons using horizontal layout for title and value.
4265 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-app-menu-private.h
4268 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4269 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4270 GtkSizeGroup for the filters, use the 'homogeneous' property of
4273 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4275 * examples/hildon-button-example.c: Updated example.
4277 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4279 * doc/hildon-docs.sgml:
4282 Update documentation.
4284 * examples/Makefile.am: Update renamed examples.
4286 * examples/hildon-picker-button-multicolumn-example.c:
4287 (create_touch_selector), (main): Update after the rename.
4289 * examples/hildon-touch-picker-example.c: Removed.
4290 * examples/hildon-touch-selector-example.c: (value_changed),
4291 (create_selector), (get_visible_content), (main): Renamed from
4292 hildon-touch-picker-example.c
4294 * src/Makefile.am: Updated renamed files.
4296 * src/hildon-date-button.c: (hildon_date_button_init),
4297 (hildon_date_button_get_date), (hildon_date_button_set_date):
4298 * src/hildon-date-selector.c: (hildon_date_selector_init),
4299 (_custom_print_func), (_update_day_model),
4300 (_manage_selector_change_cb),
4301 (hildon_date_selector_select_current_date),
4302 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4303 * src/hildon-date-selector.h:
4304 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4305 (hildon_picker_button_set_property),
4306 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4307 (hildon_picker_button_init), (hildon_picker_button_new_text),
4308 (hildon_picker_button_append_text),
4309 (hildon_picker_button_prepend_text),
4310 (hildon_picker_button_insert_text),
4311 (hildon_picker_button_set_selector),
4312 (hildon_picker_button_get_selector):
4313 * src/hildon-picker-button.h:
4314 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4315 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4316 (_update_title_on_selector_changed_cb), (requires_done_button),
4317 (_hildon_picker_dialog_set_selector),
4318 (hildon_picker_dialog_set_selector),
4319 (hildon_picker_dialog_get_selector):
4320 * src/hildon-picker-dialog.h:
4321 * src/hildon-time-button.c: (hildon_time_button_init),
4322 (hildon_time_button_get_time), (hildon_time_button_set_time):
4323 * src/hildon-time-selector.c: (hildon_time_selector_init),
4324 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4325 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4326 * src/hildon-time-selector.h:
4329 Massive code updates after the rename.
4331 * src/hildon-touch-picker.c: Removed.
4332 * src/hildon-touch-picker.h: Removed.
4334 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4335 (hildon_touch_selector_init), (hildon_touch_selector_map),
4336 (hildon_touch_selector_remove), (_default_print_func),
4337 (_selection_changed_cb), (_create_new_column),
4338 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4339 (hildon_touch_selector_append_text_column),
4340 (hildon_touch_selector_remove_column),
4341 (hildon_touch_selector_set_column_attributes),
4342 (hildon_touch_selector_insert_column),
4343 (hildon_touch_selector_get_num_columns),
4344 (hildon_touch_selector_get_column_selection_mode),
4345 (hildon_touch_selector_set_column_selection_mode),
4346 (hildon_touch_selector_set_print_func),
4347 (hildon_touch_selector_get_print_func),
4348 (hildon_touch_selector_get_active_iter),
4349 (hildon_touch_selector_set_active_iter),
4350 (hildon_touch_selector_get_selected_rows),
4351 (hildon_touch_selector_get_model),
4352 (hildon_touch_selector_set_model),
4353 (hildon_touch_selector_get_current_text),
4354 (_hildon_touch_selector_center_on_selected_items):
4355 * src/hildon-touch-selector.h: Renamed from
4356 hildon-touch-picker.[ch]
4358 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4359 references, code examples, and related documentation.
4361 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4363 * doc/hildon-docs.sgml
4366 * src/hildon-toggle-button.c
4367 * src/hildon-toggle-button.h
4368 * src/hildon.h: New HildonToggleButton widget.
4370 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4372 * src/hildon-button.c: Add API documentation.
4373 (hildon_button_set_size_groups): Check input parameters
4375 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4377 * src/hildon-pannable-area.c
4378 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4379 effect after reaching the movement thredshold. This way we start
4380 using the distance after passing the thredshold.
4382 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-button.c: (hildon_button_set_property): Use the
4385 appropriate g_value_get_flags() method.
4387 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4389 * doc/hildon-docs.sgml:
4392 Add the touch pickers, picker dialogs, and picker button widgets
4393 to the documentation.
4395 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4397 * src/hildon-button.c: (hildon_button_set_property),
4398 (hildon_button_class_init): Make "arrangement-flags" a proper
4399 G_TYPE_FLAGS derived property.
4401 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4403 * examples/Makefile.am: Add below examples.
4404 * examples/hildon-date-button-example.c:
4405 * examples/hildon-picker-button-example.c:
4406 * examples/hildon-picker-button-multicolumn-example.c:
4407 * examples/hildon-time-button-example.c:
4408 * examples/hildon-touch-picker-example.c:
4410 Add examples for the recently added touch pickers,
4411 picker dialogs, and picker button widgets.
4413 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4415 * src/hildon-button.c: Add some API documentation
4417 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4419 * src/hildon-button.h
4420 * src/hildon-button.c
4422 (hildon_button_new_with_text): New constructor to create a button
4423 with no text at all.
4424 (hildon_button_init, hildon_button_set_arrangement)
4425 (hildon_button_set_title, hildon_button_set_value)
4426 (hildon_button_set_text)
4427 (hildon_button_construct_child): Hide the value when it's not used
4428 so the rest of the text is properly aligned.
4429 Allow creating buttons with arbitrary widgets inside (not just
4430 title/value labels).
4432 * examples/hildon-button-example.c (vertical_buttons_window)
4433 (horizontal_buttons_window): Update example to use new API.
4435 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/Makefile.am: Added HildonTimeButton.
4438 * src/hildon-time-button.c: Added missing LGPL header.
4439 * src/hildon-time-button.h: Added missing LGPL header.
4440 * src/hildon.h: Add hildon-time-button.h
4442 Copied HildonTimeButton from sandbox to trunk. Future work on this
4443 widget must take place in trunk.
4445 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/Makefile.am: Added HildonDateButton.
4448 * src/hildon-date-button.c: Update includes.
4449 * src/hildon.h: Add hildon-date-button.h
4451 Copied HildonDateButton from sandbox to trunk. Future work on this
4452 widget must take place in trunk.
4454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4456 * src/Makefile.am: Added HildonPickerButton.
4457 * src/hildon-picker-button.h: Update includes.
4458 * src/hildon.h: Add hildon-picker-button.h
4460 Copied HildonPickerButton from sandbox to trunk. Future work on
4461 this widget must take place in trunk.
4463 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/Makefile.am: Added HildonPickerDialog.
4466 * src/hildon-picker-dialog.c: Update includes.
4467 * src/hildon.h: Add hildon-picker-dialog.h
4469 Copied HildonPickerDialog from sandbox to trunk. Future work
4470 on this widget must take place in trunk.
4472 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/Makefile.am: Added HildonTimeSelector.
4475 * src/hildon.h: Add hildon-time-selector.h
4477 Copied HildonTimeSelector widget from sandbox to trunk. Future
4478 work on this widget must happen in trunk.
4480 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/Makefile.am: Added HildonDateSelector.
4483 * src/hildon.h: Add hildon-date-selector.h
4485 Copied HildonDateSelector 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 HildonTouchPicker.
4491 * src/hildon-touch-picker.c: Update includes.
4492 * src/hildon.h: Add hildon-touch-picker.h
4494 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4495 on this widget must happen in trunk.
4497 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4499 * src/hildon-pannable-area.c:
4500 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4502 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4504 * examples/hildon-app-menu-example.c (main): Let the window
4507 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4509 * src/hildon-pannable-area.c
4510 (hildon_pannable_area_class_init): Set the min value of the
4511 overshoot properties to zero, which points out that not
4512 overshooting allowed.
4514 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4516 Modified the procedure to get the widget at a point inside the
4517 pannable area when using the movement type signals. Now the user
4518 has to call a function to get the child, that way we just
4519 calculate the child in case the user really want to use it and not
4522 * src/hildon-marshalers.list: Modified the marshallers, now we do
4523 not have the widget as a parameter.
4525 * src/hildon-pannable-area.c
4526 (hildon_pannable_area_motion_notify_cb),
4527 (hildon_pannable_area_class_init),
4528 (hildon_pannable_get_child_widget_at): Removed the widget
4529 parameter from the signal callback. We have also refactored the
4530 emission of the signals.
4532 * src/hildon-pannable-area.h: Added a new method to the API to
4533 calculate a widget at a point inside the pannable area,
4534 hildon_pannable_get_child_widget_at.
4536 * examples/hildon-pannable-area-example-4.c
4537 (horizontal_movement): Modified the example to use the new API,
4538 added condition to control which widget is under the event. This
4539 way we can avoid scrolling laterally over other widgets.
4541 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4543 * src/hildon-pannable-area.c
4544 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4545 modes, we stop getting the pointer events due to returning the
4546 callback without properly calling the get pointer again. Fixed
4547 also an error using the hscroll and vscroll.
4549 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4551 * src/hildon-app-menu-private.h
4552 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4553 (hildon_app_menu_button_release, hildon_app_menu_init)
4554 (hildon_app_menu_class_init): Don't hide the menu on button
4555 release if the user didn't press outside first.
4557 * src/hildon-window.h
4558 * src/hildon-window.c (hildon_window_toggle_menu)
4559 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4560 hildon_window_toggle_menu a virtual function for the stackable
4561 window to override it.
4563 * src/hildon-stackable-window.h
4564 * src/hildon-stackable-window-private.h
4565 * src/hildon-stackable-window.c
4566 (hildon_stackable_window_realize)
4567 (hildon_stackable_window_finalize)
4568 (hildon_stackable_window_class_init)
4569 (hildon_stackable_window_init)
4570 (hildon_stackable_window_set_main_menu): New function to set the
4571 app menu of a HildonStackableWindow.
4573 * examples/hildon-app-menu-example.c: Remove the button to show
4574 the app menu, now it'll be shown when clicking on the title bar
4577 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4579 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4580 set the widget name if the arrangement flags do not specify
4583 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-button.c: (hildon_button_set_property),
4586 (hildon_button_class_init), (hildon_button_new_full),
4587 (hildon_button_set_arrangement): Added "arrangement-flags"
4590 Make the HildonButtonFlags a construction-only property, to allow
4591 subclasses to set them properly.
4593 2008-07-21 Tim Janik <timj@imendio.com>
4595 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4596 insertion position after backspace, so additional digits are appended,
4599 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4601 * src/hildon-pannable-area.c,
4602 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4603 TODO list, it was complete and removed the g_debug and g_print
4606 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4608 Added the movement modes to the hildon-pannable-area, with this
4609 modes the developers can control in which directions the widget
4610 can scroll. They can also connect to signals in order to do
4611 something when that happens, allowing applications scroll. There
4612 is an example uploaded showing how to use it.
4614 * examples/Makefile.am:
4615 * examples/hildon-pannable-area-example-4.c: Added this example of
4616 an application using the modes.
4618 * src/hildon-marshalers.list: Added a new marshaller for the new
4621 * src/hildon-pannable-area.h: Added new enumerations and flags in
4622 order to control the movement modes and the new signals to warn
4623 about the movements in the area.
4625 * src/hildon-pannable-area.c:
4626 (hildon_pannable_axis_scroll),
4627 (hildon_pannable_area_scroll),
4628 (hildon_pannable_area_motion_notify_cb),
4629 (hildon_pannable_area_get_property),
4630 (hildon_pannable_area_set_property),
4631 (hildon_pannable_area_map),
4632 (hildon_pannable_area_class_init),
4633 (hildon_pannable_area_init),
4634 (hildon_pannable_area_jump_to): Added the modes to control the
4635 movement in the widget. We have added properties to control it,
4636 signals to warn about the movements and refactored some code.
4638 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4640 Changes required in order to allow vfast_factor set to zero to
4643 * src/hildon-pannable-area.c:
4644 (hildon_pannable_area_button_press_cb): Changed the condition, it
4645 is required for not allowing click when vfast_factor is zero.
4646 (hildon_pannable_area_timeout): Initialized velocity variables
4647 when we stop moving, it was less than 1 but not zero and we need
4648 to check zero in some situations.
4649 (hildon_pannable_area_class_init): Changed the default value of
4650 the speed factor, now the button_press is just sent in case the
4651 speed is 2 per cent of the max speed.
4652 (hildon_pannable_area_init): Initialization with 0.
4654 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4656 * src/hildon-pannable-area.c,
4657 (hildon_pannable_area_get_topmost): replaced
4658 gdk_window_get_children with gdk_window_peek_children, this way we
4659 do not have to free the list because it is not a copy.
4661 (hildon_pannable_axis_scroll),
4662 (hildon_pannable_area_scroll),
4663 (hildon_pannable_area_timeout),
4664 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4665 two parameters that were only used inside the
4666 hildon_pannable_area_scroll function.
4668 * examples/hildon-pannable-area-example.c,
4669 (get_sawtooth_label): Fixed small memory leak.
4671 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4673 More checks for the case where the overshoot is bigger than the
4676 * src/hildon-pannable-area.c:
4677 (hildon_pannable_draw_vscroll),
4678 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4679 to draw the slider of the scrollbar under the other scrollbar.
4680 (hildon_pannable_area_expose_event): added new checks to control
4681 the drawing of the overshooting area rectangle, in case it is too
4682 big for the area of the widget.
4683 (hildon_pannable_area_size_allocate): add more checks to avoid
4684 setting a position to the child widget outside the area.
4686 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4688 * src/hildon-pannable-area.c
4689 (hildon_pannable_area_size_allocate): Added conditions to control
4690 when overshooting is bigger than the allocated space for the
4691 children, this avoids negative allocations.
4693 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4695 * doc/hildon-docs.sgml
4697 * examples/Makefile.am
4698 * examples/hildon-button-example.c
4700 * src/hildon-button.c
4701 * src/hildon-button.h
4702 * src/hildon.h: Initial version of the new HildonButton widget,
4705 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-pannable-area.c:
4708 (hildon_pannable_area_button_press_cb),
4709 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4710 (hildon_pannable_area_motion_notify_cb),
4711 (hildon_pannable_area_button_release_cb),
4712 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4713 (hildon_pannable_area_jump_to_child):
4715 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4717 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4719 * examples/Makefile.am
4720 * examples/hildon-pannable-area-touch-grid-example.c
4721 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4722 the Hildon Touch List and Hildon Touch Grid using the
4723 HildonPannableArea widget.
4725 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4727 * src/hildon-pannable-area.c,
4728 (hildon_pannable_area_button_press_cb),
4729 (hildon_pannable_area_refresh),
4730 (hildon_pannable_area_scroll),
4731 (hildon_pannable_area_motion_notify_cb),
4732 (hildon_pannable_area_button_release_cb),
4733 (hildon_pannable_area_expose_event),
4734 (hildon_pannable_area_add),
4735 (hildon_pannable_area_remove),
4736 (hildon_pannable_area_realize),
4737 (hildon_pannable_area_size_allocate),
4738 (hildon_pannable_area_class_init),
4739 (hildon_pannable_area_init),
4740 (hildon_pannable_area_scroll_to_child),
4741 (hildon_pannable_area_jump_to_child): Fixed the problem of
4742 removing the child from the GtkBin, we have rearranged the widget
4743 hierarchy, now there is no GtkAlignment which was not doing
4744 anything interesting but breaking some of the assumptions of
4745 GtkContainer. Now developers if they want to add a GtkAlignment
4746 they could, but it is not inside the area.
4748 We had to review the whole allocation/expose process, now it is
4749 improved and we save at least three signals which would be saving
4750 some time when rendering the widget. The allocation of the
4751 scrollbars is now made in the allocate method as usual.
4753 We have also added some conditions in order to control when there
4754 is no child of the pannable area. Maybe we will need more work
4757 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4759 * src/hildon-pannable-area.c,
4760 (hildon_pannable_area_dispose): Released the fade-out timeout when
4761 disposing the widget.
4763 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4765 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4766 zero, we are going to use that property in order to deactivate the
4768 (hildon_pannable_axis_scroll),
4769 (hildon_pannable_area_size_allocate): Added conditions to control
4770 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4771 call, now it is called in all situations and we can remove calls
4772 in the allocate method.
4773 (hildon_pannable_area_map): Control the situation when
4774 overshoot_max is zero, we do not need the timeout.
4775 (hildon_pannable_area_class_init): Added documentation in order to
4776 point out that setting zero to overshoot_max means deactivate
4779 NOTE: removed trailing whitespaces from my previous comments of
4782 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-pannable-area.c
4785 (hildon_pannable_area_get_property),
4786 (hildon_pannable_area_set_property),
4787 (hildon_pannable_area_map),
4788 (hildon_pannable_area_class_init),
4789 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4790 to cause the widget give a hint about its panning abilities upon
4793 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4795 * src/hildon-pannable-area.c: Several documentation improvements.
4797 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4799 * src/hildon-program.c
4800 * src/hildon-stackable-window.c: Update documentation.
4802 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-stackable-window.c (get_previous_window_if_last):
4805 Renamed get_last_window()
4806 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4807 (hildon_stackable_window_unset_program):
4809 (get_previous_window_if_last):
4810 Detect if the window hasn't been added to a HildonProgram.
4812 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4814 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-pannable-area.c
4817 (hildon_pannable_area_button_press_cb),
4818 (hildon_pannable_axis_scroll),
4819 (hildon_pannable_area_scroll),
4820 (hildon_pannable_area_timeout),
4821 (hildon_pannable_calculate_vel_factor),
4822 (hildon_pannable_area_get_property),
4823 (hildon_pannable_area_set_property),
4824 (hildon_pannable_area_class_init),
4825 (hildon_pannable_area_init),
4826 (hildon_pannable_area_scroll_to),
4827 (hildon_pannable_area_jump_to),
4828 (hildon_pannable_area_scroll_to_child),
4829 (hildon_pannable_area_jump_to_child):
4830 * src/hildon-pannable-area.h: Added the new API functions:
4831 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4832 hildon_pannable_area_scroll_to_child,
4833 hildon_pannable_area_jump_to_child
4836 * examples/Makefile.am
4837 * examples/hildon-pannable-area-example-2.c
4838 * examples/hildon-pannable-area-example-3.c: Added these two new
4839 examples in order to test and show how the new APIs work.
4841 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4843 * examples/hildon-stackable-window-example.c (new_window):
4844 * src/Makefile.am (noinst_HEADERS):
4845 * src/hildon-program.c (hildon_program_go_to_root_window):
4846 * src/hildon-program.h:
4847 * src/hildon-stackable-window-private.h:
4848 * src/hildon-stackable-window.c:
4849 * src/hildon-stackable-window.h:
4850 Create hildon-stackable-window-private.h
4851 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4853 * examples/hildon-app-menu-example.c (create_menu):
4854 * examples/hildon-hvolumebar-insensitive-example.c (main):
4855 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4856 * examples/hildon-toolbar-seekbar-example.c (main):
4857 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4858 * src/hildon-banner.c (hildon_banner_set_property):
4859 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4860 Fix compilation warnings
4862 * src/hildon-window.c:
4865 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-stackable-window.c
4868 (hildon_stackable_window_unset_program):
4869 Calculate correctly whether to show the previous window if the
4870 last one is removed from the stack.
4871 (hildon_stackable_window_go_to_root_window):
4872 Send delete events starting from the topmost window.
4873 Stop if one of the windows is not destroyed.
4875 (hildon_stackable_window_delete_event)
4876 (hildon_stackable_window_class_init):
4877 Ignore the delete event if the window is not the topmost one.
4879 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4881 * src/hildon-pannable-area.c
4882 (hildon_pannable_area_expose_event): Fixed a problem when
4883 selecting the background color of the scrollbars.
4885 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4887 * examples/hildon-stackable-window-example.c
4888 * src/hildon-stackable-window.c
4889 * src/hildon-stackable-window.h
4890 hildon_stackable_window_go_home() renamed to
4891 hildon_stackable_window_go_to_root_window()
4892 Send delete events to windows rather than closing them with
4893 gtk_widget_destroy()
4895 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-pannable-area.c
4898 (hildon_pannable_area_button_release_cb): Fix overshooting in
4901 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-pannable-area.c
4904 (hildon_pannable_area_init): Initially show the scroll indicators.
4905 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4907 Add initial effect showing the widget is pannable.
4909 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-pannable-area.c
4912 (hildon_pannable_area_class_init)
4913 (hildon_pannable_area_set_property)
4914 (hildon_pannable_area_get_property)
4915 (hildon_pannable_area_button_press_cb):
4916 New 'velocity_fast_factor' property to decide which velocity is
4919 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-pannable-area.c
4922 (hildon_pannable_draw_hscroll)
4923 (hildon_pannable_draw_vscroll):
4924 Use float variables to calculate the size of the scrollbars to
4925 avoid error propagation and resizing during scrolling.
4927 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4929 * src/hildon-pannable-area.c
4930 (hildon_pannable_draw_vscroll)
4931 (hildon_pannable_draw_hscroll):
4932 Define a minimum size for the scroll bars
4934 * src/hildon-stackable-window.c
4935 (hildon_stackable_window_go_home): Fix compilation warning
4936 (get_last_window): Minor optimizations
4937 (hildon_stackable_window_class_init): Fix initialization of
4940 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-stackable-window.c: Fixed typos in doc
4944 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4946 * src/hildon-pannable-area.c
4947 (hildon_pannable_area_scroll):
4948 Calculate here whether we need to scroll instead of using the booleans
4949 that tell us whether to /draw/ the scrolling bars.
4951 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/hildon-app-menu.h
4955 * src/hildon-app-menu.c
4956 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4957 multiple filter groups related code and API. Now we support only
4959 * examples/hildon-app-menu-example.c:
4961 Update to reflect API changes.
4963 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4965 * src/hildon-stackable-window.c
4966 (hildon_stackable_window_class_init):
4967 Add hildon_stackable_window_realize.
4968 (hildon_stackable_window_realize):
4969 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4970 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4971 to apply theming and behavior specific to HildonStackableWindow
4974 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-note.c (hildon_note_button_release):
4977 Close information notes also when tapping on them
4979 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4981 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4982 ELASTICITY, refactor and review, fix some issues with drawing
4985 * src/hildon-pannable-area.c:
4986 (hildon_pannable_area_button_press_cb): removed the conditions to
4987 avoid clicks when overshooting. It is not required
4989 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4990 define. Refatored and reviewed the code, now we do not need to
4991 manage velocity in motion_notify.
4993 (hildon_pannable_area_motion_notify_cb): We have moved the code
4994 that controls the area_scroll to the axis_scroll function and get
4995 rid of duplicated code.
4997 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4999 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5001 (hildon_pannable_draw_vscroll),
5002 (hildon_pannable_draw_hscroll): Fixed the problems with the
5003 scrollbar drawing, now we do not use two surfaces, it is easier
5004 and saves resources.
5006 (hildon_pannable_area_get_property): Style modification.
5008 (hildon_pannable_area_class_init): Changed some default values.
5010 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-stackable-window.c: Fix some typos in the
5015 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5017 * src/hildon-dialog.c:
5018 Change indentation style
5021 (hildon_note_button_release):
5022 Use root coordinates to check if the release event happened
5025 * src/hildon-app-menu.c
5026 (hildon_app_menu_button_release):
5027 Remove unnecessary check
5029 * examples/hildon-app-menu-example.c
5031 Add cast to fix warning
5033 * src/hildon-app-menu.c
5034 (hildon_app_menu_class_init):
5035 New inner-border style property.
5036 Set all default spacings to 16
5037 (hildon_app_menu_init):
5038 Use vertical-spacing to set the space between filter buttons and
5039 regular menu buttons.
5040 Set the default container border using the inner-border value.
5042 * examples/hildon-app-menu-example.c
5044 Don't set the menu border explicitly, now we have the inner-border
5045 style property for that.
5047 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-app-menu.c (hildon_app_menu_init):
5050 Make the window modal
5052 * src/hildon-note.c (hildon_note_map)
5053 * src/hildon-app-menu.c (hildon_app_menu_map):
5054 Destroy the grab window if we're unable to grab the pointer
5056 * src/hildon-app-menu-private.h
5057 * src/hildon-app-menu.c
5058 (hildon_app_menu_init, hildon_app_menu_finalize)
5059 (hildon_app_menu_map, hildon_app_menu_unmap)
5060 (hildon_app_menu_button_release)
5061 (grab_transfer_window_get):
5062 Bring back the grab window
5063 (hildon_app_menu_realize):
5064 Decorate the window, set WM hint for Matchbox
5066 * src/hildon-note.c (hildon_note_realize):
5067 * src/hildon-banner.c (hildon_banner_realize):
5068 Add WM hints for Matchbox
5070 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-app-menu-private.h
5073 * src/hildon-app-menu.c
5074 (hildon_app_menu_init, hildon_app_menu_finalize)
5075 (hildon_app_menu_map, hildon_app_menu_unmap)
5076 (hildon_app_menu_button_release):
5077 Remove the grab window, it's not needed anymore
5079 * src/hildon-program.c
5080 Fixed typo in documentation
5082 * src/hildon-app-menu.h
5083 * src/hildon-app-menu.c
5084 * examples/hildon-app-menu-example.c
5085 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5087 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5090 Added new transfer_window and close_if_pressed_outside private
5092 (hildon_note_rebuild):
5093 Don't add a cancel button to the information note. It will be
5094 closed when tapping outside
5095 Remove the comment about the OK button in the documentation
5096 (hildon_note_realize):
5097 Set the notification type hint
5098 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5099 Grab/ungrab pointer and keyboard if the note has to be closed when
5101 (hildon_note_button_release):
5102 Close the note when tapping outside (if applicable)
5104 * src/hildon-app-menu.c
5105 Grab/ungrab pointer and keyboard on map/unmap
5106 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5107 Close the menu on button release, not button press
5109 * src/hildon-banner.c
5110 (hildon_banner_set_property)
5111 (hildon_banner_check_position):
5112 Make the banner use the full width of the screen
5113 (hildon_banner_show_information)
5114 (hildon_banner_show_information_with_markup):
5115 Don't display an icon by default
5117 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5119 Added fading scrollbars and adapted all the overshooting code to
5120 horizontal scrolling. We have also fixed bugs with overshooting
5121 and current fading implementation.
5123 * src/hildon-pannable-area.c
5124 (hildon_pannable_area_scroll_indicator_fade): Time out function
5125 used to change the transparency of the scrollbars.
5127 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5128 control and fixed a problem with fading, we now remove the fade
5129 timeout before adding a new one.
5131 (hildon_pannable_axis_scroll):
5132 (hildon_pannable_area_scroll):
5133 (hildon_pannable_area_timeout): Added this functions so we can use
5134 the scroll code both for vertical and horizontal.
5136 (hildon_pannable_area_motion_notify_cb):
5137 (hildon_pannable_area_button_release_cb): Added the horizontal
5138 scrolling control, fixed a problem with the overshooting timeout.
5140 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5141 painting of the scrolls.
5143 (hildon_pannable_draw_vscroll):
5144 (hildon_pannable_draw_hscroll):
5145 (hildon_pannable_area_expose_event):
5146 Draw both scrollbars and rectangles in the overshooting area.
5148 (hildon_pannable_area_get_property):
5149 (hildon_pannable_area_set_property):
5150 Modified the overshoot property to overshoot_max
5152 (hildon_pannable_area_map):
5153 Replaced the comments symbols.
5155 (hildon_pannable_area_size_allocate):
5156 (hildon_pannable_area_class_init):
5157 (hildon_pannable_area_init): Added horizontal scroll, fading
5158 effect properties, fixed a problem when overshooting in the bottom
5161 * examples/hildon-pannable-area-example.c:
5162 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5163 looks better in the example.
5165 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-window.c
5168 * src/hildon-window.h
5169 (hildon_window_class_init)
5170 (hildon_window_unset_program)
5171 (hildon_window_unset_program_real):
5172 Make unset_program a virtual function
5174 * src/hildon-stackable-window.c
5175 * src/hildon-stackable-window.h
5176 Added hildon_stackable_window_go_home()
5178 * examples/Makefile.am
5179 * examples/hildon-stackable-window-example.c
5180 HildonStackableWindow example
5182 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5184 * hildon-pannable-area.c: Added the overshoot property and removed
5185 the OVERSHOOT define. Fixed an indent style error.
5186 (hildon_pannable_area_motion_notify_cb):
5187 (hildon_pannable_area_get_property):
5188 (hildon_pannable_area_set_property): Add overshoot property.
5190 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5193 (hildon_pannable_area_class_init): Installed the new property.
5195 * hildon-pannable-area-example.c: Added a sawtooth function, this
5196 way it is easier to check the movement in the pannable.
5197 (get_sawtooth_label): Added this function.
5198 (main): Now we get the labels from the new get_sawtooth_label
5201 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5203 * src/hildon-app-menu.h
5204 * src/hildon-app-menu.c
5205 Renamed API variables for consistency
5207 (hildon_app_menu_popup): Use also the default window size to
5208 decide where to place the menu
5210 (hildon_app_menu_init, hildon_app_menu_class_init): New
5211 external-border style property
5213 2008-05-26 Michael Natterer <mitch@imendio.com>
5215 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5216 widget_class->tap_and_hold_setup signal slot doesn't exist any
5217 longer, stop overriding it.
5219 (hildon_time_editor_init): g_signal_connect() to the
5220 tap-and-hold-setup signal instead.
5222 (hildon_time_editor_entry_keypress): add cast to fix warning.
5224 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5226 * doc/hildon-docs.sgml
5228 * examples/Makefile.am
5229 * examples/hildon-app-menu-example.c
5231 * src/hildon-app-menu-private.h
5232 * src/hildon-app-menu.c
5233 * src/hildon-app-menu.h
5235 New HildonAppMenu widget
5237 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5239 Rearranged the inheritance of the pannable area, now it inherits
5240 from GtkBin. This will allow us to control the event_window and
5241 the allocation process of the widget, required for some effects.
5243 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5244 GtkBin structures. * src/hildon-pannable-area.c: Added the
5245 event_window variable.
5246 (hildon_pannable_area_button_press_cb):
5247 (hildon_pannable_area_button_release_cb):
5248 (hildon_pannable_area_motion_notify_cb):
5249 Changed the signature of the method, now we override the event
5250 callback instead of connecting to the signal.
5252 (hildon_pannable_area_realize):
5253 (hildon_pannable_area_unrealize):
5254 (hildon_pannable_area_map):
5255 (hildon_pannable_area_unmap):
5256 (hildon_pannable_area_size_allocate):
5257 Added functions to control the widget construction. We add a
5258 INPUT_ONLY window and we put it over the widgets inside the
5259 container, this event_window handles the events.
5261 (hildon_pannable_area_class_init):
5262 Replaced the signal connections with overrides of the event
5265 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5267 Bouncing effect added when touching the borders, you can change
5268 the elasticity of the border changing the ELASTICITY define.
5270 * src/hildon-pannable-area.c: Added ELASTICITY define.
5271 (hildon_pannable_area_timeout): Added inverse velocity when
5272 touching the border of the child widget, that causes a bounce.
5274 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5276 Improved performance, we now do not go to the X server in order to
5277 get the list of window children. Apparently the effect is the
5278 same, we have to be careful and check if this breaks something in
5281 * src/hildon-pannable-area.c:
5282 (get_ordered_children): Removed this function.
5283 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5284 the children windows function with gdk_window_get_children.
5286 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5288 * src/hildon-pannable-area.c:
5289 (hildon_pannable_area_dispose): Fixed a crash when closing the
5290 window and kinetics is activated.
5292 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-pannable-area.h
5295 * src/hildon-pannable-area.c
5296 Changed indentation style to meet the one used in Hildon
5298 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5300 Reviewed the interaction of the AUTO mode, now we use the time
5301 attribute of the events and calculate the velocity in the motion,
5302 doing a gimp like calculation. The velocity is calculated in each
5303 motion event using the last velocity and the current one, the
5304 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5306 * src/hildon-pannable-area.c: Replaced the time based algorithm
5308 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5309 timeout for the AUTO mode when we are still moving the cursor. We
5310 added also the velocity calculation in this function.
5311 (hildon_pannable_area_button_release_cb): launch the timeout in
5312 case we are in AUTO mode. There are still some constants here that
5313 come from the old implementation that should be reviewed and
5316 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5318 * doc/hildon-docs.sgml
5321 * src/hildon-stackable-window.c
5322 * src/hildon-stackable-window.h
5324 New HildonStackableWindow widget
5326 * examples/hildon-dialog-example.c
5327 * examples/hildon-pannable-area-example.c
5330 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-dialog.c
5333 (hildon_dialog_new_with_buttons): New constructor.
5335 * examples/hildon-dialog-example.c
5336 (main): Update the example to use the new
5337 hildon_dialog_new_with_buttons().
5339 * examples/hildon-pannable-area-example.c
5340 (main): Update example.
5342 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5344 * doc/hildon-docs.sgml
5346 Added HildonPannableArea to the documentation.
5348 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5350 * doc/visual_index.xml
5351 Fix reference to HildonLoginDialog in documentation
5353 * doc/hildon-docs.sgml
5355 * examples/Makefile.am
5356 * examples/hildon-dialog-example.c
5358 * src/hildon-dialog.c
5359 * src/hildon-dialog.h
5361 New HildonDialog widget.
5363 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5365 * src/hildon-pannable-area.c
5366 Merge latest changes (r4318, r4342) from libmokoui trunk
5368 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5370 * examples/Makefile.am
5371 * examples/hildon-pannable-area-example.c
5373 * src/hildon-pannable-area.c
5374 * src/hildon-pannable-area.h
5376 New HildonPannableArea widget.
5378 2008-04-15 18:05:19 <timj@imendio.com>
5380 * src/hildon-banner.c: revert the recent change, that introduced
5381 gtk_window_present() calls. this reopens:
5382 Bug 78481 - [freetest] information banners are hidden under browser menu
5383 But resolves another variant of:
5384 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5386 2008-04-15 13:21:13 <timj@imendio.com>
5388 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5389 recreated its layout, spotted by Kris. this fixes all remaining
5390 artefacts and stability issues with the banner code. in particular:
5391 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5393 2008-04-14 16:52:59 <timj@imendio.com>
5395 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5396 operating on unrealized widgets, fixes:
5397 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5399 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5401 2008-04-09 Kristian Rietveld <kris@imendio.com>
5403 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5404 makes banner disappear.
5405 Fixes: NB#79182: info banner flickering with certain message lengts.
5407 * src/hildon-banner.c (hildon_banner_constructor),
5408 (hildon_banner_init), (hildon_banner_set_text),
5409 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5410 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5411 FALSE, reset size requests of label and banner,
5412 (force_to_wrap_truncated): when the text is too wide, always enforce
5413 the maximum possible width instead of recalculating it from the
5414 layout; enforce the maximum banner height of 3 lines,
5415 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5416 nicer wrapping and no truncated chars if space gets tight.
5418 * src/hildon-banner-private.h: add has_been_wrapped and
5419 has_been_truncated fields.
5421 2008-04-07 Sven Herzberg <sven@imendio.com>
5423 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5424 local values in hildon_date_editor_size_allocate
5426 * src/hildon-date-editor.c: moved the real allocation code into the
5429 2008-04-07 Sven Herzberg <sven@imendio.com>
5431 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5432 local values in hildon_date_editor_size_allocate
5434 * src/hildon-date-editor.c: merged the two if() branches together
5436 2008-04-07 Sven Herzberg <sven@imendio.com>
5438 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5439 local values in hildon_date_editor_size_allocate
5441 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
5450 from the real allocation
5452 2008-03-27 Michael Natterer <mitch@imendio.com>
5454 Fixes: NB#81696: The passcode is not overwritten even after
5457 * src/hildon-code-dialog.c
5458 (hildon_code_dialog_button_clicked)
5459 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5460 because that doesn't overwrite selected text. Instead, emit the
5461 "commit" signal on the entry's im_context so the entry's normal
5462 insert logic is triggered. Set the cursor to the end of the entry
5463 after each insert operation so that we *only* insert in the middle
5464 of the text if something was selected.
5466 2008-03-27 Michael Natterer <mitch@imendio.com>
5468 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5469 selector cannot be opened
5471 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5472 when the popup color selector is created. Please connect to this
5473 signal in order to set the dialog's help ID.
5475 2008-03-25 Sven Herzberg <sven@imendio.com>
5477 Fixes: MB#1212: Hide info banners (infoprints) on click
5479 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5480 extracted the close event simulation into an extra function
5481 (hildon_banner_button_press_event): simulate a close event and destroy
5482 the widget if the event wasn't handled
5483 (hildon_banner_class_init): added the button_press_event handler
5484 (hildon_banner_init): added button-press events to the widget
5486 2008-03-25 Sven Herzberg <sven@imendio.com>
5488 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5489 Patch from: Mohammad Anwari <mdamt@maemo.org>
5491 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5492 instead of the right in RTL mode
5493 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5494 breadcrumb button list in RTL mode
5495 * src/hildon-caption.c: mirror the appearance of the caption widget in
5497 * src/hildon-date-editor.c: mirror appearance of the date editor in
5499 * src/hildon-time-editor.c: mirror appearance of the time editor in
5501 * src/hildon-window.c: fix the position of the popup in RTL mode
5503 2008-03-25 Sven Herzberg <sven@imendio.com>
5505 Amendment to the fix of NB#22072. Fix compilation.
5507 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5509 2008-03-19 Sven Herzberg <sven@imendio.com>
5511 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5514 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5515 timeout id properly when the timeout will disappear this leaves no
5516 artifacts around in the destroy(); there will only be the timeout
5517 created by hildon_banner_ensure_timeout() and adding a new timeout
5518 will also work if the timeout gets removed because the timeout_handler
5521 2008-03-19 Michael Natterer <mitch@imendio.com>
5523 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5525 * src/hildon-volumebar.c
5526 * src/hildon-vvolumebar.c
5527 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5528 the widget becomes focussable at all.
5530 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5531 set the focus to wither the mute button or the volumebar.
5533 Remove own "can-focus" property and instead listen to
5534 notify::can-focus in order to update the widget's state.
5536 Implement GtkWidget::focus() and make sure we can also *leave* the
5537 widget, not only enter it, depending on volumebar orientation and
5538 requested focus direction.
5540 Clean up set_mute() to cooperate nicely with all the above.
5542 2008-03-04 Michael Natterer <mitch@imendio.com>
5544 Fixes: NB#78481: information banners are hidden under browser menu
5546 * src/hildon-banner.c: call gtk_window_present() on the banners so
5547 they are risen if they are already visible.
5549 2008-03-03 Sven Herzberg <sven@imendio.com>
5551 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5553 * examples/hildon-window-menu-example.c: (main): extended the window
5554 menu example to serve as a testcase for automatically added
5555 accelerator groups, too
5556 * src/hildon-window.c: (hildon_window_add_accel_group),
5557 (hildon_window_set_menu): added patch by Tommi Komulainen
5559 2008-03-03 Sven Herzberg <sven@imendio.com>
5561 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5563 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5564 knowledge about the border allocators used within GTK+
5566 2008-02-26 Sven Herzberg <sven@imendio.com>
5568 Fixes: MB#2981: Build with asserts broken
5570 * src/hildon-date-editor.c,
5571 * src/hildon-number-editor.c,
5572 * src/hildon-time-editor.c,
5573 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5574 the proper GType instance check
5576 2008-02-25 Sven Herzberg <sven@imendio.com>
5578 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5580 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5581 * examples/hildon-window-menu-example.c: (main): explicitly show
5583 * src/hildon-window.c:
5584 (hildon_window_set_main_menu): moved most of the code from set_menu()
5585 to this place; skipped the call to gtk_widget_show_all(); also didn't
5586 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5587 (hildon_window_set_menu): removed most of the code, just keep the
5588 questionable gtk_widget_show_all()
5589 * src/hildon-window.h: added the new function and deprecate the old
5592 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5598 * debian/changelog: Updating.
5600 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5603 * pkgconfig/Makefile.am:
5604 * pkgconfig/hildon.pc.in:
5607 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5608 use newly created API_MAJOR_VERSION.
5610 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5616 * debian/changelog: Updating.
5618 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5620 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5622 Add outer_border style property, we use it but don't define it (!).
5626 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5628 * examples/hildon-bread-crumb-trail-example.c (main):
5632 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5634 Fix logic for the bread crumb trail node removal.
5638 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5644 * debian/changelog: Updating.
5646 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5648 Patch by Alejandro to get/set passwords dialogs accesibility.
5650 * hildon-1/src/hildon-get-password-dialog.c:
5651 * hildon-1/src/hildon-set-password-dialog.c:
5652 Set atk_set_name to the passwd entries in order to allow
5653 accessibility by name on this entries.
5655 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5660 * debian/control: Updating gtk dep.
5662 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5664 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5665 USE_MAEMO_GTK is enabled.
5667 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5669 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5670 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5672 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5678 * debian/changelog: Updating.
5680 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5682 * examples/Makefile.am:
5683 * examples/hildon-logical-color-example.c:
5684 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5685 applied + adding a test case. Fixes: NB#71660.
5687 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5689 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5690 to be visible, fixes warning on map for windows without toolbars.
5692 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5694 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5695 2.11.0, add a check for that besides the MAEMO_GTK check.
5697 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5703 * debian/changelog: Updating.
5705 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5707 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5708 visibility. Fixes: NB#70842 and MB#615.
5710 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5712 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5713 set the separator as no-show-all so it doesn't unintentionally appear when
5714 someone does a show_all.
5716 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5718 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5719 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5720 toplevel item. Fixes: NB#62031
5722 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5724 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5725 fix the name of the function in the docs.
5727 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5733 * debian/changelog: Updating.
5735 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5737 * examples/hildon-banner-long-example.c: Adding a test-case for long
5740 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5742 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5744 * src/hildon-color-chooser-dialog.c:
5745 * src/hildon-color-chooser.c:
5746 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5747 memory leaks in font selector and color selector. Fixes: NB#70499 and
5750 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5752 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5754 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5756 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5757 little bit bigger. Fixes: #NB63694.
5759 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5765 * debian/changelog: Updating.
5767 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5770 * doc/hildon-docs.sgml:
5771 * doc/images/bread-crumb-trail.png:
5772 * doc/images/calendar-popup.png:
5773 * doc/images/caption.png:
5774 * doc/images/code-dialog.png:
5775 * doc/images/color-button.png:
5776 * doc/images/color-chooser-dialog.png:
5777 * doc/images/color-chooser.png:
5778 * doc/images/controlbar.png:
5779 * doc/images/date-editor.png:
5780 * doc/images/font-selection-dialog.png:
5781 * doc/images/get-password-dialog.png:
5782 * doc/images/hvolumebar.png:
5783 * doc/images/login-dialog.png:
5784 * doc/images/note.png:
5785 * doc/images/number-editor.png:
5786 * doc/images/range-editor.png:
5787 * doc/images/seekbar.png:
5788 * doc/images/set-password-dialog.png:
5789 * doc/images/sort-dialog.png:
5790 * doc/images/time-editor.png:
5791 * doc/images/time-picker.png:
5792 * doc/images/vvolumebar.png:
5793 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5794 Adding the bread-crumb-trial and helpers to the documentation.
5796 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5798 * examples/hildon-find-toolbar-example.c:
5799 * src/hildon-find-toolbar.c:
5800 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5801 actually continue firing the other handlers if connected. Adding a new
5803 hildon_find_toolbar_get_last_index that gets the index of the most
5804 recently added (last) item. Fixes: NB#52301.
5806 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5808 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5809 behaviour. Fixes: NB#68610.
5811 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5813 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5816 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5819 when realizing the banner. Should make the infonbanner effect a bit more
5822 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * src/hildon-volumebar.c:
5825 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5826 hildon_volumebar_set_range_insensitive_message and
5827 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5829 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5831 * src/hildon-window.c: Fixing the border freeing on destroy.
5833 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5835 * src/hildon-code-dialog-private.h:
5836 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5837 kw keyboard support in HildonCodeDialog.
5839 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5845 * debian/changelog: Updating.
5847 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5849 * src/hildon-date-editor.c:
5850 * src/hildon-number-editor.c:
5851 * src/hildon-private.c:
5852 * src/hildon-private.h:
5853 * src/hildon-time-editor.c:
5854 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5855 handling in subclassed composite widgets. Fixes: NB#66628.
5857 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5859 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5860 from destroy_ callback as it introduces problems in async dbus signal
5861 handlers. Fixes NB#66673.
5863 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5865 * examples/hildon-hvolumebar-example.c:
5866 * src/hildon-volumebar.c: Improving the focus handling in the
5867 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5868 set_property accessor so that "mute" property can be actually set. I'm
5869 scared that nobody noticed it's totally broken.
5871 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5873 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5876 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5878 * src/hildon-calendar.c:
5879 * src/hildon-number-editor.c:
5880 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5881 matches the spec of 6 chars per second. Fixes: NB#60489.
5883 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5885 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5886 gtk_style_lookup_color sometime returns FALSE even though color was
5887 found and values were filled properly. Weird. Removing the warning for the
5890 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5892 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5893 expand vertically. Adding some extra space to the find toolbar buttons to
5894 make them thumbable. Fixes NB#66060.
5896 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5898 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5899 popup with "Ok" and "Cancel". Fixes NB#59299.
5901 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5903 * src/hildon-calendar.c: Process all window updates before executing next
5904 timeout. Fixes: NB#54146.
5906 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5912 * debian/changelog: Updating.
5914 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5916 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5917 the client event and ignore it, since we use the delete event to close
5920 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5922 * src/hildon-helper.c: Remove the bogus warning about color not being
5923 found. Fixes NB#58352.
5925 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5927 * examples/Makefile.am:
5928 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5929 HildonSeekbar widget inside a toolbar.
5931 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5933 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5934 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5935 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5936 don't want to be closed by non-temporary windows on map.
5938 Also use G_DEFINE_TYPE instead of manually typed code.
5940 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5947 * debian/rules: Updating.
5949 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5951 * examples/Makefile.am:
5952 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5953 bug NB#61128. Strangely it works.
5955 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5957 * src/hildon-date-editor.c: When the date editor entry has been changed
5958 but the numbers of characters < max, turn off the skip validation flag.
5959 Prevents a situation when we enter first a valid year and later re-write
5960 it with an invalid one. Fixes NB#60154.
5962 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5964 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5965 code dialog. Fixes NB#64355.
5967 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5970 switching the page. Fixes NB#49374.
5972 * examples/Makefile.am:
5973 * examples/hildon-wizard-dialog-example.c: Adding an example for
5974 HildonWizardDialog that shows how to handle manual sensitivity setting on
5977 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5981 * src/hildon-version.h.in:
5982 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5984 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5986 * src/hildon-volumebar.c: Updating the docs.
5988 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * debian/changelog: Updating.
5996 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5998 * src/hildon-find-toolbar.c:
5999 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6000 selected item: hildon_find_toolbar_set_active,
6001 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6002 hildon_find_toolbar_get_active_iter . They correspond to respective
6003 GtkComboBox functions.
6005 * examples/Makefile.am:
6006 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6009 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6011 * examples/Makefile.am:
6012 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6015 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6016 when font size > 32 and we pack a focusable widget inside. Actually using
6017 the default response would work too, but since we don't show default
6018 response state in any way (no theming) it would not be visible to the
6019 user. Fixes NB#63430.
6021 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6023 * src/hildon-date-editor.c: Adding the missing variable setter in the
6024 set_property handler. Fixes NB#54182.
6026 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6028 * src/hildon-window.h: Changing the long key press time from 1500ms to
6029 800ms as requested in NB#63700. I have a bad feeling about this, let's
6030 see... Fixes NB#63700.
6032 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6034 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6035 hildon_time_picker_map, hildon_time_picker_realize,
6036 hildon_time_picker_style_set): Split the contents of map to more
6037 appropriate functions; set window decorations on realize and update
6038 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6040 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6045 * debian/changelog: Updating.
6047 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6049 * src/Makefile.am: fixed installation of the header files
6051 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6057 * debian/changelog: Updating.
6059 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6061 * configure.ac: Removing some remaining of --enable-xan.
6063 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6065 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6066 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6068 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6069 2.10.12-osso6 because the move-focus signal needs to be available in
6072 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6074 * examples/Makefile.am:
6075 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6076 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6077 fine. Prolly NB#61128 is fixed now.
6079 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6081 * src/hildon-volumebar.c:
6082 * src/hildon-volumebar.h: Adding the
6083 hildon_volumebar_set_range_insensitive_message and
6084 hildon_volumebar_set_range_insensitive_messagef functions to set
6085 insensitive message on the slider of the volumebar. Fixes NB#61129.
6087 * examples/Makefile.am:
6088 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6089 test the new insensitive messsage functionality on HildonVolumebar.
6091 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6093 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6096 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6098 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6099 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6100 button on after clearing the trail.
6102 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6104 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6106 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6108 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6109 by splitting the installed headers in generated and non-generated groups. Use
6110 only the non-generated headers to create the hildon-enum-types.h file.
6112 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6114 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6116 * src/hildon-window.c: Hide the window before performing the destroy.
6117 Should make the app closing a little tiny bit more snappy.
6119 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6121 * src/hildon-seekbar.c: add gtkrange.h header
6122 * src/hildon-caption.c: remove unused variable
6124 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6126 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6129 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * debian/changelog: Updating.
6137 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6139 * src/hildon-window.c (hildon_window_window_state_event,
6140 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6141 escape timeout on focus-out-event rather than notify::is-topmost; the
6142 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6144 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6146 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6147 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6149 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6151 * src/hildon-window: actually, you need to use the macro always, there's
6152 no private pointer in the instance structure. We should have cleaned this up
6153 when we had the chance...
6155 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6157 * src/hildon-window.c: do not get the private date from HildonWindow before
6158 it passes the g_return_if_fail check. Once it's passed the test, there's no
6159 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6160 if you are only going to access the data once. Whitespace cleanups.
6162 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6164 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6165 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6167 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6173 * debian/changelog: Updating.
6175 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6177 * src/hildon-window.c: When destroying the window, remove (if exists) the
6178 escape timeout handler. Fixes #NB59276.
6180 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6182 * src/hildon-banner.c: When realizing the widget, set the window
6183 transiency. Setting the transiency in the gobject constructor is not
6184 good, as the widget is not realized at that point. Fixes: #NB56624.
6186 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6188 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6189 Add padding for future expansions.
6191 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6193 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6194 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6195 will fake an activation on the previous to the last item of the trail, so
6196 the effect can be overrided by the developer as usual.
6197 Also change the callback for the back button to do the same thing, so its
6198 effect can be overrided too. Fixes: NB#58982
6200 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6202 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6203 HildonCaption. Fixes NB#52379.
6205 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6207 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6208 the internal state of the trail after the user has had the chance of executing
6209 his handler for the signal. Specifically, it may happen that the activated button
6210 is removed and the user still lets the default handler run. This would segfault
6213 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6215 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6216 scrollbar to the preview dialog. Fixes NB#54147.
6218 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6221 max/min year properties can be altered, so the client can modify it
6222 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6224 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6226 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6227 hildonlike by default. Fixing a problem with disappearing arrows when
6228 scrolling through months and years. Fixes NB#54127.
6230 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6232 * examples/hildon-date-editor-example.c: Adding error callback to the date
6235 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6241 * configure.ac: Updating.
6243 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6245 * configure.ac: Adding a special '--enable-xan' configure option that
6246 turns off the -Werror compilation setting. Usefull for development.
6248 * src/hildon-calendar.c:
6249 * src/hildon-number-editor.c:
6250 * src/hildon-time-picker.c: Adding the 5* multiplier to
6253 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6255 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6256 instead of g_object_ref + gtk_object_sink.
6258 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6264 * debian/changelog: Updating.
6266 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6268 * src/hildon-color-chooser-dialog.c:
6269 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6270 straight from Tommi labs.
6272 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6274 * examples/hildon-finger-example.c: Correcting the header file path.
6276 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6277 the changed signal. Fixes a small memory leak.
6279 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6283 * src/hildon-banner.c: Importing several usefull fixes from the
6284 ubuntu-mobile branch.
6286 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6288 * examples/Makefile.am:
6289 * examples/hildon-finger-example.c: Adding a finger-checking code
6292 * src/hildon-font-selection-dialog.c: Do not allocate the color
6293 structure using the g_new. Fixes NB#54061.
6295 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6297 * src/hildon-helper.c: Correcting tabs in file.
6299 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6301 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6302 control the visibility of the children.
6304 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6306 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6312 * debian/changelog: Updating.
6314 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6316 * src/hildon-bread-crumb-trail.c:
6317 (hildon_bread_crumb_trail_size_allocate):
6319 Make the back button always a square.
6321 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6323 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6324 from the .c file as it's a private file.
6326 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6328 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6329 uses slightly bigger height.
6331 * src/hildon-font-selection-dialog.c: Adding some checks before
6332 freeing memory in the font selection dialog.
6334 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 * src/hildon-font-selection-dialog.c: Adding a small check when
6339 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6340 buttons sensitivity on page switching.
6342 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6345 internal details of adding a bread crumb to the trail.
6347 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6353 * debian/changelog: Updating.
6355 * src/hildon-bread-crumb-trail.h:
6356 * src/hildon-bread-crumb.h: Changing the API guard to
6357 HILDON_ENABLE_UNSTABLE_API.
6359 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6367 * src/hildon-helper.h: Updating.
6369 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6377 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6381 * src/hildon-helper.h: Small fix to make the package actually compile.
6383 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6385 * src/hildon-bread-crumb-trail.h:
6386 * src/hildon-bread-crumb.h:
6388 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6389 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6391 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6393 * examples/hildon-bread-crumb-trail-example.c:
6395 * src/hildon-bread-crumb-trail.c:
6396 * src/hildon-bread-crumb-trail.h:
6397 * src/hildon-bread-crumb.c:
6398 * src/hildon-bread-crumb.h:
6399 * src/hildon-marshalers.list:
6400 * src/hildon-bread-crumb-widget.c:
6401 * src/hildon-bread-crumb-widget.h:
6403 Slight change in the widget design. The bread crumb trail API is
6404 unchanged, but HildonBreadCrumb is now an interface. A *private*
6405 implementation, hildon-bread-crumb-widget, is provided and used
6406 internally by the trail for the push_text/push_icon functions.
6408 The generic push API is still available, so anyone can implement
6409 and use its own bread crumb widget.
6411 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6413 * debian/rules: Fixing the shlibs.
6415 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6417 * src/hildon-banner.c: Fixing a problem with timed banners having
6418 their parrent destroyed before they are.
6420 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6422 * src/hildon-bread-crumb.c:
6423 * src/hildon-bread-crumb.h:
6425 Make the get_natural_size function a vfunc.
6427 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6429 * src/hildon-bread-crumb.c:
6430 * src/hildon-bread-crumb-trail.c:
6434 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6441 * debian/changelog: Updating for release.
6443 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6445 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6446 don't leak the pango layout.
6448 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6451 * examples/hildon-bread-crumb-trail-example.c:
6455 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6457 * debian/changelog: Removing the bug-fixed entries that were actually
6458 resolved as WONTFIX.
6460 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6463 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6465 * src/hildon-bread-crumb-trail.c:
6466 * src/hildon-bread-crumb-trail.h:
6467 * src/hildon-bread-crumb.c:
6468 * src/hildon-bread-crumb.h:
6472 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6474 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6475 until it's passed the type check.
6477 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6479 * examples/hildon-bread-crumb-trail-example.c
6483 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6485 * examples/Makefile.am
6486 * examples/hildon-bread-crumb-trail-example.c
6488 * src/hildon-bread-crumb-trail.c
6489 * src/hildon-bread-crumb-trail.h
6490 * src/hildon-bread-crumb.c
6491 * src/hildon-bread-crumb.h
6493 New HildonBreadCrumbTrail widget.
6495 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6497 * src/hildon-range-editor.c (hildon_range_editor_init),
6498 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6499 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6500 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6501 hildon_time_editor_class_init, hildon_time_editor_init),
6502 src/hildon-get-password-dialog.c (invalid_input,
6503 hildon_get_password_set_property, hildon_get_password_get_property,
6504 create_contents, hildon_get_password_dialog_set_max_characters),
6505 src/hildon-set-password-dialog.c (create_contents),
6506 src/hildon-date-editor.c (hildon_date_editor_init),
6507 src/hildon-login-dialog.c (hildon_login_dialog_init),
6508 src/hildon-number-editor.c (hildon_number_editor_init),
6509 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6510 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6511 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6512 configure option and adding the respective checks in the code.
6513 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6514 hildon_calendar_drag_data_received): fixed some build warnings.
6516 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6518 * debian/changelog: A 1.0.0 release notes.