gtranslator r3648 - in trunk: . plugins/open-tran



Author: icq
Date: Mon Sep 22 09:40:54 2008
New Revision: 3648
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3648&view=rev

Log:
2008-08-04  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * plugins/open-tran/xfce.png:
        * plugins/open-tran/open-tran-panel.c:
        Added xfce icon.

Added:
   trunk/plugins/open-tran/xfce.png
Modified:
   trunk/ChangeLog
   trunk/plugins/open-tran/Makefile.am
   trunk/plugins/open-tran/open-tran-panel.c

Modified: trunk/plugins/open-tran/Makefile.am
==============================================================================
--- trunk/plugins/open-tran/Makefile.am	(original)
+++ trunk/plugins/open-tran/Makefile.am	Mon Sep 22 09:40:54 2008
@@ -39,7 +39,8 @@
         mozilla.png \
         debian.png \
 	open-tran.png \
-	suse.png
+	suse.png \
+	xfce.png
 
 # Plugin Info
 

Modified: trunk/plugins/open-tran/open-tran-panel.c
==============================================================================
--- trunk/plugins/open-tran/open-tran-panel.c	(original)
+++ trunk/plugins/open-tran/open-tran-panel.c	Mon Sep 22 09:40:54 2008
@@ -44,6 +44,7 @@
 #define MOZILLA_ICON PIXMAPSDIR"/mozilla.png"
 #define DEBIAN_ICON  PIXMAPSDIR"/debian.png"
 #define SUSE_ICON    PIXMAPSDIR"/suse.png"
+#define XFCE_ICON    PIXMAPSDIR"/xfce.png"
 
 GTR_PLUGIN_DEFINE_TYPE(GtranslatorOpenTranPanel, gtranslator_open_tran_panel, GTK_TYPE_VBOX)
 
@@ -139,6 +140,8 @@
 			icon = create_pixbuf (DEBIAN_ICON);
 		else if (strcmp ("SUSE", str) == 0)
 			icon = create_pixbuf (SUSE_ICON);
+		else if (strcmp ("XFCE", str) == 0)
+			icon = create_pixbuf (XFCE_ICON);
 		else icon = NULL;
 		
 		gtk_list_store_append(panel->priv->store, &iter);

Added: trunk/plugins/open-tran/xfce.png
==============================================================================
Binary files (empty file) and trunk/plugins/open-tran/xfce.png	Mon Sep 22 09:40:54 2008 differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]