[Commits] [SCM] claws branch, master, updated. 3.9.2-31-g50116eb

claws at claws-mail.org claws at claws-mail.org
Fri Jul 12 10:23:52 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  50116eb9aed6b5294cb30317e83ea388a9e41434 (commit)
      from  47fc23c48fd9832a8230962f59decad6ad2824ae (commit)


- Log -----------------------------------------------------------------
commit 50116eb9aed6b5294cb30317e83ea388a9e41434
Author: Paul <paul at claws-mail.org>
Date:   Fri Jul 12 09:23:43 2013 +0100

    fix bug 2954, 'Crash in "Save Image As" for HTML message'
    
    note: this patch prevents the crash but does not implement saving images

diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index 1463c1e..d3e81b9 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -684,6 +684,11 @@ static void download_file_cb(GtkWidget *widget, FancyViewer *viewer)
 #endif
 }
 
+static void save_image_cb(GtkWidget *widget, FancyViewer *viewer)
+{
+	debug_print("Not Yet Implemented\n");
+}
+
 static void open_image_cb(GtkWidget *widget, FancyViewer *viewer)
 {
 	debug_print("Not Yet Implemented\n");
@@ -768,7 +773,7 @@ static void viewer_menu_handler(GtkWidget *menuitem, FancyViewer *viewer)
 
 			GtkImageMenuItem *m_simage = GTK_IMAGE_MENU_ITEM(menuitem);
 			g_signal_connect(G_OBJECT(m_simage), "activate",
-					 G_CALLBACK(download_file_cb),
+					 G_CALLBACK(save_image_cb),
 					 (gpointer *) viewer);
 		}
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/fancy/fancy_viewer.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list