Reduced one warning message

Let logout menu option call ede-shutdown
This commit is contained in:
Sanel Zukan 2009-02-26 13:35:00 +00:00
parent 129c7987c4
commit 89c13efc6d
3 changed files with 3 additions and 4 deletions

View File

@ -13,6 +13,8 @@
#include <signal.h> #include <signal.h>
#include <efltk/Fl_Image.h> // icons #include <efltk/Fl_Image.h> // icons
#include "icons/penguin.xpm"
// widgets // widgets
Fl_Window* windowLogoutDialog; Fl_Window* windowLogoutDialog;
Fl_Round_Button* logoutRadioItemLogoutDialog; Fl_Round_Button* logoutRadioItemLogoutDialog;

View File

@ -13,9 +13,6 @@
#include <efltk/Fl_Box.h> #include <efltk/Fl_Box.h>
#include <efltk/Fl_Divider.h> #include <efltk/Fl_Divider.h>
#include "icons/penguin.xpm"
// which of these can be safely removed? what should be extern and // which of these can be safely removed? what should be extern and
// what shouldn't? // what shouldn't?

View File

@ -54,7 +54,7 @@ static const char default_menu[] =
<Item Type=\"Exec\" Icon=\"lock.png\" Exec=\"xlock\">\n\ <Item Type=\"Exec\" Icon=\"lock.png\" Exec=\"xlock\">\n\
<Name>Lock</Name>\n\ <Name>Lock</Name>\n\
</Item>\n\ </Item>\n\
<Item Type=\"Exec\" Icon=\"logout.png\" Exec=\"$LOGOUT\">\n\ <Item Type=\"Exec\" Icon=\"logout.png\" Exec=\"ede-shutdown\">\n\
<Name>Logout</Name>\n\ <Name>Logout</Name>\n\
</Item>\n\ </Item>\n\
</Menu>\n"; </Menu>\n";