add an override for ShowUri that doesn't require a timestamp, as getting the current timestamp is kinda hackish
This commit is contained in:
Родитель
7071df74ef
Коммит
047b3f51a4
|
@ -37,5 +37,10 @@ namespace GtkBeans {
|
||||||
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
if (error != IntPtr.Zero) throw new GLib.GException (error);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool ShowUri (Gdk.Screen screen, string uri)
|
||||||
|
{
|
||||||
|
return ShowUri (screen, uri, Gdk.EventHelper.GetTime (new Gdk.Event(IntPtr.Zero)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче