- Release Notes for brestore 2.2.0
+ Release Notes for brestore 2.4
+
+Version 2.4.2
+ - Load Gtk only in non batch mode
Version 2.2.5-2:
- Use 2 transactions in brestore.pl -b
=cut
-use Gtk2; # auto-initialize Gtk2
-use Gtk2::GladeXML;
-use Gtk2::SimpleList; # easy wrapper for list views
-use Gtk2::Gdk::Keysyms; # keyboard code constants
use Data::Dumper qw/Dumper/;
my $debug=0; # can be on brestore.conf
our ($VERSION) = ('$Revision$' =~ /(\d+)/);
exit (0);
}
+# load Gtk libraries only in non batch mode
+eval "
+ use Gtk2;
+ use Gtk2::GladeXML;
+ use Gtk2::SimpleList;
+ use Gtk2::Gdk::Keysyms;
+";
+
$glade_file = $p->{glade_file} || $glade_file;
foreach my $path ('','.','/usr/share/brestore','/usr/local/share/brestore') {