Author: cazfi
Date: Wed Feb 10 13:08:54 2016
New Revision: 31860

URL: http://svn.gna.org/viewcvs/freeciv?rev=31860&view=rev
Log:
Adjust gtk3 (and gtk3x) client Password label for New Password request

See patch #6927

Modified:
    branches/S2_5/client/gui-gtk-3.0/pages.c

Modified: branches/S2_5/client/gui-gtk-3.0/pages.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-3.0/pages.c?rev=31860&r1=31859&r2=31860&view=diff
==============================================================================
--- branches/S2_5/client/gui-gtk-3.0/pages.c    (original)
+++ branches/S2_5/client/gui-gtk-3.0/pages.c    Wed Feb 10 13:08:54 2016
@@ -835,7 +835,7 @@
 }
 
 /**************************************************************************
-  network connection state defines.
+  Network connection state defines.
 **************************************************************************/
 enum connection_state {
   LOGIN_TYPE, 
@@ -847,7 +847,7 @@
 static enum connection_state connection_status;
 
 /**************************************************************************
-  update statusbar label text.
+  Update statusbar label text.
 **************************************************************************/
 static gboolean update_network_statusbar(gpointer data)
 {
@@ -925,6 +925,7 @@
     gtk_widget_set_sensitive(network_port, TRUE);
     gtk_widget_set_sensitive(network_login, TRUE);
     gtk_widget_set_sensitive(network_password_label, FALSE);
+    gtk_label_set_markup_with_mnemonic(GTK_LABEL(network_password_label), 
_("Pass_word:"));
     gtk_widget_set_sensitive(network_password, FALSE);
     gtk_widget_set_sensitive(network_confirm_password_label, FALSE);
     gtk_widget_set_sensitive(network_confirm_password, FALSE);
@@ -938,6 +939,7 @@
     gtk_widget_set_sensitive(network_port, FALSE);
     gtk_widget_set_sensitive(network_login, FALSE);
     gtk_widget_set_sensitive(network_password_label, TRUE);
+    gtk_label_set_markup_with_mnemonic(GTK_LABEL(network_password_label), 
_("New Pass_word:"));
     gtk_widget_set_sensitive(network_password, TRUE);
     gtk_widget_set_sensitive(network_confirm_password_label, TRUE);
     gtk_widget_set_sensitive(network_confirm_password, TRUE);
@@ -953,6 +955,7 @@
     gtk_widget_set_sensitive(network_port, FALSE);
     gtk_widget_set_sensitive(network_login, FALSE);
     gtk_widget_set_sensitive(network_password_label, TRUE);
+    gtk_label_set_markup_with_mnemonic(GTK_LABEL(network_password_label), 
_("Pass_word:"));
     gtk_widget_set_sensitive(network_password, TRUE);
     gtk_widget_set_sensitive(network_confirm_password_label, FALSE);
     gtk_widget_set_sensitive(network_confirm_password, FALSE);
@@ -964,6 +967,7 @@
 
     gtk_widget_set_sensitive(network_login, FALSE);
     gtk_widget_set_sensitive(network_password_label, FALSE);
+    gtk_label_set_markup_with_mnemonic(GTK_LABEL(network_password_label), 
_("Pass_word:"));
     gtk_widget_set_sensitive(network_password, FALSE);
     gtk_widget_set_sensitive(network_confirm_password_label, FALSE);
     gtk_widget_set_sensitive(network_confirm_password, FALSE);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to