[Xfce4-commits] <thunar:master> Don't respond to middle-click in history buttons.
Nick Schermer
noreply at xfce.org
Sun Oct 28 20:16:02 CET 2012
Updating branch refs/heads/master
to 39b83cfba6234bbafea25ebd31da8cf06432005e (commit)
from 4e7cec02962d0cd951d2de0125d4869079a7a817 (commit)
commit 39b83cfba6234bbafea25ebd31da8cf06432005e
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