Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] (PR#13419) mouse wheel can break GTK client
Home

[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]
To: chrisk@xxxxxxxxx, jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13419) mouse wheel can break GTK client
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Mon, 5 Sep 2005 04:34:08 -0700
Reply-to: bugs@xxxxxxxxxxx

<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);

[Prev in Thread] Current Thread [Next in Thread]