[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Draw border around device details

noreply at xfce.org noreply at xfce.org
Sun Jan 24 16:04:19 CET 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 35d1f2b25293f446361603dfe9b4a21c7594b9a5
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Jan 24 16:03:56 2016 +0100

    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 a154775..0d1d04f 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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list