Commit 89814aea authored by George Lebl's avatar George Lebl

added a script to start the panel, and laucnher now identifies

by a string and not path, to make it easy to use mc with existing
configurations later
parent 7ec75064
......@@ -540,7 +540,7 @@ restart_all_launchers(void)
main(int argc, char **argv)
char *mypath;
/*char *mypath;*/
panel_corba_register_arguments ();
gnome_init("launcher_applet", NULL, argc, argv, 0, NULL);
......@@ -550,11 +550,16 @@ main(int argc, char **argv)
but it will reserve a spot for us on the correct place, and
this is the string that we identify as when we ask for the
mypath = get_which_output(argv[0]);
return 1;
myinvoc = g_copy_strings("#",mypath,NULL);
return 1;*/
/* we pass an id starting with # to the panel to identify us,
but not by path, this is so mc can take the place of the
launcher_applet or any other filemanager */
myinvoc = "#panel.application.launcher",NULL);
/*myinvoc = g_copy_strings("#",mypath,NULL);
launcher_corba_gtk_main ("IDL:GNOME/Launcher:1.0");
#this is a temporary script to launch the launcher and the panel
#this will kill the launcher from before if it is still running
kill `ps x|awk /[l]auncher_applet/ '{print $1}'`
launcher_applet &
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