X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=plugins%2FVimish.cs;fp=plugins%2FVimish.cs;h=22f2532c5407daeb77ea00c513e3961cf223703b;hb=2744fefc32dbe9b59a570f6515d51121b8fcfbe3;hp=51c2cfcb769b016c5fa5a0d2648967188ce4db4c;hpb=de68be10ae8d84f85431c704bb06d89e4d93cc98;p=WebThing.git diff --git a/plugins/Vimish.cs b/plugins/Vimish.cs index 51c2cfc..22f2532 100644 --- a/plugins/Vimish.cs +++ b/plugins/Vimish.cs @@ -66,16 +66,16 @@ public class Vimish : WebThingPlugin { if (e.Event.State == Gdk.ModifierType.None) { switch(e.Event.Key) { case Gdk.Key.j: - wt.ScrolledWindow.Vadjustment.Value += wt.ScrolledWindow.Vadjustment.StepIncrement; + wt.Bump(0, 1); break; case Gdk.Key.k: - wt.ScrolledWindow.Vadjustment.Value -= wt.ScrolledWindow.Vadjustment.StepIncrement; + wt.Bump(0, -1); break; case Gdk.Key.l: - wt.ScrolledWindow.Hadjustment.Value += wt.ScrolledWindow.Hadjustment.StepIncrement; + wt.Bump(1, 0); break; case Gdk.Key.h: - wt.ScrolledWindow.Hadjustment.Value -= wt.ScrolledWindow.Hadjustment.StepIncrement; + wt.Bump(-1, 0); break; case Gdk.Key.r: wv.Reload();