[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kioslave/http/kcookiejar
From:       Waldo Bastian <bastian () kde ! org>
Date:       2005-02-15 21:27:19
Message-ID: 20050215212719.625F31CFA9 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

While seli is away....
If we popup the dialog the user is actually supposed to see it. *gasp*


  M +9 -1      kcookiewin.cpp   1.58


--- kdelibs/kioslave/http/kcookiejar/kcookiewin.cpp  #1.57:1.58
@@ -83,5 +83,13 @@ KCookieWin::KCookieWin( QWidget *parent,
 # ifdef Q_WS_X11
     if( cookieList.first()->windowIds().count() > 0 )
+    {
         XSetTransientForHint( qt_xdisplay(), winId(), cookieList.first()->windowIds().first());
+    }
+    else
+    {
+        // No window associated... make sure the user notices our dialog.
+        KWin::setState( winId(), NET::KeepAbove );
+        kapp->updateUserTimestamp();
+    }
 # endif
 #endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic