Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/button.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-10-29 02:49:29 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-10-29 02:49:29 (GMT)
commita4fd5e5f9804580454a438e5f85e2bf4074ca403 (patch)
tree3a43a1e69204499c1cb8b65887925bb857a4ac2c /button.py
parentcae6e9d4e52fa03ed0f3edd7f5e470914693ee21 (diff)
options to add copy to a toolbar button later -- hooked in
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@775 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'button.py')
-rw-r--r--button.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/button.py b/button.py
index bc0576e..97512a1 100644
--- a/button.py
+++ b/button.py
@@ -89,6 +89,8 @@ class RecdButton(TrayButton, gobject.GObject):
def addCopyMenuItem( self ):
if (self.recd.buddy and not self.recd.downloadedFromBuddy):
return
+ if (self.ACTIVATE_COPY_ID != 0):
+ return
self.copy_menu_item = gtk.MenuItem( self.ui.ca.istrCopyToClipboard )
self.ACTIVATE_COPY_ID = self.copy_menu_item.connect('activate', self._itemCopyToClipboardCb)