This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.

commit 19ac2ea19e589aa6327f04e027b7a625f1b35d60
Author: Simon Steinbeiss <[email protected]>
Date:   Thu May 12 19:02:29 2016 +0200

    Make the panel icon symbolic
    
    This way the color is good on any panel bg color
---
 panel-plugin/main-panel-plugin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/main-panel-plugin.c b/panel-plugin/main-panel-plugin.c
index 341211e..e180016 100644
--- a/panel-plugin/main-panel-plugin.c
+++ b/panel-plugin/main-panel-plugin.c
@@ -74,13 +74,13 @@ panel_plugin_register (XfcePanelPlugin *panel_plugin)
 
   /* Panel Button */
   plugin->button = xfce_panel_create_toggle_button ();
-  if (gtk_icon_theme_has_icon (icon_theme, "clipman"))
+  if (gtk_icon_theme_has_icon (icon_theme, "clipman-symbolic"))
     {
-      plugin->image = xfce_panel_image_new_from_source ("clipman");
+      plugin->image = gtk_image_new_from_icon_name ("clipman-symbolic", 
GTK_ICON_SIZE_MENU);
     }
   else
     {
-      plugin->image = xfce_panel_image_new_from_source ("edit-paste");
+      plugin->image = gtk_image_new_from_icon_name ("edit-paste-symbolic", 
GTK_ICON_SIZE_MENU);
     }
   gtk_container_add (GTK_CONTAINER (plugin->button), plugin->image);
   gtk_container_add (GTK_CONTAINER (panel_plugin), plugin->button);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to