Bug 86081 - patch to sort devices icons in the very beginning on the the desktop
Summary: patch to sort devices icons in the very beginning on the the desktop
Status: CLOSED DUPLICATE of bug 81726
Alias: None
Product: kdesktop
Classification: Unmaintained
Component: icons (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Benoit Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 14:33 UTC by Carsten Rietzschel
Modified: 2009-01-02 20:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The proposed patch (8.69 KB, patch)
2004-07-27 14:35 UTC, Carsten Rietzschel
Details
Devices first, both kdedevice and FSDevice. Plus clean-up of orig. patch. (13.86 KB, patch)
2005-02-19 09:34 UTC, Morten Sjoegren
Details
Devices first, for CVS-version 2005-02-21. (13.72 KB, patch)
2005-02-21 18:33 UTC, Morten Sjoegren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Rietzschel 2004-07-27 14:33:06 UTC
Version:            (using KDE KDE 3.2.91)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.4 
OS:                Linux

This patch add's an option to sort device-icons at the very beginning of the the desktop.
So it's possible to sort icon for instance in this way:
* devices
* directories
* others...

It applies against kde-3.3-beta1 (should also work for beta2 and earlier kde versions).

Carsten

ps:
The "Bug 32041: Add sort order option for devices" seems similar, but it's very old.
Comment 1 Carsten Rietzschel 2004-07-27 14:35:03 UTC
Created attachment 6874 [details]
The proposed patch

Todo: 
- change description for context menu (english isn't my native language :)
- should it also filter for Type=FSDevice ?
Comment 2 Martin Koller 2005-01-09 00:14:43 UTC
*** This bug has been marked as a duplicate of 81726 ***
Comment 3 Morten Sjoegren 2005-02-19 09:34:04 UTC
Created attachment 9714 [details]
Devices first, both kdedevice and FSDevice. Plus clean-up of orig. patch.

This patch is based on the original patch by Carsten Rietzschel.

When "Devices at the very beginning" is cheched, both mimetypes="kdedevice/*"
and KDesktopFiles of Type FSDev/FSDevice are sorted first.
There were some issues in the original patch, like then both "Directories
First" and "Devices at the very beginning" weren't checked, sorting didn't seem
right. That and other issues should be fixed in this little patch.

I'll port this to 3.4 a little later.
Comment 4 Morten Sjoegren 2005-02-21 18:33:52 UTC
Created attachment 9757 [details]
Devices first, for CVS-version 2005-02-21.

Same as above patch, just for resent CVS (2005-02-21) and up-coming KDE 3.4.
I hope it'll be of some use.
Comment 5 FiNeX 2009-01-02 20:28:41 UTC
Bug closed. Kdesktop is no more mantained.