Commit ecc977ad0b6cf058c3c04d540814e6834fb17cb1

Authored by Perry Werneck
1 parent 005b42d1
Exists in master and in 1 other branch develop

Enabling keytable search.

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/dialogs/settings/accelerator.c
... ... @@ -140,6 +140,11 @@
140 140 gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(widget->store),1,GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID);
141 141  
142 142 GtkWidget * view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(widget->store));
  143 +
  144 + gtk_tree_view_set_enable_search(GTK_TREE_VIEW(view),TRUE);
  145 + gtk_tree_view_set_search_column(GTK_TREE_VIEW(view),1);
  146 +
  147 +
143 148 g_signal_connect(G_OBJECT(widget),"realize",G_CALLBACK(realize),view);
144 149  
145 150 gtk_widget_set_tooltip_markup(view,_("Keyboard accelerators"));
... ...