banshee r3720 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3720 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets
- Date: Tue, 8 Apr 2008 20:38:42 +0100 (BST)
Author: scottp
Date: Tue Apr 8 20:38:42 2008
New Revision: 3720
URL: http://svn.gnome.org/viewvc/banshee?rev=3720&view=rev
Log:
* src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: Fixed stupid
NRE error.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs Tue Apr 8 20:38:42 2008
@@ -116,6 +116,10 @@
get { return action; }
set {
action = value;
+ if (action == null) {
+ Sensitive = false;
+ return;
+ }
if (!String.IsNullOrEmpty (action.IconName)) {
image.IconName = action.IconName;
} else if (!String.IsNullOrEmpty (action.StockId)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]