[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/ui/gui data-editor.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp/src/ui/gui data-editor.c |
Date: |
Tue, 24 Jul 2007 12:45:07 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 07/07/24 12:45:07
Modified files:
src/ui/gui : data-editor.c
Log message:
Added an extra call to data_var_select and a comment to explain why.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/ui/gui/data-editor.c?cvsroot=pspp&r1=1.42&r2=1.43
Patches:
Index: data-editor.c
===================================================================
RCS file: /sources/pspp/pspp/src/ui/gui/data-editor.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- data-editor.c 24 Jul 2007 11:50:18 -0000 1.42
+++ data-editor.c 24 Jul 2007 12:45:06 -0000 1.43
@@ -629,6 +629,10 @@
g_signal_connect (G_OBJECT (data_sheet), "button-event-row",
G_CALLBACK (popup_cases_menu), de);
+ /* The "switch-page" signal does get emitted unless the page actually
+ changes. But the state is indeterminate at startup. Therefore we
+ must explicitly change it to one state, then the other */
+ data_editor_select_sheet (de, PAGE_VAR_SHEET);
data_editor_select_sheet (de, PAGE_DATA_SHEET);
return de;