[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gap-dev-discuss] Cynthiune : add decorations to the song inspector

From: Riccardo Mottola
Subject: Re: [Gap-dev-discuss] Cynthiune : add decorations to the song inspector window
Date: Fri, 04 May 2012 10:37:45 +0200
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:11.0) Gecko/20120409 Thunderbird/11.0


StatusWindowLevel appears to be used to make a window float above all others. Perhaps Unity interprets it that it has no decorations?

In any case I think this is "bad design". I see no reason the inspector should float above all other windows. Thus I accept your patch, but for a totally different reason: thanks for spotting that, I thought we had focus problems :)


On 05/03/12 22:04, Philippe Roussel wrote:

Without this patch the song inspector window has no decorations (ugly)
and cannot be moved (boring) under Unity. Maybe it's a bug in gui or
back, I don't know what NSStatusWindowLevel is supposed to do.

What do you guys think ?


diff -u -r1.4 SongInspectorController.m
--- SongInspectorController.m   30 Apr 2012 15:12:42 -0000      1.4
+++ SongInspectorController.m   3 May 2012 20:03:08 -0000
@@ -241,7 +241,6 @@
  //   [lookupButton centerViewHorizontally];

    [inspectorPanel setTitle: LOCALIZED (@"Song Inspector")];
-  [inspectorPanel setLevel: NSStatusWindowLevel];
    [inspectorPanel setDelegate: self];

reply via email to

[Prev in Thread] Current Thread [Next in Thread]