Hello community,

here is the log from the commit of package polkit-kde-agent-1 for 
openSUSE:12.1:Update:Test checked in at 2011-12-14 17:42:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/polkit-kde-agent-1 (Old)
 and      /work/SRC/openSUSE:12.1:Update:Test/.polkit-kde-agent-1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "polkit-kde-agent-1", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:12.1:Update:Test/polkit-kde-agent-1/polkit-kde-agent-1.changes
   2011-12-14 17:42:07.000000000 +0100
+++ 
/work/SRC/openSUSE:12.1:Update:Test/.polkit-kde-agent-1.new/polkit-kde-agent-1.changes
      2011-12-14 17:42:07.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 17 23:52:11 UTC 2011 - [email protected]
+
+- Remove unimplemented 'Remember authorization' UI (bnc#680586)
+- Always show the password request dialog in front
+- Autorestart on crash so Polkit continues to work
+
+-------------------------------------------------------------------

New:
----
  27cfdc75-0701f84a-34b6e243-polkit-git-fixes

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ polkit-kde-agent-1.spec ++++++
--- /var/tmp/diff_new_pack.47kUJb/_old  2011-12-14 17:42:07.000000000 +0100
+++ /var/tmp/diff_new_pack.47kUJb/_new  2011-12-14 17:42:07.000000000 +0100
@@ -26,6 +26,7 @@
 Group:          Development/Libraries/KDE
 # ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/
 Source0:        %{name}-%{version}.tar.bz2
+Patch0:         27cfdc75-0701f84a-34b6e243-polkit-git-fixes
 BuildRequires:  libkde4-devel
 BuildRequires:  libpolkit-qt-1-devel
 Requires:       polkit-kde-kcmmodules-1
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
   %cmake_kde4 -d build

++++++ 27cfdc75-0701f84a-34b6e243-polkit-git-fixes ++++++
diff --git a/AuthDialog.ui b/AuthDialog.ui
index 27480ff..3b9bbc6 100644
--- a/AuthDialog.ui
+++ b/AuthDialog.ui
@@ -114,39 +114,6 @@
      </property>
     </widget>
    </item>
-   <item row="4" column="1" colspan="3" >
-    <widget class="QCheckBox" name="cbRemember" >
-     <property name="text" >
-      <string>Remember authorization</string>
-     </property>
-     <property name="checked" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="2" colspan="2" >
-    <widget class="QCheckBox" name="cbSessionOnly" >
-     <property name="text" >
-      <string>For this session only</string>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="1" >
-    <spacer name="horizontalSpacer" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" stdset="0" >
-      <size>
-       <width>15</width>
-       <height>10</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item row="1" column="1" colspan="3" >
     <widget class="KComboBox" name="userCB" />
    </item>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8953a6..f79b88f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,6 @@ configure_file(polkit-kde-authentication-agent-1.desktop.in 
${CMAKE_BINARY_DIR}/
 
 install(TARGETS polkit-kde-authentication-agent-1 DESTINATION 
${LIBEXEC_INSTALL_DIR})
 
-install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop 
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
+install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop 
DESTINATION ${AUTOSTART_INSTALL_DIR})
 
 install(FILES policykit1-kde.notifyrc DESTINATION 
${DATA_INSTALL_DIR}/policykit1-kde)
diff --git a/main.cpp b/main.cpp
index e197cee..ab359b7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -21,6 +21,7 @@
 #include <KCmdLineArgs>
 #include <KAboutData>
 #include <KLocale>
+#include <KCrash>
 
 #include "policykitkde.h"
 
@@ -34,6 +35,8 @@ int main(int argc, char *argv[])
 
     KCmdLineArgs::init(argc, argv, &aboutData);
 
+    KCrash::setFlags(KCrash::AutoRestart);
+
     if (!PolicyKitKDE::start()) {
         qWarning("PolicyKitKDE is already running!\n");
         return 0;
diff --git a/policykit1-kde.notifyrc b/policykit1-kde.notifyrc
index 63b0336..502caf7 100644
--- a/policykit1-kde.notifyrc
+++ b/policykit1-kde.notifyrc
@@ -1,90 +1,152 @@
 [Global]
 IconName=dialog-password
 Comment=PolicyKit authentication dialog
+Comment[bs]=PolicyKit dijalog provjere identiteta
+Comment[ca]=Diàleg d'autenticació del PolicyKit
+Comment[ca@valencia]=Diàleg d'autenticació del PolicyKit
 Comment[cs]=Ověřovací dialog PolicyKitu
 Comment[da]=PolicyKit autentificeringsdialog
 Comment[de]=PolicyKit-Berechtigungsdialog
+Comment[el]=PolicyKit διάλογος πιστοποίησης
+Comment[en_GB]=PolicyKit authentication dialogue
 Comment[es]=Diálogo de autenticación de PolicyKit
 Comment[et]=PolicyKiti autentimisdialoog
 Comment[fr]=Boîte de dialogue d'authentification de PolicyKit
+Comment[hr]=PolicyKit-ov dijaloški prozor za autentifikaciju
 Comment[hu]=PolicyKit hitelesítési párbeszédablak
 Comment[it]=Finestra di autenticazione di PolicyKit
-Comment[km]=ប្រអប់​ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹមត្រូវ​ PolicyKit  ​
+Comment[km]=ប្រអប់​ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹមត្រូវ​ PolicyKit ​
+Comment[lt]=PolicyKit tapatumo nustatymo dialogas
 Comment[ms]=Dialog pengesahan PolicyKit
 Comment[nb]=PolicyKit autentiseringsdialog
 Comment[nds]=Regelsett-Identiteetprööv-Dialoog
 Comment[nl]=Authenticatiedialoog van PolicyKit
 Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਡਾਈਲਾਗ
+Comment[pl]=Okno dialogowe uwierzytelnienia PolicyKit
 Comment[pt]=Janela de autenticação do PolicyKit
 Comment[pt_BR]=Diálogo de autenticação do PolicyKit
+Comment[ro]=Dialog de autentificare PolicyKit
 Comment[ru]=Диалоговое окно аутентификации PolicyKit
+Comment[sl]=Pogovorno okno overitve PolicyKit
+Comment[sr]=Полисикитов дијалог за аутентификовање
+Comment[sr@ijekavian]=Полисикитов дијалог за аутентификовање
+Comment[sr@ijekavianlatin]=PolicyKitov dijalog za autentifikovanje
+Comment[sr@latin]=PolicyKitov dijalog za autentifikovanje
 Comment[sv]=Policykit behörighetsdialogruta
+Comment[tr]=PolicyKit kimlik doğrulama penceresi
 Comment[uk]=Діалогове вікно розпізнавання PolicyKit
 Comment[x-test]=xxPolicyKit authentication dialogxx
 Comment[zh_TW]=PolicyKit 認證對話框
 Name=policykit1-kde
+Name[bs]=policykit1-kde
+Name[ca]=policykit1-kde
+Name[ca@valencia]=policykit1-kde
 Name[cs]=policykit1-kde
 Name[da]=policykit1-kde
 Name[de]=policykit1-kde
+Name[el]=policykit1-kde
+Name[en_GB]=policykit1-kde
 Name[es]=policykit1-kde
 Name[et]=policykit1-kde
 Name[fr]=policykit1-kde
+Name[hr]=policykit1-kde
 Name[hu]=policykit1-kde
 Name[it]=policykit1-kde
 Name[km]=policykit1-kde
+Name[lt]=policykit1-kde
 Name[ms]=policykit1-kde
 Name[nb]=policykit1-kde
 Name[nds]=Regelsett1-KDE
 Name[nl]=policykit1-kde
 Name[pa]=policykit1-kde
+Name[pl]=policykit1-kde
 Name[pt]=policykit1-kde
 Name[pt_BR]=policykit1-kde
+Name[ro]=policykit1-kde
 Name[ru]=policykit1-kde
+Name[sl]=policykit1-kde
+Name[sr]=Полисикит1‑КДЕ
+Name[sr@ijekavian]=Полисикит1‑КДЕ
+Name[sr@ijekavianlatin]=PolicyKit1‑KDE
+Name[sr@latin]=PolicyKit1‑KDE
 Name[sv]=policykit1-kde
+Name[tr]=policykit1-kde
 Name[uk]=policykit1-kde
 Name[x-test]=xxpolicykit1-kdexx
 Name[zh_TW]=policykit1-kde
 
 [Event/authenticate]
 Name=authenticate
+Name[bs]=autentifikacija
+Name[ca]=autentica
+Name[ca@valencia]=autentica
 Name[cs]=ověřit
 Name[da]=autentificér
 Name[de]=Berechtigen
+Name[el]=πιστοποίηση
+Name[en_GB]=authenticate
 Name[es]=autenticarse
 Name[et]=Autentimine
-Name[fr]=authentifier
+Name[fr]=s'authentifier
+Name[hr]=autentifikacija
 Name[hu]=hitelesítés
 Name[it]=autenticazione
 Name[km]=ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹម​ត្រូវ​
+Name[lt]=nustatyti tapatybę
 Name[ms]=pengesahan
 Name[nb]=autentiser
 Name[nds]=Identiteet pröven
 Name[nl]=authenticatie
 Name[pa]=ਪਰਮਾਣਕਿਤਾ
+Name[pl]=uwierzytelnij
 Name[pt]=autenticar
 Name[pt_BR]=autenticar
+Name[ro]=autentificare
 Name[ru]=аутентификация
+Name[sr]=Аутентификовање
+Name[sr@ijekavian]=Аутентификовање
+Name[sr@ijekavianlatin]=Autentifikovanje
+Name[sr@latin]=Autentifikovanje
 Name[sv]=behörighetskontrollera
+Name[tr]=yetkilendir
+Name[ug]=سالاھىيەت دەلىللەش
 Name[uk]=розпізнавання
 Name[x-test]=xxauthenticatexx
 Name[zh_TW]=認證
 Comment=You are required to authenticate
+Comment[bs]=Trebate se autentificirati
+Comment[ca]=Se us demana que us autentiqueu
+Comment[ca@valencia]=Se vos demana que vos autentiqueu
 Comment[cs]=Je vyžadováno ověření totožnosti
 Comment[da]=Du skal autentificere
 Comment[de]=Sie benötigen eine Berechtigung
+Comment[el]=Απαιτείται να πιστοποιηθείτε
+Comment[en_GB]=You are required to authenticate
 Comment[es]=Es necesario que se autentique
 Comment[et]=Vajalik on autentimine
 Comment[fr]=Vous devez vous authentifier
+Comment[hr]=Potrebno je autentificirati se
 Comment[hu]=Hitelesítés szükséges
 Comment[it]=Devi effettuare l'autenticazione
+Comment[km]=អ្នក​ត្រូវ​បាន​ស្នើ​ ដើម្បី​ផ្ទៀង​ផ្ទាត់​ភាព​ត្រឹម​ត្រូវ​
+Comment[lt]=Reikia nustatyti jūsų tapatybę
 Comment[nb]=Du må autentisere
 Comment[nds]=Identiteetprööv deit noot
 Comment[nl]=Authenticeren is verplicht
 Comment[pa]=ਤੁਹਾਨੂੰ ਪਰਮਾਣਿਤ ਹੋਣ ਦੀ ਲੋੜ ਹੈ
+Comment[pl]=Musisz się uwierzytelnić
 Comment[pt]=É necessária a sua autenticação
 Comment[pt_BR]=É necessária a sua autenticação
+Comment[ro]=Vi se solicită autentificarea
 Comment[ru]=Необходимо выполнить аутентификацию
+Comment[sl]=Potrebna je overitev
+Comment[sr]=Треба да се аутентификујете
+Comment[sr@ijekavian]=Треба да се аутентификујете
+Comment[sr@ijekavianlatin]=Treba da se autentifikujete
+Comment[sr@latin]=Treba da se autentifikujete
 Comment[sv]=Det krävs att din behörighet kontrolleras
+Comment[tr]=Kimlik doğrulaması yapmanız gerekiyor
+Comment[ug]=سالاھىيىتىڭىزنى دەلىللەش زۆرۈر
 Comment[uk]=Вам слід пройти розпізнавання
 Comment[x-test]=xxYou are required to authenticatexx
 Comment[zh_TW]=您需要認證
diff --git a/policykitlistener.cpp b/policykitlistener.cpp
index 68185bc..bb95f1d 100644
--- a/policykitlistener.cpp
+++ b/policykitlistener.cpp
@@ -22,6 +22,7 @@
 #include "AuthDialog.h"
 
 #include <KDebug>
+#include <KWindowSystem>
 
 #include <PolkitQt1/Agent/Listener>
 #include <PolkitQt1/Agent/Session>
@@ -100,6 +101,7 @@ void PolicyKitListener::initiateAuthentication(const 
QString &actionId,
     kDebug() << "WinId of the dialog is " << m_dialog.data()->winId() << 
m_dialog.data()->effectiveWinId();
     m_dialog.data()->setOptions();
     m_dialog.data()->show();
+    KWindowSystem::forceActiveWindow(m_dialog.data()->winId());
     kDebug() << "WinId of the shown dialog is " << m_dialog.data()->winId() << 
m_dialog.data()->effectiveWinId();
 
     m_numTries = 0;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to