From 35d1f2b25293f446361603dfe9b4a21c7594b9a5 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> Date: Sun, 24 Jan 2016 16:03:56 +0100 Subject: [PATCH] Draw border around device details --- settings/xfpm-settings.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c index a1547752..0d1d04fe 100644 --- a/settings/xfpm-settings.c +++ b/settings/xfpm-settings.c @@ -2187,6 +2187,7 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean auth_suspend, GtkWidget *hbox; GtkWidget *frame; GtkWidget *switch_widget; + GtkStyleContext *context; GtkListStore *list_store; GtkTreeViewColumn *col; GtkCellRenderer *renderer; @@ -2281,6 +2282,8 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean auth_suspend, device_details_notebook = gtk_notebook_new (); gtk_notebook_set_show_tabs (GTK_NOTEBOOK (device_details_notebook), FALSE); + context = gtk_widget_get_style_context (GTK_WIDGET (device_details_notebook)); + gtk_style_context_add_class (context, "frame"); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); viewport = gtk_viewport_new (NULL, NULL); -- GitLab