From 173c185bc5b0e7bcf289727afee260ad8eea8ffb Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Mon, 18 Apr 2011 11:49:17 -0500 Subject: [PATCH] Move new ShowUri API to partial class. * gtk/gtk/Global.cs: partial class changes. moved from Global.custom. * gtk/Makefile.am: add new file --- gtk/{Global.custom => Global.cs} | 9 +++++++-- gtk/Makefile.am | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) rename gtk/{Global.custom => Global.cs} (94%) diff --git a/gtk/Global.custom b/gtk/Global.cs similarity index 94% rename from gtk/Global.custom rename to gtk/Global.cs index 5cd4c95af..8b795cd74 100644 --- a/gtk/Global.custom +++ b/gtk/Global.cs @@ -1,5 +1,3 @@ -// Gtk.Global.custom - Gtk Global customizations -// // Authors: Aaron Bockover // // Copyright 2007-2010 Novell, Inc. @@ -18,6 +16,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +namespace Gtk { + + public partial class Global { + public static bool ShowUri (string uri) { return ShowUri (null, uri); @@ -27,3 +29,6 @@ { return ShowUri (screen, uri, Gtk.Global.CurrentEventTime); } + } +} + diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 445f04bad..1297ab5e8 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -16,6 +16,7 @@ sources = \ BindingAttribute.cs \ CellAreaBox.cs \ ChildPropertyAttribute.cs \ + Global.cs \ ITreeNode.cs \ Key.cs \ NodeCellDataFunc.cs \