Permalink
Browse files

Fix focus issue playing/stopping on Win32.

  • Loading branch information...
1 parent c28b7fc commit 5690b45a2295ad934a7e60ae6090a08e9ee21dce @minter committed Apr 19, 2006
Showing with 4 additions and 8 deletions.
  1. +3 −0 ChangeLog
  2. +1 −8 mrvoice.pl
View
@@ -1,3 +1,6 @@
+Wed Apr 19 2006 H. Wade Minter (minter@lunenburg.org)
+ * Fix issue with focus playing/stopping on Win32.
+
Tue Apr 18 2006 H. Wade Minter (minter@lunenburg.org)
* Tag 2.2
View
@@ -251,7 +251,7 @@
#####
-my $version = "2.2"; # Program version
+my $version = "2.2.1"; # Program version
our $status = "Welcome to Mr. Voice version $version";
sub get_category
@@ -4111,7 +4111,6 @@ sub validate_id
sub stop_mp3
{
- startcheck_player();
print "Stopping MP3\n" if $debug;
my $widget = shift;
@@ -4129,16 +4128,10 @@ sub stop_mp3
system("$config{mp3player} --stop");
}
$status = "Playing Stopped";
-
- # Manually give the mainbox focus
- print "Focusing on mainbox\n" if $debug;
- $mainbox->focus();
}
sub play_mp3
{
-
- startcheck_player();
print "Playing MP3\n" if $debug;
my ( $statustitle, $statusartist, $filename );
my $songstatusstring;

0 comments on commit 5690b45

Please sign in to comment.