Commit 981c5cca authored by Sam Hocevar's avatar Sam Hocevar

  * ./po/ja.po: added Japanese translation from Fumio Nakayama
    <endymion@ca2.so-net.ne.jp>.
  * ./plugins/gtk/gtk_callbacks.c: fixed disc ejection code.
  * ./ChangeLog: how about a nice cup of 870 lines of ChangeLog for the 0.3.0
    release?
parent 4f08a70d
...@@ -240,6 +240,10 @@ N: Arkadiusz Miskiewicz ...@@ -240,6 +240,10 @@ N: Arkadiusz Miskiewicz
E: misiek@pld.ORG.PL E: misiek@pld.ORG.PL
D: autoconf and Makefile patches D: autoconf and Makefile patches
N: Fumio Nakayama
E: endymion@ca2.so-net.ne.jp
D: Japanese translation
N: Florian G. Pflug N: Florian G. Pflug
E: fgp@phlo.org E: fgp@phlo.org
C: fgp C: fgp
......
This diff is collapsed.
...@@ -1235,7 +1235,7 @@ else ...@@ -1235,7 +1235,7 @@ else
VLC_MAKE="gmake" VLC_MAKE="gmake"
fi fi
ALL_LINGUAS="de fr no ru nl" ALL_LINGUAS="de fr ja no ru nl"
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define PACKAGE "vlc" #define PACKAGE "vlc"
......
...@@ -51,7 +51,7 @@ else ...@@ -51,7 +51,7 @@ else
fi fi
dnl Gettext stuff dnl Gettext stuff
ALL_LINGUAS="de fr no ru nl" ALL_LINGUAS="de fr ja no ru nl"
AC_DEFINE_UNQUOTED(PACKAGE, "vlc") AC_DEFINE_UNQUOTED(PACKAGE, "vlc")
AC_DEFINE_UNQUOTED(VERSION, "$VLC_VERSION") AC_DEFINE_UNQUOTED(VERSION, "$VLC_VERSION")
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* gtk_callbacks.c : Callbacks for the Gtk+ plugin. * gtk_callbacks.c : Callbacks for the Gtk+ plugin.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_callbacks.c,v 1.34 2002/03/25 02:06:24 jobi Exp $ * $Id: gtk_callbacks.c,v 1.35 2002/04/03 02:43:14 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr> * Stphane Borel <stef@via.ecp.fr>
...@@ -494,11 +494,37 @@ gboolean GtkDiscEject ( GtkWidget *widget, GdkEventButton *event, ...@@ -494,11 +494,37 @@ gboolean GtkDiscEject ( GtkWidget *widget, GdkEventButton *event,
if (p_main->p_playlist->current.psz_name != NULL) if (p_main->p_playlist->current.psz_name != NULL)
{ {
if (strncmp(p_main->p_playlist->current.psz_name, "dvd", 3) if( !strncmp(p_main->p_playlist->current.psz_name, "dvd:", 4) )
|| strncmp(p_main->p_playlist->current.psz_name, "vcd", 3))
{ {
/* Determine the device name by omitting the first 4 characters */ switch( p_main->p_playlist->current.psz_name[4] )
psz_device = strdup((p_main->p_playlist->current.psz_name + 4)); {
case '\0':
case '@':
psz_device = strdup( DVD_DEVICE );
break;
default:
/* Omit the first 4 characters */
psz_device = strdup( p_main->p_playlist->current.psz_name + 4 );
break;
}
}
else if( !strncmp(p_main->p_playlist->current.psz_name, "vcd:", 4) )
{
switch( p_main->p_playlist->current.psz_name[4] )
{
case '\0':
case '@':
psz_device = strdup( VCD_DEVICE );
break;
default:
/* Omit the first 4 characters */
psz_device = strdup( p_main->p_playlist->current.psz_name + 4 );
break;
}
}
else
{
psz_device = strdup( p_main->p_playlist->current.psz_name );
} }
} }
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment