diff --git a/gnome/src/dbus/dbus.c b/gnome/src/dbus/dbus.c index b43a40e19e782ef3579b727896385fed13ec105b..e79a21b3a0703a0135ecc98b163ea2f2e4cbfc6c 100644 --- a/gnome/src/dbus/dbus.c +++ b/gnome/src/dbus/dbus.c @@ -566,29 +566,22 @@ error_alert(DBusGProxy *proxy UNUSED, int err, void *foo UNUSED) switch (err) { case ALSA_PLAYBACK_DEVICE: - msg = _("ALSA notification\n\nError while opening playback device"); + msg = _("ALSA notification: Error while opening playback device"); break; case ALSA_CAPTURE_DEVICE: - msg = _("ALSA notification\n\nError while opening capture device"); + msg = _("ALSA notification: Error while opening capture device"); break; case PULSEAUDIO_NOT_RUNNING: - msg = _("Pulseaudio notification\n\nPulseaudio is not running"); + msg = _("Pulseaudio notification: Pulseaudio is not running"); break; case CODECS_NOT_LOADED: - msg = _("Codecs notification\n\nCodecs not found"); + msg = _("Codecs notification: Codecs not found"); break; default: return; } - GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(get_main_window()), - GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", msg); - - gtk_window_set_title(GTK_WINDOW(dialog), _("SFLphone Error")); - - g_signal_connect(dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL); - gtk_widget_show(dialog); + ERROR("%s", msg); } static void