[Konsole-devel] Fwd: konsole 'pasteSelection'

Kurt Hindenburg kurt.hindenburg at kdemail.net
Thu Aug 24 23:24:51 UTC 2006


I haven't had time to look at this.

---------- Forwarded message ----------
From: Mike Pagano <mpagano at gmail.com>
Date: Aug 24, 2006 2:15 PM
Subject: konsole 'pasteSelection'
To: kurt.hindenburg at kdemail.net
Cc: lars.doelle at on-line.de

Kurt,

I looked to code 'pasteSelection' like functionality into Konsole and
noticed it was already there. I wrote a really small patch so it
appears in the menu which I have attached.

Hope this is the proper way to submit, I was following the
instructions I read online[1].

Diff is against kdebase-576357.

Mike

[1] http://developer.kde.org/documentation/other/developer-faq.html#q2.21

1. Get the latest KDE using SVN to check that the code you want to
write has not been added yet.
2. Check the bug database to see if your bug is not worked on.
3. Get in contact with the author.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20060824/35b8954b/attachment.html>
-------------- next part --------------
--- konsole.orig	2006-08-24 08:39:24.000000000 -0400
+++ konsole.cpp	2006-08-24 08:44:58.000000000 -0400
@@ -501,6 +501,7 @@ void Konsole::makeGUI()
    // Edit Menu ----------------------------------------------------------------
    m_copyClipboard->plug(m_edit);
    m_pasteClipboard->plug(m_edit);
+   m_pasteSelection->plug(m_edit);
 
    m_edit->setCheckable(true);
    if (m_signals)
@@ -718,6 +719,7 @@ void Konsole::makeGUI()
 
       m_copyClipboard->plug(m_rightButton);
       m_pasteClipboard->plug(m_rightButton);
+      m_pasteSelection->plug(m_rightButton);
       if (m_signals)
          m_rightButton->insertItem(i18n("&Send Signal"), m_signals);
 


More information about the konsole-devel mailing list