Always show the tree view in accounts window (to show always action area)
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 25 Feb 2009 09:32:54 +0000 (09:32 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 25 Feb 2009 09:32:54 +0000 (09:32 +0000)
pmo-trunk-r7669

src/hildon2/modest-accounts-window.c

index bf9c482..e4190c5 100644 (file)
@@ -449,10 +449,8 @@ static void row_count_changed (ModestAccountsWindow *self)
        count = gtk_tree_model_iter_n_children (model, NULL);
 
        if (count == 0) {
        count = gtk_tree_model_iter_n_children (model, NULL);
 
        if (count == 0) {
-               gtk_widget_hide (priv->account_view);
                gtk_widget_show (priv->no_accounts_label);
        } else {
                gtk_widget_hide (priv->no_accounts_label);
                gtk_widget_show (priv->no_accounts_label);
        } else {
                gtk_widget_hide (priv->no_accounts_label);
-               gtk_widget_show (priv->account_view);
        }
 }
        }
 }