[Xfce4-commits] [apps/catfish] 01/01: Decode results of xdg-mime query
noreply at xfce.org
noreply at xfce.org
Mon Jul 22 22:50:06 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/catfish.
commit f26bb48c324ceace52bb0628004cfdec0125c455
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Mon Jul 22 16:50:01 2019 -0400
Decode results of xdg-mime query
---
catfish/CatfishWindow.py | 1 +
po/catfish.pot | 50 ++++++++++++++++++++++++------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/catfish/CatfishWindow.py b/catfish/CatfishWindow.py
index 30e84ce..fadafb7 100644
--- a/catfish/CatfishWindow.py
+++ b/catfish/CatfishWindow.py
@@ -1005,6 +1005,7 @@ class CatfishWindow(Window):
return "thunar" in fm.lower()
fm = subprocess.check_output(['xdg-mime','query','default', 'inode/directory'])
+ fm = fm.decode("utf-8", errors="replace")
if "thunar" in fm.lower():
return True
diff --git a/po/catfish.pot b/po/catfish.pot
index 37606cd..cb21f30 100644
--- a/po/catfish.pot
+++ b/po/catfish.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-07-22 16:02-0400\n"
+"POT-Creation-Date: 2019-07-22 16:49-0400\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"
@@ -137,7 +137,7 @@ msgstr ""
msgid "File Type"
msgstr ""
-#: ../data/ui/CatfishWindow.ui.h:27 ../catfish/CatfishWindow.py:1214
+#: ../data/ui/CatfishWindow.ui.h:27 ../catfish/CatfishWindow.py:1215
msgid "Modified"
msgstr ""
@@ -326,109 +326,109 @@ msgstr ""
msgid "Begin Search"
msgstr ""
-#: ../catfish/CatfishWindow.py:1034
+#: ../catfish/CatfishWindow.py:1035
#, python-format
msgid "\"%s\" could not be opened."
msgstr ""
-#: ../catfish/CatfishWindow.py:1086
+#: ../catfish/CatfishWindow.py:1087
#, python-format
msgid "\"%s\" could not be saved."
msgstr ""
-#: ../catfish/CatfishWindow.py:1103
+#: ../catfish/CatfishWindow.py:1104
#, python-format
msgid "\"%s\" could not be deleted."
msgstr ""
-#: ../catfish/CatfishWindow.py:1143
+#: ../catfish/CatfishWindow.py:1144
#, python-format
msgid "Save \"%s\" as..."
msgstr ""
-#: ../catfish/CatfishWindow.py:1178
+#: ../catfish/CatfishWindow.py:1179
#, python-format
msgid ""
"Are you sure that you want to \n"
"permanently delete \"%s\"?"
msgstr ""
-#: ../catfish/CatfishWindow.py:1182
+#: ../catfish/CatfishWindow.py:1183
#, python-format
msgid ""
"Are you sure that you want to \n"
"permanently delete the %i selected files?"
msgstr ""
-#: ../catfish/CatfishWindow.py:1185
+#: ../catfish/CatfishWindow.py:1186
msgid "If you delete a file, it is permanently lost."
msgstr ""
-#: ../catfish/CatfishWindow.py:1208
+#: ../catfish/CatfishWindow.py:1209
msgid "Filename"
msgstr ""
-#: ../catfish/CatfishWindow.py:1210
+#: ../catfish/CatfishWindow.py:1211
msgid "Size"
msgstr ""
-#: ../catfish/CatfishWindow.py:1212
+#: ../catfish/CatfishWindow.py:1213
msgid "Location"
msgstr ""
-#: ../catfish/CatfishWindow.py:1224
+#: ../catfish/CatfishWindow.py:1225
msgid "Preview"
msgstr ""
-#: ../catfish/CatfishWindow.py:1232
+#: ../catfish/CatfishWindow.py:1233
msgid "Details"
msgstr ""
-#: ../catfish/CatfishWindow.py:1455
+#: ../catfish/CatfishWindow.py:1456
msgid "Today"
msgstr ""
-#: ../catfish/CatfishWindow.py:1457
+#: ../catfish/CatfishWindow.py:1458
msgid "Yesterday"
msgstr ""
-#: ../catfish/CatfishWindow.py:1538
+#: ../catfish/CatfishWindow.py:1539
msgid "No files found."
msgstr ""
-#: ../catfish/CatfishWindow.py:1540
+#: ../catfish/CatfishWindow.py:1541
msgid ""
"Try making your search less specific\n"
"or try another directory."
msgstr ""
-#: ../catfish/CatfishWindow.py:1546
+#: ../catfish/CatfishWindow.py:1547
msgid "1 file found."
msgstr ""
-#: ../catfish/CatfishWindow.py:1548
+#: ../catfish/CatfishWindow.py:1549
#, python-format
msgid "%i files found."
msgstr ""
-#: ../catfish/CatfishWindow.py:1554
+#: ../catfish/CatfishWindow.py:1555
msgid "bytes"
msgstr ""
-#: ../catfish/CatfishWindow.py:1662 ../catfish/CatfishWindow.py:1671
+#: ../catfish/CatfishWindow.py:1663 ../catfish/CatfishWindow.py:1672
msgid "Searching..."
msgstr ""
-#: ../catfish/CatfishWindow.py:1664
+#: ../catfish/CatfishWindow.py:1665
msgid "Results will be displayed as soon as they are found."
msgstr ""
-#: ../catfish/CatfishWindow.py:1669
+#: ../catfish/CatfishWindow.py:1670
#, python-format
msgid "Searching for \"%s\""
msgstr ""
-#: ../catfish/CatfishWindow.py:1759
+#: ../catfish/CatfishWindow.py:1760
#, python-format
msgid "Search results for \"%s\""
msgstr ""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list