This is an automated email from the git hooks/post-receive script. T o Z 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-genmon-plugin.
commit 6fe22377873f180a8ee344f3ada71243ed001c19 Author: ToZ <tony.pau...@gmail.com> Date: Sat Apr 4 13:20:25 2020 -0400 Support new libxfce4ui API --- panel-plugin/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/panel-plugin/main.c b/panel-plugin/main.c index 160558a..e68527d 100644 --- a/panel-plugin/main.c +++ b/panel-plugin/main.c @@ -854,11 +854,19 @@ static void genmon_create_options (XfcePanelPlugin *plugin, xfce_panel_plugin_block_menu (plugin); +#if LIBXFCE4UI_CHECK_VERSION (4, 15, 1) + dlg = xfce_titled_dialog_new_with_mixed_buttons (_("Generic Monitor"), + GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))), + GTK_DIALOG_DESTROY_WITH_PARENT, + "gtk-save", "_Save", GTK_RESPONSE_OK, + NULL); +#else dlg = xfce_titled_dialog_new_with_buttons (_("Generic Monitor"), GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))), GTK_DIALOG_DESTROY_WITH_PARENT, "gtk-save", GTK_RESPONSE_OK, NULL); +#endif gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE); gtk_window_set_icon_name (GTK_WINDOW (dlg), "utilities-system-monitor"); -- 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