diff options
author | Alan F <ajf@eth0.org.uk> | 2014-02-03 22:32:00 +0000 |
---|---|---|
committer | Alan F <ajf@eth0.org.uk> | 2014-02-03 22:32:00 +0000 |
commit | 18b2f2c4ae135cc55bd6c38a10bc5957e47305b9 (patch) | |
tree | fbd17cca5b9a5b188d1230c63c507c0a3c2810fa | |
parent | c193bdca42988cc7b01617a301d404c0d5af1d9b (diff) |
issue 250 - use unparsed server version in status bar, so decimal mark isn't localised.
-rw-r--r-- | src/trg-status-bar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c index 20ab27a..ff5afe2 100644 --- a/src/trg-status-bar.c +++ b/src/trg-status-bar.c @@ -133,15 +133,14 @@ trg_status_bar_set_connected_label(TrgStatusBar * sb, JsonObject * session, TrgClient * client) { TrgPrefs *prefs = trg_client_get_prefs(client); - gdouble version = session_get_version(session); gchar *profileName = trg_prefs_get_string(prefs, TRG_PREFS_KEY_PROFILE_NAME, TRG_PREFS_CONNECTION); gchar *statusMsg = - g_strdup_printf(_("Connected: %s (Transmission %g)"), + g_strdup_printf(_("Connected: %s :: Transmission %s"), profileName, - version); + session_get_version_string(session)); trg_status_bar_push_connection_msg(sb, statusMsg); |