antiright-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Antiright-devel] antiright/src/arshell arshell.c


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/src/arshell arshell.c
Date: Thu, 28 Jul 2005 00:44:04 -0400

CVSROOT:        /cvsroot/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 05/07/28 04:44:03

Modified files:
        src/arshell    : arshell.c 

Log message:
        Added popup menu to main row, primarily for use with ACE's desktop.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/arshell/arshell.c.diff?tr1=1.15&tr2=1.16&r1=text&r2=text

Patches:
Index: antiright/src/arshell/arshell.c
diff -u antiright/src/arshell/arshell.c:1.15 
antiright/src/arshell/arshell.c:1.16
--- antiright/src/arshell/arshell.c:1.15        Sat Jul 23 17:10:09 2005
+++ antiright/src/arshell/arshell.c     Thu Jul 28 04:44:03 2005
@@ -104,8 +104,23 @@
   antiright_set(XmNmarginHeight, 0);
   antiright_set(XmNmarginWidth, 0);
   arshell.gui.widgets.row=antiright_row(arshell.gui.widgets.mainwindow);
-}
 
+  /* The following implements a popup menu on the ACE desktop.  */
+ /*  if ( arshell_override_is_set() && arshell.flags.lowered ) */
+/*     { */
+      Widget menu;
+      menu=antiright_popup_menu(arshell.gui.widgets.row);
+      antiright_button(menu, "Terminal",
+                      antiright_system_cb, "ACE Terminal");
+      antiright_separator(menu);
+      antiright_button(menu, "Restart",
+                      antiright_system_cb, "ACE -A restart_desktop");
+      antiright_button(menu, "Quit Desktop",
+                      antiright_system_cb, "ACE -A killdesk");
+      antiright_button(menu, "Logout",
+                      antiright_system_cb, "ACE -A killwm");
+ /*    } */
+}
 void
 arshell_initialize_application_data()
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]