[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Don't delete the history on startup
noreply at xfce.org
noreply at xfce.org
Fri Mar 27 20:19:09 CET 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-clipman-plugin.
commit aea2da5de4b125d8c0dc9d94eda584dbacdcd2d1
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Mar 27 20:17:53 2020 +0100
Don't delete the history on startup
This leads to the history being lost if the plugin or systray item
doesn't exit normally, because plugin_save isn't called (as the current
history is only retained in RAM).
---
panel-plugin/plugin.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/panel-plugin/plugin.c b/panel-plugin/plugin.c
index 3daac16..7edec36 100644
--- a/panel-plugin/plugin.c
+++ b/panel-plugin/plugin.c
@@ -192,7 +192,6 @@ plugin_load (MyPlugin *plugin)
texts = g_key_file_get_string_list (keyfile, "texts", "texts", NULL, NULL);
for (i = 0; texts != NULL && texts[i] != NULL; i++)
clipman_history_add_text (plugin->history, texts[i]);
- g_unlink (filename);
}
g_key_file_free (keyfile);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list