display: remove the primary display checkbox
We'll add a graphical representation instead.
This commit is contained in:
parent
ad13352fbc
commit
16f45eb8a7
2 changed files with 42 additions and 57 deletions
|
@ -59,7 +59,6 @@ struct App
|
|||
GtkWidget *resolution_combo;
|
||||
GtkWidget *rotation_combo;
|
||||
GtkWidget *clone_checkbox;
|
||||
GtkWidget *primary_display_checkbox;
|
||||
GtkWidget *clone_label;
|
||||
GtkWidget *show_icon_checkbox;
|
||||
|
||||
|
@ -668,7 +667,6 @@ rebuild_gui (App *app)
|
|||
#if 0
|
||||
g_debug ("sensitive: %d, on: %d", sensitive, app->current_output->on);
|
||||
#endif
|
||||
gtk_widget_set_sensitive (app->primary_display_checkbox, sensitive);
|
||||
|
||||
app->ignore_gui_changes = FALSE;
|
||||
}
|
||||
|
@ -2372,13 +2370,9 @@ run_application (void)
|
|||
g_signal_connect (_gtk_builder_get_widget (builder, "detect_displays_button"),
|
||||
"clicked", G_CALLBACK (on_detect_displays), app);
|
||||
|
||||
app->primary_display_checkbox = _gtk_builder_get_widget (builder, "primary_display_checkbox");
|
||||
|
||||
make_text_combo (app->resolution_combo, 4);
|
||||
make_text_combo (app->rotation_combo, -1);
|
||||
|
||||
g_assert (app->primary_display_checkbox);
|
||||
|
||||
/* Scroll Area */
|
||||
app->area = (GtkWidget *)foo_scroll_area_new ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue