[arch-commits] Commit in monodevelop/repos (12 files)

Daniel Isenmann daniel at archlinux.org
Sun Feb 5 16:39:11 UTC 2012


    Date: Sunday, February 5, 2012 @ 11:39:11
  Author: daniel
Revision: 149073

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  monodevelop/repos/extra-i686/PKGBUILD
    (from rev 149072, monodevelop/trunk/PKGBUILD)
  monodevelop/repos/extra-i686/monodevelop.install
    (from rev 149072, monodevelop/trunk/monodevelop.install)
  monodevelop/repos/extra-i686/monodevelop_gnome3.patch
    (from rev 149072, monodevelop/trunk/monodevelop_gnome3.patch)
  monodevelop/repos/extra-x86_64/PKGBUILD
    (from rev 149072, monodevelop/trunk/PKGBUILD)
  monodevelop/repos/extra-x86_64/monodevelop.install
    (from rev 149072, monodevelop/trunk/monodevelop.install)
  monodevelop/repos/extra-x86_64/monodevelop_gnome3.patch
    (from rev 149072, monodevelop/trunk/monodevelop_gnome3.patch)
Deleted:
  monodevelop/repos/extra-i686/PKGBUILD
  monodevelop/repos/extra-i686/monodevelop.install
  monodevelop/repos/extra-i686/monodevelop_gnome3.patch
  monodevelop/repos/extra-x86_64/PKGBUILD
  monodevelop/repos/extra-x86_64/monodevelop.install
  monodevelop/repos/extra-x86_64/monodevelop_gnome3.patch

---------------------------------------+
 extra-i686/PKGBUILD                   |   64 +++++-----
 extra-i686/monodevelop.install        |   38 +++---
 extra-i686/monodevelop_gnome3.patch   |  202 ++++++++++++++++----------------
 extra-x86_64/PKGBUILD                 |   64 +++++-----
 extra-x86_64/monodevelop.install      |   38 +++---
 extra-x86_64/monodevelop_gnome3.patch |  202 ++++++++++++++++----------------
 6 files changed, 304 insertions(+), 304 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-i686/PKGBUILD	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-# Contributor: Timm Preetz <timm at preetz.us>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=monodevelop
-pkgver=2.8.5
-pkgrel=1
-pkgdesc="An IDE primarily designed for C# and other .NET languages"
-arch=('i686' 'x86_64')
-url="http://www.monodevelop.com"
-license=('GPL')
-depends=('mono>=2.10.5' 'mono-addins>=0.6.2' 'gnome-sharp' 'gecko-sharp-2.0>=0.10')
-options=(!makeflags)
-install=monodevelop.install
-source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('c1d6a32330b4c22980052009de702483')
-
-build() {
-  export MONO_SHARED_DIR=$srcdir/src/.wabi
-  mkdir -p $MONO_SHARED_DIR
-
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --disable-update-mimedb --disable-update-desktopdb
-  make || return 1
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-  rm -r $MONO_SHARED_DIR
-}
-

Copied: monodevelop/repos/extra-i686/PKGBUILD (from rev 149072, monodevelop/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: Timm Preetz <timm at preetz.us>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=monodevelop
+pkgver=2.8.6.3
+pkgrel=1
+pkgdesc="An IDE primarily designed for C# and other .NET languages"
+arch=('i686' 'x86_64')
+url="http://www.monodevelop.com"
+license=('GPL')
+depends=('mono>=2.10.5' 'mono-addins>=0.6.2' 'gnome-sharp' 'gecko-sharp-2.0>=0.10')
+options=(!makeflags)
+install=monodevelop.install
+source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('54f55372d856206244a1580a2ac70859')
+
+build() {
+  export MONO_SHARED_DIR=$srcdir/src/.wabi
+  mkdir -p $MONO_SHARED_DIR
+
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --disable-update-mimedb --disable-update-desktopdb
+  make || return 1
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  rm -r $MONO_SHARED_DIR
+}
+

Deleted: extra-i686/monodevelop.install
===================================================================
--- extra-i686/monodevelop.install	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-i686/monodevelop.install	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,19 +0,0 @@
-post_install() {
-  update-mime-database /usr/share/mime 1> /dev/null
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-post_remove() {
-  update-mime-database /usr/share/mime 1> /dev/null
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}

Copied: monodevelop/repos/extra-i686/monodevelop.install (from rev 149072, monodevelop/trunk/monodevelop.install)
===================================================================
--- extra-i686/monodevelop.install	                        (rev 0)
+++ extra-i686/monodevelop.install	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,19 @@
+post_install() {
+  update-mime-database /usr/share/mime 1> /dev/null
+  echo "update desktop mime database..."
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  /bin/true
+}
+
+post_remove() {
+  update-mime-database /usr/share/mime 1> /dev/null
+  echo "update desktop mime database..."
+  update-desktop-database -q
+}

Deleted: extra-i686/monodevelop_gnome3.patch
===================================================================
--- extra-i686/monodevelop_gnome3.patch	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-i686/monodevelop_gnome3.patch	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,101 +0,0 @@
-diff --git a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-index 4d8954c..e1a1937 100644
---- a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-+++ b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-@@ -1,5 +1,6 @@
- using System;
- using System.Collections;
-+using System.Collections.Generic;
- 
- namespace Stetic.Wrapper {
- 	public abstract class Object : Stetic.ObjectWrapper {
-@@ -11,17 +12,32 @@ namespace Stetic.Wrapper {
- 			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
- 			base.Dispose ();
- 		}
--
-+		
-+		IEnumerable<string> GladePropertyNames {
-+			get {
-+				foreach (ItemGroup group in ClassDescriptor.ItemGroups) {
-+					foreach (ItemDescriptor item in group) {
-+						TypedPropertyDescriptor prop = item as TypedPropertyDescriptor;
-+						if (prop != null && !string.IsNullOrEmpty (prop.GladeName)) {
-+							yield return prop.GladeName;
-+						}
-+					}
-+				}
-+			}
-+		}
-+		
- 		internal protected override void OnDesignerAttach (IDesignArea designer)
- 		{
- 			base.OnDesignerAttach (designer);
--			((GLib.Object)Wrapped).AddNotification (NotifyHandler);
-+			foreach (string property in GladePropertyNames)
-+				((GLib.Object)Wrapped).AddNotification (property, NotifyHandler);
- 		}
- 		
- 		internal protected override void OnDesignerDetach (IDesignArea designer)
- 		{
- 			base.OnDesignerDetach (designer);
--			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
-+			foreach (string property in GladePropertyNames)
-+				((GLib.Object)Wrapped).RemoveNotification (property, NotifyHandler);
- 		}
- 		
- 		public static Object Lookup (GLib.Object obj)
-
-diff --git a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-index 89f04b5..75d7b17 100644
---- a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-+++ b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-@@ -1540,22 +1540,39 @@ namespace MonoDevelop.Components.Commands
- 	internal class ToolbarTracker
- 	{
- 		Gtk.IconSize lastSize;
--		
-+		 
- 		public void Track (Gtk.Toolbar toolbar)
- 		{
- 			lastSize = toolbar.IconSize;
--			toolbar.AddNotification (OnToolbarPropChanged);
-+			toolbar.AddNotification ("icon-size", IconSizeChanged);
-+			toolbar.OrientationChanged += HandleToolbarOrientationChanged;
-+			toolbar.StyleChanged += HandleToolbarStyleChanged;
-+			
- 			toolbar.Destroyed += delegate {
--				toolbar.RemoveNotification (OnToolbarPropChanged);
-+				toolbar.StyleChanged -= HandleToolbarStyleChanged;
-+				toolbar.OrientationChanged -= HandleToolbarOrientationChanged;
-+				toolbar.RemoveNotification ("icon-size", IconSizeChanged);
- 			};
- 		}
--		
--		void OnToolbarPropChanged (object ob, GLib.NotifyArgs args)
-+
-+		void HandleToolbarStyleChanged (object o, Gtk.StyleChangedArgs args)
- 		{
--			Gtk.Toolbar t = (Gtk.Toolbar) ob;
--			if (lastSize != t.IconSize || args.Property == "orientation" || args.Property == "toolbar-style")
-+			Gtk.Toolbar t = (Gtk.Toolbar) o;
-+			if (lastSize != t.IconSize)
- 				UpdateCustomItems (t);
--			lastSize = t.IconSize;
-+		}
-+
-+		void HandleToolbarOrientationChanged (object o, Gtk.OrientationChangedArgs args)
-+		{
-+			Gtk.Toolbar t = (Gtk.Toolbar) o;
-+			if (lastSize != t.IconSize)
-+				UpdateCustomItems (t);
-+		}
-+
-+		void IconSizeChanged (object o, GLib.NotifyArgs args)
-+		{
-+			this.lastSize = ((Gtk.Toolbar) o).IconSize;
-+			UpdateCustomItems ((Gtk.Toolbar) o);
- 		}
- 		
- 		void UpdateCustomItems (Gtk.Toolbar t)
-

Copied: monodevelop/repos/extra-i686/monodevelop_gnome3.patch (from rev 149072, monodevelop/trunk/monodevelop_gnome3.patch)
===================================================================
--- extra-i686/monodevelop_gnome3.patch	                        (rev 0)
+++ extra-i686/monodevelop_gnome3.patch	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,101 @@
+diff --git a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
+index 4d8954c..e1a1937 100644
+--- a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
++++ b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
+@@ -1,5 +1,6 @@
+ using System;
+ using System.Collections;
++using System.Collections.Generic;
+ 
+ namespace Stetic.Wrapper {
+ 	public abstract class Object : Stetic.ObjectWrapper {
+@@ -11,17 +12,32 @@ namespace Stetic.Wrapper {
+ 			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
+ 			base.Dispose ();
+ 		}
+-
++		
++		IEnumerable<string> GladePropertyNames {
++			get {
++				foreach (ItemGroup group in ClassDescriptor.ItemGroups) {
++					foreach (ItemDescriptor item in group) {
++						TypedPropertyDescriptor prop = item as TypedPropertyDescriptor;
++						if (prop != null && !string.IsNullOrEmpty (prop.GladeName)) {
++							yield return prop.GladeName;
++						}
++					}
++				}
++			}
++		}
++		
+ 		internal protected override void OnDesignerAttach (IDesignArea designer)
+ 		{
+ 			base.OnDesignerAttach (designer);
+-			((GLib.Object)Wrapped).AddNotification (NotifyHandler);
++			foreach (string property in GladePropertyNames)
++				((GLib.Object)Wrapped).AddNotification (property, NotifyHandler);
+ 		}
+ 		
+ 		internal protected override void OnDesignerDetach (IDesignArea designer)
+ 		{
+ 			base.OnDesignerDetach (designer);
+-			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
++			foreach (string property in GladePropertyNames)
++				((GLib.Object)Wrapped).RemoveNotification (property, NotifyHandler);
+ 		}
+ 		
+ 		public static Object Lookup (GLib.Object obj)
+
+diff --git a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
+index 89f04b5..75d7b17 100644
+--- a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
++++ b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
+@@ -1540,22 +1540,39 @@ namespace MonoDevelop.Components.Commands
+ 	internal class ToolbarTracker
+ 	{
+ 		Gtk.IconSize lastSize;
+-		
++		 
+ 		public void Track (Gtk.Toolbar toolbar)
+ 		{
+ 			lastSize = toolbar.IconSize;
+-			toolbar.AddNotification (OnToolbarPropChanged);
++			toolbar.AddNotification ("icon-size", IconSizeChanged);
++			toolbar.OrientationChanged += HandleToolbarOrientationChanged;
++			toolbar.StyleChanged += HandleToolbarStyleChanged;
++			
+ 			toolbar.Destroyed += delegate {
+-				toolbar.RemoveNotification (OnToolbarPropChanged);
++				toolbar.StyleChanged -= HandleToolbarStyleChanged;
++				toolbar.OrientationChanged -= HandleToolbarOrientationChanged;
++				toolbar.RemoveNotification ("icon-size", IconSizeChanged);
+ 			};
+ 		}
+-		
+-		void OnToolbarPropChanged (object ob, GLib.NotifyArgs args)
++
++		void HandleToolbarStyleChanged (object o, Gtk.StyleChangedArgs args)
+ 		{
+-			Gtk.Toolbar t = (Gtk.Toolbar) ob;
+-			if (lastSize != t.IconSize || args.Property == "orientation" || args.Property == "toolbar-style")
++			Gtk.Toolbar t = (Gtk.Toolbar) o;
++			if (lastSize != t.IconSize)
+ 				UpdateCustomItems (t);
+-			lastSize = t.IconSize;
++		}
++
++		void HandleToolbarOrientationChanged (object o, Gtk.OrientationChangedArgs args)
++		{
++			Gtk.Toolbar t = (Gtk.Toolbar) o;
++			if (lastSize != t.IconSize)
++				UpdateCustomItems (t);
++		}
++
++		void IconSizeChanged (object o, GLib.NotifyArgs args)
++		{
++			this.lastSize = ((Gtk.Toolbar) o).IconSize;
++			UpdateCustomItems ((Gtk.Toolbar) o);
+ 		}
+ 		
+ 		void UpdateCustomItems (Gtk.Toolbar t)
+

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-x86_64/PKGBUILD	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-# Contributor: Timm Preetz <timm at preetz.us>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=monodevelop
-pkgver=2.8.5
-pkgrel=1
-pkgdesc="An IDE primarily designed for C# and other .NET languages"
-arch=('i686' 'x86_64')
-url="http://www.monodevelop.com"
-license=('GPL')
-depends=('mono>=2.10.5' 'mono-addins>=0.6.2' 'gnome-sharp' 'gecko-sharp-2.0>=0.10')
-options=(!makeflags)
-install=monodevelop.install
-source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('c1d6a32330b4c22980052009de702483')
-
-build() {
-  export MONO_SHARED_DIR=$srcdir/src/.wabi
-  mkdir -p $MONO_SHARED_DIR
-
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --disable-update-mimedb --disable-update-desktopdb
-  make || return 1
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-  rm -r $MONO_SHARED_DIR
-}
-

Copied: monodevelop/repos/extra-x86_64/PKGBUILD (from rev 149072, monodevelop/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: Timm Preetz <timm at preetz.us>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=monodevelop
+pkgver=2.8.6.3
+pkgrel=1
+pkgdesc="An IDE primarily designed for C# and other .NET languages"
+arch=('i686' 'x86_64')
+url="http://www.monodevelop.com"
+license=('GPL')
+depends=('mono>=2.10.5' 'mono-addins>=0.6.2' 'gnome-sharp' 'gecko-sharp-2.0>=0.10')
+options=(!makeflags)
+install=monodevelop.install
+source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('54f55372d856206244a1580a2ac70859')
+
+build() {
+  export MONO_SHARED_DIR=$srcdir/src/.wabi
+  mkdir -p $MONO_SHARED_DIR
+
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --disable-update-mimedb --disable-update-desktopdb
+  make || return 1
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  rm -r $MONO_SHARED_DIR
+}
+

Deleted: extra-x86_64/monodevelop.install
===================================================================
--- extra-x86_64/monodevelop.install	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-x86_64/monodevelop.install	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,19 +0,0 @@
-post_install() {
-  update-mime-database /usr/share/mime 1> /dev/null
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-post_remove() {
-  update-mime-database /usr/share/mime 1> /dev/null
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}

Copied: monodevelop/repos/extra-x86_64/monodevelop.install (from rev 149072, monodevelop/trunk/monodevelop.install)
===================================================================
--- extra-x86_64/monodevelop.install	                        (rev 0)
+++ extra-x86_64/monodevelop.install	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,19 @@
+post_install() {
+  update-mime-database /usr/share/mime 1> /dev/null
+  echo "update desktop mime database..."
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  /bin/true
+}
+
+post_remove() {
+  update-mime-database /usr/share/mime 1> /dev/null
+  echo "update desktop mime database..."
+  update-desktop-database -q
+}

Deleted: extra-x86_64/monodevelop_gnome3.patch
===================================================================
--- extra-x86_64/monodevelop_gnome3.patch	2012-02-05 16:38:43 UTC (rev 149072)
+++ extra-x86_64/monodevelop_gnome3.patch	2012-02-05 16:39:11 UTC (rev 149073)
@@ -1,101 +0,0 @@
-diff --git a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-index 4d8954c..e1a1937 100644
---- a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-+++ b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
-@@ -1,5 +1,6 @@
- using System;
- using System.Collections;
-+using System.Collections.Generic;
- 
- namespace Stetic.Wrapper {
- 	public abstract class Object : Stetic.ObjectWrapper {
-@@ -11,17 +12,32 @@ namespace Stetic.Wrapper {
- 			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
- 			base.Dispose ();
- 		}
--
-+		
-+		IEnumerable<string> GladePropertyNames {
-+			get {
-+				foreach (ItemGroup group in ClassDescriptor.ItemGroups) {
-+					foreach (ItemDescriptor item in group) {
-+						TypedPropertyDescriptor prop = item as TypedPropertyDescriptor;
-+						if (prop != null && !string.IsNullOrEmpty (prop.GladeName)) {
-+							yield return prop.GladeName;
-+						}
-+					}
-+				}
-+			}
-+		}
-+		
- 		internal protected override void OnDesignerAttach (IDesignArea designer)
- 		{
- 			base.OnDesignerAttach (designer);
--			((GLib.Object)Wrapped).AddNotification (NotifyHandler);
-+			foreach (string property in GladePropertyNames)
-+				((GLib.Object)Wrapped).AddNotification (property, NotifyHandler);
- 		}
- 		
- 		internal protected override void OnDesignerDetach (IDesignArea designer)
- 		{
- 			base.OnDesignerDetach (designer);
--			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
-+			foreach (string property in GladePropertyNames)
-+				((GLib.Object)Wrapped).RemoveNotification (property, NotifyHandler);
- 		}
- 		
- 		public static Object Lookup (GLib.Object obj)
-
-diff --git a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-index 89f04b5..75d7b17 100644
---- a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-+++ b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
-@@ -1540,22 +1540,39 @@ namespace MonoDevelop.Components.Commands
- 	internal class ToolbarTracker
- 	{
- 		Gtk.IconSize lastSize;
--		
-+		 
- 		public void Track (Gtk.Toolbar toolbar)
- 		{
- 			lastSize = toolbar.IconSize;
--			toolbar.AddNotification (OnToolbarPropChanged);
-+			toolbar.AddNotification ("icon-size", IconSizeChanged);
-+			toolbar.OrientationChanged += HandleToolbarOrientationChanged;
-+			toolbar.StyleChanged += HandleToolbarStyleChanged;
-+			
- 			toolbar.Destroyed += delegate {
--				toolbar.RemoveNotification (OnToolbarPropChanged);
-+				toolbar.StyleChanged -= HandleToolbarStyleChanged;
-+				toolbar.OrientationChanged -= HandleToolbarOrientationChanged;
-+				toolbar.RemoveNotification ("icon-size", IconSizeChanged);
- 			};
- 		}
--		
--		void OnToolbarPropChanged (object ob, GLib.NotifyArgs args)
-+
-+		void HandleToolbarStyleChanged (object o, Gtk.StyleChangedArgs args)
- 		{
--			Gtk.Toolbar t = (Gtk.Toolbar) ob;
--			if (lastSize != t.IconSize || args.Property == "orientation" || args.Property == "toolbar-style")
-+			Gtk.Toolbar t = (Gtk.Toolbar) o;
-+			if (lastSize != t.IconSize)
- 				UpdateCustomItems (t);
--			lastSize = t.IconSize;
-+		}
-+
-+		void HandleToolbarOrientationChanged (object o, Gtk.OrientationChangedArgs args)
-+		{
-+			Gtk.Toolbar t = (Gtk.Toolbar) o;
-+			if (lastSize != t.IconSize)
-+				UpdateCustomItems (t);
-+		}
-+
-+		void IconSizeChanged (object o, GLib.NotifyArgs args)
-+		{
-+			this.lastSize = ((Gtk.Toolbar) o).IconSize;
-+			UpdateCustomItems ((Gtk.Toolbar) o);
- 		}
- 		
- 		void UpdateCustomItems (Gtk.Toolbar t)
-

Copied: monodevelop/repos/extra-x86_64/monodevelop_gnome3.patch (from rev 149072, monodevelop/trunk/monodevelop_gnome3.patch)
===================================================================
--- extra-x86_64/monodevelop_gnome3.patch	                        (rev 0)
+++ extra-x86_64/monodevelop_gnome3.patch	2012-02-05 16:39:11 UTC (rev 149073)
@@ -0,0 +1,101 @@
+diff --git a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
+index 4d8954c..e1a1937 100644
+--- a/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
++++ b/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Object.cs
+@@ -1,5 +1,6 @@
+ using System;
+ using System.Collections;
++using System.Collections.Generic;
+ 
+ namespace Stetic.Wrapper {
+ 	public abstract class Object : Stetic.ObjectWrapper {
+@@ -11,17 +12,32 @@ namespace Stetic.Wrapper {
+ 			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
+ 			base.Dispose ();
+ 		}
+-
++		
++		IEnumerable<string> GladePropertyNames {
++			get {
++				foreach (ItemGroup group in ClassDescriptor.ItemGroups) {
++					foreach (ItemDescriptor item in group) {
++						TypedPropertyDescriptor prop = item as TypedPropertyDescriptor;
++						if (prop != null && !string.IsNullOrEmpty (prop.GladeName)) {
++							yield return prop.GladeName;
++						}
++					}
++				}
++			}
++		}
++		
+ 		internal protected override void OnDesignerAttach (IDesignArea designer)
+ 		{
+ 			base.OnDesignerAttach (designer);
+-			((GLib.Object)Wrapped).AddNotification (NotifyHandler);
++			foreach (string property in GladePropertyNames)
++				((GLib.Object)Wrapped).AddNotification (property, NotifyHandler);
+ 		}
+ 		
+ 		internal protected override void OnDesignerDetach (IDesignArea designer)
+ 		{
+ 			base.OnDesignerDetach (designer);
+-			((GLib.Object)Wrapped).RemoveNotification (NotifyHandler);
++			foreach (string property in GladePropertyNames)
++				((GLib.Object)Wrapped).RemoveNotification (property, NotifyHandler);
+ 		}
+ 		
+ 		public static Object Lookup (GLib.Object obj)
+
+diff --git a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
+index 89f04b5..75d7b17 100644
+--- a/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
++++ b/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs
+@@ -1540,22 +1540,39 @@ namespace MonoDevelop.Components.Commands
+ 	internal class ToolbarTracker
+ 	{
+ 		Gtk.IconSize lastSize;
+-		
++		 
+ 		public void Track (Gtk.Toolbar toolbar)
+ 		{
+ 			lastSize = toolbar.IconSize;
+-			toolbar.AddNotification (OnToolbarPropChanged);
++			toolbar.AddNotification ("icon-size", IconSizeChanged);
++			toolbar.OrientationChanged += HandleToolbarOrientationChanged;
++			toolbar.StyleChanged += HandleToolbarStyleChanged;
++			
+ 			toolbar.Destroyed += delegate {
+-				toolbar.RemoveNotification (OnToolbarPropChanged);
++				toolbar.StyleChanged -= HandleToolbarStyleChanged;
++				toolbar.OrientationChanged -= HandleToolbarOrientationChanged;
++				toolbar.RemoveNotification ("icon-size", IconSizeChanged);
+ 			};
+ 		}
+-		
+-		void OnToolbarPropChanged (object ob, GLib.NotifyArgs args)
++
++		void HandleToolbarStyleChanged (object o, Gtk.StyleChangedArgs args)
+ 		{
+-			Gtk.Toolbar t = (Gtk.Toolbar) ob;
+-			if (lastSize != t.IconSize || args.Property == "orientation" || args.Property == "toolbar-style")
++			Gtk.Toolbar t = (Gtk.Toolbar) o;
++			if (lastSize != t.IconSize)
+ 				UpdateCustomItems (t);
+-			lastSize = t.IconSize;
++		}
++
++		void HandleToolbarOrientationChanged (object o, Gtk.OrientationChangedArgs args)
++		{
++			Gtk.Toolbar t = (Gtk.Toolbar) o;
++			if (lastSize != t.IconSize)
++				UpdateCustomItems (t);
++		}
++
++		void IconSizeChanged (object o, GLib.NotifyArgs args)
++		{
++			this.lastSize = ((Gtk.Toolbar) o).IconSize;
++			UpdateCustomItems ((Gtk.Toolbar) o);
+ 		}
+ 		
+ 		void UpdateCustomItems (Gtk.Toolbar t)
+




More information about the arch-commits mailing list