Commit Graph

18 Commits

Author SHA1 Message Date
Alexander Drozdov f4c882e3b5 Automatically open new Xed window on current workspace... (#319)
...if it wasn't already opened. Otherwise, open new tab
in Xed window on current Workspace.

Fix regression #318
2019-07-10 11:24:52 +02:00
Stephen Collins 67892da099 Fix some deprecation warnings (#289)
* 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
2019-05-05 10:25:37 +01: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
Leigh Scott 50b01551ac Fix clang compile issue (#209) 2018-01-30 10:09:43 +00:00
JosephMcc c6ca2a03da xed-utils: Add runtime checks for x11 specific functions
This should prevent some crashes under wayland.
2017-04-02 03:04:09 -07:00
JosephMcc bf69e64718 Don't use deprecated gtk_widget_set margin_left/right 2017-02-05 03:54:09 -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 f546598d83 Remove xed_utils_location_has_file_scheme 2017-01-21 14:44:55 -08:00
JosephMcc 1d6f119b04 Pull some upstream changes from Gedit in prep for using more of the
GtkSource* backend
2017-01-20 12:24:07 -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 8ab7e902bb xed-utils: Remove a couple functions
We want to move away from use of deprecated GtkStock so remove a couple of
functions that rely on it. They aren't being used anywhere anyway.
2017-01-01 13:57:28 -08:00
JosephMcc 4ef02d4837 xed-utils: Clean up code styling 2017-01-01 13:31:02 -08:00
JosephMcc 7a6db1f8c5 Fix some introspection warnings
Adapted from:
b9a3360ee8
2016-12-26 11:41:29 -08: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 d1cc738f54 GTK 3.10 compatibility 2016-02-10 15:30:31 +00:00
Clement Lefebvre 16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00