[Konsole-devel] [Bug 118857] New: [PATCH] to add wget to the popup menu that shows up when a link is dragged
BOURIAUD
david.bouriaud at ac-rouen.fr
Thu Dec 22 12:58:37 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=118857
Summary: [PATCH] to add wget to the popup menu that shows up when
a link is dragged
Product: konsole
Version: 1.6
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: david.bouriaud ac-rouen fr
Version: 1.6 (using KDE KDE 3.5.0)
Installed from: Compiled From Sources
Here is a simple diff file to patch TEWidget.cpp so as to add an entry for wget in the popup menu described in subject.
--------------------------------------------------------------
2119c2119
< enum dropPopupOptions { paste, cd, cp, ln, mv };
---
> enum dropPopupOptions { paste, cd, cp, ln, mv, wget };
2131a2132
> m_drop->insertItem( "wget", wget );
2150a2152
> m_drop->setItemEnabled( wget, true );
2227a2230,2232
> case wget:
> emit sendStringToEmu("wget ");
> break;
2229c2234
< if (item>cd && item<=mv) {
---
> if (item>cd && item<=wget) {
--------------------------------------------------------------
I've just adjusted the given code to add the functionality I wanted, but it would be great to have this menu be built from a config file. This way, any patch like this dirty one could be avoided, and users could add any app they have/want.
More information about the konsole-devel
mailing list