Add logout button to the panel.
authorHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 15 Jun 2008 20:30:26 +0000 (20:30 +0000)
committerHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 15 Jun 2008 20:30:26 +0000 (20:30 +0000)
Little fix for lxpanel config files for LXDE.

configure.ac
lxde-logout.desktop.in [new file with mode: 0644]
lxpanel/config
lxpanel/panel.in

index 0746707..3f61e89 100644 (file)
@@ -47,6 +47,7 @@ AC_OUTPUT([
   default
   lxde-logout
   LXDE.desktop
+  lxde-logout.desktop
   lxpanel/panel
   openbox/rc.xml
   openbox-lxde
diff --git a/lxde-logout.desktop.in b/lxde-logout.desktop.in
new file mode 100644 (file)
index 0000000..3229011
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Logout
+Name[zh_TW]=登出
+Comment=Logout, shutdown or reboot
+Comment[zh_TW]=登出、關機、或重新開機
+Icon=stock_exit
+Exec=lxde-logout
+NoDisplay=true
+
index 43bb8de..1911551 100644 (file)
@@ -1,4 +1,4 @@
 [Command]
 FileManager=pcmanfm %s
 Terminal=xterm -e
-
+Logout=lxde-logout
index a939335..809cc47 100644 (file)
@@ -53,9 +53,6 @@ Plugin {
             id=pcmanfm.desktop
         }
         Button {
-            id=gnome-terminal.desktop
-        }
-        Button {
             id=firefox.desktop
         }
     }
@@ -133,3 +130,12 @@ Plugin {
     }
 }
 
+Plugin {
+    type = launchbar
+    Config {
+        Button {
+            id=lxde-logout.desktop
+        }
+    }
+}
+