Commit Graph

124 Commits

Author SHA1 Message Date
Chris Michael e8a015db81 add function to set the grid window so we can do smart callbacks for
selection

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 13:31:41 -05:00
Chris Michael 573bf99ef4 disable creating test channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:49:06 -05:00
Chris Michael 9e4c78eb47 add hooks to save missing network config values
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:38:43 -05:00
Chris Michael 82ac30d8cb add support for setting window opacity
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:28:24 -05:00
Chris Michael 3101a2f410 add support for setting window opacity in General options
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:28:07 -05:00
Chris Michael 15c47412f8 add support for setting window opacity in config
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:27:55 -05:00
Chris Michael 4ba8df80e8 hook callbacks to save config when nickname or username is changed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:35:48 -05:00
Chris Michael 86d7b94706 Use WEIGHT_SET and ALIGN_SET macros
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:21:12 -05:00
Chris Michael 99aee29f57 add macro for ALIGN_SET
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:21:03 -05:00
Chris Michael 414c8ec675 express: Trap for channel size being to small so we can enforce a
minimum window size that makes sense.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 10:47:57 -05:00
Chris Michael 2dbbdaf0a3 express: Create dummy tab for testing
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 10:41:28 -05:00
Chris Michael b2c045a1d8 Start processing network callbacks (this is prep for showing txt).
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:32:08 +00:00
Chris Michael b4099082d9 Add function declarations for server_motd and other messages
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:46 +00:00
Chris Michael a8c76761e6 Add begnings of channel_text_append
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:26 +00:00
Chris Michael 8df5efe032 Add function declaration for appending text to channels.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:01 +00:00
Chris Michael 6080340b9b Add _window_channel_find function.
Centralize window_channel_destroy code to use window_channel_find.
Add callbacks for server & channel messages.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:30:01 +00:00
Chris Michael 238e87cbe5 Add function declaration for finding a channel by name
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:29:46 +00:00
Chris Michael a00740b30e Actually create/destroy Channel tabs when a server gets connected/disconnected.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:40:03 +00:00
Chris Michael 8d846d373e Make _selector_destroy a local function (does not need to be exposed).
Centralize window channel creation.
Add function to show options toolbar.
Add functions to create/destroy channels based on network.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:38:44 +00:00
Chris Michael 6c5b7deac4 Add function declarations for creating/destroying channels based on
network.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:38:17 +00:00
Chris Michael 45eae315a1 Create an idler to handle connecting to networks after the window is
shown.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:05:08 +00:00
Chris Michael 01d3350980 Add callbacks to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:49 +00:00
Chris Michael edbddea696 Add callbacks file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:02 +00:00
Chris Michael 7ba0d6d295 Remove dead commented code
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 11:38:10 +00:00
Chris Michael b9a63f145d Big giant "rework" commit to redo the UI code (faster, easier to
manage).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 11:11:32 +00:00
Chris Michael 83aec7d775 Fix selection of standard fonts on load
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-16 17:24:21 +00:00
Chris Michael 00791b0793 Add an idler after the window is shown.
Connect to configured networks when idle.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:46:26 +00:00
Chris Michael 83a0f0fa19 Add server name to options frame.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:46:08 +00:00
Chris Michael b80b35ff0b Add express gui log domain color
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:45:44 +00:00
Chris Michael 3603f243f7 Only accept numbers on the port entry for server options
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 08:51:12 +00:00
Chris Michael 3b04a53b7a Add some comments
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:31:10 +00:00
Chris Michael ce5d4f4769 Create a blank, Empty Channel if nothing has been configured yet.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:28:28 +00:00
Chris Michael 5ffeea7a4e Create channels based on actual configuration now :)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:24:48 +00:00
Chris Michael f51cf8f4b0 Hook frame delete so we don't leak allocated Font structures.
When we load Fonts, we allocate a Font structure and store it into a
list, so when we delete the Font options, we should be freeing that
memory.

NB: Someone May want to port this to Terminology.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 15:57:57 +00:00
Chris Michael 48523fab64 No need for 'data' in the server add callback.
'base' is unused in options_servers function.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:48 +00:00
Chris Michael 54af688de4 Add channel options hook
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:21 +00:00
Chris Michael 63cb46bf00 Add channel options to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:07 +00:00
Chris Michael 0c5ab80753 Add channel options file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:50:57 +00:00
Chris Michael 65cb20bd6b Add function declaration for channels option
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:50:41 +00:00
Chris Michael f466aa1838 Use the "changed,user" signal for text entries
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:38:40 +00:00
Chris Michael 86b3ff4735 Add hook for server option.
Adjust hide timer

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:38:14 +00:00
Chris Michael e189efd361 Add server options to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:56 +00:00
Chris Michael b0715803b0 Add servers option file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:46 +00:00
Chris Michael dd018af0aa Add function declaration for servers option
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:30 +00:00
Chris Michael 749772ad9e Reorganize some code
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 13:17:17 +00:00
Chris Michael 6e726d2e8b Remove unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:55:19 +00:00
Chris Michael 67d9315dc4 Make network option table not expand height.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:55:04 +00:00
Chris Michael 558919dc93 When adding/editing a network, just toggle the "network options toolbar"
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:46:39 +00:00
Chris Michael 5db484d3be Toggle "network options toolbar" off when we dismiss main options toolbar.
Code cleanup (remove extra static variable).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:45:32 +00:00
Chris Michael b7dd837fb7 Add tools file to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:45:03 +00:00