From ef0cbf45f399fa34b9bfb3e6fa273061a9997ef6 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Tue, 22 Aug 2017 18:06:00 +0200 Subject: [PATCH] display: Make arrangement and scale rows non-activatable --- panels/display/cc-display-panel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c index 285ec5aab..71f5bf04d 100644 --- a/panels/display/cc-display-panel.c +++ b/panels/display/cc-display-panel.c @@ -1211,6 +1211,7 @@ make_scale_row (CcDisplayPanel *panel, CcDisplayMonitor *output) gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), GTK_BUTTONBOX_EXPAND); row = make_row (NULL, label, bbox); + gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), FALSE); g_object_set_data (G_OBJECT (bbox), "panel", panel); g_signal_connect_object (output, "mode", G_CALLBACK (setup_scale_buttons), @@ -1409,6 +1410,7 @@ make_arrangement_row (CcDisplayPanel *panel) monitor_output_changes (area, panel); row = g_object_new (CC_TYPE_LIST_BOX_ROW, NULL); + gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), FALSE); gtk_container_add (GTK_CONTAINER (row), area); return row;