One line patch for 333857
- From: "Bengt Thuree" <bengt thuree com>
- To: f-spot-list gnome org
- Subject: One line patch for 333857
- Date: Thu, 1 Jun 2006 12:27:23 +0900 (JST)
FYI
Just attached a small one liner patch to 333857
/Bengt
http://bugzilla.gnome.org/show_bug.cgi?id=333857
A one liner patch that disabled the Version drop down menu if there is no
modifed versions.
--- ../../f-spot/src/InfoBox.cs 2006-03-23 00:57:27.000000000 +0800
+++ src/InfoBox.cs 2006-06-01 11:22:46.000000000 +0800
@@ -272,7 +272,7 @@ public class InfoBox : VBox {
photo.Time.ToShortDateString (),
photo.Time.ToShortTimeString ());
#endif
- version_option_menu.Sensitive = true;
+ version_option_menu.Sensitive = (photo.VersionIds.Length > 1); // Enable
only if there are modified versions.
PhotoVersionMenu menu = new PhotoVersionMenu (photo);
menu.VersionIdChanged += new PhotoVersionMenu.VersionIdChangedHandler
(HandleVersionIdChanged);
menu.WidthRequest = version_option_menu.Allocation.Width;
--
Bengt Thuree bengt thuree com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]