Updating branch refs/heads/master
to 85cb0d91dfb2c4be8aaff826376c9ac9fb33c8e5 (commit)
from f1410686cf7ac9ab2a9fc4a54304398a97fed359 (commit)
commit 85cb0d91dfb2c4be8aaff826376c9ac9fb33c8e5
Author: Mike Massonnet <[email protected]>
Date: Sat Jan 23 20:27:31 2010 +0100
[status-icon] On autostart file update reset TryExec/Exec keys
panel-plugin/main-status-icon.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/main-status-icon.c b/panel-plugin/main-status-icon.c
index b2e106e..efef0bd 100644
--- a/panel-plugin/main-status-icon.c
+++ b/panel-plugin/main-status-icon.c
@@ -221,6 +221,8 @@ update_autostart_file (gboolean autostart)
keyfile = g_key_file_new ();
g_key_file_load_from_file (keyfile, userfile, G_KEY_FILE_KEEP_TRANSLATIONS,
NULL);
g_key_file_set_boolean (keyfile, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_HIDDEN, !autostart);
+ g_key_file_set_string (keyfile, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_TRY_EXEC, "xfce4-clipman");
+ g_key_file_set_string (keyfile, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_EXEC, "xfce4-clipman");
data = g_key_file_to_data (keyfile, NULL, NULL);
g_file_set_contents (userfile, data, -1, NULL);
g_free (data);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits