summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-26 20:35:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-26 20:35:24 +0000
commita28a7bb583c457b1ed234bd408eb7d1734a2f226 (patch)
treeb8c57e46a2b502215a0c09723f8bf48a807d7f6b /perl-install/diskdrake
parent841fa6677c7ca88bed65378dd7135969156f3a05 (diff)
downloaddrakx-backup-do-not-use-a28a7bb583c457b1ed234bd408eb7d1734a2f226.tar
drakx-backup-do-not-use-a28a7bb583c457b1ed234bd408eb7d1734a2f226.tar.gz
drakx-backup-do-not-use-a28a7bb583c457b1ed234bd408eb7d1734a2f226.tar.bz2
drakx-backup-do-not-use-a28a7bb583c457b1ed234bd408eb7d1734a2f226.tar.xz
drakx-backup-do-not-use-a28a7bb583c457b1ed234bd408eb7d1734a2f226.zip
*** empty log message ***
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/removable_gtk.pm32
1 files changed, 0 insertions, 32 deletions
diff --git a/perl-install/diskdrake/removable_gtk.pm b/perl-install/diskdrake/removable_gtk.pm
deleted file mode 100644
index c61b61a22..000000000
--- a/perl-install/diskdrake/removable_gtk.pm
+++ /dev/null
@@ -1,32 +0,0 @@
-package diskdrake::removable_gtk; # $Id$
-
-use diagnostics;
-use strict;
-
-use common;
-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 = (
- N("Mount point") => \&raw_hd_mount_point,
- N("Options") => \&raw_hd_options,
- N("Type") => \&removable_type,
- );
- my @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(N("Choose action")),
- createScrolledWindow(gtkpack__(new Gtk::VBox(0,0), @buttons)))) if @buttons;
-
- } else {
- my $txt = N("Please click on a medium");
- gtkpack($box, gtktext_insert(new Gtk::Text, $txt));
- }
-}