Hello Mark, Jon,

I've made a minimalist patch that does what we planned:

- add support for a command-line switch: -D (also modifies the usage text)

if such switch is passed (for instance: licq -p qt-gui -- -D):

- the dock icon group box that contains the dock icon settings are greyed in
the options dialog, so the user cannot change such options, and the original
options are kept untouched when saved/loaded

- it prevents from initializing the dockicon-specific code (// set up appicon
and docking, code supplied by Mark Deneed)


I've tested w/o the switch and with it w/ current CVS, under GNU/Linux, and
could not find any noticeable side effect.

You will find a `diff -urN` patch in attachment, please apply from qt-gui/ dir
with the following command: `patch -p0 < 
licq-CVS-20050215-disable-dockicon.patch`,
then `make install` in qt-gui/src/.

Please test and report any issue!


Regards,

On Sat, 12 Feb 2005 19:33:31 -0500 Mark Richards <[EMAIL PROTECTED]>
wrote:

> Disabling the icon would work for me; though ideally there would be an
> option  for enabling the icon if it's not in the gui as well, but I can live
> with  just one or the other.  It's important that the disabling musn't write
> to the  configuration file.  
> 
> This isn't a critical issue, obviously, so I wouldn't want you to have to 
> create a big hack that makes the code impossible to maintain.  But I thought
> 
> I'd ask and see if it's possible.
> 
> Thanks,
> 
> Mark
> 
> On February 12, 2005 06:26 pm, wwp wrote:
> > Hello Jon, Mark,
> >
> > On Sun, 13 Feb 2005 08:12:00 +0900 Jon Keating <[EMAIL PROTECTED]>
> > wrote:
> > > On Sat, 12 Feb 2005 16:16:58 -0500, Mark Richards
> > >
> > > <[EMAIL PROTECTED]> wrote:
> > > > I compile both the kde and qt plugins, and would be happy if there
> > > > were some way to enable the icon JUST for KDE and disable it JUST for
> > > > QT as well.  But the best solution might be to provide a command-line
> > > > param that lets me turn it on or off.
> > > >
> > > > Does this feature exist?  If not, would it be difficult to add it to
> > > > Licq at some time?
> > >
> > > Sorry, this feature isn't available. It isn't that difficult to add,
> > > but I don't have a lot of time to work on Licq, so when I do I usually
> > > work on important bugs or features.  Perhaps someone else on the list
> > > can make a patch for you?
> >
> > IMO the smallest footprint patch would be to add a command-line switch to
> > DISable the dockicon feature.
> >
> > Let consider that the dockicon use is set in the user's licq config, the
> > user just has to call licq w/ this extra command-line argument when he
> > wants licq no to use the dockicon feature and ignore its dockicon settings
> > (optionally it can also grey out the dockicon settings).
> >
> > Would it match what you need Mark, and Jon, would you agree w/ that? If so
> > I could have a look and investigate a bit around the dev time such feature
> > would cost.
> >
> >
> > Regards,

-- 
wwp

Attachment: licq-CVS-20050215-disable-dockicon.patch
Description: Binary data

Reply via email to