aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 18:53:12 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 18:53:12 +0800
commit9d8d0e8a3eda20170ed94bd8ec700b87b98b64da (patch)
treefb03ddd76e40c133328e6eeeaf69b5899af040c5 /mail/em-folder-tree.c
parent478f23e3d07098620e2dc41737cc6b219dd40431 (diff)
downloadgsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.tar.gz
gsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.tar.zst
gsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.zip
** Fix for bug #464312
svn path=/trunk/; revision=33965
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 1e1a9f3f22..1fe6f50558 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2300,9 +2300,13 @@ emft_tree_selection_changed (GtkTreeSelection *selection, EMFolderTree *emft)
GtkTreeIter iter;
guint32 flags;
- if (!emft_selection_get_selected (selection, &model, &iter))
+ if (!emft_selection_get_selected (selection, &model, &iter)) {
+ em_folder_tree_model_set_selected (emft->priv->model, NULL);
+ g_signal_emit (emft, signals[FOLDER_SELECTED], 0, NULL, NULL, 0);
+ emft_queue_save_state (emft);
return;
-
+ }
+
gtk_tree_model_get (model, &iter, COL_STRING_FULL_NAME, &full_name,
COL_STRING_URI, &uri, COL_UINT_FLAGS, &flags, -1);
@@ -2414,7 +2418,7 @@ em_folder_tree_select_prev_path (EMFolderTree *emft, gboolean skip_read_folders)
{
GtkTreeSelection *selection;
GtkTreeModel *model;
- GtkTreeIter iter, parent, child;
+ GtkTreeIter iter, child;
GtkTreePath *path, *current_path = NULL;
unsigned int unread = 0;
struct _EMFolderTreePrivate *priv = emft->priv;
?h=gnome-3.24&id=0b36fb9eb6c699939980ea92bbd219edf687390d'>- Update to 1.0.1miwi2014-01-175-62/+51 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Add explicit dependency on pkgconf (10 ports)marino2013-09-131-1/+1 * - Convert to new perl frameworkaz2013-08-031-2/+1 * - Convert USE_GETTEXT to USES (part 4)ak2013-04-261-1/+1 * Convert USE_BISON to USES= bisonbapt2013-03-081-1/+1 * - Add UPDATING entry for gnutls updatenovel2013-02-061-0/+1 * - Update to version 0.98.4.araujo2013-02-044-72/+72 * Convert to new option frameworkbapt2012-12-131-29/+19 * - Reset MAINTAINER due to unrecoverable bouncezi2012-12-051-1/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * Chase security/gnutls update and add an UPDATING entry.novel2011-06-061-0/+1 * - Update to 0.96.9dhn2011-04-064-7/+33 * - Update to 0.96.8swills2010-10-182-6/+5 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-1/+1 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * Bump PORTREVISIONs of the gnutls dependant ports to chase gnutls update.novel2009-08-171-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * - MAKE_JOBS_SAFE -> MAKE_JOBS_UNSAFEmiwi2009-04-051-1/+1