Don't display actions' in/out dialog if there's no output
authorMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 23 Apr 2002 13:18:10 +0000 (13:18 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 23 Apr 2002 13:18:10 +0000 (13:18 +0000)
ChangeLog.claws
configure.in
src/prefs_actions.c

index 200edcf..8c06c9c 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-23 [melvin]    0.7.4claws95
+
+       * src/prefs_actions.c
+               Don't display in/out dialog if there is nothing to show.
+
 2002-04-23 [paul]      0.7.4claws94
 
        * sync with 0.7.5cvs3
 2002-04-23 [paul]      0.7.4claws94
 
        * sync with 0.7.5cvs3
index eb34318..01b2d02 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws94
+EXTRA_VERSION=claws95
 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 20ec4d0..5d9e590 100644 (file)
@@ -1753,6 +1753,9 @@ static void catch_output(gpointer data, gint source, GdkInputCondition cond)
                for (i = 0; i < c; i++)
                        child_info->output = g_string_append_c(
                                        child_info->output, buf[i]);
                for (i = 0; i < c; i++)
                        child_info->output = g_string_append_c(
                                        child_info->output, buf[i]);
-               child_info->new_out = TRUE;
+               if (c > 0)
+                       child_info->new_out = TRUE;
+                       
+               
        }
 }
        }
 }