Update upstream source from tag 'upstream/3.36.0'
Update to upstream version '3.36.0'
with Debian dir 5d641daab52d0cf9a966df7c40dadfca05b0a48c
Jérémy Lal
4 years ago
0 | NEW in 3.36.0 (08/03/2020) | |
1 | ============= | |
2 | ||
3 | - Update to gnome-shell 3.36.0 | |
4 | ||
0 | 5 | NEW in 3.34.1 (09/10/2019) |
1 | 6 | ============= |
2 | 7 |
38 | 38 | |
39 | 39 | You can see everything I'll post about GPaste [there](https://www.imagination-land.org/tags/GPaste.html). |
40 | 40 | |
41 | Latest release for GNOME 3.34 is: [GPaste 3.34.1](https://www.imagination-land.org/posts/2019-10-09-gpaste-3.34.1-released.html). | |
41 | Latest release for GNOME 3.36 is: [GPaste 3.36.0](https://www.imagination-land.org/posts/2020-03-08-gpaste-3.36.0-released.html). | |
42 | 42 | |
43 | Direct link to download: <https://www.imagination-land.org/files/gpaste/gpaste-3.34.1.tar.xz> | |
43 | Direct link to download: <https://www.imagination-land.org/files/gpaste/gpaste-3.36.0.tar.xz> |
1 | 1 | ## |
2 | 2 | ## Copyright (c) 2010-2018, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
3 | 3 | |
4 | m4_define([gpaste_version], [3.34.1]) | |
4 | m4_define([gpaste_version], [3.36.0]) | |
5 | 5 | |
6 | 6 | # Update gpaste_lt_version before each release (and only then) |
7 | 7 | # The format is C:R:A (current revision age) |
8 | 8 | # - If any interface has been added, ‘C:R:A’ becomes ‘C+1:0:A+1’. |
9 | 9 | # - If any interface has been removed or modified, ‘C:R:A’ becomes ‘C+1:0:0’. |
10 | 10 | # - Otherwise, ‘C:R:A’ becomes ‘C:R+1:A’. |
11 | m4_define([gpaste_lt_version], [12:3:1]) | |
11 | m4_define([gpaste_lt_version], [12:4:1]) | |
12 | 12 | |
13 | 13 | # Build system requirements |
14 | 14 | m4_define([autoconf_required], [2.69]) |
156 | 156 | |
157 | 157 | AS_IF([test x${enable_gnome_shell_extension} = xyes], [ |
158 | 158 | AS_IF([test x${enable_introspection} != xyes], [AC_MSG_ERROR([*** Introspection support is required to run the gnome-shell extension])]) |
159 | PKG_CHECK_MODULES(JS_EXTENSION, [mutter-clutter-5 gjs-1.0 >= gjs_required]) | |
159 | PKG_CHECK_MODULES(JS_EXTENSION, [mutter-clutter-6 gjs-1.0 >= gjs_required]) | |
160 | 160 | ]) |
161 | 161 | |
162 | 162 | AS_IF([test x${enable_x_keybinder} = xyes], [ |
1 | 1 | input: 'org.gnome.GPaste.Ui.systemd.in', |
2 | 2 | configuration: conf, |
3 | 3 | output: 'org.gnome.GPaste.Ui.service', |
4 | install: get_option('systemd'), | |
5 | install_dir: userunit_dir, | |
4 | 6 | ) |
5 | 7 | |
6 | 8 | configure_file( |
7 | 9 | input: 'org.gnome.GPaste.systemd.in', |
8 | 10 | configuration: conf, |
9 | 11 | output: 'org.gnome.GPaste.service', |
10 | )⏎ | |
12 | install: get_option('systemd'), | |
13 | install_dir: userunit_dir, | |
14 | ) |
0 | 0 | project('GPaste', |
1 | 1 | 'c', |
2 | version: '3.34.1', | |
2 | version: '3.36.0', | |
3 | 3 | meson_version: '>=0.46.0', |
4 | 4 | ) |
5 | 5 | |
6 | 6 | apiversion = '1.0' |
7 | gpaste_soversion = '11.0.3' | |
7 | gpaste_soversion = '11.1.4' | |
8 | 8 | |
9 | 9 | glib_req='>=2.58.0' |
10 | 10 | gdk_pixbuf_req='>=2.38.0' |
11 | 11 | gjs_req='>=1.54.0' |
12 | 12 | gtk3_req='>=3.24.0' |
13 | mutter_clutter_req='>=3.30.0' | |
13 | mutter_clutter_req='>=3.36.0' | |
14 | 14 | |
15 | 15 | appstream_dep = dependency('appstream-glib') |
16 | 16 | gdk_dep = dependency('gdk-3.0', version: gtk3_req) |
36 | 36 | libgpaste_deps = [ gdk_dep, gdk_pixbuf_dep, glib_dep, gtk_dep ] |
37 | 37 | |
38 | 38 | if get_option('introspection') |
39 | mutter_clutter_dep = dependency('mutter-clutter-5', version: mutter_clutter_req) | |
39 | mutter_clutter_dep = dependency('mutter-clutter-6', version: mutter_clutter_req) | |
40 | 40 | gjs_dep = dependency('gjs-1.0', version: gjs_req) |
41 | 41 | endif |
42 | 42 |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2014-03-27 21:03+0100\n" |
11 | 11 | "Last-Translator: Christian Kluge <frakturfreak@gmail.com>\n" |
12 | 12 | "Language-Team: \n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2011-11-20 16:30+0100\n" |
11 | 11 | "Last-Translator: Antonio Trujillo <lunatc@gmail.com>\n" |
12 | 12 | "Language-Team: Spanish\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2011-01-25 16:05+0100\n" |
11 | 11 | "Last-Translator: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>\n" |
12 | 12 | "Language-Team: French\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2017-03-17 17:38+0100\n" |
11 | 11 | "Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n" |
12 | 12 | "Language-Team: Vistaus <vistausss@outlook.com>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2015-10-10 20:03-0300\n" |
11 | 11 | "Last-Translator: Elder Marco <eldermarco@gmail.com>\n" |
12 | 12 | "Language-Team: \n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: GPaste\n" |
8 | 8 | "Report-Msgid-Bugs-To: Marc-Antoine@Perennou.com\n" |
9 | "POT-Creation-Date: 2019-10-09 10:05+0200\n" | |
9 | "POT-Creation-Date: 2020-03-08 15:21+0100\n" | |
10 | 10 | "PO-Revision-Date: 2018-01-06 08:14+0100\n" |
11 | 11 | "Last-Translator: Åke Engelbrektson <eson@svenskasprakfiler.se>\n" |
12 | 12 | "Language-Team: Svenska Språkfiler <contactform@svenskasprakfiler.se>\n" |
14 | 14 | $(NULL) |
15 | 15 | bindings_GPaste_1_0_gir_CFLAGS = \ |
16 | 16 | $(AM_CPPFLAGS) \ |
17 | -fvisibility=default \ | |
17 | 18 | $(NULL) |
18 | 19 | bindings_GPaste_1_0_gir_LIBS = $(libgpaste_la_file) |
19 | 20 | bindings_GPaste_1_0_gir_EXPORT_PACKAGES = libgpaste |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { St } = imports.gi; | |
6 | const { GObject, St } = imports.gi; | |
7 | 7 | |
8 | var GPasteAboutItem = class { | |
9 | constructor(client, menu) { | |
10 | this.actor = new St.Button({ | |
8 | var GPasteAboutItem = GObject.registerClass( | |
9 | class GPasteAboutItem extends St.Button { | |
10 | _init(client, menu) { | |
11 | super._init({ | |
12 | x_expand: true, | |
13 | x_align: St.Align.MIDDLE, | |
11 | 14 | reactive: true, |
12 | 15 | can_focus: true, |
13 | 16 | track_hover: true, |
14 | 17 | style_class: 'system-menu-action' |
15 | 18 | }); |
16 | 19 | |
17 | this.actor.child = new St.Icon({ icon_name: 'dialog-information-symbolic' }); | |
20 | this.child = new St.Icon({ icon_name: 'dialog-information-symbolic' }); | |
18 | 21 | |
19 | this.actor.connect('clicked', function() { | |
22 | this.connect('clicked', function() { | |
20 | 23 | menu.itemActivated(); |
21 | 24 | client.about(null); |
22 | 25 | }); |
23 | 26 | } |
24 | }; | |
27 | }); |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { Clutter, St } = imports.gi; | |
6 | const { Clutter, GObject, St } = imports.gi; | |
7 | 7 | |
8 | var GPasteDeleteButton = class { | |
9 | constructor(client, index) { | |
10 | this.actor = new St.Button(); | |
8 | var GPasteDeleteButton = GObject.registerClass( | |
9 | class GPasteDeleteButton extends St.Button { | |
10 | _init(client, index) { | |
11 | super._init(); | |
11 | 12 | |
12 | this.actor.child = new St.Icon({ | |
13 | this.child = new St.Icon({ | |
13 | 14 | icon_name: 'edit-delete-symbolic', |
14 | 15 | style_class: 'popup-menu-icon' |
15 | 16 | }); |
17 | 18 | this._client = client; |
18 | 19 | this.setIndex(index); |
19 | 20 | |
20 | this.actor.connect('clicked', this._onClick.bind(this)); | |
21 | this.connect('clicked', this._onClick.bind(this)); | |
21 | 22 | } |
22 | 23 | |
23 | 24 | setIndex(index) { |
28 | 29 | this._client.delete(this._index, null); |
29 | 30 | return Clutter.EVENT_STOP; |
30 | 31 | } |
31 | }; | |
32 | }); |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { St } = imports.gi; | |
6 | const { GObject, St } = imports.gi; | |
7 | 7 | |
8 | 8 | const ExtensionUtils = imports.misc.extensionUtils; |
9 | 9 | const Me = ExtensionUtils.getCurrentExtension(); |
10 | 10 | |
11 | 11 | const DeleteButton = Me.imports.deleteButton; |
12 | 12 | |
13 | var GPasteDeleteItemPart = class { | |
14 | constructor(client, index) { | |
15 | this.actor = new St.Bin({ x_align: St.Align.END }); | |
13 | var GPasteDeleteItemPart = GObject.registerClass( | |
14 | class GPasteDeleteItemPart extends St.Bin { | |
15 | _init(client, index) { | |
16 | super._init({ x_align: St.Align.END }); | |
16 | 17 | this._deleteButton = new DeleteButton.GPasteDeleteButton(client, index); |
17 | this.actor.child = this._deleteButton.actor; | |
18 | this.child = this._deleteButton; | |
18 | 19 | } |
19 | 20 | |
20 | 21 | setIndex(index) { |
21 | 22 | this._deleteButton.setIndex(index); |
22 | 23 | } |
23 | }; | |
24 | }); |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { GLib, GPaste, St } = imports.gi; | |
6 | const { GLib, GObject, GPaste, St } = imports.gi; | |
7 | 7 | |
8 | var GPasteEmptyHistoryItem = class { | |
9 | constructor(client, settings, menu) { | |
10 | this.actor = new St.Button({ | |
8 | var GPasteEmptyHistoryItem = GObject.registerClass( | |
9 | class GPasteEmptyHistoryItem extends St.Button { | |
10 | _init(client, settings, menu) { | |
11 | super._init({ | |
12 | x_expand: true, | |
13 | x_align: St.Align.MIDDLE, | |
11 | 14 | reactive: true, |
12 | 15 | can_focus: true, |
13 | 16 | track_hover: true, |
14 | 17 | style_class: 'system-menu-action' |
15 | 18 | }); |
16 | 19 | |
17 | this.actor.child = new St.Icon({ icon_name: 'edit-clear-all-symbolic' }); | |
20 | this.child = new St.Icon({ icon_name: 'edit-clear-all-symbolic' }); | |
18 | 21 | |
19 | this.actor.connect('clicked', function() { | |
22 | this.connect('clicked', function() { | |
20 | 23 | menu.itemActivated(); |
21 | 24 | client.get_history_name((client, result) => { |
22 | 25 | const name = client.get_history_name_finish(result); |
25 | 28 | }); |
26 | 29 | }); |
27 | 30 | } |
28 | }; | |
31 | }); |
8 | 8 | const PanelMenu = imports.ui.panelMenu; |
9 | 9 | const PopupMenu = imports.ui.popupMenu; |
10 | 10 | |
11 | const { Clutter, GObject, GLib, GPaste } = imports.gi; | |
11 | const { Clutter, GObject, GLib, GPaste, St } = imports.gi; | |
12 | 12 | |
13 | 13 | const _ = Gettext.domain('GPaste').gettext; |
14 | 14 | |
31 | 31 | super._init(0.0, "GPaste"); |
32 | 32 | |
33 | 33 | this._statusIcon = new StatusIcon.GPasteStatusIcon(); |
34 | this.add_child(this._statusIcon.actor); | |
34 | this.add_child(this._statusIcon); | |
35 | 35 | |
36 | 36 | this._settings = new GPaste.Settings(); |
37 | 37 | |
63 | 63 | reactive: false, |
64 | 64 | can_focus: false |
65 | 65 | }); |
66 | this._actions._ornamentLabel.set_x_expand(true); | |
66 | 67 | |
67 | 68 | this._addToPostHeader(this._dummyHistoryItem); |
68 | 69 | this._addToPreFooter(new PopupMenu.PopupSeparatorMenuItem()); |
80 | 81 | this._addToHeader(this._searchItem); |
81 | 82 | this._addToHeader(this._pageSwitcher); |
82 | 83 | |
83 | this._actions.add(this._uiItem.actor, { expand: true, x_fill: false }); | |
84 | this._actions.add(this._emptyHistoryItem.actor, { expand: true, x_fill: false }); | |
85 | this._actions.add(this._aboutItem.actor, { expand: true, x_fill: false }); | |
84 | this._actions.add_child(this._uiItem); | |
85 | this._actions.add_child(this._emptyHistoryItem); | |
86 | this._actions.add_child(this._aboutItem); | |
86 | 87 | |
87 | 88 | this._settingsMaxSizeChangedId = this._settings.connect('changed::max-displayed-history-size', this._resetMaxDisplayedSize.bind(this)); |
88 | 89 | this._resetMaxDisplayedSize(); |
283 | 284 | _updateVisibility(empty, search) { |
284 | 285 | if (!empty) { |
285 | 286 | this._dummyHistoryItem.hide(); |
286 | this._emptyHistoryItem.actor.show(); | |
287 | this._emptyHistoryItem.show(); | |
287 | 288 | this._searchItem.show(); |
288 | 289 | } else if (this._hasSearch()) { |
289 | 290 | this._dummyHistoryItem.showNoResult(); |
290 | this._emptyHistoryItem.actor.hide(); | |
291 | this._emptyHistoryItem.hide(); | |
291 | 292 | this._searchItem.show(); |
292 | 293 | } else { |
293 | 294 | this._dummyHistoryItem.showEmpty(); |
294 | this._emptyHistoryItem.actor.hide(); | |
295 | this._emptyHistoryItem.hide(); | |
295 | 296 | this._searchItem.hide(); |
296 | 297 | } |
297 | 298 | } |
16 | 16 | class GPasteItem extends PopupMenu.PopupMenuItem { |
17 | 17 | _init(client, size, index) { |
18 | 18 | super._init(""); |
19 | this.label.set_x_expand(true); | |
19 | 20 | |
20 | 21 | this._client = client; |
21 | 22 | |
30 | 31 | this.connect('key-press-event', this._onKeyPressed.bind(this)); |
31 | 32 | |
32 | 33 | this._deleteItem = new DeleteItemPart.GPasteDeleteItemPart(client, index); |
33 | this.add(this._deleteItem.actor, { expand: true, x_align: St.Align.END }); | |
34 | this.add_child(this._deleteItem); | |
34 | 35 | |
35 | 36 | this.label.clutter_text.ellipsize = Pango.EllipsizeMode.END; |
36 | 37 | this.setTextSize(size); |
0 | 0 | { |
1 | 1 | "shell-version": [ |
2 | "3.34" | |
2 | "3.36" | |
3 | 3 | ], |
4 | 4 | "uuid": "GPaste@gnome-shell-extensions.gnome.org", |
5 | 5 | "name": "GPaste", |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { St } = imports.gi; | |
6 | const { GObject, St } = imports.gi; | |
7 | 7 | |
8 | const Signals = imports.signals; | |
9 | ||
10 | var GPastePageItem = class { | |
11 | constructor(page) { | |
12 | this.actor = new St.Button({ | |
8 | var GPastePageItem = GObject.registerClass({ | |
9 | Signals: { | |
10 | 'switch': { param_types: [GObject.TYPE_UINT64] }, | |
11 | }, | |
12 | }, class GPastePageItem extends St.Button { | |
13 | _init(page) { | |
14 | super._init({ | |
15 | label: '' + page, | |
16 | x_align: St.Align.MIDDLE, | |
13 | 17 | reactive: true, |
14 | 18 | can_focus: false, |
15 | 19 | track_hover: true, |
16 | style_class: 'calendar-day-base' | |
20 | style_class: 'calendar-day-base calendar-day' | |
17 | 21 | }); |
18 | ||
19 | this.actor.child = new St.Label({ text: '' + page }); | |
20 | 22 | |
21 | 23 | this._page = page; |
22 | 24 | |
23 | this.actor.connect('clicked', () => { | |
25 | this.connect('clicked', () => { | |
24 | 26 | this.emit('switch', this._page); |
25 | 27 | }); |
26 | 28 | } |
27 | 29 | |
28 | 30 | setActive(active) { |
29 | 31 | if (active) { |
30 | this.actor.add_style_pseudo_class('active'); | |
31 | this.actor.set_style("font-weight: bold;"); | |
32 | this.add_style_pseudo_class('selected'); | |
32 | 33 | } else { |
33 | this.actor.remove_style_pseudo_class('active'); | |
34 | this.actor.set_style(null); | |
34 | this.remove_style_pseudo_class('selected'); | |
35 | 35 | } |
36 | 36 | } |
37 | ||
38 | destroy() { | |
39 | this.actor.destroy(); | |
40 | } | |
41 | }; | |
42 | Signals.addSignalMethods(GPastePageItem.prototype); | |
37 | }); |
21 | 21 | }, class GPastePageSwitcher extends PopupMenu.PopupBaseMenuItem { |
22 | 22 | _init() { |
23 | 23 | super._init({ |
24 | style_class: 'calendar', | |
24 | 25 | reactive: false, |
25 | 26 | can_focus: false |
26 | 27 | }); |
27 | ||
28 | this._box = new St.BoxLayout(); | |
29 | this.add(this._box, { expand: true, x_fill: false, can_focus: false, reactive: false }); | |
28 | this._ornamentLabel.set_x_expand(true); | |
29 | // Use to center everything because of ornamentLabel | |
30 | this._dummyLabel = new St.Label({ text: '', x_expand: true }); | |
31 | this.add_child(this._dummyLabel); | |
30 | 32 | |
31 | 33 | this._active = -1; |
32 | 34 | this._maxDisplayedSize = -1; |
62 | 64 | _addPage() { |
63 | 65 | let sw = new PageItem.GPastePageItem(this._pages.length + 1); |
64 | 66 | this._pages.push(sw); |
65 | this._box.add(sw.actor, { expand: true, x_fill: false, x_align: St.Align.MIDDLE }); | |
67 | this.remove_child(this._dummyLabel); | |
68 | this.add_child(sw); | |
69 | this.add_child(this._dummyLabel); | |
66 | 70 | |
67 | 71 | sw.connect('switch', (sw, page) => { |
68 | 72 | this._switch(page); |
27 | 27 | reactive: true, |
28 | 28 | can_focus: true |
29 | 29 | }); |
30 | this.add(this._entry, { expand: true }); | |
30 | this.add_child(this._entry); | |
31 | 31 | |
32 | 32 | this._entry.set_primary_icon(new St.Icon({ |
33 | 33 | style_class:'search-entry-icon', |
5 | 5 | |
6 | 6 | const PopupMenu = imports.ui.popupMenu; |
7 | 7 | |
8 | const { St } = imports.gi; | |
8 | const { GObject, St } = imports.gi; | |
9 | 9 | |
10 | var GPasteStatusIcon = class { | |
11 | constructor() { | |
12 | this.actor = new St.BoxLayout({ style_class: 'panel-status-menu-box' }); | |
10 | var GPasteStatusIcon = GObject.registerClass( | |
11 | class GPasteStatusIcon extends St.BoxLayout { | |
12 | _init() { | |
13 | super._init({ style_class: 'panel-status-menu-box' }); | |
13 | 14 | |
14 | this.actor.add_child(new St.Icon({ | |
15 | this.add_child(new St.Icon({ | |
15 | 16 | icon_name: 'edit-paste-symbolic', |
16 | 17 | style_class: 'system-status-icon' |
17 | 18 | })); |
18 | 19 | |
19 | this.actor.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM)); | |
20 | this.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM)); | |
20 | 21 | } |
21 | }; | |
22 | }); |
3 | 3 | * Copyright (c) 2010-2019, Marc-Antoine Perennou <Marc-Antoine@Perennou.com> |
4 | 4 | */ |
5 | 5 | |
6 | const { GPaste, St } = imports.gi; | |
6 | const { GObject, GPaste, St } = imports.gi; | |
7 | 7 | |
8 | var GPasteUiItem = class { | |
9 | constructor(menu) { | |
10 | this.actor = new St.Button({ | |
8 | var GPasteUiItem = GObject.registerClass( | |
9 | class GPasteUiItem extends St.Button { | |
10 | _init(menu) { | |
11 | super._init({ | |
12 | x_expand: true, | |
13 | x_align: St.Align.MIDDLE, | |
11 | 14 | reactive: true, |
12 | 15 | can_focus: true, |
13 | 16 | track_hover: true, |
14 | 17 | style_class: 'system-menu-action' |
15 | 18 | }); |
16 | 19 | |
17 | this.actor.child = new St.Icon({ icon_name: 'go-home-symbolic' }); | |
20 | this.child = new St.Icon({ icon_name: 'go-home-symbolic' }); | |
18 | 21 | |
19 | this.actor.connect('clicked', function() { | |
22 | this.connect('clicked', function() { | |
20 | 23 | menu.itemActivated(); |
21 | 24 | GPaste.util_spawn('Ui'); |
22 | 25 | }); |
23 | 26 | } |
24 | }; | |
27 | }); |
140 | 140 | 'util', |
141 | 141 | ) |
142 | 142 | |
143 | libgpaste_symbols_file = meson.current_source_dir() / 'libgpaste.sym' | |
144 | ||
143 | 145 | libgpaste = library( |
144 | 146 | 'gpaste', |
145 | 147 | sources: libgpaste_sources, |
147 | 149 | dependencies: libgpaste_deps, |
148 | 150 | install: true, |
149 | 151 | install_dir: get_option('libdir'), |
150 | include_directories : libgpaste_inc, | |
152 | include_directories : libgpaste_inc, | |
153 | link_args: ['-Wl,--version-script=' + libgpaste_symbols_file], | |
151 | 154 | ) |
152 | 155 | |
153 | 156 | libgpaste_internal_dep = declare_dependency( |