Commit Graph

36 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 a86c482308 spell-plugin: Fix a link to the help file 2018-02-14 10:37:36 -08:00
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
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 511fc3dfec Port to the GtkSourceView search functionality
This also gives us support for regex search
2017-01-28 19:12:36 -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 30a61a9fd8 spell-plugin: Update to the new WindowActivatable interface 2017-01-10 03:08:44 -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 e389368a91 spell-plugin: Port to libpeas
Adapted from:
67a0f36183
2016-12-26 13:44:07 -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
JosephMcc b084e7b4c6 gtk: We're targeting gtk3.10 so clean up all the gtk version checks and go with that 2016-02-14 14:47:56 -08:00
Clement Lefebvre 5feed8d0ed Fixed wrong dconf paths 2016-02-10 10:00:39 +00:00
Clement Lefebvre 16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00
Clement Lefebvre 4304f9ffc1 Rename Pluma to Xedit 2016-01-25 15:33:34 +00:00
Wolfgang Ulbrich 9e3170e4b8 GTK3: fix previous GtkMisc deprecated commit 2016-01-24 02:30:34 +01:00
monsta 709cddc1f4 remove unneeded 'x' attribute from non-executable files 2015-12-24 12:11:01 +03:00
monsta 38427b5d6d Merge pull request #146 from sleeveroller/issue90
Add a new Configure dialog for the Spell Check plugin.
2015-12-03 10:33:57 +03:00
Wolfgang Ulbrich 6454339a1a Gtk+-3.14: don't use deprecated GtkMisc 2015-12-01 22:43:09 +01:00
John Church efc6229fce Add a new Configure dialog for the Spell Check plugin.
There are three options for autocheck when a doc is loaded:

Always autocheck, Never autocheck and Remember the autocheck setting for each document

The chosen option is stored in the gsettings schema.
The default setting is to remember by document as this is what Pluma did previously.
2015-11-12 11:53:01 +00:00
monsta b24934e186 drop support for win32/osx and checkupdate plugin
that plugin has never been built in linux anyway due to logic
in configure.ac
2015-09-02 11:34:01 +02:00
Monsta e5943056a8 plugins: don't leak memory 2014-12-19 13:56:36 +01:00
infirit ca9fdb4cef Remove has_separator property from gtkbuilder files 2014-05-19 20:57:49 +02:00
infirit 51291bf1b2 Replace deprecated gtk widget function
The replacement functions are available since 2.18
GTK_WIDGET_HAS_FOCUS -> gtk_widget_has_focus
GTK_WIDGET_VISIBLE -> gtk_widget_get_visible
GTK_WIDGET_SET_FLAGS -> gtk_widget_set_*
2014-05-19 18:37:37 +02:00
infirit 53be5f994d Replace GtkObject with Gobject in gtk+2 build 2014-05-19 18:37:37 +02:00
infirit b3097ad42b Remove all calls to deprecated gtk_dialog_set_has_separator 2014-05-19 12:54:08 +02:00
Stefano Karapetsas 76265841b7 Fix some deprecations 2013-11-04 12:46:45 +01:00
Stefano Karapetsas e79794e482 plugins: Add GTK3 support 2013-10-30 16:20:47 +01:00
infirit 06ae9932b0 Make automake happy: INCLUDES -> AM_CPPFLAGS 2013-08-03 00:08:36 +02:00
Steve Zesch 93dce2bc98 fixed incorrect fsf addresses. 2012-11-18 20:54:49 -05:00
Stefano Karapetsas f4a51f740a fix wrong url
http://forums.mate-desktop.org/viewtopic.php?f=2&t=718
2012-08-31 10:05:56 +02:00
Perberos 5ded9cba85 renaming from gedit to pluma 2011-11-07 19:52:18 -03:00
Perberos 528c1e5ff5 initial 2011-11-07 16:46:58 -03:00