Age | Commit message (Collapse) | Author |
|
with some added fixes for strict compiler checks
|
|
|
|
|
|
Use the desired size (taken from the Pango layout) directly
in the GtkWidget::"size-request" callback instead of calling
gtk_widget_set_size_request() to set it.
Fixes: NB#156165 (multi-line portrait info banners misalignment)
|
|
Doing it in _set_text was causing a problem with information banner,
which ended up not having the animation widget.
Fixes: NB#156325
|
|
Fixes: NB#119708 (Text in 'Disconnect..." banner is not aligned
properly, when changed from portrait to lanscape mode.)
|
|
We also need to add a reference to the label and release it in the
dispose, which has been added too.
Fixes: NB#143625 (Timed custom banner interferes with timed normal
banners)
|
|
Fixes: NB#120613 (Size of HildonBanner varies depending on previously
opened banners)
|
|
Fixes: NB#141835 (HildonBanner reappears if the screen is rotated)
|
|
* doc/hildon-sections.txt: Add hildon_banner_show_custom_widget()
* examples/hildon-banner-example.c: (area_expose),
(custom_widget_new), (on_progress_idle): New example showing a custom widget.
* hildon/hildon-banner.c:
* hildon/hildon-banner.h: Add hildon_banner_show_custom_widget().
Fixes: NB#140140 (Allow custom widgets to be used in banners)
|
|
* hildon/hildon-banner.c (hildon_banner_timeout):
Remove the timeout, if present, before setting it to 0.
Fixes: NB#141447 (HildonBanner crashes if a new one is shown
during a delete event)
|
|
* hildon/hildon-banner.c (screen_size_changed):
Don't hide and show the banner when the screen size changes.
Fixes: NB#141140 (Rotation stops when banner is present)
|
|
* examples/hildon-hvolumebar-timer-example.c
(on_idle, main)
* hildon/hildon-banner.c
(hildon_banner_timeout, hildon_banner_ensure_timeout)
* hildon/hildon-calendar.c
(calendar_timer, start_spinning)
* hildon/hildon-color-chooser.c
(inline_limited_expose)
* hildon/hildon-date-editor.c
(hildon_date_editor_entry_focus_in)
(hildon_date_editor_entry_validate)
(hildon_date_editor_entry_select_all)
* hildon/hildon-note.c
(on_show_cb)
* hildon/hildon-number-editor.c
(hildon_number_editor_button_pressed)
(hildon_number_editor_start_timer, do_mouse_timeout),
(add_select_all_idle, hildon_number_editor_select_all)
* hildon/hildon-time-editor.c
(hildon_time_editor_entry_focus_in)
(highlight_callback, hildon_time_editor_validate)
(hildon_time_editor_entry_select_all)
* hildon/hildon-time-picker.c
(hildon_time_picker_arrow_press)
(hildon_time_picker_key_repeat_timeout)
* hildon/hildon-window.c
(hildon_window_key_press_event)
(hildon_window_escape_timeout):
Replace all calls to g_idle_add/g_timeout_add with their
gdk_threads counterparts.
Fixes: NB#126198 (gdk-threads API should be used to install idle
and timeout handlers)
|
|
* hildon/hildon-banner.c (hildon_banner_map):
Set banner position after mapping.
|
|
* hildon/hildon-banner.c
(hildon_banner_class_init):
Center text.
(+hildon_banner_size_request):
Request always the full width of the screen.
(hildon_banner_realize)
(-hildon_banner_check_position, hildon_banner_map):
hildon_banner_check_position() is not needed in Hildon 2.2.
(-hildon_banner_reset_wrap_state)
(hildon_banner_constructor, hildon_banner_init):
Remove unnecessary calls to hildon_banner_reset_wrap_state()
(+banner_do_set_text)
(force_to_wrap_truncated):
Remove has_been_wrapped and has_been_truncated attributes.
(+reshow_banner, hildon_banner_real_show_information)
(hildon_banner_show_information_with_markup)
(hildon_banner_show_animation, hildon_banner_show_progress)
(hildon_banner_set_text, hildon_banner_set_markup):
Refactor code. Shrink banner vertically to use the minimum space
necessary everytime the text of the label is updated.
(screen_size_changed):
Call force_to_wrap_truncated() when the size of the screen
changes.
Fixes: NB#120500 (only device memory connect mmc in use info
banner is left aligned)
Fixes: NB#120613 (Size of HildonBanner varies depending on
previously opened banners)
|
|
* hildon/hildon-banner.c (hildon_banner_bind_style)
(screen_size_changed, hildon_banner_init)
(hildon_banner_real_show_information)
(hildon_banner_show_information_with_markup)
(hildon_banner_show_animation, hildon_banner_show_progress):
Set a different widget name to banners in portrait mode, for them
to be themed correctly.
|
|
* hildon/Makefile.am
* hildon/hildon-edit-toolbar-private.h
* hildon/hildon-edit-toolbar.c
(+hildon_edit_toolbar_set_progress_indicator)
(hildon_edit_toolbar_init): Add progress indicator to the
toolbar.
* hildon/hildon-gtk.c
(hildon_gtk_window_set_progress_indicator):
If the window contains a HildonEditToolbar, enable the progress
indicator there too.
* hildon/hildon-private.h
* hildon/hildon-private.c
(+hildon_private_create_animation)
* hildon/hildon-banner.c
(-hildon_banner_create_animation):
Moved to hildon-private.c
Fixes: NB#102373 (Progress indicator also for the Edit mode
toolbar)
|
|
* po/POTFILES.in
* doc/Makefile.am
* hildon/Makefile.am
* hildon/hildon-banner-private.h
* hildon/hildon-banner.c:
Move HildonBannerPrivate to hildon-banner.c and remove
hildon-banner-private.h
Use a bit field to store private booleans.
|
|
* doc/hildon-sections.txt
* hildon/hildon-pannable-area.c
* hildon/hildon-banner.h
* hildon/hildon-banner.c: Documentation updates.
Fixes: MB#4643 (Documentation: hildon_banner_show_information()
memory management)
|
|
* hildon/hildon-banner-private.h: Add a GtkAlignment to the private
structure.
* hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
to ensure the banner contents are centered, instead of relying on
the expand and fill properties in GtkHBox.
(hildon_banner_ensure_child): Do not expand nor fill the child widget.
Fixes: NB#108265 (Animation banner not properly centered)
|
|
* hildon/hildon-banner.c: Remove leftover macro.
|
|
* hildon/hildon-banner.c
(hildon_banner_realize, +hildon_banner_unrealize)
(+screen_size_changed, hildon_banner_class_init):
Redisplay the banner if the screen is rotated.
Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
on transition from landscape to portrait)
|
|
* hildon/hildon-banner.[ch]:
(hildon_banner_show_information_override_dnd): remove icon_name from the
method definition as it is ignored.
* examples/hildon-banner-dnd-example.c: updated with the change on
hildon-banner.h API
|
|
* hildon/hildon-banner-private.h: new require_override_dnd and
overrides_dnd variables
* hildon/hildon-banner.h:
(hildon_banner_show_information_override_dnd): new method, that shows
the information but sets the override flag, in order to show important
messages
* hildon/hildon-banner.c
(hildon_banner_show_information_override_dnd): new method
(hildon_banner_set_override_flag): new utility function
(hildon_banner_real_show_information): new utility function, in order to
generalize the current hildon_banner_show_information_override_dnd and
hildon_banner_show_information_override_dnd
* examples/Makefile.am
* examples/hildon-banner-dnd-example.c: New example that show how to
use the new hildon_banner_show_information_override_dnd
Fixes: NB#114874 (There is no possibility to show hildon banners with
DND flag set)
|
|
Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
* hildon/hildon-banner.c (hildon_banner_destroy)
(hildon_banner_show_progress, hildon_banner_set_fraction):
Remove the progress bar from HildonBanner and use a progress
indicator instead.
Fixes: NB#113761 (Update progress banner to use progress
indicator)
|
|
* hildon/hildon-banner.c:
Calculate size of the banner label using the actual screen width
rather than using a fixed value.
Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
is truncated)
|
|
* src/
* Makefile.am
* configure.ac
* doc/Makefile.am
* doc/hildon.types
* po/POTFILES.in:
Renamed src/ to hildon/
* examples/*.c
* debian/changelog
* debian/rules:
Include <hildon/hildon.h> directly in all examples.
|