aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm')
-rw-r--r--multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm49
1 files changed, 18 insertions, 31 deletions
diff --git a/multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm b/multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm
index 03b96d89ac60..2179e34fb4db 100644
--- a/multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm
+++ b/multimedia/dvdrip/files/patch-lib::Video::DVDRip::GUI::Project::TitleTab.pm
@@ -1,33 +1,20 @@
---- lib/Video/DVDRip/GUI/Project/TitleTab.pm.orig Fri Jun 20 03:15:39 2003
-+++ lib/Video/DVDRip/GUI/Project/TitleTab.pm Fri Jun 20 03:16:55 2003
-@@ -60,30 +60,6 @@
- $hbox->pack_start ( $button, 0, 1, 0);
- # $hbox->pack_start ( $label, 0, 1, 0);
+--- lib/Video/DVDRip/GUI/Project/TitleTab.pm.orig Sun Aug 14 17:46:36 2005
++++ lib/Video/DVDRip/GUI/Project/TitleTab.pm Sun Aug 14 17:46:53 2005
+@@ -965,7 +965,7 @@
+ sub eject_dvd {
+ my $self = shift;
-- # Eject Button
-- $button = Gtk::Button->new_with_label (
-- " Open DVD tray"
-- );
-- $button->show;
-- $button->signal_connect ("clicked",
-- sub { $self->eject_dvd }
-- );
-- $hbox->pack_start ($button, 0, 1, 0);
--
-- $self->rip_title_widgets->{eject_dvd_button} = $button;
--
-- # Insert Button
-- $button = Gtk::Button->new_with_label (
-- " Close DVD tray "
-- );
-- $button->show;
-- $button->signal_connect ("clicked",
-- sub { $self->insert_dvd }
-- );
-- $hbox->pack_start ($button, 0, 1, 0);
--
-- $self->rip_title_widgets->{insert_dvd_button} = $button;
--
- $frame->add ($hbox);
- $vbox->pack_start ( $frame, 0, 1, 0);
+- my $command = $self->config('eject_command') . " " . $self->config('dvd_device');
++ my $command = $self->config('eject_command') . " -f " . $self->config('dvd_device') . " eject";
+ system ("$command &");
+
+@@ -975,7 +975,7 @@
+ sub insert_dvd {
+ my $self = shift;
+
+- my $command = $self->config('eject_command') . " -t " . $self->config('dvd_device');
++ my $command = $self->config('eject_command') . " -f " . $self->config('dvd_device') . " close";
+
+ system ("$command &");
+