[gnome-shell] recorder: Change default output filename



commit 7cc1bdb35df4003e2d96cbf9d2f4f28767440d63
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri Feb 24 18:14:58 2012 +0100

    recorder: Change default output filename
    
    Use "Screencast at 2009-03-11 00:08:15.webm" instead of
    "shell-20090311b-2.webm".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670753

 js/ui/main.js        |    2 +-
 src/shell-recorder.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 279a453..66a4344 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -110,7 +110,7 @@ function _initRecorder() {
         } else {
             // read the parameters from GSettings always in case they have changed
             recorder.set_framerate(recorderSettings.get_int('framerate'));
-            recorder.set_filename('shell-%d%u-%c.' + recorderSettings.get_string('file-extension'));
+            recorder.set_filename('Screencast at %d %t.' + recorderSettings.get_string('file-extension'));
             let pipeline = recorderSettings.get_string('pipeline');
 
             if (!pipeline.match(/^\s*$/))
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index 3737df8..9ac72d6 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -149,9 +149,9 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT);
  */
 #define DEFAULT_PIPELINE "vp8enc quality=8 speed=6 threads=%T ! queue ! webmmux"
 
-/* The default filename pattern. Example shell-20090311b-2.webm
+/* The default filename pattern. Example Screencast at 2009-03-11 00:08:15.webm
  */
-#define DEFAULT_FILENAME "shell-%d%u-%c.webm"
+#define DEFAULT_FILENAME "Screencast at %d %t.webm"
 
 /* If we can find the amount of memory on the machine, we use half
  * of that for memory_target, otherwise, we use this value, in kB.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]