diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-08-27 17:15:31 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-08-27 17:15:31 +0000 |
commit | bd758ee4fc423b9ca152a01f897609daa656c938 (patch) | |
tree | 0378306b5b007f38f0c4f6c0d868215f70fd70d6 /src/main.c | |
parent | b8a1599a2ab9eafd496ba23179dda97d6e83e917 (diff) |
Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -80,7 +80,7 @@ int main(int argc, char *argv[]) int returnValue = EXIT_SUCCESS; UniqueApp *app = NULL; TrgMainWindow *window; - trg_client *client; + TrgClient *client; gboolean withUnique; g_type_init(); @@ -88,6 +88,7 @@ int main(int argc, char *argv[]) gdk_threads_init(); gtk_init(&argc, &argv); + g_set_application_name (PACKAGE_NAME); setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, TRGLOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); @@ -126,7 +127,7 @@ int main(int argc, char *argv[]) if (response != UNIQUE_RESPONSE_OK) returnValue = EXIT_FAILURE; } else { - client = trg_init_client(); + client = trg_client_new(); curl_global_init(CURL_GLOBAL_ALL); |