SF.net SVN: fclient:[717] trunk/fclient/src/fclient/Ui_ViewBrowser.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-21 13:11:08
|
Revision: 717
http://fclient.svn.sourceforge.net/fclient/?rev=717&view=rev
Author: jUrner
Date: 2008-07-21 13:11:16 +0000 (Mon, 21 Jul 2008)
Log Message:
-----------
tab menu
Modified Paths:
--------------
trunk/fclient/src/fclient/Ui_ViewBrowser.py
Modified: trunk/fclient/src/fclient/Ui_ViewBrowser.py
===================================================================
--- trunk/fclient/src/fclient/Ui_ViewBrowser.py 2008-07-21 12:45:47 UTC (rev 716)
+++ trunk/fclient/src/fclient/Ui_ViewBrowser.py 2008-07-21 13:11:16 UTC (rev 717)
@@ -65,7 +65,7 @@
)
self.action( # context menu only
name='ActionCloseBrowserUnderMouse',
- text=self.trUtf8('&Close tab under mouse'),
+ text=self.trUtf8('&Close tab'),
trigger=None,
#isEnabled=False,
)
@@ -713,8 +713,10 @@
def onTabBrowsersContextMenuEvent(self, pt):
menu = QtGui.QMenu()
+ #TODO: enable / disable actions
actCloseBrowserUnderMouse = self.fcActions['ActionCloseBrowserUnderMouse']
menu.addAction(actCloseBrowserUnderMouse)
+ menu.addAction(self.fcActions['ActionCloseAllTabs'])
tab = self.controlById(self.IdTabBrowsers)
pt = tab.mapToGlobal(pt)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|