Commit Graph

651 Commits

Author SHA1 Message Date
JosephMcc
932cc3758e xed-commands-view: Clean up code style 2017-03-17 00:22:04 -07:00
JosephMcc
c16232ee20 Add a new animated xed-paned
This replaces the GtkPaned we currently use and opens and closes the panes using
an animation.
2017-03-17 00:15:38 -07:00
Clement Lefebvre
331e0e5824 Merge pull request #100 from JosephMcc/close-focus
Focus a tab when attempting to close it with unsaved changes
2017-03-14 11:44:36 +00:00
JosephMcc
9c2d06761b Focus a tab when attempting to close it with unsaved changes
In most cases you want to see the contents of the tab before deciding what to
respond to the dialog that pops up. This is typical behavior in other editors
such as Sublime.

Closes https://github.com/linuxmint/xed/issues/95
2017-03-13 23:37:43 -07:00
Clement Lefebvre
99a730fa9c Merge pull request #89 from JosephMcc/filebrowser-3
Filebrowser 3
2017-02-22 10:40:17 +00:00
Clement Lefebvre
65afa345d4 Merge pull request #92 from JosephMcc/app-startup
Fix calling set_command_line_wait()
2017-02-22 10:29:57 +00:00
JosephMcc
12ecdf380d Merge pull request #93 from JosephMcc/build-vars
Allow building with --disable-spell
2017-02-20 13:30:45 -08:00
JosephMcc
ce92a1a316 debian: Add dependency on libpeas-1.0-0-python3loader
We need this for the python3 plugin loader to work

Closes: https://github.com/linuxmint/xed/issues/94
2017-02-20 13:27:25 -08:00
JosephMcc
57a3daf2d5 Allow building with --disable-spell
It helps if we actually respect our conditionals.
2017-02-20 04:13:09 -08:00
JosephMcc
9b704374c7 Fix calling set_command_line_wait()
We were passing the wrong arguments

Based on 2e3b5aea0e

Fixes: https://github.com/linuxmint/xed/issues/90
2017-02-20 03:40:07 -08:00
JosephMcc
ce936c567e Actually fix the python dependency 2017-02-17 16:13:54 -08:00
JosephMcc
d2892eda2d build: Fix the python3 dependency 2017-02-17 13:59:40 -08:00
Clement Lefebvre
6287fc9614 Merge pull request #81 from JosephMcc/dep-fix1
debian: Add a dependency on xapps-common
2017-02-16 11:59:49 +00:00
JosephMcc
ebb32ff114 filebrowser: Set the combobox insensitive when the bookmarks are showing
The combo doesn't show anything useful when treeview is showing the bookmarks
so just set it insensitive.
2017-02-15 19:51:29 -08:00
JosephMcc
245991c22c filebrowser: Make the "Open terminal here" command work again
Add a gsettings key to set the terminal used for the command in the menu. By
default this is set to 'x-terminal-emulator' but it can be easily overridden
by packagers or changed by users who choose to.
2017-02-15 19:32:40 -08:00
JosephMcc
6801233bd8 filebrowser: Do not parse .hidden in the file browser
f0454abbec
2017-02-15 18:25:54 -08:00
JosephMcc
5c08882ba6 filebrowser: Don't use deprecated GtkStock 2017-02-15 18:25:54 -08:00
JosephMcc
ee1448d73f filebrowser: Activate selected item when search is complete
0701c9c463
2017-02-15 18:25:54 -08:00
JosephMcc
bf1133231b filebrowser: Redesign the toolbar in filebrowser 2017-02-15 18:25:54 -08:00
JosephMcc
87238194c3 filebrowser: don't use deprecated GIOScheduler
2d1eb80d3d
2017-02-15 18:25:54 -08:00
JosephMcc
9637840886 filebrowser: use Untitled File/Folder for new file/folders
e7e404a32a
2017-02-15 18:25:54 -08:00
JosephMcc
80509d36a3 filebrowser: "Rename" menu entry should have an ellipsis 2017-02-15 18:25:54 -08:00
JosephMcc
14cc619751 xed-file-browser-utils.c: Clean up code style 2017-02-15 18:25:54 -08:00
JosephMcc
44f60af7a7 filebrowser: Support new location of gtk bookmarks file
Also remove an old bit of code that was left over when some of the ifdef's for
windows and mac specific code was removed.

54d69eb93c
2017-02-15 18:25:54 -08:00
JosephMcc
1e2e106d70 filebrowser: Remove the back and forward toolbar dropdowns 2017-02-15 18:25:54 -08:00
JosephMcc
c27e781132 filebrowser: Fix crash on open_terminal action
0836fd05ac
2017-02-15 18:25:54 -08:00
JosephMcc
fa31c65c2f filebrowser: Don't leak GFiles
e2f792359a
2017-02-15 18:25:54 -08:00
JosephMcc
fe9e6ac91c file-browser-messages: Clean up formatting 2017-02-15 18:25:54 -08:00
JosephMcc
372399891d filebrowser: Unref the enumerator in the filebrowser plugin
8bb1b9555f
2017-02-15 18:25:54 -08:00
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
5b34780cfe Merge pull request #83 from JosephMcc/docs-2
docs: Start cleaning up the docs
2017-02-15 16:05:02 -08:00
JosephMcc
5498344d82 Merge pull request #82 from JosephMcc/prefs-fix1
prefs-dialog: Fix a crash when removing style schemes
2017-02-15 16:03:25 -08:00
Clement Lefebvre
fa93941933 Merge pull request #84 from JosephMcc/textsize
Convert some functionality to builtin plugins
2017-02-13 15:26:36 +00: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
c8c3f4696f docs: Start cleaning up the docs
The code has chaged quite a bit. Start updating the docs to match and to quiet
some warnings during build.
2017-02-11 18:28:38 -08:00
JosephMcc
e4745e72b7 prefs-dialog: Fix a crash when removing style schemes
This looks like another old leftover from the move to gtk3

Based on: 11fbe0fe14
Closes: https://github.com/linuxmint/xed/issues/25
2017-02-10 17:11:47 -08:00
JosephMcc
a7382db60e debian: Add a dependency on xapps-common
We need this for some of the icons being used in the search and status bar.
2017-02-10 15:56:26 -08:00
JosephMcc
98c983f144 Merge pull request #80 from JosephMcc/makefile-fix1
Makefile: Forgot to git add changes
2017-02-10 04:09:44 -08:00
JosephMcc
090ba0dc92 Makefile: Forgot to git add changes 2017-02-10 04:07:39 -08:00
JosephMcc
8cece49ab6 Merge pull request #68 from JosephMcc/1.4-dev-1
1.4 dev
2017-02-10 02:33:38 -08:00
JosephMcc
c620e48c96 xed-view: Add some margin to the top and left of the text view 2017-02-10 00:18:17 -08:00
JosephMcc
ad31cd9e36 Debian: Bring back the xed-doc package 2017-02-09 14:15:21 -08:00
JosephMcc
3a83594498 Add a preference to allow using the dark variant of a theme if available 2017-02-09 13:58:08 -08:00