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

remove vte middle click override to allow X paste and update popup preferences…

remove vte middle click override to allow X paste and update popup preferences item for Terminal tab number

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@360 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst eb2ed7af
......@@ -4,7 +4,9 @@
utils_goto_workspace_tag
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
created Search menubar item with Find items from Edit menu, added
Find Previous and Go to line commands.
Find Previous and Go to line commands
* src/vte.c: remove vte middle click override to allow X paste and
update popup preferences item for Terminal tab number
2006-05-22 Nick Treleaven <nick.treleaven@btinternet.com>
......
......@@ -235,15 +235,7 @@ static void vte_start(GtkWidget *widget)
static gboolean vte_button_pressed(GtkWidget *widget, GdkEventButton *event, gpointer user_data)
{
if (event->button == 2)
{
/* this behaviour(pasting at mouse button 2) seems to be default, but don't know
* if it is always the same, so I implement it by myself to be sure and
* return TRUE to prevent the default behaviour */
vf->vte_terminal_paste_clipboard(VTE_TERMINAL(widget));
return TRUE;
}
else if (event->button == 3)
if (event->button == 3)
{
gtk_menu_popup(GTK_MENU(vc->menu), NULL, NULL, NULL, NULL, event->button, event->time);
}
......@@ -335,7 +327,7 @@ static void vte_popup_menu_clicked(GtkMenuItem *menuitem, gpointer user_data)
case 2:
{
on_preferences1_activate(menuitem, NULL);
gtk_notebook_set_current_page(GTK_NOTEBOOK(lookup_widget(app->prefs_dialog, "notebook2")), 4);
gtk_notebook_set_current_page(GTK_NOTEBOOK(lookup_widget(app->prefs_dialog, "notebook2")), 5);
break;
}
}
......
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