Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Searching by filename should be case-insensitive by default

  • Loading branch information...
commit 5c8858bf6513863b0b09eab2a445bcf60646ba0b 1 parent 39bedc4
Eric Hill authored June 18, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  snapopen/__init__.py
2  snapopen/__init__.py
@@ -117,7 +117,7 @@ def on_pattern_entry( self, widget, event ):
117 117
             filefilter = ""
118 118
         if len(pattern) > 0:
119 119
             # To search by name
120  
-            cmd = "grep -m %d -e '%s' %s 2> /dev/null" % (max_result, pattern, self._tmpfile)
  120
+            cmd = "grep -i -m %d -e '%s' %s 2> /dev/null" % (max_result, pattern, self._tmpfile)
121 121
             self._snapopen_window.set_title("Searching ... ")
122 122
         else:
123 123
             self._snapopen_window.set_title("Enter pattern ... ")

0 notes on commit 5c8858b

Please sign in to comment.
Something went wrong with that request. Please try again.