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 72715 - Nautilus provides no way to add application launchers to the panel menus
Nautilus provides no way to add application launchers to the panel menus
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
1.1.x
Other other
: Urgent blocker
: 1.1.x
Assigned To: George Lebl
Nautilus Maintainers
: 43264 43269 61080 75979 76180 76653 79181 79714 83206 (view as bug list)
Depends on: 73768 73769 73770 73773 76394 79313 84841
Blocks: 75977 75979 80453
 
 
Reported: 2002-02-26 19:32 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: Old
GNOME version: ---


Attachments
Untested gnome-vfs patch (1.12 KB, patch)
2002-05-24 23:29 UTC, George Lebl
none Details | Review
Untested (may not compile) nautilus patch (8.42 KB, patch)
2002-05-24 23:30 UTC, George Lebl
none Details | Review

Description Dave Bordoley [Not Reading Bug Mail] 2002-02-26 19:32:59 UTC
Testing gnome2 i've noticed that nautilus is going to be used as the menu
editor. However it is impossible to add application launchers to the menu
through nautilus. The only way currently to do this is to create a launcher
on the panel and than drag it into nautilus. This is counterintuitive and
bad and must be fixed. Marking this blocker since gnome2 shouldn't even
ship if this isn't fixed.
Comment 1 Luis Villa 2002-03-02 01:06:05 UTC
Marking Urgent, since bordoley is mainly right- this really, really
must be fixed before we ship g2. Not sure it is really a nautilus bug,
though.

Darin: note that this is probably something falling under the 'not a
regression but still 1.2 related' category, as far as I can see, since
this new functionality was sort-of-added to nautilus but not really.
Please feel free to change if you disagree.
Comment 2 George Lebl 2002-03-03 00:27:09 UTC
I'm on it.  I'll make an external program in the panel that allows
editting .desktop's and .directories, and install a mime-handler for
those.  And include buttons for creation of new .desktop's on the
sidebar for such directories.  Or some such.  (or so is the plan)

Optimal solution would be to have support directly in nautilus, and I
think we should think about making a specialized view for this as well.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-03-13 21:18:49 UTC
Just noticed that panel does supply a program to create launchers on
the panel, could this be used in nautilus too?
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-03-14 21:30:41 UTC
*** Bug 43264 has been marked as a duplicate of this bug. ***
Comment 5 Luis Villa 2002-03-28 21:33:33 UTC
*** Bug 76653 has been marked as a duplicate of this bug. ***
Comment 6 Dave Bordoley [Not Reading Bug Mail] 2002-03-29 05:44:30 UTC
*** Bug 43269 has been marked as a duplicate of this bug. ***
Comment 7 Dave Bordoley [Not Reading Bug Mail] 2002-03-29 22:26:36 UTC
Why don't we just use the "create launcher" binary from the panel to
create launchers and use the "launcher properties" binary from the
panel to edit launchers properties? If needed we could move these two
binaries to a more generic gnome library (maybe gnomeUI, I don't know
too much about this). Should be easy I would assume.
Comment 8 Luis Villa 2002-03-31 05:59:30 UTC
bug 75979 is sort of a dup of this; perhaps a complete dup. Not sure;
depends on how that one is interpreted.

George, what's the situation here? This is a /huge/ problem for 2.0
right now :/
Comment 9 mike 2002-04-03 11:08:11 UTC
The following gnome-vfs bugs relate to the same issues

73768  nor Nor jirka@5z.com NEW  New folder in applications:/// is 
getting the name "untitled  
73773  nor Nor jirka@5z.com NEW  Cannot rename items in 
applications:///  
73769  nor Nor jirka@5z.com NEW  Deleted folders in applications:/// 
don't disappear.  
73770  nor Nor jirka@5z.com NEW  Drag and Drop fails to add menu 
items to applications:///  
Comment 10 Dave Bordoley [Not Reading Bug Mail] 2002-04-05 06:35:26 UTC
*** Bug 61080 has been marked as a duplicate of this bug. ***
Comment 11 Heath Harrelson 2002-04-08 15:47:38 UTC
*** Bug 78075 has been marked as a duplicate of this bug. ***
Comment 12 Dave Bordoley [Not Reading Bug Mail] 2002-04-09 05:19:39 UTC
*** Bug 75979 has been marked as a duplicate of this bug. ***
Comment 13 Luis Villa 2002-04-11 21:14:09 UTC
Thanks for digging those up, Mike. Adding those to the dependencies of
this bug.
Comment 14 Luis Villa 2002-04-11 21:31:52 UTC
Doh. Meant to mark those 'depends on' not 'blocks.'
Comment 15 mike 2002-04-11 22:16:38 UTC
Not sure if I caught all the related bugs - they could be posted on
several packages under several descriptions, as with the above.
Comment 16 mike 2002-04-11 22:24:35 UTC
Not sure if I caught all the related bugs - they could be posted on
several packages under several descriptions, as with the above.

