diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-09-08 11:49:48 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-09-08 11:50:01 -0500 |
commit | 8341ba25a6a38c952707cbad577610434c59c980 (patch) | |
tree | d1b87a8cbc24f8b75e9abed278ce45d1cebcbe98 | |
parent | 171885ef6214301a791e665888170e3d74830d73 (diff) | |
download | gnome-settings-daemon-randr-logging.tar.gz |
Say how to keep the log file from being createdrandr-logging
Signed-off-by: Federico Mena Quintero <federico@novell.com>
-rw-r--r-- | plugins/xrandr/gsd-xrandr-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c index 0f4dee89..0aef5de7 100644 --- a/plugins/xrandr/gsd-xrandr-manager.c +++ b/plugins/xrandr/gsd-xrandr-manager.c @@ -158,6 +158,9 @@ log_open (void) log_file = fopen (log_filename, "a"); + if (log_file && ftell (log_file) == 0) + fprintf (log_file, "To keep this log from being created, please rm ~/gsd-debug-randr\n"); + out: g_free (toggle_filename); g_free (log_filename); |