Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ba9bcf2244 | ||
|
10e9a275c8 | ||
|
18d3ebf460 | ||
|
76b2fcba7b | ||
|
d41e63a340 |
@@ -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
12
debian/changelog
vendored
@@ -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
6
debian/copyright
vendored
@@ -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
|
||||
|
@@ -1,4 +1,4 @@
|
||||
project('xed', 'c', version : '2.8.0')
|
||||
project('xed', 'c', version : '2.8.1')
|
||||
|
||||
gnome = import('gnome')
|
||||
i18n = import('i18n')
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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@
|
||||
|
@@ -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@
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -938,7 +938,6 @@ update_favorites_menu (XedWindow *window)
|
||||
XAppFavorites *favorites;
|
||||
GList *actions, *l;
|
||||
GList *items = NULL;
|
||||
guint i;
|
||||
|
||||
xed_debug (DEBUG_WINDOW);
|
||||
|
||||
|
Reference in New Issue
Block a user