[gnome-tweak-tool] case-insensitive search



commit 18c44d59e8607f59aa1ea06e8cd2589bfced2484
Author: Alex Muñoz <alexmudoz gmail com>
Date:   Mon Sep 9 06:47:13 2013 -0300

    case-insensitive search

 gtweak/tweakview.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index 75cb15f..945e861 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -184,7 +184,7 @@ class Window(Gtk.ApplicationWindow):
             self.listbox.select_row(row)
 
     def _on_search(self, entry):
-        txt = entry.get_text()
+        txt = entry.get_text().lower()
         tweaks, group = self._model.search_matches(txt)
         self.show_only_tweaks(tweaks)        
         self._on_list_changed(group)


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