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



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

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

        * plugins/open-tran/open-tran-panel.c:
        * plugins/open-tran/inkscape.png:
        * plugins/open-tran/Makefile.am:
        Added inkscape.

Added:
   trunk/plugins/open-tran/inkscape.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:42:45 2008
@@ -40,7 +40,8 @@
         debian.png \
 	open-tran.png \
 	suse.png \
-	xfce.png
+	xfce.png \
+	inkscape.png
 
 # Plugin Info
 

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

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:42:45 2008
@@ -45,6 +45,7 @@
 #define DEBIAN_ICON  PIXMAPSDIR"/debian.png"
 #define SUSE_ICON    PIXMAPSDIR"/suse.png"
 #define XFCE_ICON    PIXMAPSDIR"/xfce.png"
+#define INKSCAPE_ICON PIXMAPSDIR"/inkscape.png"
 
 GTR_PLUGIN_DEFINE_TYPE(GtranslatorOpenTranPanel, gtranslator_open_tran_panel, GTK_TYPE_VBOX)
 
@@ -129,7 +130,7 @@
 	if (G_VALUE_HOLDS_STRING (value))
 	{
 		str = g_value_get_string (value);
-		
+
 		if (strcmp ("GNOME", str) == 0)
 			icon = create_pixbuf (GNOME_ICON);
 		else if (strcmp ("KDE", str) == 0)
@@ -142,6 +143,8 @@
 			icon = create_pixbuf (SUSE_ICON);
 		else if (strcmp ("XFCE", str) == 0)
 			icon = create_pixbuf (XFCE_ICON);
+		else if (strcmp ("Inkscape", str) == 0)
+			icon = create_pixbuf (INKSCAPE_ICON);
 		else icon = NULL;
 		
 		gtk_list_store_append(panel->priv->store, &iter);



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