[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 03/05: Added frame around the special UI-mode dependent settings
noreply at xfce.org
noreply at xfce.org
Thu Nov 1 20:51:22 CET 2018
This is an automated email from the git hooks/post-receive script.
t i m y s t e r y 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-sensors-plugin.
commit 98eb8cbb537e11c2da2f8efb6e749169fb93fb4d
Author: Fabian <timystery at arcor.de>
Date: Wed Oct 31 09:39:21 2018 +0100
Added frame around the special UI-mode dependent settings
---
panel-plugin/sensors-plugin.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 2d859b2..4e822ff 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -2466,7 +2466,7 @@ add_command_box (GtkWidget * vbox, t_sensors_dialog * sd)
static void
add_view_frame (GtkWidget * notebook, t_sensors_dialog * sd)
{
- GtkWidget *_vbox, *_label;
+ GtkWidget *_vbox, *_label, *_frame;
TRACE ("enters add_view_frame");
@@ -2486,6 +2486,17 @@ add_view_frame (GtkWidget * notebook, t_sensors_dialog * sd)
add_ui_style_box (_vbox, sd);
add_labels_box (_vbox, sd);
add_cover_rows_box(_vbox, sd);
+
+ _frame = gtk_frame_new(_("UI style options"));
+ gtk_frame_set_shadow_type(GTK_FRAME(_frame), GTK_SHADOW_ETCHED_IN);
+ gtk_box_pack_start (GTK_BOX (_vbox), _frame, FALSE, FALSE, 0);
+ gtk_widget_show (_frame);
+
+ _vbox = gtk_vbox_new (FALSE, OUTER_BORDER);
+ gtk_container_set_border_width(GTK_CONTAINER(_vbox), OUTER_BORDER);
+ gtk_container_add(GTK_CONTAINER(_frame), _vbox);
+ gtk_widget_show (_vbox);
+
add_str_fontsize_box (_vbox, sd);
add_font_settings_box (_vbox, sd);
add_lines_box (_vbox, sd);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list