~facundo/ubuntuone-client/support-initial-disconnection

« back to all changes in this revision

Viewing changes to nautilus/utils.c

  • Committer: Rodrigo Moya
  • Date: 2010-08-25 15:48:04 UTC
  • mto: This revision was merged to the branch mainline in revision 654.
  • Revision ID: rodrigo.moya@canonical.com-20100825154804-p4aj1fk355cmzdn0
Fixed it

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *
20
20
 */
21
21
 
 
22
#include <glib/gi18n.h>
 
23
#include <libsyncdaemon/syncdaemon-shares-interface.h>
22
24
#include "ubuntuone-nautilus.h"
23
25
 
24
26
/* this is the wrong place for this, but it'll have to do for now */
128
130
                question = g_string_new (_("This folder contains files that have been published:\n\n"));
129
131
 
130
132
                g_hash_table_iter_init (&iter, uon->public);
131
 
                while (g_hash_table_iter_next (&iter, &key, &value)) {
 
133
                while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) {
132
134
                        if (g_str_has_prefix (key, syncdaemon_folder_info_get_path (folder_info))) {
133
135
                                has_published = TRUE;
134
136