Fixed an issue in the Chat log by removing the 'Cut' action. That doesn't work because the log is read only.

Thu, 28 Feb 2013 16:57:45 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 28 Feb 2013 16:57:45 +0100
changeset 2436
f75dbdd22959
parent 2434
c148e2b8188d
child 2438
61bfcff921d8

Fixed an issue in the Chat log by removing the 'Cut' action. That doesn't work because the log is read only.

Cooperation/ChatWidget.py file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.Cooperation.ChatWidget.html file | annotate | diff | comparison | revisions
--- 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.
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Tue Feb 26 19:33:22 2013 +0100
+++ b/Documentation/Help/source.qhp	Thu Feb 28 16:57:45 2013 +0100
@@ -1884,7 +1884,6 @@
       <keyword name="ChatWidget.__copyAllChat" id="ChatWidget.__copyAllChat" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__copyAllChat" />
       <keyword name="ChatWidget.__copyChat" id="ChatWidget.__copyChat" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__copyChat" />
       <keyword name="ChatWidget.__cutAllChat" id="ChatWidget.__cutAllChat" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__cutAllChat" />
-      <keyword name="ChatWidget.__cutChat" id="ChatWidget.__cutChat" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__cutChat" />
       <keyword name="ChatWidget.__editorCommandMessage" id="ChatWidget.__editorCommandMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__editorCommandMessage" />
       <keyword name="ChatWidget.__getConnectionParameters" id="ChatWidget.__getConnectionParameters" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__getConnectionParameters" />
       <keyword name="ChatWidget.__handleMessage" id="ChatWidget.__handleMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__handleMessage" />
--- a/Documentation/Source/eric5.Cooperation.ChatWidget.html	Tue Feb 26 19:33:22 2013 +0100
+++ b/Documentation/Source/eric5.Cooperation.ChatWidget.html	Thu Feb 28 16:57:45 2013 +0100
@@ -104,9 +104,6 @@
 <td><a href="#ChatWidget.__cutAllChat">__cutAllChat</a></td>
 <td>Private slot to cut the contents of the chat display to the clipboard.</td>
 </tr><tr>
-<td><a href="#ChatWidget.__cutChat">__cutChat</a></td>
-<td>Private slot to cut the contents of the chat display to the clipboard.</td>
-</tr><tr>
 <td><a href="#ChatWidget.__editorCommandMessage">__editorCommandMessage</a></td>
 <td>Private slot to handle editor command messages from the client.</td>
 </tr><tr>
@@ -256,11 +253,6 @@
 <b>__cutAllChat</b>(<i></i>)
 <p>
         Private slot to cut the contents of the chat display to the clipboard.
-</p><a NAME="ChatWidget.__cutChat" ID="ChatWidget.__cutChat"></a>
-<h4>ChatWidget.__cutChat</h4>
-<b>__cutChat</b>(<i></i>)
-<p>
-        Private slot to cut the contents of the chat display to the clipboard.
 </p><a NAME="ChatWidget.__editorCommandMessage" ID="ChatWidget.__editorCommandMessage"></a>
 <h4>ChatWidget.__editorCommandMessage</h4>
 <b>__editorCommandMessage</b>(<i>hash, fileName, message</i>)

eric ide

mercurial