aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-04-20 14:03:09 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-04-20 14:03:09 +0800
commitba064da784cd29692e0db6d4560c7e7a8c68aeeb (patch)
treeb9d7688ac623557817eecac6f0e1ce10cca1efcf /widgets/misc
parent012597c56eb6788247cb836f94518a3b8de0b0f7 (diff)
downloadgsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar.gz
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar.bz2
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar.lz
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar.xz
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.tar.zst
gsoc2013-evolution-ba064da784cd29692e0db6d4560c7e7a8c68aeeb.zip
Experiment spinner for status bar.
svn path=/trunk/; revision=33439
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-task-widget.c16
2 files changed, 15 insertions, 6 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 2c2f245a68..0967a13162 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-20 Srinivasa Ragavan <sragavan@novell.com>
+
+ * e-task-widget.c: (e_task_widget_construct): Show spinner instead of
+ the component icon.
+
2007-04-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #429422
diff --git a/widgets/misc/e-task-widget.c b/widgets/misc/e-task-widget.c
index d0f52f9191..2bc29ef5e7 100644
--- a/widgets/misc/e-task-widget.c
+++ b/widgets/misc/e-task-widget.c
@@ -148,12 +148,16 @@ e_task_widget_construct (ETaskWidget *task_widget,
gtk_widget_show (box);
gtk_widget_set_size_request (box, 1, -1);
+
+ /* FIXME: Experimenting Spinner widget instead of an image. REWORK THIS */
+ /* priv->icon_pixbuf = g_object_ref (icon_pixbuf); */
- priv->icon_pixbuf = g_object_ref (icon_pixbuf);
-
- gdk_pixbuf_render_pixmap_and_mask (icon_pixbuf, &pixmap, &mask, 128);
+ /* gdk_pixbuf_render_pixmap_and_mask (icon_pixbuf, &pixmap, &mask, 128); */
- priv->image = gtk_image_new_from_pixmap (pixmap, mask);
+ priv->image = e_spinner_new ();
+ e_spinner_set_size (priv->image, GTK_ICON_SIZE_SMALL_TOOLBAR);
+ e_spinner_start (priv->image);
+ /* gtk_image_new_from_pixmap (pixmap, mask); */
gtk_widget_show (priv->image);
gtk_box_pack_start (GTK_BOX (box), priv->image, FALSE, TRUE, 0);
@@ -162,9 +166,9 @@ e_task_widget_construct (ETaskWidget *task_widget,
gtk_widget_show (priv->label);
gtk_box_pack_start (GTK_BOX (box), priv->label, TRUE, TRUE, 0);
- g_object_unref (pixmap);
+ /* g_object_unref (pixmap);
if (mask)
- g_object_unref (mask);
+ g_object_unref (mask); */
priv->tooltips = gtk_tooltips_new ();
g_object_ref_sink (priv->tooltips);