* Some aesthetic changes
[modest] / src / widgets / modest-folder-view.c
index 2c82630..b476479 100644 (file)
@@ -675,6 +675,7 @@ modest_folder_view_init (ModestFolderView *obj)
         */
        priv->notification_id = modest_conf_listen_to_namespace (conf,
                                                                 MODEST_CONF_NAMESPACE);
+
        priv->conf_key_signal = g_signal_connect (G_OBJECT(conf), 
                                                  "key_changed",
                                                  G_CALLBACK(on_configuration_key_changed), 
@@ -1124,10 +1125,8 @@ filter_row (GtkTreeModel *model,
        
        /* If this is a move to dialog, hide Sent, Outbox and Drafts
        folder as no message can be move there according to UI specs */
-       if (!priv->show_non_move)
-       {
-               switch (type)
-               {
+       if (!priv->show_non_move) {
+               switch (type) {
                        case TNY_FOLDER_TYPE_OUTBOX:
                        case TNY_FOLDER_TYPE_SENT:
                        case TNY_FOLDER_TYPE_DRAFTS:
@@ -1136,15 +1135,14 @@ filter_row (GtkTreeModel *model,
                        case TNY_FOLDER_TYPE_UNKNOWN:
                        case TNY_FOLDER_TYPE_NORMAL:
                                type = modest_tny_folder_guess_folder_type(TNY_FOLDER(instance));
-                               if (type == TNY_FOLDER_TYPE_OUTBOX || type == TNY_FOLDER_TYPE_SENT
-                                               || type == TNY_FOLDER_TYPE_DRAFTS)
-                               {
+                               if (type == TNY_FOLDER_TYPE_OUTBOX || 
+                                   type == TNY_FOLDER_TYPE_SENT
+                                   || type == TNY_FOLDER_TYPE_DRAFTS)
                                        retval = FALSE;
-                               }
                                break;
                        default:
-                               break;  
-               }       
+                               break;
+               }
        }
        
        /* Free */