pspp-dev
[Top][All Lists]
Advanced

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

[PATCH 05/17] pspp-sheet-view: Fix rendering moving cursor left or right


From: Ben Pfaff
Subject: [PATCH 05/17] pspp-sheet-view: Fix rendering moving cursor left or right with keyboard.
Date: Sun, 22 Apr 2012 11:12:23 -0700

I don't understand why this is not necessary for GtkTreeView.  Without it,
the cursor doesn't get properly redrawn after a left or right arrow
keystroke moves it.
---
 src/ui/gui/pspp-sheet-view.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c
index 5c2250a..a145dd3 100644
--- a/src/ui/gui/pspp-sheet-view.c
+++ b/src/ui/gui/pspp-sheet-view.c
@@ -7722,10 +7722,7 @@ pspp_sheet_view_move_cursor_left_right (PsppSheetView 
*tree_view,
 
   if (found_column)
     {
-      if (!pspp_sheet_view_has_special_cell (tree_view))
-       _pspp_sheet_view_queue_draw_node (tree_view,
-                                          cursor_node,
-                                          NULL);
+      _pspp_sheet_view_queue_draw_node (tree_view, cursor_node, NULL);
       g_signal_emit (tree_view, tree_view_signals[CURSOR_CHANGED], 0);
       gtk_widget_grab_focus (GTK_WIDGET (tree_view));
     }
-- 
1.7.2.5




reply via email to

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