1 // RecentManager.cs - customizations to Gtk.RecentManager 2 // 3 // Authors: Mike Kestner <mkestner@novell.com> 4 // 5 // Copyright (c) 2009 Novell, Inc. 6 // 7 // This program is free software; you can redistribute it and/or 8 // modify it under the terms of version 2 of the Lesser GNU General 9 // Public License as published by the Free Software Foundation. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 // Lesser General Public License for more details. 15 // 16 // You should have received a copy of the GNU Lesser General Public 17 // License along with this program; if not, write to the 18 // Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 // Boston, MA 02111-1307, USA. 20 21 namespace Gtk { 22 23 using System; 24 25 public partial class RecentManager { 26 27 [Obsolete("Replaced by RecentItems property")] 28 public GLib.List Items { 29 get { 30 IntPtr raw_ret = gtk_recent_manager_get_items(Handle); 31 GLib.List ret = new GLib.List(raw_ret, typeof (Gtk.RecentInfo), true, true); 32 return ret; 33 } 34 } 35 } 36 } 37