On Thu, 05 Oct 2006 00:20:58 +0300, Erik Johansson <[EMAIL PROTECTED]> wrote:

On Wednesday 04 October 2006 22:55, Eugene Paskevich wrote:
Well, the patch in attachment, suggested to me by my bro, works for me.
But, neither me, nor he did any tests in other window managers, thus
could not be sure it won't break something else.

I tried this in wmaker, but no matter what I do, I still get two icons. And my assumption is that it should only be one.

Yes, it should be only one if dock icon is set up in licq.
Otherwise an icon should be shown. It is always user's consideration
whether to leave a second icon or to hide it.

If I drag the Licq icon to the dock (think that's what it's called; windows user would call it quick-start) and close Licq, I get one big green icq
flower. If I start Licq, the green flower is turned into a small red one
(since I'm offline) and I get another icon in the clip (again, this is what I think it's called; aka taskbar) which is the same as the one configured in
the options. Clicking on this one gives the Licq menu.

OK, let me explain a bit.

1) Clip is the panel with an icon of a clip in the head. This is a
   "per workspace quick-launch". Usually (and by default) this
   panel is situated on the left side of each workspace. Clipped
   icons on one WS are not seen on the other WS.

2) Dock is the panel with an icon of a GNU step in the head.
   This is a global "quick-launch". Usually it is on the right
   side. This panel remains the same regardless of the WS you
   are in.

Now, let me share my setup of licq in WindowMaker.
in ~/GNUstep/Defaults/WMWindowAttributes I have the following:

  MainWindow.licq = {
    NoAppIcon = Yes;
    AlwaysUserIcon = Yes;
    StartWorkspace = Sixth;
    Icon = icq.png;
    NoTitlebar = Yes;
  };
  licq.Wharf = {
    Icon = icq.png;
  };
  licq.Licq = {
    Icon = icq.png;
  };

Your "second icon" is suppressed if NoAppIcon = Yes; parameter is set
for MainWindow.licq. (This is the only interesting parameter in my
setup.)

OK, some way to make it work as it should is to start licq and
drag the wharf into the dock. This should be the only icon of
licq on the screen. (And it should remain on all WS's since it
is in the dock panel.)

If we take the unpatched licq and start it, then the dock icon is
shown in the applications panel (usually bottom-left corner).
After dragging and restarting the licq, wharf should be shown in
the dock.

Please feel free to revert for any clarification you might need,
since I believe I've explained it rather lame... :-)
It's night here, but I'm going to be available next 4-5 hours.

--
Eugene Paskevich             |   *==)-----------   |     Plug me into
[EMAIL PROTECTED]        |   -----------(==*   |      The Matrix

Reply via email to