[f-spot: 10/14] Small fixes
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot: 10/14] Small fixes
- Date: Sun, 28 Jun 2009 12:53:39 +0000 (UTC)
commit 5046cf191f1da13bd9ca31e2a7fe710818a17bd0
Author: Jim Ramsay <i am jimramsay com>
Date: Thu Jun 25 11:12:43 2009 -0400
Small fixes
.../Exporters/FacebookExport/FacebookExport.cs | 8 ++------
.../FacebookExport/FacebookExportDialog.cs | 11 ++++++-----
2 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/extensions/Exporters/FacebookExport/FacebookExport.cs b/extensions/Exporters/FacebookExport/FacebookExport.cs
index d56959f..d553965 100644
--- a/extensions/Exporters/FacebookExport/FacebookExport.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExport.cs
@@ -8,7 +8,7 @@
*
* Copyright (C) 2007 George Talusan
* Copyright (c) 2008-2009 Novell, Inc.
- * Copyright (c) 2009 Jim Rasay
+ * Copyright (c) 2009 Jim Ramsay
*
* This is free software. See COPYING for details.
*/
@@ -294,9 +294,6 @@ namespace FSpot.Exporter.Facebook
public void Run (IBrowsableCollection selection)
{
-
- dialog = new FacebookExportDialog (selection);
-
if (selection.Items.Length > 60) {
HigMessageDialog mbox = new HigMessageDialog (dialog,
Gtk.DialogFlags.DestroyWithParent | Gtk.DialogFlags.Modal, Gtk.MessageType.Error,
@@ -307,8 +304,7 @@ namespace FSpot.Exporter.Facebook
return;
}
-
-
+ dialog = new FacebookExportDialog (selection);
if (dialog.Run () != (int)ResponseType.Ok) {
dialog.Destroy ();
return;
diff --git a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
index c3d8b92..27c266a 100644
--- a/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
+++ b/extensions/Exporters/FacebookExport/FacebookExportDialog.cs
@@ -8,7 +8,7 @@
*
* Copyright (C) 2007 George Talusan
* Copyright (c) 2008-2009 Novell, Inc.
- * Later changes (2009) by Jim Ramsay
+ * Copyright (c) 2009 Jim Ramsay
*
* This is free software. See COPYING for details.
*/
@@ -280,10 +280,9 @@ namespace FSpot.Exporter.Facebook
album_info_vbox.Sensitive = false;
picture_info_vbox.Sensitive = false;
- offline_perm_check.Active = false;
- photo_perm_check.Active = false;
permissions_hbox.Sensitive = false;
}
+
public void HandlePermissionToggled (object sender, EventArgs args)
{
string permission;
@@ -299,10 +298,10 @@ namespace FSpot.Exporter.Facebook
bool actual = account.HasPermission (permission);
if (desired != actual) {
if (desired) {
- Log.DebugFormat("Granting {0}", permission);
+ Log.Debug("Granting {0}", permission);
account.GrantPermission (permission, this);
} else {
- Log.DebugFormat("Revoking {0}", permission);
+ Log.Debug("Revoking {0}", permission);
account.RevokePermission (permission);
}
/* Double-check that things work... */
@@ -361,8 +360,10 @@ namespace FSpot.Exporter.Facebook
if (y < 0 || y > tag_image_height)
return;
+ /* TODO: Actual facebook friend tagging */
//FacebookTagPopup popup = new FacebookTagPopup (friends);
}
+
void LoginProgress (double percentage, string message)
{
login_progress.Fraction = percentage;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]