fix
This commit is contained in:
parent
c1115323af
commit
98c2f9f753
2 changed files with 3 additions and 10 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<Separator />
|
||||
<Execute Name="Terminal">uxterm</Execute>
|
||||
<Separator />
|
||||
<EndSession Name="End Session" />
|
||||
<LogOff Name="Log Off" />
|
||||
<ShutDown Name="Shut Down" />
|
||||
<Reboot Name="Reboot" />
|
||||
</Menu>
|
||||
|
|
@ -21,14 +21,7 @@
|
|||
<Separator ID="1" />
|
||||
|
||||
<Launcher ID="2">
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
<Execute Icon="firefox">firefox</Execute>
|
||||
<Execute Icon="terminal">uxterm</Execute>
|
||||
</Launcher>
|
||||
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@ static void menu_scan(opaque_t* opaque, xl_node_t* node) {
|
|||
m->wsub = NULL;
|
||||
m->sub = NULL;
|
||||
m->opaque = MDEStringDuplicate(n->text == NULL ? "" : n->text);
|
||||
} else if(n->type == XL_NODE_NODE && strcmp(n->name, "EndSession") == 0 && name != NULL) {
|
||||
} else if(n->type == XL_NODE_NODE && strcmp(n->name, "LogOff") == 0 && name != NULL) {
|
||||
m = malloc(sizeof(*m));
|
||||
m->name = MDEStringDuplicate(name);
|
||||
m->keep = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue