[meld] Allow triggering interactive search with Ctrl+F
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Allow triggering interactive search with Ctrl+F
- Date: Thu, 21 Apr 2011 21:44:01 +0000 (UTC)
commit dd896d9d52a57cb24735b207cae247eca88a62ee
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Apr 21 17:39:31 2011 +1000
Allow triggering interactive search with Ctrl+F
meld/vcview.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index 6b9d045..35074e1 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -676,6 +676,9 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
def on_reload_activate(self, *extra):
self.on_fileentry_activate(self.fileentry)
+ def on_find_activate(self, *extra):
+ self.treeview.emit("start-interactive-search")
+
def treeview_search_cb(self, model, column, key, it):
"""Callback function for searching in VcView treeview"""
path = model.get_value(it, tree.COL_PATH)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]