]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/commitdiff
xfce4-hdaps-dialogs.c: drop obsolete GTK_DIALOG_NO_SEPARATOR flag.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 23 Oct 2019 02:58:35 +0000 (22:58 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Oct 2019 13:26:49 +0000 (09:26 -0400)
While creating our main dialog box, we used to pass in the
GTK_DIALOG_NO_SEPARATOR flag to omit the separator between the main
vbox and the action area. I no longer remember what real impact this
had, which is good I guess because that flag doesn't exist in gtk+-3.x.
Other XFCE panel plugins have fixed this by deleting the flag, and that
seems like a fine solution to me.

panel-plugin/xfce4-hdaps-dialogs.c

index 7a4f73754cafd82090a0e1a80ff829d0ffa204d1..b6da7cb95edab9e365a81dc0f243906c0ddbeba3 100644 (file)
@@ -101,7 +101,7 @@ void hdaps_configure(XfcePanelPlugin *plugin,
   /* Create the dialog */
   dialog = xfce_titled_dialog_new_with_buttons(_("Hdaps Plugin"),
                                               GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
-                                              GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+                                              GTK_DIALOG_DESTROY_WITH_PARENT,
                                               GTK_STOCK_HELP, GTK_RESPONSE_HELP,
                                               GTK_STOCK_SAVE, GTK_RESPONSE_OK,
                                               GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,