[Geany-devel] Search submenu for editor popup menu

Jiří Techet techet at xxxxx
Wed Sep 15 19:51:06 UTC 2010


On Wed, Sep 15, 2010 at 03:15, Lex Trotman <elextr at gmail.com> wrote:
> On 15 September 2010 00:16, Nick Treleaven
> <nick.treleaven at btinternet.com> wrote:
>> Hi,
>> I propose we add a new menubar Search submenu which is also shown in
>> the popup editor menu. This would be similar to what we do for the Edit
>> submenu items Format and Commands.
>>
>> Reasoning:
>>
>> 1. We can help new users to find all the various keybinding commands
>> grouped into logical submenus.
>> 2. We keep the popup editor menu smaller (but make it easy for
>> upgrading users to find the old Find Document Usage and Go to Tag
>> Declaration items [which are currently in the Search menubar]).
>> 3. We keep the menubar Search menu smaller than current HEAD.
>> 4. Sharing the submenu means we only need one actual GtkMenu widget
>> (this is already done for the Edit submenus).
>>
>> The new submenu would have both Find Usage items and both Go to Tag
>> items (even though one of each are shown in the toplevel popup menu
>> for speed).
>>
>> Logically, probably the Search->Find Selected items should be moved to
>> the submenu also.
>>
>> There are also Go to Marker commands in the Edit->Commands menu which
>> would fit better in the new submenu, and other 'Go to' keybindings which
>> don't have menu items.
>>
>> Thoughts?
>
> As noted in another response, IAW Gnome HIG right click popups S/B
> context related things.
>
> FWIW I'd:
>
> 1. remove undo/redo/select all as they are not context related

Agree - apart from not being context related basically everyone sane
uses keyboard shortcuts for them so they just occupy space.

>
> 2. let the user pick say four most used top level commands since we
> are *never* going to agree on them.  Use a simplified version of the
> customise toolbar dialog.

That would be pretty cool! If the selectable commands are all the
commands from the keybindings list, these could also be the commands
introduced by plugins, which is something I would find really useful.
I think the restriction of four doesn't have to exist at all?

Cheers,

Jiri

>
> Cheers
> Lex
>
>>
>> Regards,
>> Nick
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list