Commit Graph

131 Commits

Author SHA1 Message Date
JosephMcc ebb32ff114 filebrowser: Set the combobox insensitive when the bookmarks are showing
The combo doesn't show anything useful when treeview is showing the bookmarks
so just set it insensitive.
2017-02-15 19:51:29 -08:00
JosephMcc 245991c22c filebrowser: Make the "Open terminal here" command work again
Add a gsettings key to set the terminal used for the command in the menu. By
default this is set to 'x-terminal-emulator' but it can be easily overridden
by packagers or changed by users who choose to.
2017-02-15 19:32:40 -08:00
JosephMcc 6801233bd8 filebrowser: Do not parse .hidden in the file browser
f0454abbec
2017-02-15 18:25:54 -08:00
JosephMcc 5c08882ba6 filebrowser: Don't use deprecated GtkStock 2017-02-15 18:25:54 -08:00
JosephMcc ee1448d73f filebrowser: Activate selected item when search is complete
0701c9c463
2017-02-15 18:25:54 -08:00
JosephMcc bf1133231b filebrowser: Redesign the toolbar in filebrowser 2017-02-15 18:25:54 -08:00
JosephMcc 87238194c3 filebrowser: don't use deprecated GIOScheduler
2d1eb80d3d
2017-02-15 18:25:54 -08:00
JosephMcc 9637840886 filebrowser: use Untitled File/Folder for new file/folders
e7e404a32a
2017-02-15 18:25:54 -08:00
JosephMcc 80509d36a3 filebrowser: "Rename" menu entry should have an ellipsis 2017-02-15 18:25:54 -08:00
JosephMcc 14cc619751 xed-file-browser-utils.c: Clean up code style 2017-02-15 18:25:54 -08:00
JosephMcc 44f60af7a7 filebrowser: Support new location of gtk bookmarks file
Also remove an old bit of code that was left over when some of the ifdef's for
windows and mac specific code was removed.

54d69eb93c
2017-02-15 18:25:54 -08:00
JosephMcc 1e2e106d70 filebrowser: Remove the back and forward toolbar dropdowns 2017-02-15 18:25:54 -08:00
JosephMcc c27e781132 filebrowser: Fix crash on open_terminal action
0836fd05ac
2017-02-15 18:25:54 -08:00
JosephMcc fa31c65c2f filebrowser: Don't leak GFiles
e2f792359a
2017-02-15 18:25:54 -08:00
JosephMcc fe9e6ac91c file-browser-messages: Clean up formatting 2017-02-15 18:25:54 -08:00
JosephMcc 372399891d filebrowser: Unref the enumerator in the filebrowser plugin
8bb1b9555f
2017-02-15 18:25:54 -08:00
JosephMcc 4c45b083e1 Do not leak file info for . and .. dirs
fa5fa82ce0
2017-02-15 18:25:54 -08:00
JosephMcc f20b3bdcf5 filebrowser-view: Removed the unused "busy" cursor 2017-02-15 18:25:54 -08:00
JosephMcc 61bca3cc0f xed-file-browser-widget: Clean up code styling 2017-02-15 18:25:54 -08:00
JosephMcc a1e94f2777 Use slice allocator instead of g_new when appropriate
a0b15be6fd
2017-02-15 18:25:54 -08:00
JosephMcc ca9321f599 Fix g_free which should be g_object_unref in file browser
331af4bdda
2017-02-15 18:25:54 -08:00
JosephMcc e1a7919ebd Merge pull request #86 from JosephMcc/focus-1
Focus view when opening files from the filebrowser or documents panel
2017-02-15 16:05:44 -08:00
JosephMcc c253d9feaa Focus view when opening files from the filebrowser or documents panel
139db33451
2017-02-13 01:56:33 -08:00
JosephMcc ad8fa295f2 Sort: Turn sort into a simpler and undoable action
Convert to a builtin plugin and remove the use of the dialog. Sort can now be
triggered from the edit menu or by the F10 hot key.
2017-02-12 15:42:32 -08:00
JosephMcc 01bada3e7e Implement font zooming in the editor
Give controls for zoom in, zoom out, and reset zoom in the menu and via hotkey.
Also add a new placeholder in the view menu to allow positioning the menuitems
properly. Still want to keep the highlighting menu item at the  bottom.

