[gnome-news/wip/jfelder/meson-support: 3/5] build: Do not use an artists file
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-news/wip/jfelder/meson-support: 3/5] build: Do not use an artists file
- Date: Tue, 22 Jan 2019 18:05:44 +0000 (UTC)
commit d218be03f9a82d28bc1f66301502fe342dab9ee1
Author: Jean Felder <jean felder gmail com>
Date: Fri Jan 11 23:25:12 2019 +0100
build: Do not use an artists file
Use a list in about.py.
ARTISTS | 1 -
data/gnome-news.gresource.xml | 1 -
gnomenews/about.py | 6 +++++-
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/gnome-news.gresource.xml b/data/gnome-news.gresource.xml
index 4541227..f85b773 100644
--- a/data/gnome-news.gresource.xml
+++ b/data/gnome-news.gresource.xml
@@ -2,7 +2,6 @@
<gresources>
<gresource prefix="/org/gnome/News">
<file compressed="true" alias="VERSION">../VERSION</file>
- <file compressed="true" alias="ARTISTS">../ARTISTS</file>
<file compressed="true" preprocess="xml-stripblanks">gtk/menus.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/empty-view.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/headerbar.ui</file>
diff --git a/gnomenews/about.py b/gnomenews/about.py
index e1abd90..29d7d9e 100644
--- a/gnomenews/about.py
+++ b/gnomenews/about.py
@@ -25,6 +25,10 @@ AUTHORS = [
"Vadim Rutkovsky",
]
+ARTISTS = [
+ "Allan Day"
+]
+
class AboutDialog(Gtk.AboutDialog):
def __init__(self, parent):
@@ -32,7 +36,7 @@ class AboutDialog(Gtk.AboutDialog):
self.parent = parent
self.set_modal(True)
self.set_transient_for(parent)
- self.set_artists(self._read_file("ARTISTS"))
+ self.set_artists(ARTISTS)
self.set_authors(AUTHORS)
self.set_copyright("Copyright © 2015 GNOME Foundation")
self.set_license_type(Gtk.License.GPL_3_0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]