[Xfce4-commits] thunar:nick/gseal+clean Use a GtkSpinner instead of the ThunarThrobber.

2012-09-16 Thread Nick Schermer
Updating branch refs/heads/nick/gseal+clean
 to d97c66f4396de4b5d9d6a4bed4f6e21d54f25860 (commit)
   from 0bf9ab24e8a4cb578bd24d80d67de97ff06755cf (commit)

commit d97c66f4396de4b5d9d6a4bed4f6e21d54f25860
Author: Nick Schermer n...@xfce.org
Date:   Fri May 25 20:18:19 2012 +0200

Use a GtkSpinner instead of the ThunarThrobber.

This is a new widget since 2.20, so we can use it. In Gtk3
this widget also has a special rendering class in the
theme engine.

 .gitignore  |1 -
 po/POTFILES.in  |1 -
 thunar/Makefile.am  |9 -
 thunar/thunar-size-label.c  |   39 ++--
 thunar/thunar-throbber-fallback.h   |   31 ---
 thunar/thunar-throbber-fallback.png |  Bin 2713 - 0 bytes
 thunar/thunar-throbber.c|  371 ---
 thunar/thunar-throbber.h|   47 -
 thunar/thunar-window.c  |   16 +-
 9 files changed, 28 insertions(+), 487 deletions(-)

