From aacf238c2f3704213bff184c125a9d056e92e4c0 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Thu, 25 Aug 2005 17:14:00 +0000 Subject: disableadd pdf-gen and add printer --- perl-install/standalone/draksambashare | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare index e15527a2c..9979a71c1 100755 --- a/perl-install/standalone/draksambashare +++ b/perl-install/standalone/draksambashare @@ -730,21 +730,21 @@ gtkappend_page(my $nb = Gtk2::Notebook->new, gtkpack_(gtkset_border_width(Gtk2:: gtkappend_page($nb, gtkpack_(gtkset_border_width(Gtk2::HBox->new, 0), 1, create_scrolled_window($treeview_printers), 0, gtkpack_(create_vbox('start'), - 0, gtksignal_connect(Gtk2::Button->new(N("Add pdf-gen")), clicked => sub { - eval { add_pdfgen_entry($treeview_printers) }; - my $err = $@; - if ($err) { - err_dialog(N("Error"), N("Failed to add pdf-gen.") . "\n\n" . $err); - } - }), - 0, gtksignal_connect(Gtk2::Button->new(N("Add printers")), clicked => sub { - eval { add_printers_entry($treeview_printers) }; - my $err = $@; - if ($err) { - err_dialog(N("Error"), N("Failed to add printers.") . "\n\n" . $err); - } - }), - 0, Gtk2::HSeparator->new, +# 0, gtksignal_connect(Gtk2::Button->new(N("Add pdf-gen")), clicked => sub { +# eval { add_pdfgen_entry($treeview_printers) }; +# my $err = $@; +# if ($err) { +# err_dialog(N("Error"), N("Failed to add pdf-gen.") . "\n\n" . $err); +# } +# }), +# 0, gtksignal_connect(Gtk2::Button->new(N("Add printers")), clicked => sub { +# eval { add_printers_entry($treeview_printers) }; +# my $err = $@; +# if ($err) { +# err_dialog(N("Error"), N("Failed to add printers.") . "\n\n" . $err); +# } +# }), +# 0, Gtk2::HSeparator->new, 0, gtksignal_connect(Gtk2::Button->new(N("Modify")), clicked => sub { eval { modify_printers_entry($treeview_printers) }; my $err = $@; -- cgit v1.2.1