* xed-app.c: replace get_active_window with gtk_application version
This allows us to remove quite a bit of code, some of which uses
deprecated functions, so it also has the benefit of cleaning up the
deprecation warnings a bit.
* Switch a couple uses of gtk_show_uri with gtk_show_uri_on_window
gtk_show_uri is deprecated.
* Taglist plugin: remove call to gtk_tree_view_set_rules_hint
This function is deprecated, and it already defaults to false in
any case, so it wasn't doing anything anyway.
* Deprecations: move all instances of gtk_menu_popup to newer methods
In a couple cases this simplifies the code quite a bit
* Replace deprecated gdk_window_at_pointer with newer method
This is left over code from the gedit days, which we don't use, and
don't use. This also has the added benifit of removing at least 1
deprecation warning.
* Remove unused variables
Fixes the following warnings when building xed:
../plugins/filebrowser/xed-file-browser-plugin.c: In function ‘xed_file_browser_plugin_activate’:
../plugins/filebrowser/xed-file-browser-plugin.c:532:22: warning: unused variable ‘schema’ [-Wunused-variable]
GSettingsSchema *schema;
^~~~~~
../plugins/filebrowser/xed-file-browser-plugin.c:531:28: warning: unused variable ‘schema_source’ [-Wunused-variable]
GSettingsSchemaSource *schema_source;
^~~~~~~~~~~~~
* Remove an unused variable
Fixes the following warning when building xed:
../plugins/sort/xed-sort-plugin.c: In function ‘buffer_sort_lines’:
../plugins/sort/xed-sort-plugin.c:168:12: warning: variable ‘last_line’ set but not used [-Wunused-but-set-variable]
gchar *last_line = NULL;
^~~~~~~~~
* Remove an unused variable
Fixes the following warning when building xed:
../plugins/wordcompletion/xed-wordcompletion-plugin.c: In function ‘xed_wordcompletion_view_deactivate’:
../plugins/wordcompletion/xed-wordcompletion-plugin.c:306:34: warning: unused variable ‘provider’ [-Wunused-variable]
GtkSourceCompletionProvider *provider;
^~~~~~~~
* Remove an unused variable
Fixes the following warning when building xed:
../plugins/spell/xed-spell-plugin.c: In function ‘update_ui’:
../plugins/spell/xed-spell-plugin.c:495:24: warning: unused variable ‘buffer’ [-Wunused-variable]
GtkTextBuffer *buffer;
^~~~~~
* Port to meson
* plugin generation script: swtich to meson, update to python3, switch to libpeas, add some extra options, and cleanup
* clean up some build warnings
* kill xed-bugreport.sh with fire: it isn't used anymore, and probably doesn't even work
* update gzip command to avoid warnings on some systems and move appdata.xml to /usr/share/metainfo/ as that's where it's supposed to go now
* POTFILES.in: fix path that changed in the meson port, which was causing makepot to fail
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
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
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.
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