[Xfce4-commits] [apps/catfish] 01/01: Fix crash when Catfish sets multi-select at startup (LP: #1764562)
noreply at xfce.org
noreply at xfce.org
Sun Jan 20 15:44:56 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 0e9c6bb23051079d5473141b6663b0273d7d721c
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Jan 20 09:44:51 2019 -0500
Fix crash when Catfish sets multi-select at startup (LP: #1764562)
---
ChangeLog | 1 +
catfish/CatfishWindow.py | 3 ++-
po/catfish.pot | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d4ed2ac..47a053e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@ v1.4.7:
- Quoted search strings now work as expected (Xfce #14501)
- Files can now be dragged into other applications (Xfce #14492)
- The file context menu can now be opened multiple times (Xfce #14621)
+ - Fix crash when Catfish sets multi-select at startup (LP: #1764562)
+ Translation Updates:
- Belarusian, Bulgarian, Catalan, Chinese (China), Chinese (Taiwan),
Croatian, Czech, Danish, Dutch, English (Australia), French, Galician,
diff --git a/catfish/CatfishWindow.py b/catfish/CatfishWindow.py
index 873b020..b205a43 100644
--- a/catfish/CatfishWindow.py
+++ b/catfish/CatfishWindow.py
@@ -1612,7 +1612,8 @@ class CatfishWindow(Window):
# Enable multiple-selection
sel = self.treeview.get_selection()
- sel.set_mode(Gtk.SelectionMode.MULTIPLE)
+ if sel is not None:
+ sel.set_mode(Gtk.SelectionMode.MULTIPLE)
folder = self.folderchooser.get_filename()
diff --git a/po/catfish.pot b/po/catfish.pot
index 7af22c0..61a7563 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-20 08:11-0500\n"
+"POT-Creation-Date: 2019-01-20 09:44-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"
@@ -419,7 +419,7 @@ msgstr ""
msgid "Searching for \"%s\""
msgstr ""
-#: ../catfish/CatfishWindow.py:1677
+#: ../catfish/CatfishWindow.py:1678
#, 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