[gnome-builder] editor: default snippet filename for unsaved files to empty string.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: default snippet filename for unsaved files to empty string.
- Date: Sun, 7 Sep 2014 05:16:44 +0000 (UTC)
commit f8bfa3b47ced41c53c3168d44951daaa55533311
Author: Christian Hergert <christian hergert me>
Date: Sat Sep 6 21:25:00 2014 -0700
editor: default snippet filename for unsaved files to empty string.
src/editor/gb-source-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index 1a98f3e..f44686a 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -168,7 +168,7 @@ get_filename (GbSourceView *view)
file = gb_editor_document_get_file (GB_EDITOR_DOCUMENT (buffer));
if (!file)
- return g_strdup_printf ("%s", _ ("Unsaved File"));
+ return g_strdup ("");
return g_file_get_basename (file);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]