Revision 3202

View differences:

src/rpop3.c
117 117
	"      <menuitem name='Open' action='OpenAction'/>"
118 118
	"      <menuitem name='Delete' action='DeleteAction'/>"
119 119
	"      <separator />"
120
	"      <menuitem name='Update' action='UpdateAction'/>"
120
	"      <menuitem name='Resume' action='ResumeAction'/>"
121 121
	"      <menuitem name='Stop' action='StopAction'/>"
122 122
	"      <separator />"
123 123
	"      <menuitem name='Close' action='CloseAction'/>"
......
225 225
static void rpop3_recv_cb	(void);
226 226
static void rpop3_open_cb	(void);
227 227
static void rpop3_delete_cb	(void);
228
static void rpop3_update_cb	(void);
228
static void rpop3_resume_cb	(void);
229 229
static void rpop3_stop_cb	(void);
230 230
static void rpop3_close_cb	(void);
231 231
static void rpop3_about_cb	(void);
......
248 248
	{"ReceiveAction", NULL, N_("_Get"), "<Control>G", NULL, rpop3_recv_cb},
249 249
	{"OpenAction", GTK_STOCK_OPEN, NULL, NULL, NULL, rpop3_open_cb},
250 250
	{"DeleteAction", GTK_STOCK_DELETE, NULL, "<Shift>Delete", NULL, rpop3_delete_cb},
251
	{"UpdateAction", GTK_STOCK_REFRESH, NULL, NULL, NULL, rpop3_update_cb},
251
	{"ResumeAction", GTK_STOCK_REFRESH, N_("_Resume"), NULL, NULL, rpop3_resume_cb},
252 252
	{"StopAction", GTK_STOCK_STOP, NULL, NULL, NULL, rpop3_stop_cb},
253 253
	{"CloseAction", GTK_STOCK_CLOSE, NULL, NULL, NULL, rpop3_close_cb},
254 254
	{"HelpAction", NULL, N_("_Help"), NULL, NULL, NULL},
......
473 473
	g_object_set(action, "sensitive", FALSE, NULL);
474 474
	rpop3_window.delete_action = action;
475 475

  
476
	action = gtk_ui_manager_get_action(ui, "/RPop3Menu/File/Update");
476
	action = gtk_ui_manager_get_action(ui, "/RPop3Menu/File/Resume");
477 477
	g_object_set(action, "sensitive", FALSE, NULL);
478 478
	rpop3_window.update_action = action;
479 479

  
......
1094 1094
				if (pop3_session->cur_msg == 1)
1095 1095
					gtk_widget_set_sensitive(rpop3_window.stop_btn, FALSE);
1096 1096
				else
1097
					gtk_button_set_label(GTK_BUTTON(rpop3_window.stop_btn), GTK_STOCK_REFRESH);
1097
					gtk_button_set_label(GTK_BUTTON(rpop3_window.stop_btn), _("_Resume"));
1098 1098
				g_object_set(rpop3_window.recv_action,
1099 1099
					     "sensitive", TRUE, NULL);
1100 1100
				g_object_set(rpop3_window.open_action,
......
1336 1336
	rpop3_delete(NULL, NULL);
1337 1337
}
1338 1338

  
1339
static void rpop3_update_cb(void)
1339
static void rpop3_resume_cb(void)
1340 1340
{
1341 1341
	rpop3_stop(NULL, NULL);
1342 1342
}
ChangeLog
2 2

  
3 3
	* src/rpop3.c: do not disconnect immediately but send QUIT on normal
4 4
	  POP3 errors.
5
	  Changed 'Refresh' button/menu to 'Resume'.
5 6

  
6 7
2013-01-31
7 8

  

Also available in: Unified diff