diff -Narup old/gnome-ppp-wvdial.c new/gnome-ppp-wvdial.c --- old/gnome-ppp-wvdial.c 2008-02-14 10:28:50.000000000 +0900 +++ new/gnome-ppp-wvdial.c 2008-02-14 10:28:14.000000000 +0900 @@ -56,13 +56,13 @@ gboolean on_wvdial_err (GIOChannel *sour g_print ("GNOME PPP: STDERR: %s", line); - if (g_strrstr (line, "--> Cannot open") != NULL) + if (g_strrstr (line, "Cannot open") != NULL) gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Can not open modem.")); - if (g_strrstr (line, "--> Modem not responding") != NULL) + if (g_strrstr (line, "Modem not responding") != NULL) gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Modem not responding.")); - if (g_strrstr (line, "--> Please enter password") != NULL) { + if (g_strrstr (line, "Please enter password") != NULL) { const gchar *password; gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Sending password...")); @@ -75,7 +75,7 @@ gboolean on_wvdial_err (GIOChannel *sour g_io_channel_shutdown (in, TRUE, NULL); } - if (g_strrstr (line, "--> Configuration does not specify a valid password.") != NULL) + if (g_strrstr (line, "Configuration does not specify a valid password.") != NULL) gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("No valid password.")); if (g_strrstr (line, "ATM") != NULL) { @@ -90,13 +90,13 @@ gboolean on_wvdial_err (GIOChannel *sour g_free (message); } - if (g_strrstr (line, "--> Carrier detected. Waiting for prompt.") != NULL) + if (g_strrstr (line, "Carrier detected. Waiting for prompt.") != NULL) gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Waiting for prompt...")); if (g_strrstr (line, "Username:") != NULL) gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Authenticating...")); - if (g_strrstr (line, "--> Using interface") != NULL) { + if (g_strrstr (line, "Using interface") != NULL) { gchar iface[255]; gchar tmp[255]; @@ -104,14 +104,14 @@ gboolean on_wvdial_err (GIOChannel *sour gtk_label_set_text (GTK_LABEL (gnome_ppp.details.interface), &iface[0]); } /* in case we are using auto reconnect */ - if (g_strrstr (line, "--> Auto Reconnect") != NULL) { + if (g_strrstr (line, "Auto Reconnect") != NULL) { gtk_label_set_text (GTK_LABEL (gnome_ppp.connecting.msgs), _("Reconnecting...")); gtk_widget_hide (gnome_ppp.gnome_ppp.window); gtk_widget_hide (gnome_ppp.details.window); gtk_widget_show (gnome_ppp.connecting.window); } /* we're about to connect (pppd) */ - if (g_strrstr (line, "--> Starting pppd") != NULL) { + if (g_strrstr (line, "Starting pppd") != NULL) { gboolean minimize; minimize = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gnome_ppp.setup.minimize)); @@ -135,8 +135,8 @@ gboolean on_wvdial_err (GIOChannel *sour gnome_ppp.connected.update = g_timeout_add (1000, (GSourceFunc)timer, NULL); } - if (g_strrstr (line, "--> The PPP daemon has died") != NULL - || g_strrstr (line, "--> Disconnecting") != NULL) { + if (g_strrstr (line, "The PPP daemon has died") != NULL + || g_strrstr (line, "Disconnecting") != NULL) { if (gnome_ppp.connected.update) { g_source_remove (gnome_ppp.connected.update);