Commit Graph

9 Commits

Author SHA1 Message Date
chingyinwan123 39e08bd3b8 Fix warnings when building xed 2.0.1 (#264)
* 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;
                        ^~~~~~
2018-12-11 11:38:12 +00:00
Stephen Collins 6e36dc4a5f Port to meson (#258)
* 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
2018-11-19 11:09:52 +00: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 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 f65ce8f7ca sort-plugin: Port the sort plugin to WindowActivatable 2017-01-09 15:54:57 -08:00
JosephMcc 3a6de664e1 xed-sort-plugin.c: Clean up code styling 2016-12-26 20:26:21 -08:00
JosephMcc 7e6b54b760 sort-plugin: Port to libpeas
Adapted from:
55dfd7836e
2016-12-26 13:39:52 -08:00
JosephMcc 46c8d8adc8 ui: Convert the remaining actions to use symbolic icons
With the toolbar icons converted to symbolic icons we now have a mix of symbolic
and non-symbolic icons in the menu since they share the same GtkAction's.
Convert the remaining actions along with a couple that are placed in the menu
by plugins to use symbolic style icons.
2016-10-05 12:20:30 -07:00
Clement Lefebvre 16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00