Made the actions' input/ouput dialog display without delay
authorMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 30 Jul 2002 18:05:52 +0000 (18:05 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Tue, 30 Jul 2002 18:05:52 +0000 (18:05 +0000)
ChangeLog.claws
configure.in
src/prefs_actions.c

index 134c9c0..a051d0d 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-30 [melvin]    0.8.0claws28
+
+       * src/prefs_actions.c
+               Made the actions' input/output dialog display
+               without delay.
+
 2002-07-30 [christoph] 0.8.0claws27
 
        * src/procmsg.c
index 79fe25c..bf9b68a 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws27
+EXTRA_VERSION=claws28
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 562a412..e097335 100644 (file)
@@ -51,8 +51,6 @@
 #include "gtkstext.h"
 #include "mimeview.h"
 
-#define WAIT_LAP 10000
-
 typedef enum
 {
        ACTION_NONE     = 1 << 0,
@@ -93,7 +91,6 @@ struct _Children
        GtkWidget       *scrolledwin;
 
        gchar           *action;
-       guint            timer;
        GSList          *list;
        gint             nb;
        gint             open_in;
@@ -1221,12 +1218,8 @@ static gboolean execute_actions(gchar *action, GtkWidget *window,
                                              GDK_INPUT_READ,
                                              catch_status, child_info);
                }
-               children->timer = children->open_in ? 0 :
-                                 gtk_timeout_add(WAIT_LAP, wait_for_children,
-                                                 children);
        }
-       if (children->open_in)
-               create_io_dialog(children);
+       create_io_dialog(children);
 
        return is_ok;
 }
@@ -1456,14 +1449,6 @@ static gint wait_for_children(gpointer data)
                cur = cur->next;
        }
 
-       if (!children->dialog && 
-           (new_output || children->timer))
-               create_io_dialog(children);
-
-       if (children->timer) {
-               gtk_timeout_remove(children->timer);
-               children->timer = 0;
-       }
        children->output |= new_output;
 
        if (new_output || (children->dialog && (nb != children->nb)))