5 Commits
2.8.0 ... 2.8.1

Author SHA1 Message Date
Clement Lefebvre
ba9bcf2244 2.8.1 2020-12-08 10:11:29 +00:00
Clement Lefebvre
10e9a275c8 Remove links in plugin about dialogs
They're all maintained as part of the Xed project, which link is already
present in the main help about dialog.
2020-12-02 16:41:09 +00:00
Clement Lefebvre
18d3ebf460 bracketcompletion: Enable plugin by default
That's typically a feature casual users would't want by default but programmers
would.

Since it only affects programming languages (not plain text), enable it by default.
2020-12-02 16:41:09 +00:00
Eli Schwartz
76b2fcba7b remove never-used variable added in commit 9e805380d4 2020-12-01 20:15:26 -05:00
Eli Schwartz
d41e63a340 cleanup: remove code dropped in commit 67892da099 2020-12-01 20:15:26 -05:00
20 changed files with 17 additions and 66 deletions

View File

@@ -338,7 +338,7 @@
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.x.editor.plugins" path="/org/x/editor/plugins/">
<key name="active-plugins" type="as">
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time', 'bracketcompletion' ]</default>
<summary>Active plugins</summary>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .xed-plugin file for obtaining the "Location" of a given plugin.</description>
</key>

12
debian/changelog vendored
View File

@@ -1,3 +1,15 @@
xed (2.8.1) ulyssa; urgency=medium
[ Eli Schwartz ]
* cleanup: remove code dropped in commit 67892da099357e24b3fd3c31fa758947b1dfc47a
* remove never-used variable added in commit 9e805380d4aa6338ca1b85d06b5dbf60e9fb0cbe
[ Clement Lefebvre ]
* bracketcompletion: Enable plugin by default
* Remove links in plugin about dialogs
-- Clement Lefebvre <root@linuxmint.com> Tue, 08 Dec 2020 10:11:12 +0000
xed (2.8.0) ulyssa; urgency=medium
[ JosephMcc ]

6
debian/copyright vendored
View File

@@ -1,7 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xed (old name: mate-text-editor)
Upstream-Contact: Stefano Karapetsas <stefano@karapetsas.com>
Source: http://git.mate-desktop.org/xed/
Upstream-Name: xed
Upstream-Contact: Linux Mint <root@linuxmint.com>
Source: http://github.com/linuxmint/xed/
Files: plugins/docinfo/xed-docinfo-plugin.c
plugins/docinfo/xed-docinfo-plugin.h

View File

@@ -1,4 +1,4 @@
project('xed', 'c', version : '2.8.0')
project('xed', 'c', version : '2.8.1')
gnome = import('gnome')
i18n = import('i18n')

View File

@@ -102,5 +102,4 @@ Description[zh_TW]=自動加入關閉用括號。
Description=Automatically adds closing brackets.
Authors=Hrutvik Suthar <steve@istique.net>
Copyright=Copyright @ 2020 Hrutvik Suthar
Website=https://github.com/HrSuthar/xed
Version=1.0

View File

@@ -7,4 +7,3 @@ _Description=Easy file access from the side pane
Icon=system-file-manager
Authors=Jesse van den Kieboom <jesse@icecrew.nl>
Copyright=Copyright © 2006 Jesse van den Kieboom
Website=http://www.mate-desktop.org

View File

@@ -7,6 +7,4 @@ _Description=Join several lines
Icon=gnome-mime-text-x-python
Authors=Steve Frécinaux <steve@istique.net>;André Homeyer;Linux Mint team
Copyright=Copyright @ 2006-2007 Steve Frécinaux, André Homeyer
Website=https://github.com/linuxmint
Builtin=true

View File

@@ -5,4 +5,3 @@ _Name=Modelines
_Description=Emacs, Kate and Vim-style modelines support for xed.
Authors=Steve Frécinaux <steve@istique.net>
Copyright=Copyright © 2005 Steve Frécinaux
Website=http://www.mate-desktop.org

View File

@@ -7,5 +7,4 @@ Description=Adds context menu item to open an URI at the pointer position.
Icon=gtk-open
Authors=Martin Szulecki <opensuse@sukimashita.com>\nJean-Philippe Fleury <contact@jpfleury.net>
Copyright=Copyright © 2007-2008 Martin Szulecki\nCopyright © 2011 Jean-Philippe Fleury
Website=https://github.com/jpfleury/open-uri-context-menu
Builtin=true

View File

