2005-01-06 Larry Ewing <lewing@novell.com>
* gtk/StockItem.custom: add a ctor for StockItem. * gtk/Makefile.am: add StockItem.custom to the build. svn path=/trunk/gtk-sharp/; revision=38465
This commit is contained in:
parent
5dcd6b78e7
commit
d7e95b01e6
3 changed files with 35 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-01-06 Larry Ewing <lewing@novell.com>
|
||||
|
||||
* gtk/StockItem.custom: add a ctor for StockItem.
|
||||
|
||||
* gtk/Makefile.am: add StockItem.custom to the build.
|
||||
|
||||
2005-01-06 Dan Winship <danw@novell.com>
|
||||
|
||||
* gtk/Gtk.metadata: Rename gtk_stock_add() back to
|
||||
|
|
|
@ -87,6 +87,7 @@ customs = \
|
|||
Settings.custom \
|
||||
SpinButton.custom \
|
||||
Stock.custom \
|
||||
StockItem.custom \
|
||||
Style.custom \
|
||||
Table.custom \
|
||||
TargetEntry.custom \
|
||||
|
|
28
gtk/StockItem.custom
Normal file
28
gtk/StockItem.custom
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Stock.custom - customizations to Gtk.Stock
|
||||
//
|
||||
// Authors: Larry Ewing <lewing@novell.com>
|
||||
//
|
||||
// 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;
|
||||
}
|
Loading…
Reference in a new issue