Commit Graph

12 Commits

Author SHA1 Message Date
a64c842e19 Messageboxes fixes and copy server's creds to clipboard.
Fixed all messageboxes that can use struct object as self name
(e.g. m for messageboxes in mainwindow). Should help to avoid some
errors.

Added possibility to copy server's credentials into clipboard
for ease of sharing.
2016-10-12 19:23:10 +05:00
68bd842c1f First variant of clipboard watching. 2016-10-11 13:14:08 +05:00
35097c3805 Changed order for applying OS-specific workarounds. 2016-10-11 00:14:37 +05:00
56c0d2787a Mac GTK+2 theme initialization fix. 2016-10-10 21:19:04 +05:00
1a15c6cd4d Added Windows-related initialization things. 2016-10-10 20:11:41 +05:00
2784586f8d More Mac integration works - now it is able to load and use GTK+
themes. Configuration interface on ToDo.

This also indicates that URTrator is now able to perform basic
window theming.
2016-10-10 19:16:51 +05:00
e2a9298f85 One more huge refactoring and quick connect widget working.
Refactored the way URTrator working with profiles - now everything
that could be taken from internal cache will be taken from cache.
The very same as with servers.

Moved all callbacks from callbacks to events, so we achieve full
asynchronity here and can launch anything in goroutines :).

Moved MainWindow-related game launching functions into another
file (mainwindow_launch.go).

Made quick connect widget working. Note, that even if you're on
Favorites and trying to connect to one of favorited servers but
with quick connect - you still have to choose right profile
near Launch button!

Maybe something else I forget.
2016-10-08 19:57:33 +05:00
cc20dca39c Favorites dialog server updates.
Favorites dialog now able to fetch server's information and
update list of available game profiles.
2016-10-08 00:29:46 +05:00
e46d203a3c Many fixes and debug prints removed.
Removed debug prints, as we don't really need them now.

Fixed database updating from cache, until now only inserts was working
fine, updates failing. All because of forgotten comma :(.

Reworked handling of icons in servers lists, now they didn't
recreated, but reused from created on application start. Can also
save us much memory for long runs.

Moved gamemode detector to mainwindow_helpers, where it should be.
2016-10-07 22:21:19 +05:00
1fc5b925f6 Update selected server button - fixed label. 2016-10-07 21:34:15 +05:00
50dc62605b Fixed lists columns addition on first start. 2016-10-07 21:31:42 +05:00
13e091d52b Refactored mainwindow source, columns size and pos remembering.
Refactored MainWindow source, splitted initialization and
helper functions into separate files.

Now lists headers sizes and positions are remembered and correctly
restored on launch.
2016-10-07 21:14:48 +05:00