[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:59:00 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=f0903c2

The following commit has been merged in the master branch:
commit f0903c2bf3bdcd3db3198e02ad8148eff7db6e73
Author: Stefan Eggers <coloncolonone at gmail.com>
Date:   Sun Feb 17 18:23:47 2013 +0000

    Set focus on the password field
    
    Previously when the dialog opened the focus was on the OK button and
    one had to click on the KLineEdit widget to enter the password. With
    this change the foucs is on the KLineEdit widget instead and one can
    start to enter the password right away.
    
    In addition to this make sure the dialog doesn't steal focus. Other-
    wise it might interrupt text input in some other window when it opens.
    
    REVIEW: 108991
    BUG: 312338
---
 x-telepathy-password-prompt.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x-telepathy-password-prompt.cpp b/x-telepathy-password-prompt.cpp
index 7f2be81..896b176 100644
--- a/x-telepathy-password-prompt.cpp
+++ b/x-telepathy-password-prompt.cpp
@@ -30,11 +30,13 @@ XTelepathyPasswordPrompt::XTelepathyPasswordPrompt(const Tp::AccountPtr &account
 {
     ui->setupUi(mainWidget());
 
+    setAttribute(Qt::WA_ShowWithoutActivating);
     setWindowIcon(KIcon(QLatin1String("telepathy-kde")));
 
     ui->accountName->setText(account->displayName());
     ui->accountIcon->setPixmap(KIcon(QLatin1String("dialog-password")).pixmap(60, 60));
     ui->title->setPixmap(KIcon(account->iconName()).pixmap(22, 22));
+    ui->passwordLineEdit->setFocus();
 
     if (walletInterface->isOpen()) {
         ui->savePassword->setChecked(true);

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list