[hamradio-commits] [pyqso] 08/09: Patch icon path in bin/pyqso
Iain Learmonth
irl-guest at moszumanska.debian.org
Sat Feb 7 23:06:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
irl-guest pushed a commit to branch master
in repository pyqso.
commit dcd2cc6210e8cb986a1a1f640b7f5ccb5ee96989
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Sat Feb 7 22:42:27 2015 +0000
Patch icon path in bin/pyqso
---
debian/patches/fix_icon_path.patch | 11 +++++++++++
debian/patches/series | 1 +
2 files changed, 12 insertions(+)
diff --git a/debian/patches/fix_icon_path.patch b/debian/patches/fix_icon_path.patch
new file mode 100644
index 0000000..bb47489
--- /dev/null
+++ b/debian/patches/fix_icon_path.patch
@@ -0,0 +1,11 @@
+--- pyqso.orig/bin/pyqso
++++ pyqso/bin/pyqso
+@@ -57,7 +57,7 @@
+
+ self.set_size_request(800, 600) # Default to an 800 x 600 resolution.
+ self.set_position(Gtk.WindowPosition.CENTER)
+- possible_icon_paths = [os.path.join(pyqso_path, "icons", "log_64x64.png")]
++ possible_icon_paths = ["/usr/share/icons/log_64x64.png"]
+ for icon_path in possible_icon_paths:
+ try:
+ self.set_icon_from_file(icon_path)
diff --git a/debian/patches/series b/debian/patches/series
index d46590a..316bda4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
disable_greyline.patch
+fix_icon_path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/pyqso.git
More information about the pkg-hamradio-commits
mailing list