[Xfce4-commits] <postler:master> Alwas show editable menu for editing and selections
Christian Dywan
noreply at xfce.org
Thu Feb 3 00:34:10 CET 2011
Updating branch refs/heads/master
to 268c37618693a795ca89da6c97f513153c9544e5 (commit)
from ffb276db7137355960cc1b7d98c76d6d337ec360 (commit)
commit 268c37618693a795ca89da6c97f513153c9544e5
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Feb 2 21:55:48 2011 +0100
Alwas show editable menu for editing and selections
postler/postler-content.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 76447cb..9e5cf1c 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -222,6 +222,9 @@ public class Postler.Content : WebKit.WebView {
}
void populate_menu (Gtk.Menu menu) {
+ if (editable || can_copy_clipboard ())
+ return;
+
menu.hide_all ();
var event = Gtk.get_current_event ();
More information about the Xfce4-commits
mailing list