projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4e99e2
)
Add activity hint in move to dialog, for fetching folders and accounts
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 23 Apr 2009 09:51:48 +0000
(09:51 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 23 Apr 2009 09:51:48 +0000
(09:51 +0000)
pmo-trunk-r9072
src/hildon2/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-platform.c
b/src/hildon2/modest-platform.c
index
0eb8aaa
..
15aa68a
100644
(file)
--- a/
src/hildon2/modest-platform.c
+++ b/
src/hildon2/modest-platform.c
@@
-2858,6
+2858,12
@@
on_move_to_dialog_action_clicked (GtkButton *selection,
}
}
}
}
+static void
+move_to_dialog_activity_changed (ModestFolderView *folder_view, gboolean activity, GtkDialog *dialog)
+{
+ hildon_gtk_window_set_progress_indicator (GTK_WINDOW (dialog), activity?1:0);
+}
+
GtkWidget *
modest_platform_create_move_to_dialog (GtkWindow *parent_window,
GtkWidget **folder_view)
GtkWidget *
modest_platform_create_move_to_dialog (GtkWindow *parent_window,
GtkWidget **folder_view)
@@
-2886,6
+2892,8
@@
modest_platform_create_move_to_dialog (GtkWindow *parent_window,
/* Create folder view */
*folder_view = modest_platform_create_folder_view_full (NULL, FALSE);
/* Create folder view */
*folder_view = modest_platform_create_folder_view_full (NULL, FALSE);
+ g_signal_connect (G_OBJECT (*folder_view), "activity-changed", G_CALLBACK (move_to_dialog_activity_changed),
+ dialog);
modest_folder_view_set_cell_style (MODEST_FOLDER_VIEW (*folder_view),
MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT);
modest_folder_view_set_cell_style (MODEST_FOLDER_VIEW (*folder_view),
MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT);