diff options
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -80,7 +80,7 @@ my @allowed_dbs = rhimport::get_dropboxes($dbh, $user); if($LISTALLOWED) { for my $href ( @allowed_dbs ) { - print "$href->{'NAME'} \t-> $href->{'PATH'}\n"; + print "$href->{'NAME'} \t-> $href->{'PATH'}\n" unless $href->{'NAME'} =~ /^autoimport/; } $dbh->disconnect(); exit 0; @@ -399,7 +399,7 @@ if(!$FILE || !$DROPBOX) { my $model = Gtk2::ListStore->new('Glib::String', 'Glib::String', 'Glib::String', 'Glib::String'); for my $href ( @allowed_dbs ) { - $model->set ($model->append, 0, $href->{'PATH'}, 1, $href->{'GROUP'}, 2, $href->{'TO_CART'}, 3, $href->{'NAME'}); + $model->set ($model->append, 0, $href->{'PATH'}, 1, $href->{'GROUP'}, 2, $href->{'TO_CART'}, 3, $href->{'NAME'}) unless $href->{'NAME'} =~ /^autoimport/; } my $co_dropbox = $guixml->get_widget('co_dropbox'); $co_dropbox->set_model($model); |