summaryrefslogtreecommitdiff
path: root/rhimport
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-04-13 11:44:59 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-04-13 11:44:59 (GMT)
commit7aa8e8453068b2ee5d23a4efbc2e26d47ae5e506 (patch)
treee6718f73fc7573a6f9b9245ec21fc97808ca232e /rhimport
parent48302ff95c18a67c55fcce6ccf13e273054791f0 (diff)
added configure script and Makefile for Installation
Diffstat (limited to 'rhimport')
-rwxr-xr-xrhimport5
1 files changed, 3 insertions, 2 deletions
diff --git a/rhimport b/rhimport
index b59ebfd..2e4729e 100755
--- a/rhimport
+++ b/rhimport
@@ -28,8 +28,9 @@ use DBI;
use Gtk2;
use Gtk2::GladeXML;
-use lib '/usr/share/perl5/rhimport/';
+use lib '/usr/local/share/rhimport/';
use rhimport;
+my $glade_file = '/usr/local/share/rhimport/rhimport.glade';
my $DBHOST = "airplay";
my $DBUSER = "rivendell";
@@ -322,7 +323,7 @@ sub dropbox_updated_gui()
if(!$FILE || !$DROPBOX) {
Gtk2->init;
- $guixml = Gtk2::GladeXML->new('rhimport.glade');
+ $guixml = Gtk2::GladeXML->new($glade_file);
$guixml or die "can't load glade xml file";
require gui_callbacks;