[Xfce4-commits] <thunar:nick/tabs> Don't respond to middle-click in history buttons.
Nick Schermer
noreply at xfce.org
Sun Oct 28 17:58:03 CET 2012
Updating branch refs/heads/nick/tabs
to 564a4dca4bd2bad990a8d565930f9b53092f7d2d (commit)
from c588849f6108c04ebb05683c12358fcd86dc2422 (commit)
commit 564a4dca4bd2bad990a8d565930f9b53092f7d2d
Author: Nick Schermer <nick at xfce.org>
Date: Sun Oct 28 17:57:27 2012 +0100
Don't respond to middle-click in history buttons.
thunar/thunar-history-action.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-history-action.c b/thunar/thunar-history-action.c
index 7d5ed4e..c20bc40 100644
--- a/thunar/thunar-history-action.c
+++ b/thunar/thunar-history-action.c
@@ -158,6 +158,10 @@ thunar_history_action_button_release_event (GtkWidget *toggle_button,
gtk_action_activate (GTK_ACTION (history_action));
}
}
+ else
+ {
+ return TRUE;
+ }
/* bit of a strange trick to get the button untoggeled */
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle_button),
More information about the Xfce4-commits
mailing list