[f-spot: 3/4] Disable unused tagging features
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot: 3/4] Disable unused tagging features
- Date: Wed, 17 Jun 2009 12:08:18 -0400 (EDT)
commit 03118443dec7aaa02867ceb1e24113d1422d38eb
Author: Jim Ramsay <i am jimramsay com>
Date: Wed Jun 17 10:48:55 2009 -0400
Disable unused tagging features
The facebook tagging feature is not yet fully functional, so I've removed some
confusing elements, most obviously the empty and un-closeable "Who is this?"
popup.
.../Exporters/FacebookExport/FacebookExport.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/FacebookExport.cs b/extensions/Exporters/FacebookExport/FacebookExport.cs
index ed3cba3..c71f1c3 100644
--- a/extensions/Exporters/FacebookExport/FacebookExport.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExport.cs
@@ -113,6 +113,7 @@ namespace FSpot.Exporter.Facebook
public TagStore (FacebookSession session, List<Mono.Facebook.Tag> tags, Dictionary<long, User> friends) : base (typeof (string))
{
_tags = tags;
+ _friends = friends;
foreach (Mono.Facebook.Tag tag in Tags) {
long subject = tag.Subject;
@@ -293,6 +294,9 @@ namespace FSpot.Exporter.Facebook
tag_image_eventbox.ButtonPressEvent += HandleTagImageButtonPressEvent;
+ tag_treeview.Sensitive = false;
+ caption_textview.Sensitive = false;
+
Dialog.Response += HandleResponse;
Dialog.Show ();
}
@@ -407,6 +411,7 @@ namespace FSpot.Exporter.Facebook
if (caption == null)
captions [current_item] = caption = "";
caption_textview.Buffer.Text = caption;
+ caption_textview.Sensitive = true;
tag_treeview.Model = new TagStore (account.Facebook, tags [current_item], friends);
@@ -455,7 +460,7 @@ namespace FSpot.Exporter.Facebook
if (y < 0 || y > tag_image_height)
return;
- FacebookTagPopup popup = new FacebookTagPopup (friends);
+ //FacebookTagPopup popup = new FacebookTagPopup (friends);
}
private void HandleThumbnailIconViewKeyPressEvent (object sender, Gtk.KeyPressEventArgs args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]