Kaydet (Commit) b595c0a3 authored tarafından Nick Treleaven's avatar Nick Treleaven

Disable 'Send Selection to Terminal' item when not available

instead of removing it to avoid trailing separator.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5472 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 650b5ae8
......@@ -7,6 +7,9 @@
* src/build.c, src/keyfile.c:
Fix some more wrong uses of vte_info.load_vte instead of
vte_info.have_vte.
* src/main.c:
Disable 'Send Selection to Terminal' item when not available
instead of removing it to avoid trailing separator.
2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -214,10 +214,11 @@ static void apply_settings(void)
#ifdef HAVE_VTE
if (! vte_info.have_vte)
gtk_widget_hide(ui_lookup_widget(main_widgets.window, "send_selection_to_vte1"));
#else
gtk_widget_hide(ui_lookup_widget(main_widgets.window, "send_selection_to_vte1"));
#endif
{
gtk_widget_set_sensitive(
ui_lookup_widget(main_widgets.window, "send_selection_to_vte1"), FALSE);
}
if (interface_prefs.sidebar_pos != GTK_POS_LEFT)
ui_swap_sidebar_pos();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment