← Back to team overview

cairo-dock-team team mailing list archive

Re: [Bug 576151] Re: GMenu's Problem with Parameters

 

ok I think I've found.
could you please try by replacing the line 166 (current version) :
if (*(cField+1) != ' ')
by
if (*(cField+1) != ' ' && *(cField+1) != '\0')

Thanks for your help !

2010/5/6 fab fab <fabounet03@xxxxxxxxx>

> ok I'll check the diff, thank you for the hint :-)
> last thing, what is the command in the gimp.desktop and inkscape.desktop
> please ?
>
> 2010/5/6 Tsu Jan <tsujan2000@xxxxxxxxx>
>
>> The suspicious lines in ~/..xsession-errors, that led me to make the
>>
>> above replacement, contained:
>>
>> cCommandExpanded : inkscape <SOME_RANDOM_CHARACTER>
>>
>> Or:
>>
>> cCommandExpanded : gimp-2.6 <SOME_RANDOM_CHARACTER>
>>
>> --
>> GMenu's Problem with Parameters
>> https://bugs.launchpad.net/bugs/576151
>> You received this bug notification because you are a member of Cairo-
>> Dock Team, which is the registrant for Cairo-Dock Plug-ins.
>>
>> Status in Cairo-Dock : Plug-ins: New
>>
>> Bug description:
>> In Gnome 2.30 (Debian Squeeze), if the command of an application has a
>> parameter (like %f, %U or %F) in its desktop file, the application may
>> complain about not finding a file when run with GMenu. Examples are Inkscape
>> and GIMP; CherryTree doesn't find its last document, NoteCase reports a
>> crash, and Dia even hangs.
>>
>> This bug is somehow serious and made me to temporarily abandon Cairo-Dock
>> in favor of gnome-panel.
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
>> Post to     : cairo-dock-team@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

-- 
GMenu's Problem with Parameters
https://bugs.launchpad.net/bugs/576151
You received this bug notification because you are a member of Cairo-
Dock Team, which is the registrant for Cairo-Dock Plug-ins.

Status in Cairo-Dock : Plug-ins: New

Bug description:
In Gnome 2.30 (Debian Squeeze), if the command of an application has a parameter (like %f, %U or %F) in its desktop file, the application may complain about not finding a file when run with GMenu. Examples are Inkscape and GIMP; CherryTree doesn't find its last document, NoteCase reports a crash, and Dia even hangs.

This bug is somehow serious and made me to temporarily abandon Cairo-Dock in favor of gnome-panel.





References