1999-04-07 Owen Taylor <otaylor@redhat.com>
* gsession.c (session_save): Set a discard command to get rid of the per-session information.
Этот коммит содержится в:
родитель
a92adc1479
Коммит
fa95649cfa
@ -1,3 +1,8 @@
|
|||||||
|
1999-04-07 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gsession.c (session_save): Set a discard command
|
||||||
|
to get rid of the per-session information.
|
||||||
|
|
||||||
1999-04-06 Jonathan Blandford <jrb@redhat.com>
|
1999-04-06 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gscreen.c: make sure that we bring up an open_with if
|
* gscreen.c: make sure that we bring up an open_with if
|
||||||
|
@ -157,6 +157,7 @@ session_save (GnomeClient *client, gint phase, GnomeSaveStyle save_style, gint s
|
|||||||
char *prefix;
|
char *prefix;
|
||||||
GList *l;
|
GList *l;
|
||||||
PanelContainer *pc;
|
PanelContainer *pc;
|
||||||
|
gchar *discard_args[] = { "rm", NULL };
|
||||||
|
|
||||||
prefix = gnome_client_get_config_prefix (client);
|
prefix = gnome_client_get_config_prefix (client);
|
||||||
gnome_config_push_prefix (prefix);
|
gnome_config_push_prefix (prefix);
|
||||||
@ -172,6 +173,10 @@ session_save (GnomeClient *client, gint phase, GnomeSaveStyle save_style, gint s
|
|||||||
gnome_config_pop_prefix ();
|
gnome_config_pop_prefix ();
|
||||||
gnome_config_sync ();
|
gnome_config_sync ();
|
||||||
|
|
||||||
|
discard_args[1] = gnome_config_get_real_path (prefix);
|
||||||
|
gnome_client_set_discard_command (client, 2, discard_args);
|
||||||
|
g_free (discard_args[1]);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user