Fix mnemonic collision
Alt+a is used for mark away in the menus and also highlight all in the search box, change the latter to alt+h. Fixes #1008 https://bugzilla.redhat.com/show_bug.cgi?id=1173082
This commit is contained in:
parent
f7bea16e37
commit
ebe1f824a7
|
@ -2948,7 +2948,7 @@ mg_create_search(session *sess, GtkWidget *box)
|
||||||
gtk_box_pack_start(GTK_BOX(gui->shbox), next, FALSE, FALSE, 0);
|
gtk_box_pack_start(GTK_BOX(gui->shbox), next, FALSE, FALSE, 0);
|
||||||
g_signal_connect(G_OBJECT(next), "clicked", G_CALLBACK(mg_search_handle_next), sess);
|
g_signal_connect(G_OBJECT(next), "clicked", G_CALLBACK(mg_search_handle_next), sess);
|
||||||
|
|
||||||
highlight = gtk_check_button_new_with_mnemonic (_("Highlight _all"));
|
highlight = gtk_check_button_new_with_mnemonic (_("_Highlight all"));
|
||||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(highlight), prefs.hex_text_search_highlight_all);
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(highlight), prefs.hex_text_search_highlight_all);
|
||||||
gtk_widget_set_can_focus (highlight, FALSE);
|
gtk_widget_set_can_focus (highlight, FALSE);
|
||||||
g_signal_connect (G_OBJECT (highlight), "toggled", G_CALLBACK (search_set_option), &prefs.hex_text_search_highlight_all);
|
g_signal_connect (G_OBJECT (highlight), "toggled", G_CALLBACK (search_set_option), &prefs.hex_text_search_highlight_all);
|
||||||
|
|
Loading…
Reference in New Issue