Commit Graph

21 Commits

Author SHA1 Message Date
JosephMcc
7e6a888e1d Clean up remaining deprecated preprocessor commands 2020-09-07 10:25:40 -04:00
Michael Webster
8763fbf5df print-preview: add a print button to the preview toolbar, to immediately
print the previewed document.
2019-11-05 20:07:35 -05:00
Stephen Collins
52ee1591f7 Prevent a warning when closing the window while print preview is open (#315)
The warning was caused by the preview trying to save print settings
after the settings object was cleared. Clearing the settings object
in *_finalize instead of *_dispose fixes the issue.
2019-06-23 14:23:08 +02: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
ef9294aae2 Pull upstream fixes for gtk and gtksourceview changes
* fix errors in xed-metadata-manager
* upstream changes for file loading and saving
* modernize some code in xed-document

Closes https://github.com/linuxmint/xed/issues/146
2018-02-05 01:03:12 -08:00
JosephMcc
4add4da97a Use GtkApplication inhibit API
This will help prevent users from inadvertently loosing data when logging out
with unsaved files.

Based on: 05918e07ce
2017-04-23 18:22:54 -07:00
JosephMcc
42bb35d41f message-area: Rename message area to info bar
Lets call it what it is
2017-02-05 01:41:46 -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
5071bfe065 Add _xed_document_needs_saving
Based on acbf4d4f0c
2017-01-29 03:36:27 -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
5d62c0c452 Redesign the goto line popup dialog 2017-01-19 00:00:59 -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
32fd96e327 xed-progress-message-area: Clean up more uses of GtkStock 2017-01-07 12:58:32 -08:00
JosephMcc
d77659fdcd xed-tab: Clean up some uses of GtkStock 2017-01-01 21:41:09 -08:00
JosephMcc
baea0e93b9 xed-tab.c: Clean up code style 2017-01-01 18:20:19 -08:00
JosephMcc
7a6db1f8c5 Fix some introspection warnings
Adapted from:
b9a3360ee8
2016-12-26 11:41:29 -08:00
JosephMcc
7d7249aefb notebooks: Remove the extra frame from the main and documents panel scrolled windows 2016-02-23 03:46:25 -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
16eacdc3f4 Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit) 2016-02-04 09:20:42 +00:00