[Xfce4-commits] r25704 - xfdesktop/trunk/menueditor

Brian Tarricone kelnos at xfce.org
Fri May 11 04:59:28 CEST 2007


Author: kelnos
Date: 2007-05-11 02:59:28 +0000 (Fri, 11 May 2007)
New Revision: 25704

Modified:
   xfdesktop/trunk/menueditor/menueditor-main.c
Log:
add warning that menueditor doesn't work anymore


Modified: xfdesktop/trunk/menueditor/menueditor-main.c
===================================================================
--- xfdesktop/trunk/menueditor/menueditor-main.c	2007-05-11 02:25:53 UTC (rev 25703)
+++ xfdesktop/trunk/menueditor/menueditor-main.c	2007-05-11 02:59:28 UTC (rev 25704)
@@ -53,6 +53,18 @@
   gtk_init (&argc, &argv);
 
   xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
+  
+  if (xfce_message_dialog (NULL, _("Menueditor Warning"),
+                           GTK_STOCK_DIALOG_WARNING,
+                           _("xfce4-menueditor is deprecated"),
+                           _("Xfce's menu system has been replaced, and xfce4-menueditor is not able to edit the new menu file format.  You may continue and edit an old-style menu file, or quit."),
+                           XFCE_CUSTOM_STOCK_BUTTON, _("Continue"),
+                             GTK_STOCK_EXECUTE, GTK_RESPONSE_CANCEL,
+                           GTK_STOCK_QUIT, GTK_RESPONSE_ACCEPT,
+                           NULL) == GTK_RESPONSE_ACCEPT)
+  {
+    return 0;
+  }
 
   mainwin = menueditor_main_window_new ();
 



More information about the Xfce4-commits mailing list