After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 95221 - Does not support OnlyShowIn
Does not support OnlyShowIn
Status: RESOLVED INVALID
Product: gnome-vfs
Classification: Deprecated
Component: Module: vfolder
2.0.x
Other Linux
: High major
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
AES[BIGBADBUG]
Depends on:
Blocks:
 
 
Reported: 2002-10-08 22:05 UTC by Havoc Pennington
Modified: 2005-01-04 22:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lame patch (5.23 KB, patch)
2002-11-04 20:40 UTC, Havoc Pennington
accepted-commit_now Details | Review

Description Havoc Pennington 2002-10-08 22:05:41 UTC
The new vfolder rewrite does not support the OnlyShowIn flag in 
.desktop files, and is thus useless on any system with KDE installed.
Comment 1 Havoc Pennington 2002-10-08 22:06:18 UTC
Shouldn't the default owner of this module change?
Comment 2 Havoc Pennington 2002-11-04 20:40:22 UTC
Created attachment 12041 [details] [review]
lame patch
Comment 3 Alex Graveley 2002-11-07 23:09:32 UTC
Icky.  I would almost favor parsing the keys in entry_new() and
returning NULL if OnlyShowIn != GNOME.
Comment 4 Havoc Pennington 2002-11-07 23:12:17 UTC
Fine with me. I don't really have a global understanding of this code,
so just put in what seemed like the simple/obvious hack.
Comment 5 Luis Villa 2002-11-19 16:01:47 UTC
Targeting this at 2.2, if possible, alex.
Comment 6 Mark McLoughlin 2003-01-06 01:01:29 UTC
Alex rejected the patch so technically PATCH should be removed ...
Comment 7 Havoc Pennington 2003-01-24 01:26:22 UTC
Looking at this more, I think making entry_new() return NULL 
would not work at all - then you wouldn't notice changes to the 
.desktop file. You need to load the entry, just exclude it from 
queries, which is what my patch does, though granted it could 
probably be done better in the details.
Comment 8 Andrew Sobala 2003-01-28 18:41:25 UTC
Removing PATCH
Comment 9 Havoc Pennington 2003-01-28 18:50:51 UTC
I had put PATCH back on purpose, because I think my patch is right, 
what Alex suggested instead is wrong IMO.
Comment 10 Alexander Larsson 2003-04-23 10:51:29 UTC
I defer to hp on vfolder changes. If you think it's right, check it in.
Comment 11 Andrew Sobala 2003-05-04 13:52:11 UTC
<ping>

Havoc, if you think this should be applied will you commit it like
Alex suggested?
Comment 12 Egmont Koblinger 2003-09-09 00:03:01 UTC
The bug is still present in Gnome 2.3.90. In the mean time, the
desktop file spec now also has a NotShowIn field which should be
honored too.

Please see bug #121791 for a longer description of why I think it's a
critical bug.
Comment 13 Marcin Krzyzanowski 2003-12-14 23:23:46 UTC
I attach patch for gnome-vfs2 with #121791
Comment 14 Kjartan Maraas 2005-01-04 22:09:49 UTC
Closing this since the vfolder method has been removed. Please file bugs against
gnome-menus if this is still a problem in 2.9.x