Author: cazfi Date: Wed Feb 10 13:08:48 2016 New Revision: 31859 URL: http://svn.gna.org/viewcvs/freeciv?rev=31859&view=rev Log: Adjust gtk3 (and gtk3x) client Password label for New Password request
See patch #6927 Modified: branches/S2_6/client/gui-gtk-3.0/pages.c Modified: branches/S2_6/client/gui-gtk-3.0/pages.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.0/pages.c?rev=31859&r1=31858&r2=31859&view=diff ============================================================================== --- branches/S2_6/client/gui-gtk-3.0/pages.c (original) +++ branches/S2_6/client/gui-gtk-3.0/pages.c Wed Feb 10 13:08:48 2016 @@ -825,7 +825,7 @@ } /************************************************************************** - network connection state defines. + Network connection state defines. **************************************************************************/ enum connection_state { LOGIN_TYPE, @@ -837,7 +837,7 @@ static enum connection_state connection_status; /************************************************************************** - update statusbar label text. + Update statusbar label text. **************************************************************************/ static gboolean update_network_statusbar(gpointer data) { @@ -915,6 +915,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); @@ -928,6 +929,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); @@ -943,6 +945,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); @@ -954,6 +957,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