Revision 3222 src/prefs_common_dialog.c

View differences:

prefs_common_dialog.c
194 194
	GtkWidget *chkbtn_filter_on_recv;
195 195
	GtkWidget *chkbtn_filter_before;
196 196
	GtkWidget *chkbtn_delete_on_recv;
197
	GtkWidget *chkbtn_nofilter_in_book;
197 198
	GtkWidget *chkbtn_mark_as_read;
198 199
} junk;
199 200

  
......
515 516
	 prefs_set_data_from_toggle, prefs_set_toggle},
516 517
	{"delete_junk_on_receive", &junk.chkbtn_delete_on_recv,
517 518
	 prefs_set_data_from_toggle, prefs_set_toggle},
519
	{"nofilter_junk_sender_in_book", &junk.chkbtn_nofilter_in_book,
520
	 prefs_set_data_from_toggle, prefs_set_toggle},
518 521
	{"mark_junk_as_read", &junk.chkbtn_mark_as_read,
519 522
	 prefs_set_data_from_toggle, prefs_set_toggle},
520 523

  
......
2246 2249
	GtkWidget *chkbtn_filter_on_recv;
2247 2250
	GtkWidget *chkbtn_filter_before;
2248 2251
	GtkWidget *chkbtn_delete_on_recv;
2252
	GtkWidget *chkbtn_nofilter_in_book;
2249 2253
	GtkWidget *chkbtn_mark_as_read;
2250 2254

  
2251 2255
	vbox1 = gtk_vbox_new (FALSE, VSPACING);
......
2379 2383
	SET_TOGGLE_SENSITIVITY (chkbtn_filter_on_recv, chkbtn_filter_before);
2380 2384
	SET_TOGGLE_SENSITIVITY (chkbtn_filter_on_recv, chkbtn_delete_on_recv);
2381 2385

  
2386
	PACK_CHECK_BUTTON
2387
		(vbox3, chkbtn_nofilter_in_book,
2388
		 _("Do not classify message as junk if sender is in the address book"));
2382 2389
	PACK_CHECK_BUTTON (vbox3, chkbtn_mark_as_read,
2383 2390
			   _("Mark filtered junk mails as read"));
2384 2391

  
2385
	junk.chkbtn_enable_junk    = chkbtn_enable_junk;
2386
	junk.entry_junk_learncmd   = entry_junk_learncmd;
2387
	junk.entry_nojunk_learncmd = entry_nojunk_learncmd;
2388
	junk.entry_classify_cmd    = entry_classify_cmd;
2389
	junk.entry_junkfolder      = entry_junkfolder;
2390
	junk.chkbtn_filter_on_recv = chkbtn_filter_on_recv;
2391
	junk.chkbtn_filter_before  = chkbtn_filter_before;
2392
	junk.chkbtn_delete_on_recv = chkbtn_delete_on_recv;
2393
	junk.chkbtn_mark_as_read   = chkbtn_mark_as_read;
2392
	junk.chkbtn_enable_junk      = chkbtn_enable_junk;
2393
	junk.entry_junk_learncmd     = entry_junk_learncmd;
2394
	junk.entry_nojunk_learncmd   = entry_nojunk_learncmd;
2395
	junk.entry_classify_cmd      = entry_classify_cmd;
2396
	junk.entry_junkfolder        = entry_junkfolder;
2397
	junk.chkbtn_filter_on_recv   = chkbtn_filter_on_recv;
2398
	junk.chkbtn_filter_before    = chkbtn_filter_before;
2399
	junk.chkbtn_delete_on_recv   = chkbtn_delete_on_recv;
2400
	junk.chkbtn_nofilter_in_book = chkbtn_nofilter_in_book;
2401
	junk.chkbtn_mark_as_read     = chkbtn_mark_as_read;
2394 2402
}
2395 2403

  
2396 2404
#if USE_GPGME

Also available in: Unified diff