[gnome-control-center] region: Stop input list being scrollable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Stop input list being scrollable
- Date: Mon, 4 Feb 2019 14:05:13 +0000 (UTC)
commit 03f516174dc62645363e80550c0997b2d7faf6da
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Nov 19 11:37:31 2018 +1300
region: Stop input list being scrollable
The new add row should always be visibile and this list is not likely
to contain many rows. The panel is scrollable so this handles this edge case.
panels/region/cc-region-panel.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 5310339be..35859526d 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -822,8 +822,6 @@ add_input_row (CcRegionPanel *self, CcInputSource *source)
g_signal_connect_object (row, "remove-row", G_CALLBACK (row_removed_cb), self, G_CONNECT_SWAPPED);
gtk_list_box_insert (GTK_LIST_BOX (self->input_list), GTK_WIDGET (row), gtk_list_box_row_get_index
(self->add_input_row));
update_input_rows (self);
-
- cc_list_box_adjust_scrolling (self->input_list);
}
static void
@@ -1224,8 +1222,6 @@ setup_input_section (CcRegionPanel *self)
maybe_start_ibus ();
#endif
- cc_list_box_setup_scrolling (self->input_list, 5);
-
gtk_list_box_set_header_func (self->input_list,
cc_list_box_update_header_func,
NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]