GNOME Bugzilla – Bug 89547
Create launcher dialog - remove invalid types
Last modified: 2004-12-22 21:47: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
Will do.
Still there in 2.1.x.
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.
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 ***