summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/removable_gtk.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-07-23 11:21:56 +0000
committerMystery Man <unknown@mandriva.org>2002-07-23 11:21:56 +0000
commitc085ce28d15d1476cae3fcb6d24d4d5ac1ca3aa7 (patch)
tree09f4686118e32ec13377577bbbd0f08e8120836c /perl-install/diskdrake/removable_gtk.pm
parent127a73d935d78af53d3dadd05d4636f6b717976d (diff)
downloaddrakx-1_1_8_13mdk.tar
drakx-1_1_8_13mdk.tar.gz
drakx-1_1_8_13mdk.tar.bz2
drakx-1_1_8_13mdk.tar.xz
drakx-1_1_8_13mdk.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_8_13mdk'.V1_1_8_13mdk
Diffstat (limited to 'perl-install/diskdrake/removable_gtk.pm')
-rw-r--r--perl-install/diskdrake/removable_gtk.pm31
1 files changed, 0 insertions, 31 deletions
diff --git a/perl-install/diskdrake/removable_gtk.pm b/perl-install/diskdrake/removable_gtk.pm
deleted file mode 100644
index da897b67a..000000000
--- a/perl-install/diskdrake/removable_gtk.pm
+++ /dev/null
@@ -1,31 +0,0 @@
-package diskdrake::removable_gtk; # $Id$
-
-use diagnostics;
-use strict;
-
-use my_gtk qw(:helpers :wrappers :ask);
-
-
-sub per_entry_action_box {
- my ($box, $kind, $entry) = @_;
- $_->widget->destroy foreach $box->children;
-
- if ($entry) {
- my @l = (
- _("Mount point") => \&raw_hd_mount_point,
- _("Options") => \&raw_hd_options,
- _("Type") => \&removable_type,
- );
- @buttons = map_each {
- my ($txt, $f) = @_;
- gtksignal_connect(new Gtk::Button($txt), clicked => sub { try_('', $f, $entry) });
- } group_by2 @l;
-
- gtkadd($box, gtkadd(new Gtk::Frame(_("Choose action")),
- createScrolledWindow(gtkpack__(new Gtk::VBox(0,0), @buttons)))) if @buttons;
-
- } else {
- my $txt = _("Please click on a medium");
- gtkpack($box, gtktext_insert(new Gtk::Text, $txt));
- }
-}