aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-01-30 09:09:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-01-30 09:09:58 +0000
commitd4732f910479c896e203acf66b856ab5db0a459c (patch)
tree686f78e7f035c81352b55cff12e10ace6f0cc1bd
parent421cce1c90d56ce21ceb9c935e4f64aa744d5a1e (diff)
made the button sensitivity and Stop/Refresh label of remote mailbox dialog consistent.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3199 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/rpop3.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c8a44c4..a8c4c0ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-30
+
+ * src/rpop3.c: made button sensitivity and Stop/Refresh label
+ consistent.
+
2013-01-25
* libsylph/mh.c: mh_scan_tree_recursive(): limit the recursion level
diff --git a/src/rpop3.c b/src/rpop3.c
index a02b691f..c67ab9a0 100644
--- a/src/rpop3.c
+++ b/src/rpop3.c
@@ -1079,7 +1079,8 @@ static gint rpop3_session_recv_data_as_file_finished(Session *session,
(rpop3_window.delete_btn, TRUE);
if (pop3_session->cur_msg == 1)
gtk_widget_set_sensitive(rpop3_window.stop_btn, FALSE);
- gtk_button_set_label(GTK_BUTTON(rpop3_window.stop_btn), GTK_STOCK_REFRESH);
+ else
+ gtk_button_set_label(GTK_BUTTON(rpop3_window.stop_btn), GTK_STOCK_REFRESH);
g_object_set(rpop3_window.recv_action,
"sensitive", TRUE, NULL);
g_object_set(rpop3_window.open_action,
@@ -1273,7 +1274,10 @@ static void rpop3_read_next(GtkButton *button, gpointer data)
rpop3_window.session->cur_msg = i;
rpop3_window.stop_load = FALSE;
-
+
+ gtk_widget_set_sensitive(rpop3_window.recv_btn, FALSE);
+ gtk_widget_set_sensitive(rpop3_window.open_btn, FALSE);
+ gtk_widget_set_sensitive(rpop3_window.delete_btn, FALSE);
gtk_button_set_label(GTK_BUTTON(rpop3_window.stop_btn), GTK_STOCK_STOP);
gtk_widget_set_sensitive(rpop3_window.stop_btn, TRUE);
g_object_set(rpop3_window.update_action, "sensitive", FALSE, NULL);