Missing search input field fixed (Fixes #25)
This commit is contained in:
@@ -1800,9 +1800,9 @@ get_ylabel set_ylabel"""
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if response_id == -1:
|
if response_id == -1:
|
||||||
match_start, match_end = startiter.backward_search(searchstring, gtk.TEXT_SEARCH_TEXT_ONLY)
|
match_start, match_end = startiter.backward_search(searchstring, gtk.TextSearchFlags.TEXT_ONLY)
|
||||||
elif response_id == 1:
|
elif response_id == 1:
|
||||||
match_start, match_end = enditer.forward_search(searchstring, gtk.TEXT_SEARCH_TEXT_ONLY)
|
match_start, match_end = enditer.forward_search(searchstring, gtk.TextSearchFlags.TEXT_ONLY)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -1859,7 +1859,7 @@ get_ylabel set_ylabel"""
|
|||||||
dialog.connect("response", response, self, textbox)
|
dialog.connect("response", response, self, textbox)
|
||||||
dialog.set_resizable(False)
|
dialog.set_resizable(False)
|
||||||
|
|
||||||
dialog.show()
|
dialog.show_all()
|
||||||
|
|
||||||
if startit is not None and endit is not None:
|
if startit is not None and endit is not None:
|
||||||
if current_page == 0:
|
if current_page == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user