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 165799 - Problem defining menu entries
Problem defining menu entries
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.8.x
Other other
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 165010 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-31 12:20 UTC by Angel L. Mateo
Modified: 2005-01-31 13:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Angel L. Mateo 2005-01-31 12:20:51 UTC
Distribution: Debian 3.1
Package: nautilus
Severity: normal
Version:  unspecified
Synopsis: Problem defining menu entries
Bugzilla-Product: nautilus
Bugzilla-Component: Preferences
Bugzilla-Version: unspecified
Description:
Description of Problem:
I have gnome 2.8 in debian sid. I am trying to define my own submenus
and menu entries (launchers). The problem I have is that after defining
submenus, when I try to add a launcher to a menu, the launcher doesn't
appears in the submenu. I have try to log out and log in and it doesn't
solve the problem.
Investigating it I have found that if I remove the Version and
X-GNOME-DocPath entries in the launcher file (editing it with vi) the
launcher works well.

Steps to reproduce the problem:
1. Create a launcher
2. Try to display it
3. To solve it: edit the launcher file

Actual Results:


Expected Results:


How often does this happen?
All times I create a new launcher

Additional Information:
I use the spanish locale




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-01-31 07:20 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "nautilus".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Angel L. Mateo 2005-01-31 12:37:32 UTC
I have revised the problem. The problem isn't with that lines mentioned. The
problem is with the TryExec= line. I have to remove it to the launcher works
Comment 2 Luis Villa 2005-01-31 12:39:37 UTC
What are the full contents of the TryExec= line?
Comment 3 Sebastien Bacher 2005-01-31 12:41:30 UTC
The menu are handled by gnome-panel, reassigning.

BTW this bug is fixed by gnome-panel 2.8.2-2 in Debian (uploaded yesterday):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291185

The new panel menu system doesn't use the vfolders so this bug is fixed in the
CVS too, I'm closing this bug.
Comment 4 Sebastien Bacher 2005-01-31 12:47:43 UTC
The patch used in the debian package (maybe Vincent wants to commit it to
gnome-2-8 ?):

diff -Naur gnome-panel-2.8.2.orig/gnome-panel/quick-desktop-reader.c
gnome-panel-2.8.2/gnome-panel/quick-desktop-reader.c
--- gnome-panel-2.8.2.orig/gnome-panel/quick-desktop-reader.c	2005-01-20
21:51:45.000000000 +0100
+++ gnome-panel-2.8.2/gnome-panel/quick-desktop-reader.c	2005-01-20
22:20:33.000000000 +0100
@@ -100,6 +100,8 @@
 	p++;
 	if (*p == ' ')
 		p++;
+	if (*p == '\0')
+		return NULL;
 	return p;
 }
 /* nice wrapper for this to still allow some compiler optimization
Comment 5 Vincent Untz 2005-01-31 13:03:14 UTC
*** Bug 165010 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2005-01-31 13:08:07 UTC
Thanks. Fixed in gnome-2-8.