This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Howto: Disable folder-view-popup.

Tags: None
(comma "," separated)
User avatar
Timo
Registered Member
Posts
51
Karma
0
OS

Howto: Disable folder-view-popup.

Thu Nov 05, 2009 11:28 am
Hi,

this is tested and working on kubuntu karmic - kde 4.3.3
Hopefully if anyone else wants this, it helps until an option is added.

Code: Select all
apt-get source kdebase
cd kdebase-4.3.3
vim apps/plasma/applets/folderview/iconview.cpp
I edited the following lines:
Hints for vim usage: type :1297 to go to the line, press i for insert mode, add the comment signs // and press esc to exit insert mode, repeat for the other lines, after pressing esc again use :wq to save and exit.
1297+
Code: Select all
//    if (!m_popupView || m_hoveredIndex != m_popupIndex) {
//        m_toolTipShowTimer.start(500, this);
 //    }
...
1338+
Code: Select all
if (item.isDir()) {
   //type = IconView::FolderTip;
   return;
} else if (item.isDesktopFile()) {
...
then ran:
Code: Select all
mkdir kdebase
cd kdebase
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make -j 2
sudo make install
Then restarted plasma (krunner: killall plasma-desktop and restarting doing plasma-desktop / kbuildsycoca4 wasn't sufficient)

Now it is working - I think - until the next upgrade. I hope that the next dist-upgrade won't give me hell.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]