From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/nut-monitor/files: nut-monitor-1.3-glade.patch |
Date: | Sun, 04 Dec 2011 14:30:05 |
Message-Id: | 20111204142955.D64712004C@flycatcher.gentoo.org |
1 | jlec 11/12/04 14:29:55 |
2 | |
3 | Added: nut-monitor-1.3-glade.patch |
4 | Log: |
5 | Fix location of glade file |
6 | |
7 | (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: nut-monitor-1.3-glade.patch |
16 | =================================================================== |
17 | NUT-Monitor | 2 +- |
18 | 1 files changed, 1 insertions(+), 1 deletions(-) |
19 | |
20 | diff --git a/NUT-Monitor b/NUT-Monitor |
21 | index 283c4aa..d99f4fd 100755 |
22 | --- a/NUT-Monitor |
23 | +++ b/NUT-Monitor |
24 | @@ -70,7 +70,7 @@ class interface : |
25 | ( cmd_opts, args ) = opt_parser.parse_args() |
26 | |
27 | |
28 | - self.__glade_file = os.path.join( os.path.dirname( sys.argv[0] ), "gui-1.3.glade" ) |
29 | + self.__glade_file = "/usr/share/nut-monitor/gui-1.3.glade" |
30 | |
31 | self.__widgets["interface"] = gtk.glade.XML( self.__glade_file, "window1", APP ) |
32 | self.__widgets["main_window"] = self.__widgets["interface"].get_widget("window1") |