summaryrefslogtreecommitdiff
path: root/rhimport
diff options
context:
space:
mode:
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;