Fix GUI bug risizing columns.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 23 Apr 2009 05:41:21 +0000 (13:41 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 23 Apr 2009 05:41:21 +0000 (13:41 +0800)
Remove the clip rectangle after showing the cell border so
that it doesn't interfere with other operations.

lib/gtk-contrib/psppire-sheet.c

index 47c429a0555c3f277808c6dbd537ed3e5709683f..b14ede139083456c9e1ce3a748f320c030e1c9f6 100644 (file)
@@ -3102,6 +3102,8 @@ psppire_sheet_draw_border (PsppireSheet *sheet, PsppireSheetRange new_range)
                      area.y,
                      area.width,
                      area.height);
+
+  gdk_gc_set_clip_rectangle (sheet->xor_gc, NULL);
 }