~liferea/liferea/trunk

« back to all changes in this revision

Viewing changes to src/ui/ui_node.c

  • Committer: Lars Windolf
  • Date: 2012-10-27 22:48:37 UTC
  • Revision ID: git-v1:bafc9888ff58e32167b722590aebb7377b014fbf
Many many search folder counting fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "feedlist.h"
27
27
#include "fl_sources/node_source.h"
28
28
#include "folder.h"
 
29
#include "vfolder.h"
29
30
#include "ui/icons.h"
30
31
#include "ui/liferea_dialog.h"
31
32
#include "ui/liferea_shell.h"
313
314
                        break;
314
315
        }
315
316
 
 
317
        /* Extra message for search folder rebuilds */
 
318
        if (IS_VFOLDER (node) && node->data) {
 
319
                if (((vfolderPtr)node->data)->reloading) {
 
320
                        gchar *tmp = label;
 
321
                        label = g_strdup_printf (_("%s\n<i>Rebuilding</i>"), label);
 
322
                        g_free (tmp);
 
323
                }
 
324
        }
 
325
 
316
326
        gtk_tree_store_set (feedstore, iter, FS_LABEL, label,
317
327
                                             FS_UNREAD, node->unreadCount,
318
328
                                             FS_ICON, node->available?node_get_icon (node):icon_get (ICON_UNAVAILABLE),