diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-08-25 17:14:00 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-08-25 17:14:00 +0000 |
commit | aacf238c2f3704213bff184c125a9d056e92e4c0 (patch) | |
tree | b894c58903554feaad329275619c5f20acd42a94 /perl-install/standalone/draksambashare | |
parent | 27f0e4b2992f91f986237d578be592086951f189 (diff) | |
download | drakx-aacf238c2f3704213bff184c125a9d056e92e4c0.tar drakx-aacf238c2f3704213bff184c125a9d056e92e4c0.tar.gz drakx-aacf238c2f3704213bff184c125a9d056e92e4c0.tar.bz2 drakx-aacf238c2f3704213bff184c125a9d056e92e4c0.tar.xz drakx-aacf238c2f3704213bff184c125a9d056e92e4c0.zip |
disableadd pdf-gen and add printer
Diffstat (limited to 'perl-install/standalone/draksambashare')
-rwxr-xr-x | perl-install/standalone/draksambashare | 30 |
1 files changed, 15 insertions, 15 deletions
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 = $@; |