Commit 6afb9bbc authored by Robert Roth's avatar Robert Roth

Freeze proctable while showing kill confirmation (fixes #107)

parent 15fe2a8a
......@@ -50,6 +50,8 @@ kill_dialog_button_pressed (GtkDialog *dialog, gint id, gpointer data)
if (id == GTK_RESPONSE_OK)
kill_process (kargs->app, kargs->arg_value);
proctable_thaw (kargs->app);
proctable_update (kargs->app);
g_free (kargs);
}
......@@ -62,6 +64,7 @@ procdialog_create_kill_dialog (GsmApplication *app, int signal)
gchar *primary, *secondary, *button_text;
struct ProcActionArgs *kargs;
proctable_freeze (app);
kargs = g_new(ProcActionArgs, 1);
kargs->app = app;
kargs->arg_value = signal;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment