[gnome-tweak-tool/wip/pwood/app-chooser: 2/11] AppChooser: Include matching running apps when filtering



commit ec982a9f41e6c30a9359f190ca9974cc67db39b2
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Mon Mar 30 14:41:02 2015 +0100

    AppChooser: Include matching running apps when filtering
    
    Running apps have two labels so match against both of them rather than
    failing if the first doesn't match. This ensures that any apps that
    match and are running get included in the filtered list.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747983

 gtweak/tweaks/tweak_group_startup.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_startup.py b/gtweak/tweaks/tweak_group_startup.py
index b4fc3ca..7230124 100644
--- a/gtweak/tweaks/tweak_group_startup.py
+++ b/gtweak/tweaks/tweak_group_startup.py
@@ -133,7 +133,6 @@ class _AppChooser(Gtk.Dialog):
           if type(sib) == Gtk.Label:
               if txt in sib.get_text().lower():
                   return True
-              return False
       return False
 
     def _on_key_press(self, widget, event):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]