Draw active cell on adjustment changes
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 28 Nov 2008 06:55:21 +0000 (15:55 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 28 Nov 2008 06:55:21 +0000 (15:55 +0900)
lib/gtksheet/gtksheet.c

index 71c656a2b8e589458d52c66305554ba528f9705d..33fe2b15bb8fc059a66cb2e884ac5d2b45b51da3 100644 (file)
@@ -4904,6 +4904,7 @@ vadjustment_value_changed (GtkAdjustment *adjustment,
   gtk_sheet_range_draw (sheet, NULL);
   draw_row_title_buttons (sheet);
   //  size_allocate_global_button (sheet);
+  gtk_sheet_draw_active_cell (sheet);
 
   gdk_window_end_paint (sheet->sheet_window);
 }
@@ -4932,6 +4933,8 @@ hadjustment_value_changed (GtkAdjustment *adjustment,
   draw_column_title_buttons (sheet);
   //  size_allocate_global_button (sheet);
 
+  gtk_sheet_draw_active_cell (sheet);
+
   gdk_window_end_paint (sheet->sheet_window);
 }