Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Turn-done button doesn't blink (PR#1961)
Home

[Freeciv-Dev] Turn-done button doesn't blink (PR#1961)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Turn-done button doesn't blink (PR#1961)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 22 Aug 2002 14:18:59 -0700 (PDT)

I'm using BrushedMetal as theme. The button blinks if this patch is
applied:

RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/gui_main.c,v
retrieving revision 1.113
diff -u -r1.113 gui_main.c
--- client/gui-gtk/gui_main.c   2002/08/13 23:18:48     1.113
+++ client/gui-gtk/gui_main.c   2002/08/22 21:15:45
@@ -570,9 +570,7 @@

   /* the turn done button must have its own style. otherwise when we flash
      the turn done button other widgets may flash too. */
-  if (!(style = gtk_rc_get_style(turn_done_button))) {
-    style = turn_done_button->style;
-  }
+  style = turn_done_button->style;
   gtk_widget_set_style(turn_done_button, gtk_style_copy(style));

   gtk_table_attach_defaults(GTK_TABLE(table), turn_done_button, 0, 10, 2, 3);

        Raimar



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