* src/logwindow.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 29 Sep 2002 12:40:46 +0000 (12:40 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 29 Sep 2002 12:40:46 +0000 (12:40 +0000)
log_window_clear(): only bracket gtk_text_forward_delete()
with gtk_text_freeze() / gtk_text_thaw() (see if this
works around GTK text bug)

ChangeLog.claws
configure.in
src/logwindow.c

index 93769b23e187ac58edd657e51a53c2253cdd8112..3b36037a7d78eb21978f2974bdea0948b3ae2835 100644 (file)
@@ -1,3 +1,10 @@
+2002-09-29 [alfons]    0.8.3claws33
+
+       * src/logwindow.c
+               log_window_clear(): only bracket gtk_text_forward_delete() 
+               with gtk_text_freeze() / gtk_text_thaw() (see if this
+               works around GTK text bug)
+
 2002-09-29 [paul]      0.8.3claws32
 
        * po/bg.po
 2002-09-29 [paul]      0.8.3claws32
 
        * po/bg.po
index aa85b252b26dedf69e39b94e455543eabba2e869..e4c85840f6f3edc49716c2d8de77f2780f9d83a5 100644 (file)
@@ -10,7 +10,7 @@ MINOR_VERSION=8
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws32
+EXTRA_VERSION=claws33
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 30aacec941abeee4ec206d9c0a9d6e377d237eca..06f66cc6c2cabb3e12bc736005d854ba39b5d043 100644 (file)
@@ -208,10 +208,9 @@ void log_window_clear(GtkWidget *text)
                                break;
                } while (lf == NULL);
                                
                                break;
                } while (lf == NULL);
                                
-               gtk_text_freeze (GTK_TEXT (text));
-               
                /* erase the text */
                gtk_text_set_point (GTK_TEXT (text), 0);
                /* erase the text */
                gtk_text_set_point (GTK_TEXT (text), 0);
+               gtk_text_freeze (GTK_TEXT (text));
                if (!gtk_text_forward_delete (GTK_TEXT (text), point + 1))
                        debug_print (_("Error clearing log\n"));
                gtk_text_thaw (GTK_TEXT (text));
                if (!gtk_text_forward_delete (GTK_TEXT (text), point + 1))
                        debug_print (_("Error clearing log\n"));
                gtk_text_thaw (GTK_TEXT (text));