File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public class Files.MultiSlot : Gtk.Box {
120120 to_unparent. unparent ();
121121 }
122122
123- private void calculate_total_width () {
123+ public void update_total_width () {
124124 total_width = 300 ; // Extra space to allow increasing the size of columns by dragging the edge
125125 var host = (Gtk . Paned )(viewport. child);
126126 while (host != null && (host is Gtk . Paned )) {
@@ -135,10 +135,6 @@ public class Files.MultiSlot : Gtk.Box {
135135 }
136136
137137 scrolled_window. min_content_width = total_width;
138- }
139-
140- public void update_total_width () {
141- calculate_total_width ();
142138warning (" setting total width %i " , total_width);
143139 viewport. set_size_request (total_width, - 1 );
144140 }
You can’t perform that action at this time.
0 commit comments