[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Bump libxfce4ui ifdef to 4.15.1
noreply at xfce.org
noreply at xfce.org
Wed Apr 1 19:06:43 CEST 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 eaf2d2483aa8cb921b00d625bb72bbb40d2bffc5
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Apr 1 19:04:32 2020 +0200
Bump libxfce4ui ifdef to 4.15.1
As the API referenced in the ifdefs was released with libxfce4ui 4.15.1
we should use the correct version.
Also: drop the superfluous window type hint.
---
panel-plugin/xfce4-clipman-history.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index b31af93..4013150 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -444,9 +444,8 @@ clipman_history_dialog_init (MyPlugin *plugin)
gtk_window_set_title (GTK_WINDOW (dialog), _("Clipman History"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), "xfce4-clipman-plugin");
gtk_window_set_default_size (GTK_WINDOW (dialog), 350, 450);
- gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_NORMAL);
-#if LIBXFCE4UI_CHECK_VERSION (4,15,0)
+#if LIBXFCE4UI_CHECK_VERSION (4,15,1)
xfce_titled_dialog_create_action_area (XFCE_TITLED_DIALOG (dialog));
button = xfce_titled_dialog_add_button (XFCE_TITLED_DIALOG (dialog), _("_Help"), GTK_RESPONSE_HELP);
#else
@@ -455,7 +454,7 @@ clipman_history_dialog_init (MyPlugin *plugin)
icon = gtk_image_new_from_icon_name ("help-browser", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), icon);
-#if LIBXFCE4UI_CHECK_VERSION (4,15,0)
+#if LIBXFCE4UI_CHECK_VERSION (4,15,1)
button = xfce_titled_dialog_add_button (XFCE_TITLED_DIALOG (dialog), _("_Settings"), GTK_RESPONSE_OK);
#else
button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Settings"), GTK_RESPONSE_OK);
@@ -463,7 +462,7 @@ clipman_history_dialog_init (MyPlugin *plugin)
icon = gtk_image_new_from_icon_name ("preferences-system", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), icon);
-#if LIBXFCE4UI_CHECK_VERSION (4,15,0)
+#if LIBXFCE4UI_CHECK_VERSION (4,15,1)
plugin->submit_button = xfce_titled_dialog_add_button (XFCE_TITLED_DIALOG (dialog), "label", GTK_RESPONSE_APPLY);
xfce_titled_dialog_set_default_response (XFCE_TITLED_DIALOG (dialog), GTK_RESPONSE_APPLY);
#else
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list