This is implemented by using a builtin libpeas python plugin. Add support for
loading these plugins at startup. They cannot be enabled or disabled through the
UI. They can still be disabled in gsettings but will be automatically reloaded
when xed is restarted.

Closes: https://github.com/linuxmint/xed/issues/45
2017-02-12 01:24:02 -08:00
JosephMcc bf69e64718 Don't use deprecated gtk_widget_set margin_left/right 2017-02-05 03:54:09 -08:00
JosephMcc 2aa009cb76 Port xed to dbus and GtkApplication
This further improves on the port to GtkSource API's and cleans up a ton of
legacy code in xed based on upstream changes in Gedit.
2017-02-04 22:17:58 -08:00
JosephMcc f05ddd7b63 Port to GtkSource* API
There are still bugs but this gets it started
2017-01-30 14:52:12 -08:00
JosephMcc 32200f4b7e Plugins: Remove the changecase plugin
Change case is provided by part of the GtkSourceView context menu. If we want
this available in the main application menu we can bring it back as built in
functionality. There is no real reason to keep a plugin around just for that
2017-01-29 04:19:04 -08:00
JosephMcc 511fc3dfec Port to the GtkSourceView search functionality
This also gives us support for regex search
2017-01-28 19:12:36 -08:00
JosephMcc f546598d83 Remove xed_utils_location_has_file_scheme 2017-01-21 14:44:55 -08:00
JosephMcc 6b8c07d90e Kill xed-language-manager and use gtksourcelanguagemanager directly 2017-01-21 13:51:08 -08:00
JosephMcc 490303557a Revamp our handling of settings
The current handling of settings is a very roundabout leftover from the days of
gconf. Simplify and handle the setting more directly. At the same time move
handling of saving the window state to gsettings instead of saving it to a
config file.
2017-01-16 15:41:07 -08:00
JosephMcc f21c6e9361 Port to the use of GFile instead of URIs and merge gio document loader and saver
into document loader and saver
2017-01-14 11:48:19 -08:00
JosephMcc c65c6f2a3e spell-plugin: Clean up a few things
Clean up a couple files, remove deprecated widgets from the UI files and clean
up the styling of a couple dialogs a bit
2017-01-12 23:59:23 -08:00
JosephMcc c03a0a3e7d time-plugin: Clean up a bit from libpeas port 2017-01-11 23:47:49 -08:00
JosephMcc 77ae5a4048 trailsave-plugin: Port to WindowActivatable 2017-01-11 23:21:23 -08:00
JosephMcc cd3ab1695d taglist-plugin: Port to WindowActivatable 2017-01-11 22:52:37 -08:00
JosephMcc 769f1baaaa changecase-plugin: Port to WindowActivatable 2017-01-11 12:33:03 -08:00
JosephMcc 33cb6f4b32 time-plugin: Port to WindowActivatable 2017-01-11 03:00:03 -08:00
JosephMcc 30a61a9fd8 spell-plugin: Update to the new WindowActivatable interface 2017-01-10 03:08:44 -08:00
JosephMcc f65ce8f7ca sort-plugin: Port the sort plugin to WindowActivatable 2017-01-09 15:54:57 -08:00
JosephMcc e1fad74898 docinfo-plugin: Update for WindowActivatable changes 2017-01-09 14:38:32 -08:00
JosephMcc b9e5097250 Add new (App/Window/View)Activatable interfaces for plugins
Currently only the modelines and filebrowser plugins are updated to these new
interfaces
2017-01-09 11:57:48 -08:00
JosephMcc ded60fbe20 xed-panel: Clean up more uses of GtkStock
Also update a couple of the plugins that call this functionality
2017-01-01 15:41:06 -08:00
JosephMcc 3a6de664e1 xed-sort-plugin.c: Clean up code styling 2016-12-26 20:26:21 -08:00
JosephMcc f9a658f823 taglist plugin: don't look for taglist in non-existing legacy dirs 2016-12-26 19:04:39 -08:00
JosephMcc 89758101cc plugins: Make them actually recognized and loaded by Xed
Adapted from:
e1fbe56adf
2016-12-26 16:12:05 -08:00
JosephMcc 9b3313efa7 trailsave-plugin: Port to libpeas
Adapted from:
ce25be2320
2016-12-26 13:58:16 -08:00
JosephMcc b7ecc43dfc time-plugin: Port to libpeas
Adapted from:
564ca51a25
2016-12-26 13:54:48 -08:00