JosephMcc
4c45b083e1
Do not leak file info for . and .. dirs
...
fa5fa82ce0
2017-02-15 18:25:54 -08:00
JosephMcc
f20b3bdcf5
filebrowser-view: Removed the unused "busy" cursor
2017-02-15 18:25:54 -08:00
JosephMcc
61bca3cc0f
xed-file-browser-widget: Clean up code styling
2017-02-15 18:25:54 -08:00
JosephMcc
a1e94f2777
Use slice allocator instead of g_new when appropriate
...
a0b15be6fd
2017-02-15 18:25:54 -08:00
JosephMcc
ca9321f599
Fix g_free which should be g_object_unref in file browser
...
331af4bdda
2017-02-15 18:25:54 -08:00
JosephMcc
e1a7919ebd
Merge pull request #86 from JosephMcc/focus-1
...
Focus view when opening files from the filebrowser or documents panel
2017-02-15 16:05:44 -08:00
JosephMcc
c253d9feaa
Focus view when opening files from the filebrowser or documents panel
...
139db33451
2017-02-13 01:56:33 -08: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
01bada3e7e
Implement font zooming in the editor
...
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
2017-02-12 01:24:02 -08:00
JosephMcc
bf69e64718
Don't use deprecated gtk_widget_set margin_left/right
2017-02-05 03:54:09 -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
32200f4b7e
Plugins: Remove the changecase plugin
...
Change case is provided by part of the GtkSourceView context menu. If we want
this available in the main application menu we can bring it back as built in
functionality. There is no real reason to keep a plugin around just for that
2017-01-29 04:19:04 -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
6b8c07d90e
Kill xed-language-manager and use gtksourcelanguagemanager directly
2017-01-21 13:51:08 -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
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
c03a0a3e7d
time-plugin: Clean up a bit from libpeas port
2017-01-11 23:47:49 -08:00
JosephMcc
77ae5a4048
trailsave-plugin: Port to WindowActivatable
2017-01-11 23:21:23 -08:00
JosephMcc
cd3ab1695d
taglist-plugin: Port to WindowActivatable
2017-01-11 22:52:37 -08:00
JosephMcc
769f1baaaa
changecase-plugin: Port to WindowActivatable
2017-01-11 12:33:03 -08:00
JosephMcc
33cb6f4b32
time-plugin: Port to WindowActivatable
2017-01-11 03:00:03 -08:00
JosephMcc
30a61a9fd8
spell-plugin: Update to the new WindowActivatable interface
2017-01-10 03:08:44 -08:00
JosephMcc
f65ce8f7ca
sort-plugin: Port the sort plugin to WindowActivatable
2017-01-09 15:54:57 -08:00
JosephMcc
e1fad74898
docinfo-plugin: Update for WindowActivatable changes
2017-01-09 14:38:32 -08:00
JosephMcc
b9e5097250
Add new (App/Window/View)Activatable interfaces for plugins
...
Currently only the modelines and filebrowser plugins are updated to these new
interfaces
2017-01-09 11:57:48 -08:00
JosephMcc
ded60fbe20
xed-panel: Clean up more uses of GtkStock
...
Also update a couple of the plugins that call this functionality
2017-01-01 15:41:06 -08:00
JosephMcc
3a6de664e1
xed-sort-plugin.c: Clean up code styling
2016-12-26 20:26:21 -08:00
JosephMcc
f9a658f823
taglist plugin: don't look for taglist in non-existing legacy dirs
2016-12-26 19:04:39 -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
9b3313efa7
trailsave-plugin: Port to libpeas
...
Adapted from:
ce25be2320
2016-12-26 13:58:16 -08:00
JosephMcc
b7ecc43dfc
time-plugin: Port to libpeas
...
Adapted from:
564ca51a25
2016-12-26 13:54:48 -08:00
JosephMcc
804259fe1f
taglist-plugin: Port to libpeas
...
Adapted from:
2aafaabdaa
2016-12-26 13:50:48 -08:00
JosephMcc
e389368a91
spell-plugin: Port to libpeas
...
Adapted from:
67a0f36183
2016-12-26 13:44:07 -08:00
JosephMcc
7e6b54b760
sort-plugin: Port to libpeas
...
Adapted from:
55dfd7836e
2016-12-26 13:39:52 -08:00
JosephMcc
decfeff888
modelines-plugin: Port to libpeas
...
Adapted from:
b43579beda
2016-12-26 13:29:33 -08:00
JosephMcc
4cad8ffa7f
filebrowser-plugin: Port to libpeas
...
Adapted from:
3e00f9094c
2016-12-26 13:25:50 -08:00
JosephMcc
fdc2da63a9
docinfo-plugin: Port to libpeas
...
Adapted from:
9ca3dda491
2016-12-26 13:13:01 -08:00
JosephMcc
7220312ac6
changecase-plugin: Port to libpeas
...
Adapted from:
c475e25a50
2016-12-26 13:08:36 -08:00
Clement Lefebvre
a6fd36b004
Merge pull request #44 from JosephMcc/documents-panel
...
Documents panel
2016-10-07 11:22:40 +01:00
JosephMcc
cadb9c72c6
filebrowser-plugin: Convert most icons to symbolic icons
2016-10-06 13:24:36 -07:00
JosephMcc
a187bb016d
filbrowser-plugin: Convert indentation to spaces and remove extra whitespace
2016-10-06 12:17:48 -07: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
d1cc738f54
GTK 3.10 compatibility
2016-02-10 15:30:31 +00:00
monsta
61ad45a01a
fix a few build warnings
2016-02-10 16:15:50 +03: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
5d9508d509
Removed python extensions
2016-01-25 20:31:57 +00:00
Clement Lefebvre
ebcaade4a7
Fixed compilation error
2016-01-25 16:53:20 +00:00
Clement Lefebvre
f8e40ce128
Removed dependencies on mate-terminal
2016-01-25 16:30:44 +00:00
Clement Lefebvre
7f38755543
Removed Caja dependencies
2016-01-25 15:52:34 +00:00
Clement Lefebvre
4304f9ffc1
Rename Pluma to Xedit
2016-01-25 15:33:34 +00:00
Wolfgang Ulbrich
36bb31d799
GTK3: another fix for GtkMisc deprecated commit
2016-01-25 10:39:17 +01: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
Wolfgang Ulbrich
2e1b92d4e2
GTK3 filebrowser-widget.c: fix build with gtk+-3.14
...
- improve https://github.com/mate-desktop/pluma/commit/3d2d796
2015-12-05 14:35:12 +01:00
monsta
a8f0ea83db
fix build breakage introduced in cf7db5e02e
2015-12-03 10:40:10 +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
3d2d7963ab
GTK3: replace reprecatated gdk_cursor functions
...
- Gtk+-3.16: gdk_cursor_new --> gdk_cursor_new_for_display
- GTK3: gdk_cursor_unref --> g_object_unref
2015-12-01 23:42:18 +01:00
Wolfgang Ulbrich
6454339a1a
Gtk+-3.14: don't use deprecated GtkMisc
2015-12-01 22:43:09 +01:00
Wolfgang Ulbrich
dc6b2065db
GTk3: don't use deprecated GTK_TYPE_{V/H}BOX
2015-12-01 22:31:33 +01:00
Wolfgang Ulbrich
9994dd399a
GTK3: don't use deprecated gtk_{v/h}-box
2015-12-01 22:31:33 +01:00
Wolfgang Ulbrich
cf7db5e02e
GTK3: replace reprecatated gdk_cursor functions
...
- Gtk+-3.16: gdk_cursor_new --> gdk_cursor_new_for_display
- GTK3: gdk_cursor_unref --> g_object_unref
2015-11-26 14:31:50 +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
ab4da31e08
capitalize Pluma in Run command plugin dialog
2015-09-29 10:12:56 +03:00
infirit
ca8ca6923e
Rework gsettings schema building
...
* Bump intltool required version for gsettings support
* Extract strings with intltool directly
* Let autoconf generate the xml files
2015-09-08 17:19:30 +02:00
Daggerbot
9f166a05aa
Add plugin to strip trailing spaces on save.
2015-09-02 11:34:01 +02: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
79c3e28490
drop gdkkeysyms-compat usage, use modern key names
2015-08-03 18:04:03 +03:00
monsta
4968f9a9de
quickopen plugin: remove wrong version check inherited from gedit
...
this should make quickopen dialog (Ctrl-Alt-O) recognize the files
from the currently selected dir in filebrowser plugin.
2015-07-14 13:14:41 +03:00
infirit
80a8a579f9
Fix my stupid mistake in previous commit.
2015-07-09 16:34:54 +02:00
raveit65
bf21739379
UI GTK3: use a size request for time plugin dialog window
2015-07-09 15:15:56 +02:00
Monsta
bdb0ef751e
show correct help pages for prefs and plugins dialogs
2015-07-08 12:42:59 +03:00
monsta
1557235206
taglist plugin: don't use timestamps when using gzip
2015-06-16 15:59:07 +03:00
Monsta
aac60a7008
filebrowser plugin: first connect to settings, then read them.
...
fixes the issue with GLib >= 2.43,
https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619
Closes https://github.com/mate-desktop/pluma/pull/109
2015-04-06 11:21:42 +02:00
Monsta
e5943056a8
plugins: don't leak memory
2014-12-19 13:56:36 +01:00
monsta
c24498bd92
use the correct deallocation function/macro
2014-12-10 12:33:03 +01:00
Stefano Karapetsas
1f4945e1ff
filebrowser: Fix g_settings_schema_source_lookup usage
2014-06-06 20:16:24 +02:00
infirit
ca9fdb4cef
Remove has_separator property from gtkbuilder files
2014-05-19 20:57:49 +02:00
infirit
1bfcadb0c0
Unify search GtkComboBox so it work in gtk+-2 and gtk+-3
2014-05-19 20:57:25 +02:00
infirit
cc28312a3f
Drop support for gtk+ < 2.24
...
* Bump required gtk+2 version
* Remove pluma-spinner
* Remove pluma-message-are
2014-05-19 18:37:37 +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
1dce8625e2
Use zenity instead of mate-dialogs
2014-03-19 11:08:34 +01:00
Balló György
052e043ea3
Use Caja GSettings schema optionally
...
This makes Caja dependency optional.
2013-11-30 13:02:57 +01:00
infirit
d606b8dee0
gtk3: fix implicit declaration: gtk_source_language_get_id
...
modeline-parser.c:651:11: warning: implicit declaration of function 'gtk_source_language_get_id'
[-Wimplicit-function-declaration]
2013-11-15 10:00:27 +01:00
Stefano Karapetsas
0d33dc62d8
Fix make dist
2013-11-06 13:38:25 +01:00
Stefano Karapetsas
a08c14ba6b
taglist: Fix tags loading with GTK3
2013-11-05 19:49:37 +01:00
Stefano Karapetsas
76265841b7
Fix some deprecations
2013-11-04 12:46:45 +01:00
Stefano Karapetsas
c0bd4250ef
taglist: Fix GTK3 support
2013-11-04 12:14:13 +01:00
Stefano Karapetsas
70a9d462ec
filebrowser: Improve GTK3 support
2013-10-30 23:13:21 +01:00
Stefano Karapetsas
e79794e482
plugins: Add GTK3 support
2013-10-30 16:20:47 +01:00
infirit
88ff6bdb99
Fix make dist, use .in.in
2013-10-19 14:19:34 +02:00
raveit65
fa9c24a8d3
rename to pluma
2013-10-18 01:01:11 +02:00
Alexander von Gluck IV
66585e2be5
filemanager: Add missing data assignment
...
* Amanas mentioned in IRC that it was likely
missed after the gsettings migration.
2013-09-24 19:59:06 -05:00
Alexander von Gluck IV
b4b58f54b6
filemanager: Add assertion checks to prevent dereferencing ptrs
...
* clang static analysis shows gaps where these calls could
rereferencce pointers. Perform an assertion check.
2013-09-24 18:46:53 -05:00