[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remaining psppsheet TODO [PATCH]
From: |
John Darrington |
Subject: |
Re: remaining psppsheet TODO [PATCH] |
Date: |
Sun, 7 Oct 2012 15:44:34 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Sep 02, 2012 at 09:22:55AM -0700, Ben Pfaff wrote:
Here's what remains.
Variable sheet
--------------
Double-clicking on variable names still processes a click after
switching sheets.
I think this patch fixes that problem. I haven't thoroughly tested it
to see if it causes any other ill effects.
What do you think?
diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c
index 4f3ce3b..8e44383 100644
--- a/src/ui/gui/pspp-sheet-view.c
+++ b/src/ui/gui/pspp-sheet-view.c
@@ -2635,6 +2635,9 @@ pspp_sheet_view_button_release_edit (PsppSheetView
*tree_view,
if (event->window != tree_view->priv->bin_window)
return FALSE;
+ if (tree_view->priv->pressed_button != event->button)
+ return FALSE;
+
if (!find_click (tree_view, event->x, event->y, &node, &column,
&background_area,
&cell_area))
return FALSE;
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Re: remaining psppsheet TODO [PATCH],
John Darrington <=