[Commits] [SCM] claws branch, vfolder, updated. 3.10.1-187-gc9d2442
miras at claws-mail.org
miras at claws-mail.org
Tue Aug 19 02:20:03 CEST 2014
The branch, vfolder has been updated
via c9d2442ec1805945cd5d3cf50b1e7ec57ab55e2e (commit)
from 4098177c5be536c9c8d116ef3b56246fb6da6830 (commit)
Summary of changes:
src/plugins/vfolder/vfolder.c | 4 ----
src/plugins/vfolder/vfolder_gtk.c | 5 +++++
src/plugins/vfolder/vfolder_prop.c | 1 +
3 files changed, 6 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit c9d2442ec1805945cd5d3cf50b1e7ec57ab55e2e
Author: Michael Rasmussen <mir at datanom.net>
Date: Tue Aug 19 02:19:54 2014 +0200
Freeze summaryview and folderview when adding messages as well
diff --git a/src/plugins/vfolder/vfolder.c b/src/plugins/vfolder/vfolder.c
index 2dbbf0b..165df87 100644
--- a/src/plugins/vfolder/vfolder.c
+++ b/src/plugins/vfolder/vfolder.c
@@ -1138,11 +1138,7 @@ gchar* vfolder_compute_unique_id(VFolderItem* vitem) {
}
void vfolder_folder_item_remove_all_msg(VFolderItem* vitem) {
- MainWindow* main_window = mainwindow_get_mainwindow();
-
folder_item_update_freeze();
- summary_freeze(main_window->summaryview);
folder_item_remove_all_msg(FOLDER_ITEM(vitem));
- summary_thaw(main_window->summaryview);
folder_item_update_thaw();
}
diff --git a/src/plugins/vfolder/vfolder_gtk.c b/src/plugins/vfolder/vfolder_gtk.c
index 8d55ff9..9ff2860 100644
--- a/src/plugins/vfolder/vfolder_gtk.c
+++ b/src/plugins/vfolder/vfolder_gtk.c
@@ -442,10 +442,15 @@ void vfolder_properties_cb(GtkAction* action, gpointer data) {
g_return_if_fail(item->folder != NULL);
vitem = VFOLDER_ITEM(item);
+ folder_item_update_freeze();
+ //summary_freeze(main_window->summaryview);
+
if (vfolder_edit_item_dialog(&vitem, NULL)) {
FolderPropsResponse resp = vfolder_folder_item_props_write(vitem);
vfolder_item_props_response(resp);
}
+// summary_thaw(main_window->summaryview);
+ folder_item_update_thaw();
}
void vfolder_rename_cb(GtkAction* action, gpointer data) {
diff --git a/src/plugins/vfolder/vfolder_prop.c b/src/plugins/vfolder/vfolder_prop.c
index ce55da8..27d4285 100644
--- a/src/plugins/vfolder/vfolder_prop.c
+++ b/src/plugins/vfolder/vfolder_prop.c
@@ -37,6 +37,7 @@
#include "gtkutils.h"
#include "mainwindow.h"
+#include "summaryview.h"
#include "foldersel.h"
#include "alertpanel.h"
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list