From 047b3f51a4a266d5f8fbce3e16c52d79b77d3f44 Mon Sep 17 00:00:00 2001 From: Stephane Delcroix Date: Tue, 16 Jun 2009 11:21:58 +0200 Subject: [PATCH] add an override for ShowUri that doesn't require a timestamp, as getting the current timestamp is kinda hackish --- Gtk.Sources/Global.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gtk.Sources/Global.cs b/Gtk.Sources/Global.cs index 1a2d684..09e065a 100644 --- a/Gtk.Sources/Global.cs +++ b/Gtk.Sources/Global.cs @@ -37,5 +37,10 @@ namespace GtkBeans { if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } + + public static bool ShowUri (Gdk.Screen screen, string uri) + { + return ShowUri (screen, uri, Gdk.EventHelper.GetTime (new Gdk.Event(IntPtr.Zero))); + } } }