When an item is selected in the file browser:
- when the left key is pressed:
- if it can be collapsed, collapse it;
- if its parent exists, go to the parent;
- otherwise, do nothing;
- when the right key is pressed:
- if it can be expanded, expand it;
- otherwise, do nothing.
This mirrors the behaviour of Nautilus
(before the tree view has been temporarily removed).
See https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/141
https://bugzilla.gnome.org/show_bug.cgi?id=697101
This patch sets the focus cell to the text cell, as it was not
possible to start a rename before clicking an item in the tree
view because of the focus cell being the icon cell, which can
not be edited.
After setting the focus cell to the text cell, new file and folder
creation starts a rename even before the first tree selection.
* plugins/filebrowser/gedit-file-browser-view.c:
* plugins/filebrowser/gedit-file-browser-widget.c:
* plugins/filebrowser/gedit-file-browser-store.c:
* plugins/filebrowser/gedit-file-browser-view.h:
Fixed switching from bookmarks to file view only after mounting
(fixes#551136). Fixed scrolling to rename position when renaming
a file. Fixed cancelling mount operation when switching to different
uri.
svn path=/trunk/; revision=6795
* gedit/gedit-message-type.h:
* gedit/gedit-message-type.c:
* gedit/gedit-message.h:
* gedit/gedit-message.c:
* gedit/gedit-message-bus.h:
* gedit/gedit-message-bus.c:
* gedit/gedit-window.h:
* gedit/gedit-window.c:
* gedit/gedit-window-private.h:
* gedit/Makefile.am:
Merged message communication bus from message_system branch providing
a framework to allow (amongst others) plugins to cooperate in similar
way as DBus (but for in-process communication)
* docs/reference/gedit-sections.txt:
* docs/reference/gedit.types:
* docs/reference/gedit-docs.sgml:
* docs/reference/tmpl/gedit-message.sgml:
* docs/reference/tmpl/gedit-message-type.sgml:
* docs/reference/tmpl/gedit-message-bus.sgml:
Added API documentation for message bus
* plugin-loaders/python/bindings/geditmessage.override:
* plugin-loaders/python/bindings/Makefile.am:
* plugin-loaders/python/bindings/gedit.override:
* plugin-loaders/python/bindings/gedit.defs:
Implemented python bindings for message bus
* plugins/filebrowser/gedit-file-browser-messages.c:
* plugins/filebrowser/gedit-file-browser-messages.h:
* plugins/filebrowser/gedit-file-browser-widget.c:
* plugins/filebrowser/gedit-file-browser-widget.h:
* plugins/filebrowser/gedit-file-browser-plugin.c:
* plugins/filebrowser/Makefile.am:
Added message bus support for the file browser plugin
* plugins/filebrowser/gedit-file-browser-view.c:
Added sanity checks for destruction of state restore table
svn path=/trunk/; revision=6755
* plugins/filebrowser/gedit-file-browser-store.c:
* plugins/filebrowser/gedit-file-browser-view.c:
Fixed problems with changing model when rows are inserted. This made it
possible to change the expand/collapse actions from an idle function to
immediate functions. This results in much faster 'feel' of the file
browser and also makes restoring the expanded state much faster. Also
fixed two memory leaks
svn path=/trunk/; revision=6277
* plugins/filebrowser/gedit-file-browser-view.c:
* plugins/filebrowser/gedit-file-browser-view.h:
* plugins/filebrowser/gedit-file-browser-widget.c:
* plugins/filebrowser/gedit-file-browser-store.c:
* plugins/filebrowser/gedit-file-browser-store.h:
Added new feature which restores the expanded state of file browser
nodes
svn path=/trunk/; revision=6276
2006-12-01 Paolo Borelli <pborelli@katamail.com>
* gedit/plugins/filebrowser/gedit-file-browser-store.c:
* gedit/plugins/filebrowser/gedit-file-browser-view.c:
Allow to drag files from the pane.
* plugins/filebrowser/gedit-file-browser-widget.c: changed tooltips
for back and forward to match nautilus
* plugins/filebrowser/gedit-file-browser-widget.c:
* plugins/filebrowser/gedit-file-browser-view.c:
Fixed bug when opening a directory which is expanded.
* plugins/filebrowser/gedit-file-browser-widget-ui.xml:
* plugins/filebrowser/gedit-file-browser-widget.c:
Added keyboard navigation (Alt+Left, Alt+Right, Alt+Up, Backspace) and
directory up action.