Comment 8 for bug 708388

Revision history for this message
Peter Clifton (pcjc2) wrote :

I have a note in my local repository which might be relevant to any debugging you're doing.. you can't tell whether the redraw invalidates aren't working without a patch like this:

ommit 5219e651bb7ec6a5888d2dcfebd2659651491d5b
Author: Peter Clifton <email address hidden>
Date: Fri Jan 28 01:12:27 2011 +0000

    TEMPORARY: Debug redraws by removing updates to status-bar

    Changing the status bar text triggers a full-page redraw, don't do it!

diff --git a/gschem/src/i_basic.c b/gschem/src/i_basic.c
index dc3da98..353ca7b 100644
--- a/gschem/src/i_basic.c
+++ b/gschem/src/i_basic.c
@@ -40,6 +40,8 @@
  */
 static void i_update_status(GSCHEM_TOPLEVEL *w_current, const char *string)
 {
+ return;
+
   if (!w_current->status_label)
     return;

@@ -568,7 +570,7 @@ void i_update_grid_info (GSCHEM_TOPLEVEL *w_current)
   }

   print_string = g_strdup_printf(_("Grid(%s, %s)"), snap, grid);
- gtk_label_set(GTK_LABEL(w_current->grid_label), print_string);
+// gtk_label_set(GTK_LABEL(w_current->grid_label), print_string);

   g_free(print_string);
   g_free(grid);