Move new ShowUri API to partial class.
* gtk/gtk/Global.cs: partial class changes. moved from Global.custom. * gtk/Makefile.am: add new file
This commit is contained in:
parent
fe769d0360
commit
173c185bc5
2 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
||||||
// Gtk.Global.custom - Gtk Global customizations
|
|
||||||
//
|
|
||||||
// Authors: Aaron Bockover <abockover@novell.com>
|
// Authors: Aaron Bockover <abockover@novell.com>
|
||||||
//
|
//
|
||||||
// Copyright 2007-2010 Novell, Inc.
|
// Copyright 2007-2010 Novell, Inc.
|
||||||
|
@ -18,6 +16,10 @@
|
||||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
// Boston, MA 02111-1307, USA.
|
// Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
namespace Gtk {
|
||||||
|
|
||||||
|
public partial class Global {
|
||||||
|
|
||||||
public static bool ShowUri (string uri)
|
public static bool ShowUri (string uri)
|
||||||
{
|
{
|
||||||
return ShowUri (null, uri);
|
return ShowUri (null, uri);
|
||||||
|
@ -27,3 +29,6 @@
|
||||||
{
|
{
|
||||||
return ShowUri (screen, uri, Gtk.Global.CurrentEventTime);
|
return ShowUri (screen, uri, Gtk.Global.CurrentEventTime);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ sources = \
|
||||||
BindingAttribute.cs \
|
BindingAttribute.cs \
|
||||||
CellAreaBox.cs \
|
CellAreaBox.cs \
|
||||||
ChildPropertyAttribute.cs \
|
ChildPropertyAttribute.cs \
|
||||||
|
Global.cs \
|
||||||
ITreeNode.cs \
|
ITreeNode.cs \
|
||||||
Key.cs \
|
Key.cs \
|
||||||
NodeCellDataFunc.cs \
|
NodeCellDataFunc.cs \
|
||||||
|
|
Loading…
Reference in a new issue