[gnome-sound-recorder] record.js: Make the missing plugin messages useful
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] record.js: Make the missing plugin messages useful
- Date: Wed, 19 Mar 2014 14:22:06 +0000 (UTC)
commit 5840d4309fd9c5b8bd7a8fdd4501ab66cced3761
Author: Meg Ford <meg387 gmail com>
Date: Wed Mar 19 09:03:34 2014 -0500
record.js: Make the missing plugin messages useful
src/record.js | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/record.js b/src/record.js
index f01b346..011c2f8 100644
--- a/src/record.js
+++ b/src/record.js
@@ -103,8 +103,8 @@ const Record = new Lang.Class({
}
}
}));
- let ebinProfile = this.ebin.set_property("profile", this._mediaProfile);
this.pipeline.add(this.ebin);
+ let ebinProfile = this.ebin.set_property("profile", this._mediaProfile);
let srcpad = this.ebin.get_static_pad("src");
this.giosink = Gst.ElementFactory.make("giosink", "giosink");
this.giosink.set_property("file", this.initialFileName);
@@ -155,7 +155,6 @@ const Record = new Lang.Class({
this.pipeState = PipelineStates.PLAYING;
if (ret == Gst.StateChangeReturn.FAILURE) {
- this._showErrorDialog(_('Unable to set the pipeline \n to the recording state'));
this.initialFileName.delete_async(GLib.PRIORITY_DEFAULT, null, null);
} else {
MainWindow.view.setVolume();
@@ -196,8 +195,7 @@ const Record = new Lang.Class({
let errorTwo = null;
let detail = GstPbutils.missing_plugin_message_get_installer_detail(this.localMsg);
- if (detail != null)
- errorOne = detail;
+ errorOne = _("You are missing plugins:");
let description = GstPbutils.missing_plugin_message_get_description(this.localMsg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]