Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9834) Connect dialog user-friendliness.
Home

[Freeciv-Dev] (PR#9834) Connect dialog user-friendliness.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9834) Connect dialog user-friendliness.
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 27 Aug 2004 03:16:12 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9834 >

With this patch
- "Preferences" button is renamed "Game options"
- "Number of players" label is changed to "Number of players (including AI)"


Reported by Kenn on forum
--
mateusz
Index: connectdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/connectdlg.c,v
retrieving revision 1.37
diff -u -r1.37 connectdlg.c
--- connectdlg.c        29 May 2004 13:41:57 -0000      1.37
+++ connectdlg.c        27 Aug 2004 10:15:30 -0000
@@ -761,8 +761,9 @@
                   G_CALLBACK(response_callback), NULL);
 
   /* create the action area buttons */
-  options_cmd = gtk_dialog_add_button(GTK_DIALOG(dialog),
-                                     GTK_STOCK_PROPERTIES, CMD_OPTIONS);
+  options_cmd = gtk_stockbutton_new(GTK_STOCK_PREFERENCES, _("Game _Options"));
+  gtk_dialog_add_action_widget(GTK_DIALOG(dialog), options_cmd, CMD_OPTIONS);
+                                     
   load_cmd = gtk_dialog_add_button(GTK_DIALOG(dialog),
                                   GTK_STOCK_OPEN, CMD_LOAD);
 
@@ -828,7 +829,7 @@
   gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
 
   label = g_object_new(GTK_TYPE_LABEL,
-                       "label", _("Number of players:"),
+                       "label", _("Number of players (Including AI):"),
                        "xalign", 0.0,
                        "yalign", 0.5,
                        NULL);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9834) Connect dialog user-friendliness., Mateusz Stefek <=