summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-04 14:29:55 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-04 14:29:55 +0000
commita0e11aa3b90cccaed2df0ce56281570d12e93e86 (patch)
tree336e4741e893ec1660d9f8505febb6f4104dd3b6 /net-misc/nut-monitor/files
parentDrop alpha/ia64 keywords (diff)
downloadgentoo-2-a0e11aa3b90cccaed2df0ce56281570d12e93e86.tar.gz
gentoo-2-a0e11aa3b90cccaed2df0ce56281570d12e93e86.tar.bz2
gentoo-2-a0e11aa3b90cccaed2df0ce56281570d12e93e86.zip
Fix location of glade file
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/nut-monitor/files')
-rw-r--r--net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch b/net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch
new file mode 100644
index 000000000000..2bcb8509b132
--- /dev/null
+++ b/net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch
@@ -0,0 +1,16 @@
+ NUT-Monitor | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/NUT-Monitor b/NUT-Monitor
+index 283c4aa..d99f4fd 100755
+--- a/NUT-Monitor
++++ b/NUT-Monitor
+@@ -70,7 +70,7 @@ class interface :
+ ( cmd_opts, args ) = opt_parser.parse_args()
+
+
+- self.__glade_file = os.path.join( os.path.dirname( sys.argv[0] ), "gui-1.3.glade" )
++ self.__glade_file = "/usr/share/nut-monitor/gui-1.3.glade"
+
+ self.__widgets["interface"] = gtk.glade.XML( self.__glade_file, "window1", APP )
+ self.__widgets["main_window"] = self.__widgets["interface"].get_widget("window1")