summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-04-03 23:14:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-04-03 23:14:10 (GMT)
commita4be577f06d16a4fc851ede9a744eac9160bcb45 (patch)
treec45fee3f5c8d51afd6d2d7d2063fcf926556f770 /src/gtkext
parent1d72be43f80250d2e8b064a8bfafe4a1f3f3b007 (diff)
Kept the user informed about the instructions printing status.
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkstatusstack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gtkext/gtkstatusstack.c b/src/gtkext/gtkstatusstack.c
index 880f4ed..f8bb4e8 100644
--- a/src/gtkext/gtkstatusstack.c
+++ b/src/gtkext/gtkstatusstack.c
@@ -1059,7 +1059,10 @@ void gtk_status_stack_remove_activity(GtkStatusStack *stack, activity_id_t id)
info->count--;
if (info->count == 0)
- info->tag = g_idle_add((GSourceFunc)gtk_status_stack_show_current_instruction, stack);
+ {
+ info->tag = 0;
+ g_idle_add((GSourceFunc)gtk_status_stack_show_current_instruction, stack);
+ }
else
info->tag = g_idle_add((GSourceFunc)gtk_status_stack_show_current_activity, stack);