Re: [gedit-list] Possible to deattach Ctrl+F shortcut from FileBrowser?



On 03/15/2011 01:28 PM, Jakob Hilden wrote:
Hi together,

I find myself very frequently annoyed that often when I press Ctrl+F the search function of the FileBrowser opens instead of the search function of the editor window.  I guess this happens when the focus was not on the editor window before.

So my question is, whether there is any way to deattach the Ctrl+F shortcut from the FileBrowser?  I have tried the Edit Shortcuts plugin, but I couldn't find the corresponding setting.

Two possible solutions could be to deactivate the FileBrowser or to use a different shortcut for the editor search, but I really don't want to go there.
The accelerator is defined on GtkTreeView (http://git.gnome.org/browse/gtk+/tree/gtk/gtktreeview.c#n1712). You can override this keybinding in a ~/.gtkrc-2.0 file, with something like this:

binding "OverrideBrowserKeyBinding"
{
    unbind "<ctrl>f"
}

class "GeditFileBrowserView" binding "OverrideBrowserKeyBinding"


Any help for this would be greatly appreciated.

--Jakob
_______________________________________________ gedit-list mailing list gedit-list gnome org http://mail.gnome.org/mailman/listinfo/gedit-list



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