From d7e95b01e6fb1ecae4079428231359be672c3e66 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Thu, 6 Jan 2005 21:41:01 +0000 Subject: [PATCH] 2005-01-06 Larry Ewing * gtk/StockItem.custom: add a ctor for StockItem. * gtk/Makefile.am: add StockItem.custom to the build. svn path=/trunk/gtk-sharp/; revision=38465 --- ChangeLog | 6 ++++++ gtk/Makefile.am | 1 + gtk/StockItem.custom | 28 ++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 gtk/StockItem.custom diff --git a/ChangeLog b/ChangeLog index c0e15349b..b5777a7f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-06 Larry Ewing + + * gtk/StockItem.custom: add a ctor for StockItem. + + * gtk/Makefile.am: add StockItem.custom to the build. + 2005-01-06 Dan Winship * gtk/Gtk.metadata: Rename gtk_stock_add() back to diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 342c25389..6aab27b38 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -87,6 +87,7 @@ customs = \ Settings.custom \ SpinButton.custom \ Stock.custom \ + StockItem.custom \ Style.custom \ Table.custom \ TargetEntry.custom \ diff --git a/gtk/StockItem.custom b/gtk/StockItem.custom new file mode 100644 index 000000000..34d44f9a8 --- /dev/null +++ b/gtk/StockItem.custom @@ -0,0 +1,28 @@ +// Stock.custom - customizations to Gtk.Stock +// +// Authors: Larry Ewing +// +// Copyright (c) 2005 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. + + public StockItem (string stock_id, string label, uint keyval, Gdk.ModifierType modifier, string domain) + { + this.StockId = stock_id; + this.Label = label; + this.Keyval = keyval; + this.Modifier = modifier; + this.TranslationDomain = domain; + }