[Freeciv-Dev] (PR#13419) mouse wheel can break GTK client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13419 >
> [jdorje - Fri Jul 08 03:11:39 2005]:
>
> (This bug is from the debian freeciv bugs; see the subject line of the
> forwarded message.)
>
> I can reproduce this with freeciv 2.0 and the development version. When
> you start the game, move the mouse over the chat-area panel resize bar
> and use the mouse wheel. You are dropped into the game load screen.
> The client isn't fubared (it's state remains sane, just wrong) but the
> running game is lost.
>
> Vasco, I think this is a bug you need to look at.
>
> -jason
>
Try the attached patch which demonstrate why this happens.
Unfortunatelly I don't know how to fix.
--
mateusz
? civscore.log
Index: client/gui-gtk-2.0/gui_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/gui_main.c,v
retrieving revision 1.137
diff -u -r1.137 gui_main.c
--- client/gui-gtk-2.0/gui_main.c 29 Aug 2005 13:56:49 -0000 1.137
+++ client/gui-gtk-2.0/gui_main.c 5 Sep 2005 11:21:59 -0000
@@ -706,7 +706,7 @@
notebook = gtk_notebook_new();
toplevel_tabs = notebook;
- gtk_notebook_set_show_tabs(GTK_NOTEBOOK(notebook), FALSE);
+ gtk_notebook_set_show_tabs(GTK_NOTEBOOK(notebook), TRUE);
gtk_notebook_set_show_border(GTK_NOTEBOOK(notebook), FALSE);
box = gtk_vbox_new(FALSE, 4);
gtk_container_add(GTK_CONTAINER(toplevel), box);
|
|