mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 03:27:13 +00:00
2009-05-02 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata: updates for new RecentItems prop. * gtk/Makefile.am: add new custom. * gtk/RecentManager.custom: obsolete Items prop impl. svn path=/trunk/gtk-sharp/; revision=133393
This commit is contained in:
parent
d83dcd8994
commit
2e86916282
|
@ -1,3 +1,9 @@
|
||||||
|
2009-05-02 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* gtk/Gtk.metadata: updates for new RecentItems prop.
|
||||||
|
* gtk/Makefile.am: add new custom.
|
||||||
|
* gtk/RecentManager.custom: obsolete Items prop impl.
|
||||||
|
|
||||||
2009-05-02 Mike Kestner <mkestner@novell.com>
|
2009-05-02 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* configure.in.in: forward port of a win32 fix from 2-12-branch.
|
* configure.in.in: forward port of a win32 fix from 2-12-branch.
|
||||||
|
|
|
@ -187,6 +187,10 @@
|
||||||
<attr path="/api/namespace/interface[@cname='GtkFileChooser']/virtual_method[@cname='list_shortcut_folders']/return-type" name="elements_owned">true</attr>
|
<attr path="/api/namespace/interface[@cname='GtkFileChooser']/virtual_method[@cname='list_shortcut_folders']/return-type" name="elements_owned">true</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GtkFileChooser']/virtual_method[@cname='list_shortcut_folders']/return-type" name="owned">true</attr>
|
<attr path="/api/namespace/interface[@cname='GtkFileChooser']/virtual_method[@cname='list_shortcut_folders']/return-type" name="owned">true</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GtkRecentChooser']/virtual_method[@name='GetRecentManager']" name="hidden">1</attr>
|
<attr path="/api/namespace/interface[@cname='GtkRecentChooser']/virtual_method[@name='GetRecentManager']" name="hidden">1</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GtkRecentManager']/method[@cname='gtk_recent_manager_get_items']" name="name">GetRecentItems</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GtkRecentManager']/method[@cname='gtk_recent_manager_get_items']/return-type" name="element_type">GtkRecentInfo*</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GtkRecentManager']/method[@cname='gtk_recent_manager_get_items']/return-type" name="owned">true</attr>
|
||||||
|
<attr path="/api/namespace/object[@cname='GtkRecentManager']/method[@cname='gtk_recent_manager_get_items']/return-type" name="elements_owned">true</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/method[@name='Foreach']/*/*[@name='func']" name="scope">call</attr>
|
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/method[@name='Foreach']/*/*[@name='func']" name="scope">call</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/*[@name='GetIterFirst']/*/*[@name='iter']" name="pass_as">out</attr>
|
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/*[@name='GetIterFirst']/*/*[@name='iter']" name="pass_as">out</attr>
|
||||||
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/method[@name='Get']" name="hidden">1</attr>
|
<attr path="/api/namespace/interface[@cname='GtkTreeModel']/method[@name='Get']" name="hidden">1</attr>
|
||||||
|
|
|
@ -99,6 +99,7 @@ customs = \
|
||||||
RadioButton.custom \
|
RadioButton.custom \
|
||||||
RadioMenuItem.custom \
|
RadioMenuItem.custom \
|
||||||
RadioToolButton.custom \
|
RadioToolButton.custom \
|
||||||
|
RecentManager.custom \
|
||||||
ScrolledWindow.custom \
|
ScrolledWindow.custom \
|
||||||
SelectionData.custom \
|
SelectionData.custom \
|
||||||
Settings.custom \
|
Settings.custom \
|
||||||
|
|
29
gtk/RecentManager.custom
Normal file
29
gtk/RecentManager.custom
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
// RecentManager.custom - customizations to Gtk.RecentManager
|
||||||
|
//
|
||||||
|
// Authors: Mike Kestner <mkestner@novell.com>
|
||||||
|
//
|
||||||
|
// Copyright (c) 2009 Novell, Inc.
|
||||||
|
//
|
||||||
|
// This program is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of version 2 of the Lesser GNU General
|
||||||
|
// Public License as published by the Free Software Foundation.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this program; if not, write to the
|
||||||
|
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
// Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
[Obsolete("Replaced by RecentItems property")]
|
||||||
|
public GLib.List Items {
|
||||||
|
get {
|
||||||
|
IntPtr raw_ret = gtk_recent_manager_get_items(Handle);
|
||||||
|
GLib.List ret = new GLib.List(raw_ret, typeof (Gtk.RecentInfo), true, true);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue