tasque r215 - in trunk: . src



Author: jjohnny
Date: Sun Feb  8 18:42:15 2009
New Revision: 215
URL: http://svn.gnome.org/viewvc/tasque?rev=215&view=rev

Log:
UI : Show Task menu entry removed. Fixes bug #533182

Modified:
   trunk/ChangeLog
   trunk/src/Application.cs

Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs	(original)
+++ trunk/src/Application.cs	Sun Feb  8 18:42:15 2009
@@ -550,7 +550,6 @@
 			
 			uiManager.GetAction ("/TrayIconMenu/NewTaskAction").Sensitive = backendItemsSensitive;
 			uiManager.GetAction ("/TrayIconMenu/RefreshAction").Sensitive = backendItemsSensitive;
-			uiManager.GetAction ("/TrayIconMenu/ShowTasksAction").Sensitive = backendItemsSensitive;
 
 			popupMenu.ShowAll(); // shows everything
 			popupMenu.Popup();
@@ -609,13 +608,6 @@
 		{
 			ActionGroup trayActionGroup = new ActionGroup ("Tray");
 			trayActionGroup.Add (new ActionEntry [] {
-				new ActionEntry ("ShowTasksAction",
-				                 null,
-				                 Catalog.GetString ("Show Tasks ..."),
-				                 null,
-				                 null,
-				                 OnShowTaskWindow),
-				
 				new ActionEntry ("NewTaskAction",
 				                 Stock.New,
 				                 Catalog.GetString ("New Task ..."),
@@ -646,10 +638,6 @@
 			uiManager = new UIManager ();
 			uiManager.AddUiFromString (menuXml);
 			uiManager.InsertActionGroup (trayActionGroup, 0);
-			
-			ImageMenuItem showTasksItem = (ImageMenuItem)
-					uiManager.GetWidget ("/TrayIconMenu/ShowTasksAction");
-			showTasksItem.Image = new Gtk.Image(Utilities.GetIcon ("tasque-16", 16));
 		}
 	}
 }



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