elauncher calls replaced with ede-launch

This commit is contained in:
Sanel Zukan 2009-02-25 13:20:39 +00:00
parent 971172ac14
commit ffb6f38ccd
3 changed files with 6 additions and 6 deletions

View File

@ -200,12 +200,12 @@ void MainMenu::clear_favourites()
%v the name of the Device entry in the desktop file %v the name of the Device entry in the desktop file
*/ */
// This function is now implemented in elauncher // This function is now implemented in ede-launch
void MainMenu::resolve_program(Fl_String cmd) void MainMenu::resolve_program(Fl_String cmd)
{ {
char pRun[FL_PATH_MAX]; char pRun[FL_PATH_MAX];
snprintf(pRun, sizeof(pRun)-1, "elauncher \"%s\"", cmd.c_str()); snprintf(pRun, sizeof(pRun)-1, "ede-launch \"%s\"", cmd.c_str());
fl_start_child_process(pRun, false); fl_start_child_process(pRun, false);
} }

View File

@ -31,7 +31,7 @@ static const char default_menu[] =
<Item Type=\"Exec\" Icon=\"about.png\" Exec=\"$ABOUT\">\n\ <Item Type=\"Exec\" Icon=\"about.png\" Exec=\"$ABOUT\">\n\
<Name>About</Name>\n\ <Name>About</Name>\n\
</Item>\n\ </Item>\n\
<Item Type=\"Exec\" Icon=\"erun.png\" Exec=\"elauncher\">\n\ <Item Type=\"Exec\" Icon=\"erun.png\" Exec=\"ede-launch-dialog\">\n\
<Name>Run</Name>\n\ <Name>Run</Name>\n\
</Item>\n\ </Item>\n\
<Item Type=\"Divider\"/>\n\ <Item Type=\"Divider\"/>\n\

View File

@ -188,7 +188,7 @@ void clockRefresh(void *)
void runUtility(Fl_Widget *, char *pCommand) void runUtility(Fl_Widget *, char *pCommand)
{ {
char cmd[256]; char cmd[256];
snprintf (cmd, sizeof(cmd)-1, "elauncher %s", pCommand); snprintf (cmd, sizeof(cmd)-1, "ede-launch %s", pCommand);
fl_start_child_process(cmd, false); fl_start_child_process(cmd, false);
} }
@ -355,7 +355,7 @@ void startUtility(Fl_Button *, void *pName)
pGlobalConfig.get("Panel", (char*)pName, value, ""); pGlobalConfig.get("Panel", (char*)pName, value, "");
if(!pGlobalConfig.error() && !value.empty()) { if(!pGlobalConfig.error() && !value.empty()) {
value = "elauncher \""+value; value = "ede-launch \""+value;
value += "\""; value += "\"";
fl_start_child_process(value, false); fl_start_child_process(value, false);
} }
@ -432,7 +432,7 @@ void cb_run_app(Fl_Input *i, void*)
Fl_String exec(i->value()); Fl_String exec(i->value());
if ((exec == "") || (exec == " ")) if ((exec == "") || (exec == " "))
return; return;
exec = "elauncher \""+exec; exec = "ede-launch \""+exec;
exec += "\""; exec += "\"";
fl_start_child_process(exec, false); fl_start_child_process(exec, false);