diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-19 07:38:01 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-19 07:38:01 +0000 |
commit | 8540bbfcd4d70cf694e762bc9f0c7c90c0a34f36 (patch) | |
tree | c0c4c3277fae13cf69f0db4401fbf79b19f61737 /src/prefs_common.c | |
parent | bff58def46d17cda6004bd38adc8e7788a7edc40 (diff) |
added an option to toggle cursor in message view.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@269 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common.c')
-rw-r--r-- | src/prefs_common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/prefs_common.c b/src/prefs_common.c index 92d0f6d1..fb68acc6 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -137,6 +137,7 @@ static struct Message { GtkWidget *chkbtn_disphdrpane; GtkWidget *chkbtn_disphdr; GtkWidget *chkbtn_html; + GtkWidget *chkbtn_cursor; GtkWidget *spinbtn_linespc; GtkObject *spinbtn_linespc_adj; @@ -530,6 +531,9 @@ 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}, @@ -1692,6 +1696,7 @@ 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; @@ -1766,6 +1771,9 @@ static void prefs_message_create(void) PACK_CHECK_BUTTON(vbox2, chkbtn_html, _("Render HTML messages as text")); + PACK_CHECK_BUTTON(vbox2, chkbtn_cursor, + _("Display cursor in message view")); + PACK_VSPACER(vbox2, vbox3, VSPACING_NARROW_2); hbox1 = gtk_hbox_new (FALSE, 32); @@ -1852,6 +1860,7 @@ 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; |