pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] psppire ./TODO gtk_sheet/gtksheet.c gtk_sheet/s...


From: John Darrington
Subject: [Pspp-cvs] psppire ./TODO gtk_sheet/gtksheet.c gtk_sheet/s...
Date: Sun, 18 Dec 2005 09:44:42 +0000

CVSROOT:        /sources/pspp
Module name:    psppire
Branch:         
Changes by:     John Darrington <address@hidden>        05/12/18 09:44:42

Modified files:
        .              : TODO 
        gtk_sheet      : gtksheet.c 
Added files:
        gtk_sheet      : scroll-on-click.patch 

Log message:
        Made the sheets scroll to the correct row/column when switching by 
double click.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/psppire/TODO.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/psppire/gtk_sheet/gtksheet.c.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/psppire/gtk_sheet/scroll-on-click.patch?rev=1.1

Patches:
Index: psppire/TODO
diff -u psppire/TODO:1.17 psppire/TODO:1.18
--- psppire/TODO:1.17   Sun Dec 18 04:57:43 2005
+++ psppire/TODO        Sun Dec 18 09:44:42 2005
@@ -39,9 +39,6 @@
 
 Phase 1 Issues
 --------------
-* When switching between data/variables sheets by double-clicking title 
-  buttons, we need to scroll the sheet to the right position.
-
 * Value labels currently don't work properly for Date, Dot, Comma variables.
 
 * Implement mechanism for handling errors (use GError ?). 
Index: psppire/gtk_sheet/gtksheet.c
diff -u psppire/gtk_sheet/gtksheet.c:1.10 psppire/gtk_sheet/gtksheet.c:1.11
--- psppire/gtk_sheet/gtksheet.c:1.10   Sat Dec  3 00:13:34 2005
+++ psppire/gtk_sheet/gtksheet.c        Sun Dec 18 09:44:42 2005
@@ -4052,6 +4052,9 @@
  
  if(!gtk_sheet_activate_cell(sheet, row, column)) return FALSE;
  
+ if(gtk_sheet_autoscroll(sheet))
+   gtk_sheet_move_query(sheet, row, column);
+
  return TRUE;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]