diff --git a/.gitignore b/.gitignore
index 245172f..51fb0b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,7 +107,6 @@ tests/data/.*.swp
 thunar/*.loT
 thunar/.*.swp
 thunar/thunar-fallback-icon.c
-thunar/thunar-throbber-fallback.c
 thunar/thunar-thumbnail-frame.c
 thunar/thunar-thumbnailer-manager-proxy.h
 thunar/thunar-thumbnailer-proxy.h
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 63e17af..751ba59 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -78,7 +78,6 @@ thunar/thunar-statusbar.c
 thunar/thunar-stock.c
 thunar/thunar-templates-action.c
 thunar/thunar-text-renderer.c
-thunar/thunar-throbber.c
 thunar/thunar-thumbnail-cache.c
 thunar/thunar-thumbnailer.c
 thunar/thunar-transfer-job.c
diff --git a/thunar/Makefile.am b/thunar/Makefile.am
index 0f9c198..4065d87 100644
--- a/thunar/Makefile.am
+++ b/thunar/Makefile.am
@@ -195,10 +195,6 @@ thunar_SOURCES =   
\
thunar-templates-action.h   \
thunar-text-renderer.c  \
thunar-text-renderer.h  \
-   thunar-throbber.c   \
-   thunar-throbber.h   \
-   thunar-throbber-fallback.c  \
-   thunar-throbber-fallback.h  \
thunar-thumbnail-cache.c\
thunar-thumbnail-cache.h\
thunar-thumbnailer.c\
@@ -318,7 +314,6 @@ DISTCLEANFILES +=   
\
thunar-shortcuts-pane-ui.h  \
thunar-renamer-dialog-ui.h  \
thunar-standard-view-ui.h   \
-   thunar-throbber-fallback.c  \
thunar-thumbnail-frame.c\
thunar-window-ui.h
 
@@ -331,7 +326,6 @@ BUILT_SOURCES = 
\
thunar-shortcuts-pane-ui.h  \
thunar-renamer-dialog-ui.h  \
thunar-standard-view-ui.h   \
-   thunar-throbber-fallback.c  \
thunar-thumbnail-frame.c\
thunar-window-ui.h
 
@@ -356,9 +350,6 @@ thunar-thumbnail-cache-proxy.h: 
$(srcdir)/thunar-thumbnail-cache-dbus.xml Makefi
)
 endif
 
-thunar-throbber-fallback.c: $(srcdir)/thunar-throbber-fallback.png Makefile
-   $(AM_V_GEN) (echo #include thunar/thunar-throbber-fallback.h  
gdk-pixbuf-csource --extern --raw --stream --name=thunar_throbber_fallback 
$(srcdir)/thunar-throbber-fallback.png)  thunar-throbber-fallback.c
-
 thunar-thumbnail-frame.c: $(srcdir)/thunar-thumbnail-frame.png Makefile
$(AM_V_GEN) (echo #include thunar/thunar-thumbnail-frame.h  
gdk-pixbuf-csource --extern --raw --stream --name=thunar_thumbnail_frame 
$(srcdir)/thunar-thumbnail-frame.png)  thunar-thumbnail-frame.c
 
diff --git a/thunar/thunar-size-label.c b/thunar/thunar-size-label.c
index 3f0c12b..679a256 100644
--- a/thunar/thunar-size-label.c
+++ b/thunar/thunar-size-label.c
@@ -33,7 +33,6 @@
 #include thunar/thunar-gtk-extensions.h
 #include thunar/thunar-private.h
 #include thunar/thunar-size-label.h
-#include thunar/thunar-throbber.h
 #include thunar/thunar-deep-count-job.h
 
 
@@ -88,7 +87,7 @@ struct _ThunarSizeLabel
   GList  *files;
 
   GtkWidget  *label;
-  GtkWidget  *throbber;
+  GtkWidget  *spinner;
 };
 
 
@@ -132,17 +131,19 @@ thunar_size_label_init (ThunarSizeLabel 

[Xfce4-commits] thunar:nick/gseal+clean Use a GtkSpinner instead of the ThunarThrobber.

2012-05-25 Thread Nick Schermer
Updating branch refs/heads/nick/gseal+clean
 to 75b5865b42ee6988a4012b1c89a75fba9766e04e (commit)
   from 268e8303540e9268e90e2c9532a4eea86bcfa673 (commit)

commit 75b5865b42ee6988a4012b1c89a75fba9766e04e
Author: Nick Schermer n...@xfce.org
Date:   Fri May 25 20:18:19 2012 +0200

Use a GtkSpinner instead of the ThunarThrobber.

This is a new widget since 2.20, so we can use it. In Gtk3
this widget also has a special rendering class in the
theme engine.

 .gitignore  |1 -
 po/POTFILES.in  |1 -
 thunar/Makefile.am  |9 -
 thunar/thunar-size-label.c  |   46 +++---
 thunar/thunar-throbber-fallback.h   |   31 ---
 thunar/thunar-throbber-fallback.png |  Bin 2713 - 0 bytes
 thunar/thunar-throbber.c|  371 ---
 thunar/thunar-throbber.h|   47 -
 thunar/thunar-window.c  |   16 +-
 9 files changed, 31 insertions(+), 491 deletions(-)

diff --git a/.gitignore b/.gitignore
index 245172f..51fb0b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,7 +107,6 @@ tests/data/.*.swp
 thunar/*.loT
 thunar/.*.swp
 thunar/thunar-fallback-icon.c
-thunar/thunar-throbber-fallback.c
 thunar/thunar-thumbnail-frame.c
 thunar/thunar-thumbnailer-manager-proxy.h
 thunar/thunar-thumbnailer-proxy.h
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 63e17af..751ba59 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -78,7 +78,6 @@ thunar/thunar-statusbar.c
 thunar/thunar-stock.c
 thunar/thunar-templates-action.c
 thunar/thunar-text-renderer.c
-thunar/thunar-throbber.c
 thunar/thunar-thumbnail-cache.c
 thunar/thunar-thumbnailer.c
 thunar/thunar-transfer-job.c
diff --git a/thunar/Makefile.am b/thunar/Makefile.am
index 0f9c198..4065d87 100644
--- a/thunar/Makefile.am
+++ b/thunar/Makefile.am
@@ -195,10 +195,6 @@ thunar_SOURCES =   
\
thunar-templates-action.h   \
thunar-text-renderer.c  \
thunar-text-renderer.h  \
-   thunar-throbber.c   \
-   thunar-throbber.h   \
-   thunar-throbber-fallback.c  \
-   thunar-throbber-fallback.h  \
thunar-thumbnail-cache.c\
thunar-thumbnail-cache.h\
thunar-thumbnailer.c\
@@ -318,7 +314,6 @@ DISTCLEANFILES +=   
\
thunar-shortcuts-pane-ui.h  \
thunar-renamer-dialog-ui.h  \
thunar-standard-view-ui.h   \
-   thunar-throbber-fallback.c  \
thunar-thumbnail-frame.c\
thunar-window-ui.h
 
@@ -331,7 +326,6 @@ BUILT_SOURCES = 
\
thunar-shortcuts-pane-ui.h  \
thunar-renamer-dialog-ui.h  \
thunar-standard-view-ui.h   \
-   thunar-throbber-fallback.c  \
thunar-thumbnail-frame.c\
thunar-window-ui.h
 
@@ -356,9 +350,6 @@ thunar-thumbnail-cache-proxy.h: 
$(srcdir)/thunar-thumbnail-cache-dbus.xml Makefi
)
 endif
 
-thunar-throbber-fallback.c: $(srcdir)/thunar-throbber-fallback.png Makefile
-   $(AM_V_GEN) (echo #include thunar/thunar-throbber-fallback.h  
gdk-pixbuf-csource --extern --raw --stream --name=thunar_throbber_fallback 
$(srcdir)/thunar-throbber-fallback.png)  thunar-throbber-fallback.c
-
 thunar-thumbnail-frame.c: $(srcdir)/thunar-thumbnail-frame.png Makefile
$(AM_V_GEN) (echo #include thunar/thunar-thumbnail-frame.h  
gdk-pixbuf-csource --extern --raw --stream --name=thunar_thumbnail_frame 
$(srcdir)/thunar-thumbnail-frame.png)  thunar-thumbnail-frame.c
 
diff --git a/thunar/thunar-size-label.c b/thunar/thunar-size-label.c
index c83758e..ad83e13 100644
--- a/thunar/thunar-size-label.c
+++ b/thunar/thunar-size-label.c
@@ -32,7 +32,6 @@
 #include thunar/thunar-gtk-extensions.h
 #include thunar/thunar-private.h
 #include thunar/thunar-size-label.h
-#include thunar/thunar-throbber.h
 #include thunar/thunar-deep-count-job.h
 
 
@@ -90,9 +89,9 @@ struct _ThunarSizeLabel
   ThunarFile *file;
 
   GtkWidget  *label;
-  GtkWidget  *throbber;
+  GtkWidget  *spinner;
 
-  /* the throbber animation is started after a timeout */
+  /* the