summaryrefslogtreecommitdiff
path: root/src/nautilus-throbber.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-10-18 12:37:48 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-10-18 12:37:48 +0000
commit3545f9b059824077fd84a55b5d54372d7a92ea31 (patch)
tree8cea2752a54b61c36392a4b382e09e41f2ddb178 /src/nautilus-throbber.h
parentd5ab25ca165a29daf385e0fffca9337ff5b8a31a (diff)
downloadnautilus-3545f9b059824077fd84a55b5d54372d7a92ea31.tar.gz
Import ephy spinner and use ad throbber. This supports different icon
2006-10-18 Alexander Larsson <alexl@redhat.com> * src/Makefile.am: * src/ephy-spinner.[ch]: * src/nautilus-throbber.[ch]: Import ephy spinner and use ad throbber. This supports different icon sizes. * src/nautilus-window-toolbars.c: Change throbber size when toolbar size changes.
Diffstat (limited to 'src/nautilus-throbber.h')
-rw-r--r--src/nautilus-throbber.h23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/nautilus-throbber.h b/src/nautilus-throbber.h
index 120db4a0c..22def6da9 100644
--- a/src/nautilus-throbber.h
+++ b/src/nautilus-throbber.h
@@ -28,7 +28,7 @@
#ifndef NAUTILUS_THROBBER_H
#define NAUTILUS_THROBBER_H
-#include <gtk/gtkeventbox.h>
+#include "ephy-spinner.h"
G_BEGIN_DECLS
@@ -38,29 +38,14 @@ G_BEGIN_DECLS
#define NAUTILUS_IS_THROBBER(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_THROBBER))
#define NAUTILUS_IS_THROBBER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_THROBBER))
-typedef struct NautilusThrobber NautilusThrobber;
-typedef struct NautilusThrobberClass NautilusThrobberClass;
-typedef struct NautilusThrobberDetails NautilusThrobberDetails;
-
-struct NautilusThrobber {
- GtkEventBox parent;
- NautilusThrobberDetails *details;
-};
-
-struct NautilusThrobberClass {
- GtkEventBoxClass parent_class;
-
- /* signals */
- void (* location_changed) (NautilusThrobber *throbber,
- const char *location);
-};
+typedef EphySpinner NautilusThrobber;
+typedef EphySpinnerClass NautilusThrobberClass;
GType nautilus_throbber_get_type (void);
GtkWidget *nautilus_throbber_new (void);
void nautilus_throbber_start (NautilusThrobber *throbber);
void nautilus_throbber_stop (NautilusThrobber *throbber);
-void nautilus_throbber_set_small_mode (NautilusThrobber *throbber,
- gboolean new_mode);
+void nautilus_throbber_set_size (NautilusThrobber *throbber, GtkIconSize size);
G_END_DECLS