[Xfce4-commits] [apps/catfish] 01/01: Fix opening directories without XDG_CURRENT_DESKTOP (bug #15099)

noreply at xfce.org noreply at xfce.org
Wed Mar 6 02:22:25 CET 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 95d50b285245a1814a4fbd86ea3ee235eda545a9
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Mar 5 20:22:18 2019 -0500

    Fix opening directories without XDG_CURRENT_DESKTOP (bug #15099)
---
 catfish/CatfishWindow.py |  2 +-
 po/catfish.pot           | 34 +++++++++++++++++-----------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/catfish/CatfishWindow.py b/catfish/CatfishWindow.py
index 7acdb48..0ec14c9 100644
--- a/catfish/CatfishWindow.py
+++ b/catfish/CatfishWindow.py
@@ -945,7 +945,7 @@ class CatfishWindow(Window):
         if filename.endswith('.AppImage') and os.access(filename, os.X_OK):
             command = [filename]
         elif os.path.isdir(filename) and \
-                os.environ.get("XDG_CURRENT_DESKTOP").lower() == 'xfce':
+                os.environ.get("XDG_CURRENT_DESKTOP", "").lower() == 'xfce':
             command = ['exo-open', '--launch', 'FileManager', filename]
         else:
             command = ['xdg-open', filename]
diff --git a/po/catfish.pot b/po/catfish.pot
index 8651114..4ee059e 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-01-27 21:24-0500\n"
+"POT-Creation-Date: 2019-03-05 20:20-0500\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"
@@ -167,62 +167,62 @@ msgid "Select a Directory"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:33
-msgid "Compact List"
+msgid "Search for files"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:34
-msgid "Thumbnails"
+msgid "Compact List"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:35
-msgid "Show _Hidden Files"
+msgid "Thumbnails"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:36
-msgid "Search File _Contents"
+msgid "Show _Hidden Files"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:37
-msgid "_Exact Match"
+msgid "Search File _Contents"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:38
-msgid "Show _Sidebar"
+msgid "_Exact Match"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:39
-msgid "_Update Search Index…"
+msgid "Show _Sidebar"
 msgstr ""
 
 #: ../data/ui/CatfishWindow.ui.h:40
-msgid "_About"
+msgid "_Update Search Index…"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:1071
-msgid "Search for files"
+#: ../data/ui/CatfishWindow.ui.h:41
+msgid "_About"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:41
+#: ../data/ui/CatfishWindow.ui.h:42
 msgid "Update Search Database"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:42
+#: ../data/ui/CatfishWindow.ui.h:43
 msgid "Unlock"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:43
+#: ../data/ui/CatfishWindow.ui.h:44
 msgid "<b>Database:</b>"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:44
+#: ../data/ui/CatfishWindow.ui.h:45
 msgid "<b>Updated:</b>"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:45
+#: ../data/ui/CatfishWindow.ui.h:46
 msgid "<big><b>Update Search Database</b></big>"
 msgstr ""
 
-#: ../data/ui/CatfishWindow.ui.h:46
+#: ../data/ui/CatfishWindow.ui.h:47
 msgid ""
 "For faster search results, the search database needs to be refreshed.\n"
 "This action requires administrative rights."

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list