From 0a225a160c2d521b8062bfc702c33b65f520e081 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 14 Jul 2005 08:53:23 +0000 Subject: made textview_cursor_visible a hidden option. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@432 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/prefs_common.c b/src/prefs_common.c index 8d9f6630..ba366012 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -139,7 +139,6 @@ static struct Message { GtkWidget *chkbtn_disphdrpane; GtkWidget *chkbtn_disphdr; GtkWidget *chkbtn_html; - GtkWidget *chkbtn_cursor; GtkWidget *spinbtn_linespc; GtkObject *spinbtn_linespc_adj; @@ -549,13 +548,14 @@ static PrefParam param[] = { {"render_html", "TRUE", &prefs_common.render_html, P_BOOL, &message.chkbtn_html, prefs_set_data_from_toggle, prefs_set_toggle}, - {"textview_cursor_visible", "FALSE", - &prefs_common.textview_cursor_visible, P_BOOL, - &message.chkbtn_cursor, prefs_set_data_from_toggle, prefs_set_toggle}, {"line_space", "2", &prefs_common.line_space, P_INT, &message.spinbtn_linespc, prefs_set_data_from_spinbtn, prefs_set_spinbtn}, + {"textview_cursor_visible", "FALSE", + &prefs_common.textview_cursor_visible, P_BOOL, + NULL, NULL, NULL}, + {"enable_smooth_scroll", "FALSE", &prefs_common.enable_smooth_scroll, P_BOOL, &message.chkbtn_smoothscroll, @@ -1766,7 +1766,6 @@ static void prefs_message_create(void) GtkWidget *chkbtn_disphdr; GtkWidget *button_edit_disphdr; GtkWidget *chkbtn_html; - GtkWidget *chkbtn_cursor; GtkWidget *hbox_linespc; GtkWidget *label_linespc; GtkObject *spinbtn_linespc_adj; @@ -1841,8 +1840,10 @@ static void prefs_message_create(void) PACK_CHECK_BUTTON(vbox2, chkbtn_html, _("Render HTML messages as text")); +#if 0 PACK_CHECK_BUTTON(vbox2, chkbtn_cursor, _("Display cursor in message view")); +#endif PACK_VSPACER(vbox2, vbox3, VSPACING_NARROW_2); @@ -1930,7 +1931,6 @@ static void prefs_message_create(void) message.chkbtn_disphdrpane = chkbtn_disphdrpane; message.chkbtn_disphdr = chkbtn_disphdr; message.chkbtn_html = chkbtn_html; - message.chkbtn_cursor = chkbtn_cursor; message.spinbtn_linespc = spinbtn_linespc; message.chkbtn_smoothscroll = chkbtn_smoothscroll; -- cgit v1.2.3