[Freeciv-Dev] (PR#10782) help window
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10782 >
Due to popular demand, here is a patch.
Index: client/gui-gtk-2.0/helpdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/helpdlg.c,v
retrieving revision 1.38
diff -u -r1.38 helpdlg.c
--- client/gui-gtk-2.0/helpdlg.c 14 Nov 2004 23:49:17 -0000 1.38
+++ client/gui-gtk-2.0/helpdlg.c 16 Nov 2004 04:04:41 -0000
@@ -588,6 +588,7 @@
gtk_box_pack_start(GTK_BOX(help_box), help_vbox, FALSE, FALSE, 0);
text = gtk_text_view_new();
+ gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(text), FALSE);
gtk_text_view_set_editable(GTK_TEXT_VIEW(text), FALSE);
gtk_container_set_border_width(GTK_CONTAINER(text), 5);
gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text), GTK_WRAP_WORD);
@@ -871,6 +872,7 @@
my_chomp(buf, len);
w = gtk_text_view_new();
+ gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(w), FALSE);
gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(w), GTK_WRAP_WORD);
gtk_widget_set_name(w, "help text");
gtk_container_set_border_width(GTK_CONTAINER(w), 5);
|
|