Ticket #384 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

new special window rule to group by server connection

Reported by: stephen.butler@gmail.com Assigned to: timothy
Priority: normal Component: Colloquy (GUI)
Version: Built Source Severity: normal
Keywords: Cc:

Description

The (hopefully) attached code allows users to group windows together by their server connection. I believe the 2D16 release had this ability, but it's not present in the (otherwise cool) new Interface preference.

The code creates a new special window rule called "Server Window" patterned off "Focused Window" and "New Window". When a chat view matches this rule it is placed in the window controller for that server connection.

Window controllers are assigned a server connection through their identifier strings. The format is "Server:%08X" where the last part is simply the address of the allocated controller class. This allows people to move views in and out of the window controller while still having consistent behavior.

Not a whole lot to it, actually!

Attachments

server-window-rule.patch (3.2 kB) - added by stephen.butler@gmail.com on 11/11/05 21:33:53.
resources.tar.gz (73.6 kB) - added by stephen.butler@gmail.com on 11/11/05 21:35:01.

Change History

11/11/05 21:33:53 changed by stephen.butler@gmail.com

  • attachment server-window-rule.patch added.

11/11/05 21:35:01 changed by stephen.butler@gmail.com

  • attachment resources.tar.gz added.

12/18/05 13:38:43 changed by timothy

  • status changed from new to closed.
  • resolution set to fixed.

Landed this in [3056] with one minor modification. I assign the window identifier as the server network address, this will let Colloquy remember window position/size since the identifier is used for that.