GtkWidget *entry_incext;
GtkWidget *button_incext;
- GtkWidget *checkbtn_local;
- GtkWidget *checkbtn_filter_on_inc;
- GtkWidget *entry_spool;
-
GtkWidget *checkbtn_autochk;
GtkWidget *spinbtn_autochk;
GtkObject *spinbtn_autochk_adj;
} receive;
static struct Send {
- GtkWidget *checkbtn_extsend;
- GtkWidget *entry_extsend;
- GtkWidget *button_extsend;
-
GtkWidget *checkbtn_savemsg;
GtkWidget *checkbtn_queuemsg;
GtkWidget *optmenu_senddialog;
&receive.entry_incext,
prefs_set_data_from_entry, prefs_set_entry},
- {"inc_local", "TRUE", &prefs_common.inc_local, P_BOOL,
- &receive.checkbtn_local,
- prefs_set_data_from_toggle, prefs_set_toggle},
- {"filter_on_inc_local", "TRUE", &prefs_common.filter_on_inc, P_BOOL,
- &receive.checkbtn_filter_on_inc,
- prefs_set_data_from_toggle, prefs_set_toggle},
- {"spool_path", DEFAULT_SPOOL_PATH, &prefs_common.spool_path, P_STRING,
- &receive.entry_spool,
- prefs_set_data_from_entry, prefs_set_entry},
-
{"autochk_newmail", "FALSE", &prefs_common.autochk_newmail, P_BOOL,
&receive.checkbtn_autochk,
prefs_set_data_from_toggle, prefs_set_toggle},
prefs_set_data_from_toggle, prefs_set_toggle},
/* Send */
- {"use_ext_sendmail", "FALSE", &prefs_common.use_extsend, P_BOOL,
- &p_send.checkbtn_extsend,
- prefs_set_data_from_toggle, prefs_set_toggle},
- {"ext_sendmail_cmd", DEFAULT_SENDMAIL_CMD,
- &prefs_common.extsend_cmd, P_STRING,
- &p_send.entry_extsend, prefs_set_data_from_entry, prefs_set_entry},
{"save_message", "TRUE", &prefs_common.savemsg, P_BOOL,
&p_send.checkbtn_savemsg,
prefs_set_data_from_toggle, prefs_set_toggle},
GtkWidget *entry_incext;
/* GtkWidget *button_incext; */
- GtkWidget *frame_spool;
- GtkWidget *checkbtn_local;
- GtkWidget *checkbtn_filter_on_inc;
- GtkWidget *label_spool;
- GtkWidget *entry_spool;
-
GtkWidget *hbox_autochk;
GtkWidget *checkbtn_autochk;
GtkWidget *label_autochk1;
gtk_box_pack_start (GTK_BOX (hbox), button_incext, FALSE, FALSE, 0);
#endif
- PACK_FRAME(vbox1, frame_spool, _("Local spool"));
-
- vbox2 = gtk_vbox_new (FALSE, VSPACING_NARROW);
- gtk_widget_show (vbox2);
- gtk_container_add (GTK_CONTAINER (frame_spool), vbox2);
- gtk_container_set_border_width (GTK_CONTAINER (vbox2), 8);
-
- hbox = gtk_hbox_new (FALSE, 32);
- gtk_widget_show (hbox);
- gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
-
- PACK_CHECK_BUTTON (hbox, checkbtn_local, _("Incorporate from spool"));
- PACK_CHECK_BUTTON (hbox, checkbtn_filter_on_inc,
- _("Filter on incorporation"));
- SET_TOGGLE_SENSITIVITY (checkbtn_local, checkbtn_filter_on_inc);
-
- hbox = gtk_hbox_new (FALSE, 8);
- gtk_widget_show (hbox);
- gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
- SET_TOGGLE_SENSITIVITY (checkbtn_local, hbox);
-
- label_spool = gtk_label_new (_("Spool directory"));
- gtk_widget_show (label_spool);
- gtk_box_pack_start (GTK_BOX (hbox), label_spool, FALSE, FALSE, 0);
-
- entry_spool = gtk_entry_new ();
- gtk_widget_show (entry_spool);
- gtk_box_pack_start (GTK_BOX (hbox), entry_spool, TRUE, TRUE, 0);
-
vbox2 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox2);
gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0);
menu = gtk_menu_new ();
MENUITEM_ADD (menu, menuitem, _("Always"), RECV_DIALOG_ALWAYS);
- MENUITEM_ADD (menu, menuitem, _("Only if a window is active"),
- RECV_DIALOG_ACTIVE);
+ MENUITEM_ADD (menu, menuitem, _("Only on manual receiving"),
+ RECV_DIALOG_MANUAL);
MENUITEM_ADD (menu, menuitem, _("Never"), RECV_DIALOG_NEVER);
gtk_option_menu_set_menu (GTK_OPTION_MENU (optmenu_recvdialog), menu);
receive.entry_incext = entry_incext;
/* receive.button_incext = button_incext; */
- receive.checkbtn_local = checkbtn_local;
- receive.checkbtn_filter_on_inc = checkbtn_filter_on_inc;
- receive.entry_spool = entry_spool;
-
receive.checkbtn_autochk = checkbtn_autochk;
receive.spinbtn_autochk = spinbtn_autochk;
receive.spinbtn_autochk_adj = spinbtn_autochk_adj;
{
GtkWidget *vbox1;
GtkWidget *vbox2;
- GtkWidget *frame_extsend;
- GtkWidget *vbox_extsend;
- GtkWidget *checkbtn_extsend;
GtkWidget *hbox1;
- GtkWidget *label_extsend;
- GtkWidget *entry_extsend;
- /* GtkWidget *button_extsend; */
GtkWidget *checkbtn_savemsg;
GtkWidget *checkbtn_queuemsg;
GtkWidget *label_outcharset;
gtk_container_add (GTK_CONTAINER (dialog.notebook), vbox1);
gtk_container_set_border_width (GTK_CONTAINER (vbox1), VBOX_BORDER);
- PACK_FRAME(vbox1, frame_extsend, _("External program"));
-
- vbox_extsend = gtk_vbox_new (FALSE, VSPACING_NARROW);
- gtk_widget_show (vbox_extsend);
- gtk_container_add (GTK_CONTAINER (frame_extsend), vbox_extsend);
- gtk_container_set_border_width (GTK_CONTAINER (vbox_extsend), 8);
-
- PACK_CHECK_BUTTON (vbox_extsend, checkbtn_extsend,
- _("Use external program for sending"));
-
- hbox1 = gtk_hbox_new (FALSE, 8);
- gtk_widget_show (hbox1);
- gtk_box_pack_start (GTK_BOX (vbox_extsend), hbox1, FALSE, FALSE, 0);
- SET_TOGGLE_SENSITIVITY(checkbtn_extsend, hbox1);
-
- label_extsend = gtk_label_new (_("Command"));
- gtk_widget_show (label_extsend);
- gtk_box_pack_start (GTK_BOX (hbox1), label_extsend, FALSE, FALSE, 0);
-
- entry_extsend = gtk_entry_new ();
- gtk_widget_show (entry_extsend);
- gtk_box_pack_start (GTK_BOX (hbox1), entry_extsend, TRUE, TRUE, 0);
-
-#if 0
- button_extsend = gtk_button_new_with_label ("... ");
- gtk_widget_show (button_extsend);
- gtk_box_pack_start (GTK_BOX (hbox1), button_extsend, FALSE, FALSE, 0);
-#endif
-
vbox2 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox2);
gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0);
_("Queue messages that fail to send"));
hbox_senddialog = gtk_hbox_new (FALSE, 8);
- gtk_widget_show (hbox1);
gtk_box_pack_start (GTK_BOX (vbox1), hbox_senddialog, FALSE, FALSE, 0);
label_senddialog = gtk_label_new (_("Show send dialog"));
gtk_widget_show (hbox1);
gtk_box_pack_start (GTK_BOX (vbox1), hbox1, FALSE, FALSE, 0);
- p_send.checkbtn_extsend = checkbtn_extsend;
- p_send.entry_extsend = entry_extsend;
- /* p_send.button_extsend = button_extsend; */
-
p_send.checkbtn_savemsg = checkbtn_savemsg;
p_send.checkbtn_queuemsg = checkbtn_queuemsg;
p_send.optmenu_senddialog = optmenu_senddialog;
gchar *entry_pixmap_theme_str;
gboolean update_pixmap_theme;
gchar *backup_theme_path;
+ MainWindow *mainwindow;
entry_pixmap_theme_str = gtk_entry_get_text(GTK_ENTRY(interface.entry_pixmap_theme));
if (entry_pixmap_theme_str &&
/*!< FIXME: Now it's safe to delete the backup path */
g_free(backup_theme_path);
-
+
prefs_common_save_config();
+ mainwindow = mainwindow_get_mainwindow();
+ log_window_set_clipping(mainwindow->logwin, prefs_common.cliplog,
+ prefs_common.loglength);
+
inc_autocheck_timer_remove();
inc_autocheck_timer_set();
}