Author: danw
Date: 2005-04-13 15:09:36 -0400 (Wed, 13 Apr 2005)
New Revision: 42957
Modified:
trunk/stetic/ChangeLog
trunk/stetic/libstetic/PropertyDescriptor.cs
trunk/stetic/libstetic/wrapper/Alignment.cs
trunk/stetic/libstetic/wrapper/Arrow.cs
trunk/stetic/libstetic/wrapper/Box.cs
trunk/stetic/libstetic/wrapper/Button.cs
trunk/stetic/libstetic/wrapper/ButtonBox.cs
trunk/stetic/libstetic/wrapper/Calendar.cs
trunk/stetic/libstetic/wrapper/CheckButton.cs
trunk/stetic/libstetic/wrapper/ColorButton.cs
trunk/stetic/libstetic/wrapper/ComboBox.cs
trunk/stetic/libstetic/wrapper/Container.cs
trunk/stetic/libstetic/wrapper/Custom.cs
trunk/stetic/libstetic/wrapper/Dialog.cs
trunk/stetic/libstetic/wrapper/Entry.cs
trunk/stetic/libstetic/wrapper/EventBox.cs
trunk/stetic/libstetic/wrapper/Expander.cs
trunk/stetic/libstetic/wrapper/FontButton.cs
trunk/stetic/libstetic/wrapper/Frame.cs
trunk/stetic/libstetic/wrapper/Image.cs
trunk/stetic/libstetic/wrapper/Label.cs
trunk/stetic/libstetic/wrapper/MessageDialog.cs
trunk/stetic/libstetic/wrapper/Misc.cs
trunk/stetic/libstetic/wrapper/Notebook.cs
trunk/stetic/libstetic/wrapper/OptionMenu.cs
trunk/stetic/libstetic/wrapper/Paned.cs
trunk/stetic/libstetic/wrapper/ProgressBar.cs
trunk/stetic/libstetic/wrapper/RadioButton.cs
trunk/stetic/libstetic/wrapper/RadioToolButton.cs
trunk/stetic/libstetic/wrapper/Range.cs
trunk/stetic/libstetic/wrapper/Scale.cs
trunk/stetic/libstetic/wrapper/ScrolledWindow.cs
trunk/stetic/libstetic/wrapper/SeparatorToolItem.cs
trunk/stetic/libstetic/wrapper/SpinButton.cs
trunk/stetic/libstetic/wrapper/Statusbar.cs
trunk/stetic/libstetic/wrapper/Table.cs
trunk/stetic/libstetic/wrapper/TextView.cs
trunk/stetic/libstetic/wrapper/ToggleButton.cs
trunk/stetic/libstetic/wrapper/ToggleToolButton.cs
trunk/stetic/libstetic/wrapper/ToolButton.cs
trunk/stetic/libstetic/wrapper/Toolbar.cs
trunk/stetic/libstetic/wrapper/TreeView.cs
trunk/stetic/libstetic/wrapper/Widget.cs
trunk/stetic/libstetic/wrapper/Window.cs
trunk/stetic/stetic/Glade.cs
Log:
* libstetic/wrapper/*.cs: change a bunch of fields that are only
used via reflection to be "internal" rather than "private", so
that mcs won't warn about their apparent unusedness.
* libstetic/PropertyDescriptor.cs: remove an unused field
* stetic/Glade.cs: remove an unused DllImport
Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog 2005-04-13 19:06:13 UTC (rev 42956)
+++ trunk/stetic/ChangeLog 2005-04-13 19:09:36 UTC (rev 42957)
@@ -1,3 +1,13 @@
+2005-04-13 Dan Winship <[EMAIL PROTECTED]>
+
+ * libstetic/wrapper/*.cs: change a bunch of fields that are only
+ used via reflection to be "internal" rather than "private", so
+ that mcs won't warn about their apparent unusedness.
+
+ * libstetic/PropertyDescriptor.cs: remove an unused field
+
+ * stetic/Glade.cs: remove an unused DllImport
+
2005-04-11 Dan Winship <[EMAIL PROTECTED]>
* libstetic/wrapper/HBox.cs:
Modified: trunk/stetic/libstetic/PropertyDescriptor.cs
===================================================================
--- trunk/stetic/libstetic/PropertyDescriptor.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/PropertyDescriptor.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -8,7 +8,7 @@
public class PropertyDescriptor : ItemDescriptor {
- PropertyInfo memberInfo, propertyInfo, baseInfo;
+ PropertyInfo memberInfo, propertyInfo;
bool isWrapperProperty;
ParamSpec pspec;
Type editorType;
Modified: trunk/stetic/libstetic/wrapper/Alignment.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Alignment.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Alignment.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Alignment);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Alignment Properties",
"Xscale",
Modified: trunk/stetic/libstetic/wrapper/Arrow.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Arrow.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Arrow.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.Arrow);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Arrow Properties",
"ArrowType",
Modified: trunk/stetic/libstetic/wrapper/Box.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Box.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Box.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.Box);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Box Properties",
"Homogeneous",
@@ -85,7 +85,7 @@
}
[Command ("Insert Before", "Insert an empty row/column before
the selected one")]
- void InsertBefore (Gtk.Widget context)
+ internal void InsertBefore (Gtk.Widget context)
{
Gtk.Box.BoxChild bc = box[context] as Gtk.Box.BoxChild;
Placeholder ph = CreatePlaceholder ();
@@ -100,7 +100,7 @@
}
[Command ("Insert After", "Insert an empty row/column after the
selected one")]
- void InsertAfter (Gtk.Widget context)
+ internal void InsertAfter (Gtk.Widget context)
{
Gtk.Box.BoxChild bc = box[context] as Gtk.Box.BoxChild;
Placeholder ph = CreatePlaceholder ();
@@ -152,7 +152,7 @@
public static new Type WrappedType = typeof
(Gtk.Box.BoxChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Box
Child Layout",
"PackType",
Modified: trunk/stetic/libstetic/wrapper/Button.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Button.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Button.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Button);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
if (type == typeof (Stetic.Wrapper.Button)) {
ItemGroup props = AddItemGroup (type, "Button
Properties",
@@ -138,7 +138,7 @@
}
[Command ("Remove Button Contents", "Remove the current
contents of the button")]
- void RemoveContents ()
+ internal void RemoveContents ()
{
if (button.Child != null)
button.Remove (button.Child);
@@ -151,7 +151,7 @@
}
[Command ("Restore Button Label", "Restore the button's label")]
- void RestoreLabel ()
+ internal void RestoreLabel ()
{
ConstructChild ();
EmitNotify ("HasContents");
Modified: trunk/stetic/libstetic/wrapper/ButtonBox.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ButtonBox.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/ButtonBox.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.ButtonBox);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Button Box Properties",
"LayoutStyle",
@@ -20,7 +20,7 @@
public static new Type WrappedType = typeof
(Gtk.ButtonBox.ButtonBoxChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Button
Box Child Layout",
"PackType",
Modified: trunk/stetic/libstetic/wrapper/Calendar.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Calendar.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Calendar.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Calendar);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Calendar Properties",
"ShowHeading",
Modified: trunk/stetic/libstetic/wrapper/CheckButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/CheckButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/CheckButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.CheckButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Check Box Properties",
"Label",
Modified: trunk/stetic/libstetic/wrapper/ColorButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ColorButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ColorButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.ColorButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Color Button Properties",
"Title",
Modified: trunk/stetic/libstetic/wrapper/ComboBox.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ComboBox.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/ComboBox.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.ComboBox);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Combo Box Properties",
"Items",
Modified: trunk/stetic/libstetic/wrapper/Container.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Container.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Container.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -10,7 +10,7 @@
static Hashtable childTypes = new Hashtable ();
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
// Check if the type or one of its ancestors declares a
// Stetic.Wrapper.Container.ContainerChild subtype
@@ -397,7 +397,7 @@
public static new Type WrappedType = typeof
(Gtk.Container.ContainerChild);
- static void Register ()
+ internal static void Register ()
{
// FIXME?
}
Modified: trunk/stetic/libstetic/wrapper/Custom.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Custom.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Custom.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -39,7 +39,7 @@
public static new Type WrappedType = typeof (Stetic.Custom);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Custom Widget Properties",
"CreationFunction",
Modified: trunk/stetic/libstetic/wrapper/Dialog.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Dialog.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Dialog.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.Dialog);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Dialog Properties",
"Title",
Modified: trunk/stetic/libstetic/wrapper/Entry.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Entry.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Entry.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Entry);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Entry Properties",
"Text",
@@ -33,7 +33,7 @@
}
}
- private string GladeInvisibleChar {
+ internal string GladeInvisibleChar {
get {
return InvisibleChar.ToString ();
}
Modified: trunk/stetic/libstetic/wrapper/EventBox.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/EventBox.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/EventBox.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.EventBox);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Event Box Properties",
"AboveChild",
Modified: trunk/stetic/libstetic/wrapper/Expander.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Expander.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Expander.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Expander);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Expander Properties",
"Expanded",
Modified: trunk/stetic/libstetic/wrapper/FontButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/FontButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/FontButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.FontButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Font Button
Properties",
"Title",
Modified: trunk/stetic/libstetic/wrapper/Frame.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Frame.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Frame.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Frame);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Frame Properties",
"Shadow",
Modified: trunk/stetic/libstetic/wrapper/Image.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Image.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Image.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Image);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Image
Properties",
"UseStock",
Modified: trunk/stetic/libstetic/wrapper/Label.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Label.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Label.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Label);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Label Properties",
"LabelProp",
@@ -46,7 +46,7 @@
}
}
- private string GladeMnemonicWidget {
+ internal string GladeMnemonicWidget {
get {
Gtk.Widget mnem = MnemonicWidget;
if (mnem == null)
Modified: trunk/stetic/libstetic/wrapper/MessageDialog.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/MessageDialog.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/MessageDialog.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.MessageDialog);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Message Dialog Properties",
"Title",
Modified: trunk/stetic/libstetic/wrapper/Misc.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Misc.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Misc.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -6,7 +6,7 @@
public static new Type WrappedType = typeof (Gtk.Misc);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Miscellaneous Alignment
Properties",
"Xpad",
Modified: trunk/stetic/libstetic/wrapper/Notebook.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Notebook.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Notebook.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Notebook);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Notebook Properties",
"EnablePopup",
@@ -114,54 +114,54 @@
}
[Command ("Go to Previous Page", "Show the previous page",
"CheckPreviousPage")]
- void PreviousPage ()
+ internal void PreviousPage ()
{
notebook.PrevPage ();
}
- bool CheckPreviousPage ()
+ internal bool CheckPreviousPage ()
{
return notebook.CurrentPage > 0;
}
[Command ("Go to Next Page", "Show the next page",
"CheckNextPage")]
- void NextPage ()
+ internal void NextPage ()
{
notebook.NextPage ();
}
- bool CheckNextPage ()
+ internal bool CheckNextPage ()
{
return notebook.CurrentPage < notebook.NPages - 1;
}
[Command ("Delete Page", "Delete the current page")]
- void DeletePage ()
+ internal void DeletePage ()
{
tabs.RemoveAt (notebook.CurrentPage);
notebook.RemovePage (notebook.CurrentPage);
}
[Command ("Swap with Previous Page", "Swap the contents of this
page with the contents of the previous page", "CheckPreviousPage")]
- void SwapPrevious ()
+ internal void SwapPrevious ()
{
// FIXME
}
[Command ("Swap with Next Page", "Swap the contents of this
page with the contents of the next page", "CheckNextPage")]
- void SwapNext ()
+ internal void SwapNext ()
{
// FIXME
}
[Command ("Insert Page Before", "Insert a blank page before
this one")]
- void InsertBefore ()
+ internal void InsertBefore ()
{
notebook.CurrentPage = InsertPage
(notebook.CurrentPage);
}
[Command ("Insert Page After", "Insert a blank page after this
one")]
- void InsertAfter ()
+ internal void InsertAfter ()
{
notebook.CurrentPage = InsertPage (notebook.CurrentPage
+ 1);
}
@@ -190,7 +190,7 @@
public static new Type WrappedType = typeof
(Gtk.Notebook.NotebookChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type,
"Notebook Child Layout",
Modified: trunk/stetic/libstetic/wrapper/OptionMenu.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/OptionMenu.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/OptionMenu.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -11,7 +11,7 @@
public static new Type WrappedType = typeof (Gtk.OptionMenu);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Option Menu Properties",
"Items",
Modified: trunk/stetic/libstetic/wrapper/Paned.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Paned.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Paned.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -6,7 +6,7 @@
public static new Type WrappedType = typeof (Gtk.Paned);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Pane Properties",
"MinPosition",
@@ -42,7 +42,7 @@
public static new Type WrappedType = typeof
(Gtk.Paned.PanedChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Pane Child Layout",
"Resize",
Modified: trunk/stetic/libstetic/wrapper/ProgressBar.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ProgressBar.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ProgressBar.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.ProgressBar);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Progress Bar Properties",
"Orientation",
Modified: trunk/stetic/libstetic/wrapper/RadioButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/RadioButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/RadioButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.RadioButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Radio Button Properties",
"Label",
Modified: trunk/stetic/libstetic/wrapper/RadioToolButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/RadioToolButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/RadioToolButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof
(Gtk.RadioToolButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Toolbar Toggle Button Properties",
"Icon",
Modified: trunk/stetic/libstetic/wrapper/Range.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Range.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Range.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -6,7 +6,7 @@
public static new Type WrappedType = typeof (Gtk.Range);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Range Properties",
"UpdatePolicy",
Modified: trunk/stetic/libstetic/wrapper/Scale.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Scale.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Scale.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -6,7 +6,7 @@
public static new Type WrappedType = typeof (Gtk.Scale);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Scale
Properties",
"Adjustment.Lower",
Modified: trunk/stetic/libstetic/wrapper/ScrolledWindow.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ScrolledWindow.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ScrolledWindow.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof
(Gtk.ScrolledWindow);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "ScrolledWindow Properties",
"VscrollbarPolicy",
Modified: trunk/stetic/libstetic/wrapper/SeparatorToolItem.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/SeparatorToolItem.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/SeparatorToolItem.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof
(Gtk.SeparatorToolItem);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Toolbar Separator Properties",
"Draw");
Modified: trunk/stetic/libstetic/wrapper/SpinButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/SpinButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/SpinButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.SpinButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Range Properties",
"Adjustment.Lower",
Modified: trunk/stetic/libstetic/wrapper/Statusbar.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Statusbar.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Statusbar.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.Statusbar);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Status Bar Properties",
"HasResizeGrip");
Modified: trunk/stetic/libstetic/wrapper/Table.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Table.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Table.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Table);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Table Properties",
"NRows",
@@ -301,42 +301,42 @@
}
[Command ("Insert Row Before", "Insert an empty row above the
selected row")]
- void InsertRowBefore (Gtk.Widget context)
+ internal void InsertRowBefore (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
AddRow (tc.TopAttach);
}
[Command ("Insert Row After", "Insert an empty row below the
selected row")]
- void InsertRowAfter (Gtk.Widget context)
+ internal void InsertRowAfter (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
AddRow (tc.BottomAttach);
}
[Command ("Insert Column Before", "Insert an empty column
before the selected column")]
- void InsertColumnBefore (Gtk.Widget context)
+ internal void InsertColumnBefore (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
AddColumn (tc.LeftAttach);
}
[Command ("Insert Column After", "Insert an empty column after
the selected column")]
- void InsertColumnAfter (Gtk.Widget context)
+ internal void InsertColumnAfter (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
AddColumn (tc.RightAttach);
}
[Command ("Delete Row", "Delete the selected row")]
- void DeleteRow (Gtk.Widget context)
+ internal void DeleteRow (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
DeleteRow (tc.TopAttach);
}
[Command ("Delete Column", "Delete the selected column")]
- void DeleteColumn (Gtk.Widget context)
+ internal void DeleteColumn (Gtk.Widget context)
{
Gtk.Table.TableChild tc = table[context] as
Gtk.Table.TableChild;
DeleteColumn (tc.LeftAttach);
@@ -364,7 +364,7 @@
public static new Type WrappedType = typeof
(Gtk.Table.TableChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Table
Child Layout",
"TopAttach",
@@ -396,12 +396,6 @@
}
}
- Stetic.Wrapper.Table parent {
- get {
- return
(Stetic.Wrapper.Table)ParentWrapper;
- }
- }
-
[Description ("Expand Horizontally", "Whether or not
the table cell should expand horizontally")]
public bool XExpand {
get {
Modified: trunk/stetic/libstetic/wrapper/TextView.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/TextView.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/TextView.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.TextView);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Text View Properties",
"Editable",
Modified: trunk/stetic/libstetic/wrapper/ToggleButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ToggleButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ToggleButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.ToggleButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
ItemGroup props = AddItemGroup (type, "Toggle Button
Properties",
"Icon",
Modified: trunk/stetic/libstetic/wrapper/ToggleToolButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ToggleToolButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ToggleToolButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof
(Gtk.ToggleToolButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Toolbar Toggle Button Properties",
"Icon",
Modified: trunk/stetic/libstetic/wrapper/ToolButton.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/ToolButton.cs 2005-04-13 19:06:13 UTC
(rev 42956)
+++ trunk/stetic/libstetic/wrapper/ToolButton.cs 2005-04-13 19:09:36 UTC
(rev 42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.ToolButton);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
if (type == typeof (Stetic.Wrapper.ToolButton)) {
AddItemGroup (type, "Toolbar Button Properties",
Modified: trunk/stetic/libstetic/wrapper/Toolbar.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Toolbar.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Toolbar.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -8,7 +8,7 @@
public static new Type WrappedType = typeof (Gtk.Toolbar);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Tool Bar Properties",
"Orientation",
@@ -188,7 +188,7 @@
public class ToolbarChild : Container.ContainerChild {
public static new Type WrappedType = typeof
(Gtk.Toolbar.ToolbarChild);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Tool Bar Child Properties",
"Homogeneous",
Modified: trunk/stetic/libstetic/wrapper/TreeView.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/TreeView.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/TreeView.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.TreeView);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type, "Tree View Properties",
"EnableSearch",
Modified: trunk/stetic/libstetic/wrapper/Widget.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Widget.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Widget.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -7,7 +7,7 @@
public static new Type WrappedType = typeof (Gtk.Widget);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
AddItemGroup (type,
"Common Widget Properties",
Modified: trunk/stetic/libstetic/wrapper/Window.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Window.cs 2005-04-13 19:06:13 UTC (rev
42956)
+++ trunk/stetic/libstetic/wrapper/Window.cs 2005-04-13 19:09:36 UTC (rev
42957)
@@ -9,7 +9,7 @@
public static new Type WrappedType = typeof (Gtk.Window);
- static new void Register (Type type)
+ internal static new void Register (Type type)
{
if (type == typeof (Stetic.Wrapper.Window)) {
AddItemGroup (type, "Window Properties",
Modified: trunk/stetic/stetic/Glade.cs
===================================================================
--- trunk/stetic/stetic/Glade.cs 2005-04-13 19:06:13 UTC (rev 42956)
+++ trunk/stetic/stetic/Glade.cs 2005-04-13 19:09:36 UTC (rev 42957)
@@ -40,9 +40,6 @@
project.EndGladeImport ();
}
- [DllImport("libsteticglue")]
- static extern bool stetic_g_value_init_for_child_property (ref
GLib.Value value, string className, string propertyName);
-
static Stetic.Wrapper.Widget ImportWidget (Project project,
Stetic.Wrapper.Container parent, XmlNode thischild, XmlNode widget)
{
string className = widget.Attributes["class"].Value;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches