summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhimport.glade1
-rwxr-xr-xrhimport.pl6
2 files changed, 4 insertions, 3 deletions
diff --git a/rhimport.glade b/rhimport.glade
index 999ac1a..4ed5a77 100644
--- a/rhimport.glade
+++ b/rhimport.glade
@@ -5,7 +5,6 @@
<widget class="GtkWindow" id="appwin">
<property name="width_request">640</property>
<property name="height_request">480</property>
- <property name="visible">True</property>
<property name="border_width">5</property>
<property name="title">rhimport</property>
<property name="gravity">center</property>
diff --git a/rhimport.pl b/rhimport.pl
index 12dd902..29eba44 100755
--- a/rhimport.pl
+++ b/rhimport.pl
@@ -73,8 +73,10 @@ if(!$M3U) {
my $guixml = Gtk2::GladeXML->new('rhimport.glade');
$guixml or die "can't load glade xml file";
-# my $widget = $guixml->get_widget('appwin');
-# $widget or die "can't find main GUI Widget";
+ my $appwin = $guixml->get_widget('appwin');
+ $appwin or die "can't find Main Window";
+
+ $appwin->show;
Gtk2->main;
# $dbh->disconnect();