[SparkleDiff] Sync scrollbars after changing one of the revisions
This commit is contained in:
parent
947edeb7a4
commit
71dc2eda29
|
@ -110,6 +110,9 @@ namespace SparkleShare {
|
||||||
|
|
||||||
HookUpViews ();
|
HookUpViews ();
|
||||||
|
|
||||||
|
ViewLeft.ScrolledWindow.Hadjustment = ViewRight.ScrolledWindow.Hadjustment;
|
||||||
|
ViewLeft.ScrolledWindow.Vadjustment = ViewRight.ScrolledWindow.Vadjustment;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ViewRight.ComboBox.Changed += delegate {
|
ViewRight.ComboBox.Changed += delegate {
|
||||||
|
@ -120,6 +123,9 @@ namespace SparkleShare {
|
||||||
|
|
||||||
HookUpViews ();
|
HookUpViews ();
|
||||||
|
|
||||||
|
ViewRight.ScrolledWindow.Hadjustment = ViewLeft.ScrolledWindow.Hadjustment;
|
||||||
|
ViewRight.ScrolledWindow.Vadjustment = ViewLeft.ScrolledWindow.Vadjustment;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
layout_horizontal.PackStart (ViewLeft);
|
layout_horizontal.PackStart (ViewLeft);
|
||||||
|
|
Loading…
Reference in a new issue