Permalink
Browse files

Searching by filename should be case-insensitive by default

  • Loading branch information...
1 parent 39bedc4 commit 5c8858bf6513863b0b09eab2a445bcf60646ba0b @rhizome rhizome committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 snapopen/__init__.py
View
2 snapopen/__init__.py
@@ -117,7 +117,7 @@ def on_pattern_entry( self, widget, event ):
filefilter = ""
if len(pattern) > 0:
# To search by name
- cmd = "grep -m %d -e '%s' %s 2> /dev/null" % (max_result, pattern, self._tmpfile)
+ cmd = "grep -i -m %d -e '%s' %s 2> /dev/null" % (max_result, pattern, self._tmpfile)
self._snapopen_window.set_title("Searching ... ")
else:
self._snapopen_window.set_title("Enter pattern ... ")

0 comments on commit 5c8858b

Please sign in to comment.