[Xfce4-commits] <orage:master> Enhancement 8258 - word wrap for Note in appointment window
Juha Kautto
noreply at xfce.org
Mon Dec 19 14:54:01 CET 2011
Updating branch refs/heads/master
to a214c5b9b51e43b3f69b479f2b163df692296204 (commit)
from eac387a74ca29cb448c192290f365c6c9d221498 (commit)
commit a214c5b9b51e43b3f69b479f2b163df692296204
Author: Juha Kautto <juha at xfce.org>
Date: Mon Dec 19 15:50:23 2011 +0200
Enhancement 8258 - word wrap for Note in appointment window
Implemented fix from Travis to word wrap Note field in appointment.
configure.in.in | 2 +-
src/appointment.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/configure.in.in b/configure.in.in
index 722d4c4..e79a1a1 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -9,7 +9,7 @@ dnl Written for Xfce by Juha Kautto <juha at xfce.org>
dnl
dnl Version information
-m4_define([orage_version], [4.8.2.8-git])
+m4_define([orage_version], [4.8.2.9-git])
m4_define([gtk_minimum_version], [2.10.0])
m4_define([xfce_minimum_version], [4.6.0])
diff --git a/src/appointment.c b/src/appointment.c
index f60f607..6bb8389 100644
--- a/src/appointment.c
+++ b/src/appointment.c
@@ -2811,6 +2811,8 @@ static void build_general_page(appt_win *apptw)
apptw->Note_buffer = gtk_text_buffer_new(NULL);
apptw->Note_textview =
gtk_text_view_new_with_buffer(GTK_TEXT_BUFFER(apptw->Note_buffer));
+ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(apptw->Note_textview)
+ , GTK_WRAP_WORD);
gtk_container_add(GTK_CONTAINER(apptw->Note_Scrolledwindow)
, apptw->Note_textview);
orage_table_add_row(apptw->TableGeneral
More information about the Xfce4-commits
mailing list