Disabled quick-search

master
Yevgen Muntyan 2006-06-09 20:51:43 -05:00
parent 8325a20d43
commit cfc12b454e
2 changed files with 12 additions and 12 deletions

View File

@ -631,16 +631,16 @@ moo_edit_window_class_init (MooEditWindowClass *klass)
"condition::visible", "has-open-document",
NULL);
moo_window_class_new_action (window_class, "QuickSearch",
"display-name", "Quick Search",
"label", "Quick Search",
"tooltip", "Quick search",
"stock-id", GTK_STOCK_FIND,
"accel", "<ctrl>slash",
"closure-callback", moo_text_view_start_quick_search,
"closure-proxy-func", moo_edit_window_get_active_doc,
"condition::sensitive", "has-open-document",
NULL);
// moo_window_class_new_action (window_class, "QuickSearch",
// "display-name", "Quick Search",
// "label", "Quick Search",
// "tooltip", "Quick search",
// "stock-id", GTK_STOCK_FIND,
// "accel", "<ctrl>slash",
// "closure-callback", moo_text_view_start_quick_search,
// "closure-proxy-func", moo_edit_window_get_active_doc,
// "condition::sensitive", "has-open-document",
// NULL);
moo_window_class_new_action (window_class, "Comment",
"display-name", "Comment",

View File

@ -611,8 +611,8 @@ static void moo_text_view_class_init (MooTextViewClass *klass)
"undo", 0);
gtk_binding_entry_add_signal (binding_set, GDK_z, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"redo", 0);
gtk_binding_entry_add_signal (binding_set, GDK_slash, GDK_CONTROL_MASK,
"start-quick-search", 0);
// gtk_binding_entry_add_signal (binding_set, GDK_slash, GDK_CONTROL_MASK,
// "start-quick-search", 0);
}