[gnome-music: 4/6] about: take version from autotools
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music: 4/6] about: take version from autotools
- Date: Thu, 8 Aug 2013 11:17:21 +0000 (UTC)
commit 040662c48ff1e4bf426f97175f7d45e1ca14919f
Author: Lubosz Sarnecki <lubosz gmail com>
Date: Tue Aug 6 16:35:49 2013 +0200
about: take version from autotools
* add version to ui file with automake
* add ui file to translatable files
.gitignore | 1 +
configure.ac | 1 +
data/{AboutDialog.ui => AboutDialog.ui.in} | 0
gnomemusic/application.py | 1 -
po/POTFILES.in | 1 +
5 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ea925a..6c1d6bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,3 +77,4 @@ Makefile
gnome-music
*.valid
/gnomemusic/Makefile.in
+/data/AboutDialog.ui
diff --git a/configure.ac b/configure.ac
index 0522d35..3f175e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,7 @@ AC_CONFIG_FILES([
Makefile
data/Makefile
data/headerbar.ui
+ data/AboutDialog.ui
gnomemusic/Makefile
po/Makefile.in
libgd/Makefile
diff --git a/data/AboutDialog.ui b/data/AboutDialog.ui.in
similarity index 100%
rename from data/AboutDialog.ui
rename to data/AboutDialog.ui.in
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index 9ce32f0..73d8599 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -55,7 +55,6 @@ class Application(Gtk.Application):
builder = Gtk.Builder()
builder.add_from_resource('/org/gnome/Music/AboutDialog.ui')
about = builder.get_object('about_dialog')
- about.set_version("0.3")
about.connect("response", self.about_response)
about.show()
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 89890bd..2c5d6b2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -14,6 +14,7 @@ gnomemusic/toolbar.py
gnomemusic/view.py
gnomemusic/widgets.py
gnomemusic/window.py
+[type: gettext/glade]data/AboutDialog.ui.in
[type: gettext/glade]data/AlbumWidget.ui
[type: gettext/glade]data/app-menu.ui
[type: gettext/glade]data/ArtistAlbumsWidget.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]