[Goodies-commits] r7279 - in xfce4-clipman-plugin/trunk: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Thu Apr 23 09:49:16 CEST 2009
Author: mmassonnet
Date: 2009-04-23 07:49:16 +0000 (Thu, 23 Apr 2009)
New Revision: 7279
Modified:
xfce4-clipman-plugin/trunk/ChangeLog
xfce4-clipman-plugin/trunk/panel-plugin/main.c
Log:
Use stock item for the main icon
Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog 2009-04-23 06:39:52 UTC (rev 7278)
+++ xfce4-clipman-plugin/trunk/ChangeLog 2009-04-23 07:49:16 UTC (rev 7279)
@@ -1,4 +1,11 @@
2009-04-23 Mike Massonnet
+Use stock item for the main icon
+
+ - panel-plugin/main.c(cb_status_icon_set_size),
+ panel-plugin/main.c(panel_plugin_set_size):
+ Use stock icon paste to fit the user icon theme.
+
+2009-04-23 Mike Massonnet
Yet another GMarkup fix
2009-04-22 Mike Massonnet
Modified: xfce4-clipman-plugin/trunk/panel-plugin/main.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-23 06:39:52 UTC (rev 7278)
+++ xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-23 07:49:16 UTC (rev 7279)
@@ -368,9 +368,7 @@
{
GdkPixbuf *pixbuf;
- pixbuf = xfce_themed_icon_load ("xfce4-clipman-plugin", size);
- if (pixbuf == NULL)
- pixbuf = xfce_themed_icon_load (GTK_STOCK_PASTE, size);
+ pixbuf = xfce_themed_icon_load (GTK_STOCK_PASTE, size);
gtk_status_icon_set_from_pixbuf (plugin->status_icon, pixbuf);
g_object_unref (G_OBJECT (pixbuf));
@@ -484,9 +482,7 @@
size -= 2 + 2 * MAX (plugin->button->style->xthickness,
plugin->button->style->ythickness);
- pixbuf = xfce_themed_icon_load ("xfce4-clipman-plugin", size);
- if (pixbuf == NULL)
- pixbuf = xfce_themed_icon_load (GTK_STOCK_PASTE, size);
+ pixbuf = xfce_themed_icon_load (GTK_STOCK_PASTE, size);
gtk_image_set_from_pixbuf (GTK_IMAGE (plugin->image), pixbuf);
g_object_unref (G_OBJECT (pixbuf));
More information about the Goodies-commits
mailing list