summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/nut-monitor/files/nut-monitor-1.3-glade.patch')
-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")