[Goodies-commits] r5705 - in thunar-wallpaper-plugin/trunk: . po thunar-wallpaper-plugin

Stephan Arts stephan at xfce.org
Sun Oct 19 13:20:50 CEST 2008


Author: stephan
Date: 2008-10-19 11:20:50 +0000 (Sun, 19 Oct 2008)
New Revision: 5705

Added:
   thunar-wallpaper-plugin/trunk/po/ChangeLog
Modified:
   thunar-wallpaper-plugin/trunk/Makefile.am
   thunar-wallpaper-plugin/trunk/po/thunar-wallpaper-plugin.pot
   thunar-wallpaper-plugin/trunk/thunar-wallpaper-plugin/twp-provider.c
Log:
Add po ChangeLog
Add support for png, svg and svg-compressed images
Fix make distcheck



Modified: thunar-wallpaper-plugin/trunk/Makefile.am
===================================================================
--- thunar-wallpaper-plugin/trunk/Makefile.am	2008-10-19 11:11:09 UTC (rev 5704)
+++ thunar-wallpaper-plugin/trunk/Makefile.am	2008-10-19 11:20:50 UTC (rev 5705)
@@ -1,14 +1,7 @@
 
-SUBDIRS =								\
-	icons								\
+SUBDIRS =							\
+	icons							\
 	po								\
 	thunar-wallpaper-plugin
 
-distclean-local:
-	rm -rf *.spec *.cache *~
-
-rpm: dist
-	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
-	@rm -f $(PACKAGE)-$(VERSION).tar.gz
-
 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake:

Added: thunar-wallpaper-plugin/trunk/po/ChangeLog
===================================================================

Modified: thunar-wallpaper-plugin/trunk/po/thunar-wallpaper-plugin.pot
===================================================================
--- thunar-wallpaper-plugin/trunk/po/thunar-wallpaper-plugin.pot	2008-10-19 11:11:09 UTC (rev 5704)
+++ thunar-wallpaper-plugin/trunk/po/thunar-wallpaper-plugin.pot	2008-10-19 11:20:50 UTC (rev 5705)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-10-18 00:40+0200\n"
+"POT-Creation-Date: 2008-10-19 13:12+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,6 +16,6 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: thunar-wallpaper-plugin/twp-provider.c:155
+#: thunar-wallpaper-plugin/twp-provider.c:172
 msgid "Set as Wallpaper"
 msgstr ""

Modified: thunar-wallpaper-plugin/trunk/thunar-wallpaper-plugin/twp-provider.c
===================================================================
--- thunar-wallpaper-plugin/trunk/thunar-wallpaper-plugin/twp-provider.c	2008-10-19 11:11:09 UTC (rev 5704)
+++ thunar-wallpaper-plugin/trunk/thunar-wallpaper-plugin/twp-provider.c	2008-10-19 11:20:50 UTC (rev 5705)
@@ -165,7 +165,10 @@
 
 		if (!thunarx_file_info_is_directory (files->data))
 		{
-            if (thunarx_file_info_has_mime_type (files->data, "image/jpeg"))
+            if (thunarx_file_info_has_mime_type (files->data, "image/jpeg")
+              ||thunarx_file_info_has_mime_type (files->data, "image/png")
+              ||thunarx_file_info_has_mime_type (files->data, "image/svg+xml")
+              ||thunarx_file_info_has_mime_type (files->data, "image/svg+xml-compressed"))
             {
                 action = g_object_new (GTK_TYPE_ACTION,
                             "name", "Twp::setwallpaper",




More information about the Goodies-commits mailing list