add 76180 74719 to the list
Comment 17 Luis Villa 2002-04-12 02:03:05 UTC
Mike: I'm thinking maybe bug 76180 should just be merged into this
one, since it already has some of those types of details?
Comment 18 mike 2002-04-13 20:09:28 UTC
agreed - at least we now have most of these bugs in the same place now
Comment 19 Wayne Schuller 2002-04-14 12:09:23 UTC
adding bugbuddy tag 
Comment 20 Luis Villa 2002-04-16 04:44:36 UTC
*** Bug 76180 has been marked as a duplicate of this bug. ***
Comment 21 John Fleck 2002-04-19 13:08:49 UTC
*** Bug 79181 has been marked as a duplicate of this bug. ***
Comment 22 Dave Bordoley [Not Reading Bug Mail] 2002-04-24 12:45:29 UTC
*** Bug 79714 has been marked as a duplicate of this bug. ***
Comment 23 Diego González 2002-04-28 01:41:13 UTC
i've been looking today at this bug, i didn't get very far. This are
the things that i saw:

the vfolder-desktop method in general does not unscape the uris.

to move items between directories:

as the vfolder-desktop method doesn't support file permissions,
nautilus  tries to check whether it can write in the target directory
by writing a test file .vfs-write.tmp, as the extension of the file is
not .desktop or .directory, the do_create function of the vfolder
method return "Invalid URI".

Moving/renaming whole directories is quite difficult, i took a look at
the code but didn't get very far. Maybe George could put some light on
this.

I'm really tired of this thing, maybe in a week i'll give it another try.
Comment 24 mike 2002-05-02 10:22:45 UTC
Workaround/ideas for solution

I have posted to list along these lines but you can do menu editing 
from command line as follows.

Copy a .desktop file for the menu item you want and edit to reflect 
new entry.

All you need to change is 
application name
icon
category

To create new category

edit /etc/gnome-vfs-2.0/vfolders/applications registry (I think)
amend text in file - fairly easy to follow layout

Comment 25 George Lebl 2002-05-24 01:12:20 UTC
I'm currently working on a nautilus patch to add items to menus.  The
overall idea is:

Change the mime type of the vfolder directory from x-directory/normal
to x-directory/vfolder-desktop.  Then in the fm-directory-view.c file
I check if it is this mime/type and if so show a New Launcher and Edit
Launcher items.

Unfortinately this does add a few strings
Comment 26 Alex Graveley 2002-05-24 15:32:02 UTC
George, any idea when your patch might be ready?
Comment 27 George Lebl 2002-05-24 17:03:12 UTC
When I get my alpha to get that far in the compile and I can debug it.
 I could send you my patch which I have not even compiled yet.
Comment 28 George Lebl 2002-05-24 23:21:49 UTC
Hmm, doesn't look like I'll get it done today.  Hopefully during the
weekend.
Comment 29 George Lebl 2002-05-24 23:28:50 UTC
Ok since I won't be able to finish it right now, here are the untested
patches to gnome-vfs and nautilus.  If someone wants to finish it make
sure to reply to this bug.  I probably won't get much of a chance to
look at this throughout the weekend so ... they're not long patches,
but completely untested
Comment 30 George Lebl 2002-05-24 23:29:49 UTC
Created attachment 8715 [details] [review]
Untested gnome-vfs patch
Comment 31 George Lebl 2002-05-24 23:30:32 UTC
Created attachment 8716 [details] [review]
Untested (may not compile) nautilus patch
Comment 32 Dave Bordoley [Not Reading Bug Mail] 2002-05-25 07:23:52 UTC
George et al. Just to let you know, alexl has been pretty clear that
he wants .desktop file properties to be integrated into the standard
nautilus properties dialog.
Comment 33 George Lebl 2002-05-26 17:01:12 UTC
That's all great, but is that easily doable in gnome 2.0.0 time?  I'm
not sure I will have the time to do that.  If you need to do that
you'd have to put a lot of the panel code that's used in the
gnome-desktop-entry-edit program into nautilus.  I think this is too
much for 2.0.0.  The above is a minimal change that should fix the bug
for now, and we can make it nicer and better later.
Comment 34 Dave Bordoley [Not Reading Bug Mail] 2002-05-27 03:00:24 UTC
George: I have no say in this matter obviously. I just wanted to
convey to you previous comments alex has made.
Comment 35 Dave Bordoley [Not Reading Bug Mail] 2002-05-28 03:53:27 UTC
*** Bug 83206 has been marked as a duplicate of this bug. ***
Comment 36 Michael Meeks 2002-05-30 10:30:19 UTC
Alex are you working on this ? I don't want to tread on your toes, but
this needs fixing ...
Comment 37 George Lebl 2002-05-30 17:53:36 UTC
I'm about to commit
Comment 38 George Lebl 2002-05-30 18:04:34 UTC
Just comitted to CVS.  We still need a fix for the vfolder monitors if
this is to work nice since currently you need to hit reload to see any
changes.  You need to update gnome-vfs, gnome-mime-data, gnome-panel
and nautilus to get this working well.
Comment 39 Alex Graveley 2002-05-30 20:35:02 UTC
This breaks launcher creation on the desktop.  Reopening because i'm
too lazy to create a new bug.
Comment 40 George Lebl 2002-05-30 21:11:14 UTC
Ahhh, found it, fixing it, committing etc etc etc ...  try it again
now :) (what a doofus I am)