diff options
author | Vinicius Silva <viniciuspontocom@gmail.com> | 2013-11-25 22:27:10 -0200 |
---|---|---|
committer | Arx Cruz <arxcruz@gnome.org> | 2013-11-25 23:57:35 -0200 |
commit | cdef9c8fa16fd3ab9c4790c328285de15a0dfcd0 (patch) | |
tree | f5aaf77f28326ce800185327e45d6bcd0ebc1c26 /src | |
parent | Updated Spanish translation (diff) | |
download | zenity-cdef9c8fa16fd3ab9c4790c328285de15a0dfcd0.tar.gz zenity-cdef9c8fa16fd3ab9c4790c328285de15a0dfcd0.tar.bz2 zenity-cdef9c8fa16fd3ab9c4790c328285de15a0dfcd0.zip |
Fixing bug #712616
Diffstat (limited to 'src')
-rw-r--r-- | src/password.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/password.c b/src/password.c index 915ea3d9..84cca21e 100644 --- a/src/password.c +++ b/src/password.c @@ -61,7 +61,15 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data FALSE, FALSE, 12); - label = gtk_label_new(_("Type your password")); + + /* Checks if username has been passed as a parameter */ + gchar *title_text = N_("Type your password"); + + if(password_data->username) + title_text = N_("Type your username and password"); + + label = gtk_label_new(title_text); + gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, |