Cooperation/ChatWidget.py

changeset 2436
f75dbdd22959
parent 2400
c1726b754f96
child 2525
8b507a9a2d40
child 2953
703452a2876f
diff -r c148e2b8188d -r f75dbdd22959 Cooperation/ChatWidget.py
--- a/Cooperation/ChatWidget.py	Tue Feb 26 19:33:22 2013 +0100
+++ b/Cooperation/ChatWidget.py	Thu Feb 28 16:57:45 2013 +0100
@@ -476,10 +476,6 @@
         Private slot to initialize the chat edit context menu.
         """
         self.__chatMenu = QMenu(self)
-        self.__cutChatAct = \
-            self.__chatMenu.addAction(
-                UI.PixmapCache.getIcon("editCut.png"),
-                self.trUtf8("Cut"), self.__cutChat)
         self.__copyChatAct = \
             self.__chatMenu.addAction(
                 UI.PixmapCache.getIcon("editCopy.png"),
@@ -514,7 +510,6 @@
         @param yes flag signaling the availability of selected text (boolean)
         """
         self.__copyChatAct.setEnabled(yes)
-        self.__cutChatAct.setEnabled(yes)
     
     @pyqtSlot(QPoint)
     def on_chatEdit_customContextMenuRequested(self, pos):
@@ -581,12 +576,6 @@
         """
         self.chatEdit.copy()
     
-    def __cutChat(self):
-        """
-        Private slot to cut the contents of the chat display to the clipboard.
-        """
-        self.chatEdit.cut()
-    
     def __copyAllChat(self):
         """
         Private slot to copy the contents of the chat display to the clipboard.

eric ide

mercurial