summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-02-20 19:08:13 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-02-20 19:08:13 (GMT)
commit91abfb48911cccf345879ebd1e0b90f00c8a243b (patch)
tree97ab8c477b723c2b624b015f94a0e5607bcec07a
parent95baf65858e03ff8d9357a7d4decf829fdadd3d0 (diff)
cleanup
-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();