[f-spot: 4/4] Update the histogram and make sure the expander is visible for single pictures
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot: 4/4] Update the histogram and make sure the expander is visible for single pictures
- Date: Sun, 14 Nov 2010 11:37:36 +0000 (UTC)
commit 3a043d09617f1867b73691931ef93d35052344da
Author: Tim Howard <timothy howard gmail com>
Date: Sat Oct 30 03:37:22 2010 -0400
Update the histogram and make sure the expander is visible for single pictures
https://bugzilla.gnome.org/show_bug.cgi?id=633322
src/Clients/MainApp/FSpot.Widgets/InfoBox.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Widgets/InfoBox.cs b/src/Clients/MainApp/FSpot.Widgets/InfoBox.cs
index 87df5f1..cb7fd87 100644
--- a/src/Clients/MainApp/FSpot.Widgets/InfoBox.cs
+++ b/src/Clients/MainApp/FSpot.Widgets/InfoBox.cs
@@ -497,14 +497,17 @@ namespace FSpot.Widgets
Hide ();
} else if (Photos.Length == 1) {
var photo = Photos[0];
-
+
+ histogram_expander.Visible = true;
+ UpdateHistogram();
+
using (var metadata = Metadata.Parse (photo.DefaultVersion.Uri)) {
foreach (var entry in entries) {
bool is_single = (entry.SetSingle != null);
if (is_single)
entry.SetSingle (entry.InfoWidget, photo, metadata);
-
+
SetEntryWidgetVisibility (entry, is_single);
}
}
@@ -562,7 +565,7 @@ namespace FSpot.Widgets
{
if (Photos.Length == 0)
return false;
-
+
IPhoto photo = Photos[0];
Gdk.Pixbuf hint = histogram_hint;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]