[gnome-sound-recorder] record.js: use Gio.File.prototype.get_path



commit 3c8a4052b6f862a776381a99c5281138a064f29d
Author: Meg Ford <megford gnome org>
Date:   Sun Apr 27 14:14:07 2014 -0500

    record.js: use Gio.File.prototype.get_path
    
    As per Sebastian Dröge's suggestion.

 src/record.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/record.js b/src/record.js
index 02b4906..8f9aa45 100644
--- a/src/record.js
+++ b/src/record.js
@@ -295,7 +295,7 @@ const BuildFileName = new Lang.Class({
             by the application (for example, "Clip 1"). */
         let clipName = _("Clip %d").format(this.clipNumberString);
         let clip = dir.get_child_for_display_name(clipName);
-        let file = clip.get_parse_name();
+        let file = clip.get_path();
         return file;
     },
     


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