[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, psppsheet, updated. v0.7.9-390-g28
From: |
John Darrington |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, psppsheet, updated. v0.7.9-390-g2801d67 |
Date: |
Mon, 08 Oct 2012 20:36:29 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, psppsheet has been updated
via 2801d67dabe9b57ffe2f044fa93f6302eac63114 (commit)
from 9b50cd30a88398903028bd233ed6cbc3e4482db4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2801d67dabe9b57ffe2f044fa93f6302eac63114
Author: John Darrington <address@hidden>
Date: Mon Oct 8 22:14:36 2012 +0200
Fix bug where, after double-clicking to switch sheet view, a spurious
release event was processed.
From
http://developer.gnome.org/gdk/2.24/gdk-Event-Structures.html#GdkEventButton
Double and triple-clicks result in a sequence of events being received.
For
double-clicks the order of events will be:
1. GDK_BUTTON_PRESS
2. GDK_BUTTON_RELEASE
3. GDK_BUTTON_PRESS
4. GDK_2BUTTON_PRESS
5. GDK_BUTTON_RELEASE
So what was happening was this: When the var-name was double-clicked, the
view switched
from VarView to DataView as soon as event 4 (GDK_2BUTTON_PRESS) occured.
Then event 5
(GDK_BUTTON_RELEASE) occured.
Now the PsppSheetView object is written such that, it decides to edit a
cell, on button
release event. Hence, whichever cell the pointer happended to be in, when
the user lifts
his finger after double clicking, starts to be edited.
This change ignores button release events on the object unless a
corresponding button press
event was seen.
-----------------------------------------------------------------------
Summary of changes:
src/ui/gui/pspp-sheet-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, psppsheet, updated. v0.7.9-390-g2801d67,
John Darrington <=