#3078: OSX menubar and accelerator keys broken
---------------------+---------------------------
  Reporter:  Cas     |      Owner:
      Type:  bug     |     Status:  new
  Priority:  minor   |  Milestone:  2.x
 Component:  GTK UI  |    Version:  develop (git)
Resolution:          |   Keywords:
---------------------+---------------------------
Description changed by Cas:

Old description:

> The switch to gtkbuilder has broken menubar_osx from setting the
> accelerators from `ctrl` to `command` key on OSX.
>
> To fix the following error, for now I have commented out the remove line.
> {{{
> deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
> accelerator (111,4) installed in accel group (0x7ff258e58240) for
> GtkImageMenuItem (0x7ff258e6f8f0)
>   item.remove_accelerator(group, ord(skey), smod)
> deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
> accelerator (110,4) installed in accel group (0x7ff258e58240) for
> GtkImageMenuItem (0x7ff258e6f9c0)
>   item.remove_accelerator(group, ord(skey), smod)
> deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
> accelerator (113,5) installed in accel group (0x7ff258e58240) for
> GtkImageMenuItem (0x7ff258e6fa90)
>   item.remove_accelerator(group, ord(skey), smod)
> deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
> accelerator (112,4) installed in accel group (0x7ff258e58240) for
> GtkImageMenuItem (0x7ff258e6fc30)
>   item.remove_accelerator(group, ord(skey), smod)
> deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
> accelerator (109,4) installed in accel group (0x7ff258e58240) for
> GtkImageMenuItem (0x7ff258e6fd00)
>   item.remove_accelerator(group, ord(skey), smod)
> }}}

New description:

 The switch to gtkbuilder has broken menubar_osx from setting the
 accelerators from `ctrl` to `command` key on OSX.

 For now I have commented out the remove line to fix the following error
 and at least show the OSX menu items.
 {{{
 deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
 accelerator (111,4) installed in accel group (0x7ff258e58240) for
 GtkImageMenuItem (0x7ff258e6f8f0)
   item.remove_accelerator(group, ord(skey), smod)
 deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
 accelerator (110,4) installed in accel group (0x7ff258e58240) for
 GtkImageMenuItem (0x7ff258e6f9c0)
   item.remove_accelerator(group, ord(skey), smod)
 deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
 accelerator (113,5) installed in accel group (0x7ff258e58240) for
 GtkImageMenuItem (0x7ff258e6fa90)
   item.remove_accelerator(group, ord(skey), smod)
 deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
 accelerator (112,4) installed in accel group (0x7ff258e58240) for
 GtkImageMenuItem (0x7ff258e6fc30)
   item.remove_accelerator(group, ord(skey), smod)
 deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no
 accelerator (109,4) installed in accel group (0x7ff258e58240) for
 GtkImageMenuItem (0x7ff258e6fd00)
   item.remove_accelerator(group, ord(skey), smod)
 }}}

--

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3078#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to