summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-07-10 21:50:12 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-07-10 21:50:12 +0200
commit36d9217e9fdac7f47797bfcd1be2eb8832e0f68a (patch)
tree7a21eba262b660ce8d521d8eb6b07e437232a5f5
parente38fe3bf8daed57b94952119ae517bef23b2d480 (diff)
downloadcontrol-center-36d9217e9fdac7f47797bfcd1be2eb8832e0f68a.tar
control-center-36d9217e9fdac7f47797bfcd1be2eb8832e0f68a.tar.gz
control-center-36d9217e9fdac7f47797bfcd1be2eb8832e0f68a.tar.bz2
control-center-36d9217e9fdac7f47797bfcd1be2eb8832e0f68a.tar.xz
control-center-36d9217e9fdac7f47797bfcd1be2eb8832e0f68a.zip
kill obsolete print_launcher.pl
-rw-r--r--Makefile1
-rwxr-xr-xprint_launcher.pl43
2 files changed, 0 insertions, 44 deletions
diff --git a/Makefile b/Makefile
index ce04a062..5e30ce02 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,6 @@ install: all
install -m755 $(NAME) $(DESTDIR)/usr/libexec/
install -m755 wrapper $(DESTDIR)/usr/bin/$(NAME)
install -m755 menus_launcher.pl $(DESTDIR)/usr/sbin/
- install -m755 print_launcher.pl $(DESTDIR)/usr/sbin/
install -m755 drakxconf $(DESTDIR)/usr/libexec/
install -m755 drakconsole $(DESTDIR)/usr/sbin/
install -m755 mdkwebadmin.pl $(DESTDIR)/usr/bin/
diff --git a/print_launcher.pl b/print_launcher.pl
deleted file mode 100755
index 1f21665e..00000000
--- a/print_launcher.pl
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use lib qw(/usr/lib/libDrakX);
-use common;
-# i18n : IMPORTANT to get correct namespace (drakconf instead of libDrakX)
-BEGIN { unshift @::textdomains, 'drakconf' }
-use ugtk2 qw(:helpers :wrappers);;
-use interactive;
-use standalone;
-
-my $sbindir = "/usr/sbin/";
-my $my_win = ugtk2->new('print_launcher');
-$my_win->{rwindow}->set_title(N("Printing configuration")) unless $::isEmbedded;
-$my_win->{rwindow}->signal_connect(delete_event => sub {
- gtkset_mousecursor_normal();
- ugtk2->exit(0);
- });
-my $vbox = Gtk2::VBox->new(0, 0);
-$my_win->{window}->add($vbox);
-$vbox->pack_start(Gtk2::Label->new(N("Printing configuration")), 0, 0, 5);
-$vbox->pack_start(Gtk2::HSeparator->new, 0, 0, 5);
-my $table = Gtk2::Table->new(2, 1, 0);
-$table->set_border_width(5);
-$table->set_row_spacings(5);
-$table->set_col_spacings(5);
-my $hbox = Gtk2::HBox->new(0, 0);
-$vbox->pack_start($hbox, 1, 1, 1);
-$hbox->pack_start($table, 0, 0, 5);
-$table->attach(Gtk2::Label->new(N("Click here to configure the printing system")), 0, 1, 0, 1, 'fill', 'fill', 0, 0);
-my $b1 = gtksignal_connect(Gtk2::Button->new(N("Configure...")), clicked => sub { system("$sbindir/printerdrake &") });
-$table->attach($b1, 1, 2, 0, 1, 'fill', 'fill', 0, 0);
-$vbox->pack_start(Gtk2::HSeparator->new, 0, 0, 5);
-my $bbox = Gtk2::HButtonBox->new;
-$vbox->pack_start($bbox, 0, 0, 5);
-$bbox->set_layout('end');
-my $button_ok = gtksignal_connect(Gtk2::Button->new(N("Done")), clicked => sub { ugtk2->exit(0) });
-$button_ok->can_default(1);
-$bbox->add($button_ok);
-
-$my_win->{window}->show_all;
-$my_win->main;
-ugtk2->exit(0);