Skip to content
Permalink
Browse files

prefs-dialog: drop unneeded space in general tab

In result the second column of the GtkGrid will always
expand to the full grid width.
  • Loading branch information...
raveit65 committed Feb 20, 2018
1 parent 15b67d2 commit cba90be59d939b2ddcf450fb9da4159fb9dfa47d
Showing with 2 additions and 0 deletions.
  1. +2 −0 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"));

0 comments on commit cba90be

Please sign in to comment.
You can’t perform that action at this time.