diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-02-20 19:08:13 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-02-20 19:08:13 (GMT) |
commit | 6ebda554bb37c1a08f16ff80ba0fa504c601ae35 (patch) | |
tree | 97ab8c477b723c2b624b015f94a0e5607bcec07a | |
parent | ca06731e4d0e109959b58ad8742de34165a4bae6 (diff) |
cleanup
git-svn-id: https://svn.helsinki.at/rhimport/trunk@6 7c65635b-ec39-4f67-a626-873dbafdd612
-rw-r--r-- | rhimport.glade | 1 | ||||
-rwxr-xr-x | rhimport.pl | 6 |
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(); |