Re: Fwd: Pgadmin 1.12 rc1 editing bug

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Fwd: Pgadmin 1.12 rc1 editing bug
Дата
Msg-id AANLkTikss80any4M_GF7oJ7+7D=93WAXXDSmZWeSag_H@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: Pgadmin 1.12 rc1 editing bug  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Fwd: Pgadmin 1.12 rc1 editing bug  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-hackers
On Mon, Sep 6, 2010 at 5:34 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Le 06/09/2010 18:13, Dave Page a écrit :
>> On Mon, Sep 6, 2010 at 5:03 PM, Guillaume Lelarge
>> <guillaume@lelarge.info> wrote:
>>> It's possible to disable the toolbar button, but we'll need to keep the
>>> menu item enabled so that the DEL key still triggers the OnDelete()
>>> method. Is this what you want?
>>
>> What about adding an accelerator for the DEL key binding, so it
>> doesn't matter if the menu is disabled or not?
>>
>
> There's already an accelerator entry for the DEL key. If the menu is
> disabled, the method is not fired. So, I only know two solutions: don't
> disable the menu item, don't show the Del keybinding in the menu item.

Does creating the accelerator table before the menu make any difference?



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Fwd: Pgadmin 1.12 rc1 editing bug
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Fwd: Pgadmin 1.12 rc1 editing bug