Commit 690e6f79 authored by Carsten Schaar's avatar Carsten Schaar

Fixed a bug, that occured, when the panel connects the session manager the

* main.c (main): Fixed a bug, that occured, when the panel
connects the session manager the first time every (i.e. the panel had no
previous client id before).
parent 3aa39ad5
1998-08-29 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* main.c (main): Fixed a bug, that occured, when the panel
connects the session manager the first time every (i.e. the panel had
no previous client id before).
Fri Aug 28 12:17:56 1998 George Lebl <jirka@5z.com>
* menu.c: use the new transparent gnome icon image
......
1998-08-29 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* main.c (main): Fixed a bug, that occured, when the panel
connects the session manager the first time every (i.e. the panel had
no previous client id before).
Fri Aug 28 12:17:56 1998 George Lebl <jirka@5z.com>
* menu.c: use the new transparent gnome icon image
......
......@@ -196,7 +196,15 @@ main(int argc, char **argv)
if (GNOME_CLIENT_CONNECTED (client)) {
char *session_id;
session_id= gnome_client_get_id (gnome_cloned_client ());
if (gnome_cloned_client ())
{
/* This client has been resumed or is a clone of
another panel (i.e. gnome_cloned_client !=
NULL). */
session_id= gnome_client_get_id (gnome_cloned_client ());
}
else
session_id= NULL;
if(session_id) {
g_free(old_panel_cfg_path);
......
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