|
|
{ | { |
GnomeClient *client; | GnomeClient *client; |
| |
/* We don't want the WM to try and save/restore our |
|
* window position |
|
*/ |
|
gdk_set_sm_client_id (NULL); |
|
|
|
client = gnome_master_client (); | client = gnome_master_client (); |
| |
if (!getenv ("GNOME_PANEL_DEBUG")) | if (!getenv ("GNOME_PANEL_DEBUG")) |
|
|
panel_multiscreen_init (); | panel_multiscreen_init (); |
panel_init_stock_icons_and_items (); | panel_init_stock_icons_and_items (); |
| |
panel_session_init (); |
|
|
|
gconf_client_add_dir (panel_gconf_get_client (), | gconf_client_add_dir (panel_gconf_get_client (), |
"/desktop/gnome/interface", | "/desktop/gnome/interface", |
GCONF_CLIENT_PRELOAD_NONE, | GCONF_CLIENT_PRELOAD_NONE, |
|
|
panel_lockdown_init (); | panel_lockdown_init (); |
panel_profile_load (); | panel_profile_load (); |
| |
|
panel_session_init (); |
|
|
/*add forbidden lists to ALL panels*/ | /*add forbidden lists to ALL panels*/ |
g_slist_foreach (panels, | g_slist_foreach (panels, |
(GFunc)panel_widget_add_forbidden, | (GFunc)panel_widget_add_forbidden, |