diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-04-13 22:02:53 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-04-19 17:55:58 +0800 |
commit | f9d98f63fe3eaf8b3871df629445343c59d6da76 (patch) | |
tree | 3fe38ba837ab8ed8b8ffcaeb95d858aea3c5d9d9 /src/empathy-map-view.c | |
parent | 6a00d34eec703d3c3044e7471dd2c8e370e145c9 (diff) | |
download | gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.gz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.bz2 gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.lz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.xz gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.tar.zst gsoc2013-empathy-f9d98f63fe3eaf8b3871df629445343c59d6da76.zip |
Replace EphySpinner by GtkSpinner
Fixes bug #598446
Diffstat (limited to 'src/empathy-map-view.c')
-rw-r--r-- | src/empathy-map-view.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c index 2996a6146..52b071ee4 100644 --- a/src/empathy-map-view.c +++ b/src/empathy-map-view.c @@ -41,7 +41,6 @@ #include <libempathy-gtk/empathy-ui-utils.h> #include "empathy-map-view.h" -#include "ephy-spinner.h" #define DEBUG_FLAG EMPATHY_DEBUG_LOCATION #include <libempathy/empathy-debug.h> @@ -70,9 +69,15 @@ map_view_state_changed (ChamplainView *view, g_object_get (G_OBJECT (view), "state", &state, NULL); if (state == CHAMPLAIN_STATE_LOADING) - ephy_spinner_start (EPHY_SPINNER (window->throbber)); + { + gtk_spinner_start (GTK_SPINNER (window->throbber)); + gtk_widget_show (window->throbber); + } else - ephy_spinner_stop (EPHY_SPINNER (window->throbber)); + { + gtk_spinner_stop (GTK_SPINNER (window->throbber)); + gtk_widget_hide (window->throbber); + } } static gboolean @@ -434,10 +439,8 @@ empathy_map_view_show (void) window->members_changed_id = g_signal_connect (window->contact_list, "members-changed", G_CALLBACK (members_changed_cb), window); - window->throbber = ephy_spinner_new (); - ephy_spinner_set_size (EPHY_SPINNER (window->throbber), - GTK_ICON_SIZE_LARGE_TOOLBAR); - gtk_widget_show (window->throbber); + window->throbber = gtk_spinner_new (); + gtk_widget_set_size_request (window->throbber, 16, 16); gtk_container_add (GTK_CONTAINER (throbber_holder), window->throbber); /* Set up map view */ |