#define KEY_Left 65361
#define KEY_Right 65363
+void terminate_console(int sig);
+
gboolean
on_console_delete_event(GtkWidget *widget, GdkEvent *event, gpointer user_data)
{
gtk_main_quit();
- return FALSE;
+ terminate_console(0);
}
void
"when=\"%s\" where=\"%s\" storage=\"%s\"",
job, fileset, level, client, pool, when, where, storage);
write_director(cmd);
+ set_text(cmd, strlen(cmd));
write_director("yes");
return;
}
"label name=\"%s\" pool=\"%s\" storage=\"%s\" slot=%s",
volume, pool, storage, slot);
write_director(cmd);
+ set_text(cmd, strlen(cmd));
}
"restore select current fileset=\"%s\" client=\"%s\" pool=\"%s\" "
"storage=\"%s\"", fileset, client, pool, storage);
write_director(cmd);
+ set_text(cmd, strlen(cmd));
gtk_widget_show(restore_file_selection);
select_restore_files(); /* put up select files dialog */
}