[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Menu entries not appearing



> On Thu, Sep 3, 2009 at 13:42, Alessandro Dentella<sandro@e-den.it> wrote:
> > Hi,
> >
> > I tried to add a menu entry for application 'sqledit', but the entry does not
> > appear if I use standard menu entry in debian as:
> >
> > ?package(python-sqlkit):needs="X11" section="Applications/Office"\
> >  title="sqledit" command="/usr/bin/sqledit"
> >
> > it gets placed in /usr/share/menu/python-sqlkit but it does not show in the
> > menu. In postinst scipt I correctly see:
> >
> >   if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
> >           update-menus
> >   fi
> >
> > It *does* appear correctly if I place a sqlkit.desktop in
> > /usr/share/applications.
> >
> > I'm doing something wrong with the menu entry?
> > Is it ok to use only sqlkit.desktop?
> >
> > thanks again
> >
> > sandro
> > *:-)
> >
On Thu, Sep 03, 2009 at 02:09:36PM +0200, Paul Gevers wrote:
> >>  I'm doing something wrong with the menu entry?
> 
> Maybe you want to use dh_installmenu in your rules. If I am correct it
> takes care of everything, including the postint etc.

no, I use cdbs that is calling dh_installmenu correcty, the postinstall is
created in fact by dh_installmanu. Nevertheless the entry does not appear in
the menu. Anyway I'm getting probelms even if I run update-menus by hand.

sandro


-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


Reply to: