[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Drop unused function
noreply at xfce.org
noreply at xfce.org
Tue Mar 24 18:57:56 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 ab2f9286008b888f843ea54b85633aa41bf00042
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Mar 24 18:57:39 2020 +0100
Drop unused function
---
panel-plugin/xfce4-clipman-history.c | 26 +-------------------------
1 file changed, 1 insertion(+), 25 deletions(-)
diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index 00aa56f..c72db27 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -296,30 +296,6 @@ clipman_history_treeview_init (MyPlugin *plugin)
return box;
}
-static void
-clipman_history_settings_cb (void)
-{
- GAppInfo *appinfo;
- GError *error = NULL;
-
- appinfo = g_app_info_create_from_commandline ("xfce4-clipman-settings", "Clipman Settings", G_APP_INFO_CREATE_NONE, &error);
- if (error != NULL)
- {
- g_warning ("xfce4-clipman-settings could not be found. %s", error->message);
- g_error_free (error);
- return;
- }
-
- if (!g_app_info_launch (appinfo, NULL, NULL, &error))
- {
- if (error != NULL)
- {
- g_warning ("xfce4-clipman-settings could not be launched. %s", error->message);
- g_error_free (error);
- }
- }
-}
-
static gboolean
clipman_history_paste_on_activate (gpointer user_data)
{
@@ -362,7 +338,7 @@ clipman_history_dialog_response (GtkWidget *dialog,
if (response_id == GTK_RESPONSE_HELP)
xfce_dialog_show_help (GTK_WINDOW (dialog), "clipman", NULL, NULL);
else if (response_id == GTK_RESPONSE_OK)
- clipman_history_settings_cb ();
+ plugin_configure (plugin);
else
clipman_history_dialog_finalize (plugin, dialog);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list