*** empty log message ***

This commit is contained in:
Søren Sandmann Pedersen
2004-11-15 23:15:59 +00:00
parent 6ef8165781
commit b40d94ca41
5 changed files with 913 additions and 36 deletions

View File

@ -394,12 +394,6 @@ sorry (GtkWidget *parent_window,
gtk_widget_destroy (dialog);
}
static void
on_open_clicked (gpointer widget, gpointer data)
{
sorry (NULL, "Open is not implemented yet. (Fortunately, neither is saving),");
}
static void
on_reset_clicked (gpointer widget, gpointer data)
{
@ -420,7 +414,8 @@ on_save_as_clicked (gpointer widget, gpointer data)
ensure_profile (app);
profile_save (app->profile, NULL, NULL);
if (!profile_save (app->profile, NULL))
sorry (NULL, "Couldn't save\n");
#if 0
sorry (NULL, "Saving profiles is not yet implemented.");
@ -431,6 +426,12 @@ on_save_as_clicked (gpointer widget, gpointer data)
/* FIXME */
}
static void
on_open_clicked (gpointer widget, gpointer data)
{
sorry (NULL, "Open is not implemented yet. (Fortunately, neither is saving),");
}
static void
on_delete (GtkWidget *window)
{
@ -869,13 +870,11 @@ main (int argc, char **argv)
if (app->input_fd < 0)
{
disaster ("Can't open /proc/sysprof-trace. You need to insert\n"
"the sysprof kernel module. As root type\n"
"\n"
" insmod sysprof-module.o\n"
"\n"
"or if you are using a 2.6 kernel:\n"
"the sysprof kernel module. Type \n"
"\n"
" insmod sysprof-module.ko\n"
"\n"
"as root.\n"
"\n");
}