@@ -6,5 +6,4 @@ _Description=Sorts a document or selected text.
Icon=gtk-sort-ascending
Authors=Carlo Borreo <borreo@softhome.net>;Lee Mallabone <mate@fonicmonkey.net>;Paolo Maggi <paolo.maggi@polito.it>;Jorge Alberto Torres H. <jorge@deadoak.com>
Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi
Website=http://www.mate-desktop.org
Builtin=true

View File

@@ -6,4 +6,3 @@ _Description=Checks the spelling of the current document.
Icon=gtk-spell-check
Authors=Paolo Maggi <paolo@gnome.org>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -5,4 +5,3 @@ _Name=Tag list
_Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them.
Authors=Paolo Maggi <paolo.maggi@polito.it>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -7,5 +7,4 @@ _Description=Allow controlling the zoom levels of the text
Icon=gnome-mime-text-x-python
Authors=Steve Frécinaux <steve@istique.net>;Linux Mint team
Copyright=Copyright © 2017 by the authors
Website=https://github.com/linuxmint
Builtin=true

View File

@@ -5,4 +5,3 @@ _Name=Insert Date/Time
_Description=Inserts current date and time at the cursor position.
Authors=Paolo Maggi <paolo.maggi@polito.it>;Lee Mallabone <mate@fonicmonkey.net>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.mate-desktop.org

View File

@@ -6,4 +6,3 @@ _Description=Removes trailing spaces from lines before saving.
Icon=gtk-cut
Authors=Marty Mills <daggerbot@gmail.com>
Copyright=Copyright © 2015 Marty Mills
Website=http://www.mate-desktop.org

View File

@@ -29,5 +29,4 @@ Name[zh_CN]=单词补全
Description=Predicts the rest of the word after a few characters have been typed.
Authors=Jesse van den Kieboom <jesse@gnome.org>\nIgnacio Casal Quinteiro <icq@gnome.org>\nMickael Albertus <mickael.albertus@gmail.com>
Copyright=Copyright © 2017 Mickael Albertus\n2009 Jesse van den Kieboom
Website=https://github.com/linuxmint/xed
Version=@VERSION@

View File

@@ -5,5 +5,4 @@ _Name=Word Completion
_Description=Predicts the rest of the word after a few characters have been typed.
Authors=Jesse van den Kieboom <jesse@gnome.org>\nIgnacio Casal Quinteiro <icq@gnome.org>\nMickael Albertus <mickael.albertus@gmail.com>
Copyright=Copyright © 2017 Mickael Albertus\n2009 Jesse van den Kieboom
Website=https://github.com/linuxmint/xed
Version=@VERSION@

View File

@@ -6,4 +6,3 @@ _Description=##(DESCRIPTION)
Icon=xed-plugin
Authors=##(AUTHOR_FULLNAME) <##(AUTHOR_EMAIL.lower)>
Copyright=Copyright © ##(DATE_YEAR) ##(AUTHOR_FULLNAME)
Website=http://www.mate-desktop.org

View File

@@ -464,51 +464,6 @@ get_current_path (XedDocumentsPanel *panel)
return path;
}
static void
menu_position (GtkMenu *menu,
gint *x,
gint *y,
gboolean *push_in,
XedDocumentsPanel *panel)
{
GtkTreePath *path;
GdkRectangle rect;
gint wy;
GtkAllocation allocation;
GtkRequisition requisition;
GtkWidget *w;
w = panel->priv->treeview;
gtk_widget_get_allocation(w, &allocation);
path = get_current_path (panel);
gtk_tree_view_get_cell_area (GTK_TREE_VIEW (w), path, NULL, &rect);
wy = rect.y;
gdk_window_get_origin (gtk_widget_get_window (w), x, y);
gtk_widget_get_preferred_size (GTK_WIDGET (menu), NULL, &requisition);
if (gtk_widget_get_direction (w) == GTK_TEXT_DIR_RTL)
{
*x += allocation.x + allocation.width - requisition.width - 10;
}
else
{
*x += allocation.x + 10;
}
wy = MAX (*y + 5, *y + wy + 5);
wy = MIN (wy, *y + allocation.height - requisition.height - 5);
*y = wy;
*push_in = TRUE;
}
static gboolean
show_popup_menu (XedDocumentsPanel *panel,
GdkEventButton *event)

View File

@@ -938,7 +938,6 @@ update_favorites_menu (XedWindow *window)
XAppFavorites *favorites;
GList *actions, *l;
GList *items = NULL;
guint i;
xed_debug (DEBUG_WINDOW);