Skip to content

Commit

Permalink
bugfix: filter overshadowed renamed to local filteru
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusintuivo committed Jul 10, 2020
1 parent 15e597b commit 31c383b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions guake/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,16 @@ def run(self):
if not selection:
return
selection = selection.rstrip()
filter = Gtk.FileFilter()
filter.set_name(_("All files"))
filter.add_pattern("*")
self.add_filter(filter)

filter = Gtk.FileFilter()
filter.set_name(_("Text and Logs"))
filter.add_pattern("*.log")
filter.add_pattern("*.txt")
self.add_filter(filter)
filteru = Gtk.FileFilter()
filteru.set_name(_("All files"))
filteru.add_pattern("*")
self.add_filter(filteru)

filteru = Gtk.FileFilter()
filteru.set_name(_("Text and Logs"))
filteru.add_pattern("*.log")
filteru.add_pattern("*.txt")
self.add_filter(filteru)

response = super().run()
if response == Gtk.ResponseType.OK:
Expand Down

0 comments on commit 31c383b

Please sign in to comment.