Updating branch refs/heads/master
         to 5fce5a90a82ac2d2fccb3003b9b6b08fbd096e07 (commit)
       from 15ad7bb06de1f6b120fb4123b1f8419e66ebfa4a (commit)

commit 5fce5a90a82ac2d2fccb3003b9b6b08fbd096e07
Author: Christian Dywan <[email protected]>
Date:   Sat Aug 7 16:12:53 2010 +0200

    Determine whether button is in the masked, not equal

 postler/postler-messages.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 4ce2e0e..0500e64 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -785,7 +785,7 @@ public class Postler.Messages : Gtk.TreeView {
     }
 
     override bool button_release_event (Gdk.EventButton event) {
-        if (event.state != Gdk.ModifierType.BUTTON1_MASK)
+        if ((event.state & Gdk.ModifierType.BUTTON1_MASK) == 0)
             return base.button_release_event (event);
 
         GLib.List<Gtk.TreePath> paths = get_selection ().get_selected_rows 
(null);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to