diff options
author | raveit65 <[email protected]> | 2018-02-20 19:30:14 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-25 09:47:34 +0100 |
commit | f876ed213b880c3d31c09cbe39e2ecf5a7f90c1e (patch) | |
tree | 0c18b52c31632b0950a7805341b42caf34ee7d99 | |
parent | 53590567212f09fe5059e341eeafe6463c76cba7 (diff) | |
download | mate-sensors-applet-f876ed213b880c3d31c09cbe39e2ecf5a7f90c1e.tar.bz2 mate-sensors-applet-f876ed213b880c3d31c09cbe39e2ecf5a7f90c1e.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.
-rw-r--r-- | sensors-applet/prefs-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 17c272c..a664fe0 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -469,6 +469,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")); |