recorder: rename "filename" property to "file-template"
The filename property is actually a template string with substitution variables, not a filename. This commit renames for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=680647
This commit is contained in:
@ -41,7 +41,7 @@ const Recorder = new Lang.Class({
|
||||
recorder.set_framerate(this._recorderSettings.get_int('framerate'));
|
||||
/* Translators: this is a filename used for screencast recording */
|
||||
// xgettext:no-c-format
|
||||
recorder.set_filename(_("Screencast from %d %t") + '.' + this._recorderSettings.get_string('file-extension'));
|
||||
recorder.set_file_template(_("Screencast from %d %t") + '.' + this._recorderSettings.get_string('file-extension'));
|
||||
let pipeline = this._recorderSettings.get_string('pipeline');
|
||||
|
||||
if (!pipeline.match(/^\s*$/))
|
||||
|
Reference in New Issue
Block a user