Commit Graph

142 Commits

Author SHA1 Message Date
JosephMcc bd32e81f13 spell-plugin: Port to gspell 2018-02-10 12:22:37 -08:00
JosephMcc 0a25600883 spell-plugin: Update for removal of some deprecated functionality
enchant_dict_add_to_pwl () was removed from libenchant. Use it's replacement,
enchant_dict_add () instead and bump our required version of libenchant.

Closes https://github.com/linuxmint/xed/issues/198
2018-02-05 01:03:13 -08:00
JosephMcc a5af28a95d xed-spell-checker.c: Clean up the code formatting 2018-02-05 01:03:13 -08:00
Leigh Scott 4c813f2c7f Fix Py*DeprecationWarning (#202) 2018-02-03 10:26:28 +00:00
Clement Lefebvre ab581c166b l10n: Fix localization in TextSize plugin 2017-11-15 13:08:58 +00:00
Gavin D. Howard 1f85332906 Make the trailsave plugin also strip trailing lines (#135)
Make the trailsave plugin also strip trailing lines
2017-08-30 11:17:08 +01:00
JosephMcc 9376dc72da text zoom: Put a limit on the min and max zoom (#137)
Text zoom: Put a limit on the min and max zoom
2017-08-30 11:14:43 +01:00
JosephMcc c306c1b527 filebrowser: Change an icon name (#132)
Change the icon name for the filebrowser from system-file-manager to folder.
This prevents you from getting a weird unexpected icon under some themes
like Mint-Y
2017-06-02 11:05:37 +01:00
JosephMcc 96a50bc803 time-plugin: Use GDateTime
121f02a3ea
2017-04-01 12:06:22 -07:00
Clement Lefebvre 99a730fa9c Merge pull request #89 from JosephMcc/filebrowser-3
Filebrowser 3
2017-02-22 10:40:17 +00:00
JosephMcc 57a3daf2d5 Allow building with --disable-spell
It helps if we actually respect our conditionals.
2017-02-20 04:13:09 -08:00
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