Careful with that WINDOW_TYPE_HINT_DESKTOP, Eugene. (#582998)
On 04/19/2010 03:23 PM, Ales Kozumplik wrote:
+ elif self.anaconda.id.x_already_set: + # running on a pre-existing X, probably through X11 forwarding + pass else: + # normal graphical install or a VNC session self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT _DESKTOP) if flags.debug: I am also going to make a patch for rawhide in this spirit. Note that there's no x_already_set there so I am going to introduce a new flag about preexisting X. Not needed for this in F13, which doesn't have metacity (and neither the DESKTOP hint). Ales _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list Mon Apr 19 16:30:01 2010 Return-path: <kubuntu-devel-bounces@lists.ubuntu.com> Envelope-to: tom@linux-archive.org Delivery-date: Mon, 19 Apr 2010 16:05:50 +0300 Received: from chlorine.canonical.com ([91.189.94.204]:39772) by s2.java-tips.org with esmtp (Exim 4.69) (envelope-from <kubuntu-devel-bounces@lists.ubuntu.com>) id 1O3qfe-00060p-KB for tom@linux-archive.org; Mon, 19 Apr 2010 16:05:50 +0300 Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from <kubuntu-devel-bounces@lists.ubuntu.com>) id 1O3rBX-0006Na-Qk; Mon, 19 Apr 2010 14:38:47 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from <aurelien.gateau@canonical.com>) id 1O3rBV-0006NR-Sm for kubuntu-devel@lists.ubuntu.com; Mon, 19 Apr 2010 14:38:45 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1O3rBV-00053V-Qk for <kubuntu-devel@lists.ubuntu.com>; Mon, 19 Apr 2010 14:38:45 +0100 Received: from [78.115.239.27] (helo=[192.168.1.47]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <aurelien.gateau@canonical.com>) id 1O3rBV-00033Z-Hi for kubuntu-devel@lists.ubuntu.com; Mon, 19 Apr 2010 14:38:45 +0100 Message-ID: <4BCC5CDF.4020500@canonical.com> Date: Mon, 19 Apr 2010 15:38:39 +0200 From: =?ISO-8859-1?Q?Aur=E9lien_G=E2teau?= <aurelien.gateau@canonical.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100404 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kubuntu Developer Discussion <kubuntu-devel@lists.ubuntu.com> Subject: Re: kwriteconfig References: <y2g7a7d3bb81004070405jd5119a1av92aeff82aa3802d7@m ail.gmail.com> <4BC772C6.8090403@gmail.com> <201004160107.07302.sebas@kde.org> <4BCB670B.5090300@gmail.com> In-Reply-To: <4BCB670B.5090300@gmail.com> X-BeenThere: kubuntu-devel@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Kubuntu Developer Discussion <kubuntu-devel@lists.ubuntu.com> List-Id: Kubuntu Developer Discussion <kubuntu-devel.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel>, <mailto:kubuntu-devel-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kubuntu-devel> List-Post: <mailto:kubuntu-devel@lists.ubuntu.com> List-Help: <mailto:kubuntu-devel-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel>, <mailto:kubuntu-devel-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: kubuntu-devel-bounces@lists.ubuntu.com Errors-To: kubuntu-devel-bounces@lists.ubuntu.com (Please do not start a new thread by replying to a random unrelated message, this breaks threaded presentation in mail clients) On 18/04/2010 22:09, Cedric Brandenbourger wrote: Hi = I'm having an issue with kwriteconfig = When launching = kwriteconfig --file kdeglobals --group Locale --key CurrencyCode[$i] EUR = I'm getting as result = [Locale] CurrencyCodex5bx5d=3DEUR I am actually surprised it works on other machines. As far as I know kwriteconfig cannot set the [foo] part of a KConfig key. You may have to resort to hacks like that: kwriteconfig --file kdeglobals --group Locale --key CurrencyCode EUR sed -i 's/^CurrencyCode=3D/CurrencyCode[$i]=3D/' path/to/kdeglobals Aur=E9lien -- = kubuntu-devel mailing list kubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinf= o/kubuntu-devel |
Careful with that WINDOW_TYPE_HINT_DESKTOP, Eugene. (#582998)
Ack.
On 04/19/2010 03:23 PM, Ales Kozumplik wrote: We shouldn't set WINDOW_TYPE_HINT_DESKTOP for the toplevel window when X11 display is forwarded, otherwise graphical Anaconda will appear below all other windows on the desktop and without any decorations. --- gui.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/gui.py b/gui.py index 9ed1416..846f145 100755 --- a/gui.py +++ b/gui.py @@ -1434,7 +1434,11 @@ class InstallControlWindow: # with a dpi of up to 147 if flags.livecdInstall: i.hide() + elif self.anaconda.id.x_already_set: + # running on a pre-existing X, probably through X11 forwarding + pass else: + # normal graphical install or a VNC session self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT _DESKTOP) if flags.debug: _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 03:11 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.