summaryrefslogtreecommitdiff
path: root/sensors-applet
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-02-20 19:30:14 +0100
committerraveit65 <[email protected]>2018-02-27 11:02:40 +0100
commitcba90be59d939b2ddcf450fb9da4159fb9dfa47d (patch)
treed9d5d8c8b1e1cc1c5234a130c57547737aeb8ea2 /sensors-applet
parent15b67d245031eba6c8dc7b194ff710aca37599ca (diff)
downloadmate-sensors-applet-cba90be59d939b2ddcf450fb9da4159fb9dfa47d.tar.bz2
mate-sensors-applet-cba90be59d939b2ddcf450fb9da4159fb9dfa47d.tar.xz
prefs-dialog: drop unneeded space in general tab
In result the second column of the GtkGrid will always expand to the full grid width.
Diffstat (limited to 'sensors-applet')
-rw-r--r--sensors-applet/prefs-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c
index 1f491de..a32668b 100644
--- a/sensors-applet/prefs-dialog.c
+++ b/sensors-applet/prefs-dialog.c
@@ -468,6 +468,8 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
g_free(header_text);
prefs_dialog->display_mode_combo_box = GTK_COMBO_BOX_TEXT(gtk_combo_box_text_new());
+ /*expand the whole column */
+ gtk_widget_set_hexpand(GTK_WIDGET(prefs_dialog->display_mode_combo_box), TRUE);
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("label with value"));
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("icon with value"));