From: Melvin Hadasht Date: Tue, 23 Apr 2002 13:18:10 +0000 (+0000) Subject: Don't display actions' in/out dialog if there's no output X-Git-Tag: rel_0_7_5~13 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=3bd87722914d181e11e2b064859e96be87e3db49 Don't display actions' in/out dialog if there's no output --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 200edcf2a..8c06c9c58 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -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 diff --git a/configure.in b/configure.in index eb3431887..01b2d02f6 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=7 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 diff --git a/src/prefs_actions.c b/src/prefs_actions.c index 20ec4d0cb..5d9e590a3 100644 --- a/src/prefs_actions.c +++ b/src/prefs_actions.c @@ -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]); - child_info->new_out = TRUE; + if (c > 0) + child_info->new_out = TRUE; + + } }