diff options
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |