Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
beagle
bnc471524-ignore-nodisplay-desktop-files.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc471524-ignore-nodisplay-desktop-files.patch of Package beagle
Index: search/Beagle.Search.Tiles/Application.cs =================================================================== --- search/Beagle.Search.Tiles/Application.cs (revision 4908) +++ search/Beagle.Search.Tiles/Application.cs (working copy) @@ -78,6 +78,9 @@ if (ditem == IntPtr.Zero) return null; + if (hit ["fixme:NoDisplay"] == "true") + return null; + string notshow = gnome_desktop_item_get_string (ditem, "NotShowIn"); if (notshow != null && notshow.IndexOf ("GNOME") != -1) return null; Index: Filters/FilterDesktop.cs =================================================================== --- Filters/FilterDesktop.cs (revision 4908) +++ Filters/FilterDesktop.cs (working copy) @@ -43,7 +43,8 @@ { // 1: Added Categories field // 2: Added Type field - SetVersion (2); + // 3: Added NoDisplay field + SetVersion (3); SetFileType ("application"); } @@ -91,7 +92,7 @@ if (sline.Length != 2) continue; - if (sline [0].Equals ("Icon") || sline [0].Equals ("Exec")) { + if (sline [0].Equals ("Icon") || sline [0].Equals ("Exec") || sline [0].Equals ("NoDisplay")) { AddProperty (Property.NewUnsearched ("fixme:" + sline [0], sline [1])); } else if (sline [0].StartsWith ("Name")) { if (sline [0] == "Name")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor