diff options
author | Xan Lopez <xan@gnome.org> | 2009-11-02 18:10:40 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-10-09 20:29:58 +0800 |
commit | 98811918bc8c5065eb4b21feb35c9f4def67341f (patch) | |
tree | 9956d25fb9f2f815e1bd3f989540a079682adb4f /src/ephy-fullscreen-popup.c | |
parent | bc0b1a4e87b6294a31a812a69bfbde1ae934be21 (diff) | |
download | gsoc2013-epiphany-98811918bc8c5065eb4b21feb35c9f4def67341f.tar.gz gsoc2013-epiphany-98811918bc8c5065eb4b21feb35c9f4def67341f.tar.zst gsoc2013-epiphany-98811918bc8c5065eb4b21feb35c9f4def67341f.zip |
Port to GtkSpinner
https://bugzilla.gnome.org/show_bug.cgi?id=598442
Diffstat (limited to 'src/ephy-fullscreen-popup.c')
-rw-r--r-- | src/ephy-fullscreen-popup.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index af1024928..4ed7a8247 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -21,7 +21,6 @@ #include "config.h" #include "ephy-fullscreen-popup.h" -#include "ephy-spinner.h" #include "ephy-debug.h" #include <glib/gi18n.h> @@ -34,7 +33,7 @@ struct _EphyFullscreenPopupPrivate { EphyWindow *window; GtkWidget *frame; - EphySpinner *spinner; + GtkWidget *spinner; GtkWidget *lock; GtkWidget *lock_ebox; GtkWidget *button; @@ -104,11 +103,12 @@ ephy_fullscreen_popup_update_spinner (EphyFullscreenPopup *popup) if (priv->spinning && gtk_widget_get_visible (GTK_WIDGET (popup))) { - ephy_spinner_start (priv->spinner); + gtk_spinner_start (GTK_SPINNER (priv->spinner)); } else { - ephy_spinner_stop (priv->spinner); + gtk_spinner_stop (GTK_SPINNER (priv->spinner)); + gtk_spinner_reset (GTK_SPINNER (priv->spinner)); } } @@ -245,8 +245,7 @@ ephy_fullscreen_popup_constructor (GType type, gtk_widget_show (frame_hbox); /* add spinner */ - priv->spinner = EPHY_SPINNER (ephy_spinner_new ()); - ephy_spinner_set_size (EPHY_SPINNER (priv->spinner), GTK_ICON_SIZE_BUTTON); + priv->spinner = gtk_spinner_new (); gtk_box_pack_start (GTK_BOX (frame_hbox), GTK_WIDGET (priv->spinner), FALSE, FALSE, 0); /* lock */ |