Bug 86081

Summary: patch to sort devices icons in the very beginning on the the desktop
Product: [Unmaintained] kdesktop Reporter: Carsten Rietzschel <cr7>
Component: iconsAssignee: Benoit Walter <b.walter>
Status: CLOSED DUPLICATE    
Severity: wishlist CC: finex
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The proposed patch
Devices first, both kdedevice and FSDevice. Plus clean-up of orig. patch.
Devices first, for CVS-version 2005-02-21.

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.