[gnome-settings-daemon] screenshot-utils: don't use colons in filenames
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] screenshot-utils: don't use colons in filenames
- Date: Wed, 28 Jan 2015 15:19:32 +0000 (UTC)
commit 486ab2682cd54618c8b85ef0f4fc18d04dcce53d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Nov 21 17:47:23 2014 -0800
screenshot-utils: don't use colons in filenames
Screenshots are often uploaded to web services or copied to (possibly
FAT) external drives.
Don't use characters that would be incompatible with those.
See https://bugzilla.gnome.org/show_bug.cgi?id=698740
https://bugzilla.gnome.org/show_bug.cgi?id=740520
plugins/media-keys/gsd-screenshot-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-screenshot-utils.c b/plugins/media-keys/gsd-screenshot-utils.c
index c59ee63..242115f 100644
--- a/plugins/media-keys/gsd-screenshot-utils.c
+++ b/plugins/media-keys/gsd-screenshot-utils.c
@@ -296,7 +296,7 @@ screenshot_build_filename (void)
GDateTime *d;
d = g_date_time_new_now_local ();
- origin = g_date_time_format (d, "%Y-%m-%d %H:%M:%S");
+ origin = g_date_time_format (d, "%Y-%m-%d %H-%M-%S");
g_date_time_unref (d);
/* translators: this is the name of the file that gets made up
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]