This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-clipman-plugin.

commit aaf8068e6729fbbac95c70239f09b933faf93633
Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at>
Date:   Mon Mar 16 00:57:20 2020 +0100

    Respect the history settings
---
 panel-plugin/xfce4-clipman-history.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/panel-plugin/xfce4-clipman-history.c 
b/panel-plugin/xfce4-clipman-history.c
index 0d7713c..970cd3e 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -276,7 +276,18 @@ main (gint argc, gchar *argv[])
       return FALSE;
     }
 
+  xfconf_init (NULL);
+  plugin->channel = xfconf_channel_new_with_property_base ("xfce4-panel", 
"/plugins/clipman");
   plugin->history = clipman_history_get ();
+  xfconf_g_property_bind (plugin->channel, "/settings/max-texts-in-history",
+                          G_TYPE_UINT, plugin->history, 
"max-texts-in-history");
+  xfconf_g_property_bind (plugin->channel, "/settings/max-images-in-history",
+                          G_TYPE_UINT, plugin->history, 
"max-images-in-history");
+  xfconf_g_property_bind (plugin->channel, "/settings/save-on-quit",
+                          G_TYPE_BOOLEAN, plugin->history, "save-on-quit");
+  xfconf_g_property_bind (plugin->channel, "/tweaks/reorder-items",
+                          G_TYPE_BOOLEAN, plugin->history, "reorder-items");
+
   plugin_load (plugin);
 
   dialog = clipman_history_dialog_init (plugin);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to