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 89547 - Create launcher dialog - remove invalid types
Create launcher dialog - remove invalid types
Status: RESOLVED DUPLICATE of bug 95331
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
2.0.x
Other All
: Normal minor
: 2.2.x
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-07-31 16:43 UTC by Eugene O'Connor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eugene O'Connor 2002-07-31 16:43:04 UTC
In the Create launcher dialog, there are six types of launcher:
Application, Link, FSDevice, MimeType, Service, and Service Type. From a
thread on desktop-devel-list, it looks like the last four of these are not
relevant to a user adding a launcher. Should these four types be removed
from the Create launcher dialog?

Here is the thread:
http://mail.gnome.org/archives/desktop-devel-list/2002-July/msg00681.html
Comment 1 Mark McLoughlin 2002-08-01 00:22:53 UTC
Will do.
Comment 2 Kjartan Maraas 2002-10-27 18:38:57 UTC
Still there in 2.1.x.
Comment 3 Kjartan Maraas 2004-01-22 11:25:55 UTC
        switch (type) {
        case ONLY_DIRECTORY:
                add_menuitem (menu, "Directory", _("Directory"),
                              select, &selected);
                break;
        default:
                add_menuitem (menu, "Application", _("Application"),
                              select, &selected);
                                                                     
          
                if (type != ALL_EXCEPT_DIRECTORY)
                        add_menuitem (menu, "Directory", _("Directory"),
                                      select, &selected);
                                                                     
          
                add_menuitem (menu, "Link", _("Link"),
                              select, &selected);
                add_menuitem (menu, "FSDevice", _("FSDevice"),
                              select, &selected);
                add_menuitem (menu, "MimeType", _("MIME Type"),
                              select, &selected);
                add_menuitem (menu, "Service", _("Service"),
                              select, &selected);
                add_menuitem (menu, "ServiceType", _("ServiceType"),
                              select, &selected);
                break;
        }

Removing the four last entries is easy, but what does the "Directory"
entry really do? It doesn't show up in my menu at least.
Comment 4 Mark McLoughlin 2004-02-16 09:30:23 UTC
Hmm, the whole dialog needs a re-think. See bug #95331

Everything in this bug is covered in bug #95331

*** This bug has been marked as a duplicate of 95331 ***