tMetaserver update now uses GTK+2 stock "refresh" button. - vaccinewars - be a … | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 25f62a95e17764771e3fff97d08651247b6ba088 | |
parent 86699cdb297c2f193e9e5184094aa36047015d73 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 25 Mar 2002 16:58:49 +0000 | |
Metaserver update now uses GTK+2 stock "refresh" button. | |
Diffstat: | |
M src/gui_client/newgamedia.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/src/gui_client/newgamedia.c b/src/gui_client/newgamedia.c | |
t@@ -576,10 +576,9 @@ void NewGameDialog(Player *play) | |
gtk_box_pack_start(GTK_BOX(vbox2), scrollwin, TRUE, TRUE, 0); | |
hbbox = my_hbbox_new(); | |
- button = gtk_button_new_with_label(""); | |
/* Button to update metaserver information */ | |
- SetAccelerator(button, _("_Update"), button, "clicked", accel_group, TRUE); | |
+ button = gtk_button_new_from_stock(GTK_STOCK_REFRESH); | |
gtk_signal_connect(GTK_OBJECT(button), "clicked", | |
GTK_SIGNAL_FUNC(UpdateMetaServerList), NULL); | |
gtk_box_pack_start_defaults(GTK_BOX(hbbox), button); |