scrolling for pluging prefs

John Bailey rekkanoryo at rekkanoryo.org
Mon May 28 12:00:32 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

deckrider wrote:
> Hi,
> 
> I've had a request to allow enabling the Bot Sentry plugin only for
> certain accounts.
> 
> So I have a boolean preference for each of the user's accounts.
> However, if there are lots of accounts, this can make this plugin's
> preferences taller than the user's screen.
> 
> Is there some option that I'm missing to make a scrollbar appear, or
> some other mechanism to deal with this situation without becoming a
> gtk plugin?

You could always use the purple_account_option family to add a boolean option to
each account instead of keeping it in your plugin's pref dialog.  The irchelper
plugin is a good example of this.

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGWvygBWJH/emdNtsRAjPqAJoDnYQykkRcCXX4/g4uveStS3oDwgCfaob0
2xJY8WfSNGLx4WsCiAsj3Qc=
=9hbz
-----END PGP SIGNATURE-----




More information about the Devel mailing list