display: Remove old radio-timey code
There's no radio button to switch to off now.
This commit is contained in:
parent
19f5c35da8
commit
8f614133ea
1 changed files with 0 additions and 3 deletions
|
@ -539,13 +539,11 @@ rebuild_on_off_radios (App *app)
|
|||
{
|
||||
gboolean sensitive;
|
||||
gboolean on_active;
|
||||
gboolean off_active;
|
||||
|
||||
g_signal_handlers_block_by_func (app->monitor_switch, G_CALLBACK (monitor_switch_active_cb), app);
|
||||
|
||||
sensitive = FALSE;
|
||||
on_active = FALSE;
|
||||
off_active = FALSE;
|
||||
|
||||
if (!gnome_rr_config_get_clone (app->current_configuration) && app->current_output)
|
||||
{
|
||||
|
@ -555,7 +553,6 @@ rebuild_on_off_radios (App *app)
|
|||
sensitive = FALSE;
|
||||
|
||||
on_active = gnome_rr_output_info_is_active (app->current_output);
|
||||
off_active = !on_active;
|
||||
}
|
||||
|
||||
gtk_widget_set_sensitive (app->monitor_switch, sensitive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue