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 318268 - multiple entries shown for same application
multiple entries shown for same application
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
Git master
Other Linux
: Normal enhancement
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-10-08 08:59 UTC by Joao Inacio
Modified: 2005-10-09 23:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Disable a PATH program match for a desktop app when no arguments are guiven (780 bytes, patch)
2005-10-08 09:05 UTC, Joao Inacio
none Details | Review

Description Joao Inacio 2005-10-08 08:59:35 UTC
Any application with a desktop entry, and with a name equal to the binary
(gedit, gaim, nautilus...) will show two matches:
one from (Desktop) programs and another for (Path) programs.

Example:
When typing 'gedit' only the "Launch Text Editor (gedit)" match should show, and
when typing 'gedit myfile' another match should come up: "Execute gedit myfile".
Comment 1 Joao Inacio 2005-10-08 09:05:37 UTC
Created attachment 53219 [details] [review]
Disable a PATH program match for a desktop app when no arguments are guiven
Comment 2 Raphael Slinckx 2005-10-09 20:14:27 UTC
Thanks !

I fixed this slightly differently, since not all programs are named
executable.desktop. (at least that is not mandatory, so we shouldn't rely on it)

Instead i index the .desktop files a second time, but only reading the
executable value, and create a list of known desktop programs which i can use to
match against PATH programs.

Please test.
Comment 3 Joao Inacio 2005-10-09 23:09:05 UTC
Much better now, but (don't know if this related) i just see apps in window
mode, not when the applet is in panel.
Comment 4 Raphael Slinckx 2005-10-09 23:17:18 UTC
I'm seeing this too, how weird..
Comment 5 Raphael Slinckx 2005-10-09 23:37:52 UTC
Ok, i forgot to add the new file to makefile.am, fixed in CVS