aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-fullscreen-popup.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-10-10 21:46:25 +0800
committerXan Lopez <xan@gnome.org>2010-10-10 21:46:25 +0800
commit2ca51b4db7d1df89873cfd79875e7f69625cf867 (patch)
tree5b34cd5d726838036fbee0f77eef2da1d6b5745a /src/ephy-fullscreen-popup.c
parent2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d (diff)
downloadgsoc2013-epiphany-2ca51b4db7d1df89873cfd79875e7f69625cf867.tar.gz
gsoc2013-epiphany-2ca51b4db7d1df89873cfd79875e7f69625cf867.tar.zst
gsoc2013-epiphany-2ca51b4db7d1df89873cfd79875e7f69625cf867.zip
Revert "Port to GtkSpinner"
This reverts commit 98811918bc8c5065eb4b21feb35c9f4def67341f. Accidentally committed.
Diffstat (limited to 'src/ephy-fullscreen-popup.c')
-rw-r--r--src/ephy-fullscreen-popup.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c
index 4ed7a8247..af1024928 100644
--- a/src/ephy-fullscreen-popup.c
+++ b/src/ephy-fullscreen-popup.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "ephy-fullscreen-popup.h"
+#include "ephy-spinner.h"
#include "ephy-debug.h"
#include <glib/gi18n.h>
@@ -33,7 +34,7 @@ struct _EphyFullscreenPopupPrivate
{
EphyWindow *window;
GtkWidget *frame;
- GtkWidget *spinner;
+ EphySpinner *spinner;
GtkWidget *lock;
GtkWidget *lock_ebox;
GtkWidget *button;
@@ -103,12 +104,11 @@ ephy_fullscreen_popup_update_spinner (EphyFullscreenPopup *popup)
if (priv->spinning && gtk_widget_get_visible (GTK_WIDGET (popup)))
{
- gtk_spinner_start (GTK_SPINNER (priv->spinner));
+ ephy_spinner_start (priv->spinner);
}
else
{
- gtk_spinner_stop (GTK_SPINNER (priv->spinner));
- gtk_spinner_reset (GTK_SPINNER (priv->spinner));
+ ephy_spinner_stop (priv->spinner);
}
}
@@ -245,7 +245,8 @@ ephy_fullscreen_popup_constructor (GType type,
gtk_widget_show (frame_hbox);
/* add spinner */
- priv->spinner = gtk_spinner_new ();
+ priv->spinner = EPHY_SPINNER (ephy_spinner_new ());
+ ephy_spinner_set_size (EPHY_SPINNER (priv->spinner), GTK_ICON_SIZE_BUTTON);
gtk_box_pack_start (GTK_BOX (frame_hbox), GTK_WIDGET (priv->spinner), FALSE, FALSE, 0);
/* lock */