diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-10 22:55:11 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-10 22:55:11 +0000 |
commit | 1fd37804db60714c4fd8106bdcac0f1c64fc1853 (patch) | |
tree | 1f198a36958c3facf69e0f4bb291b6ef54d3751e /src | |
parent | 690067ae5d628cc4ed46826c70ca42a004a24e18 (diff) |
include gconf m4 macros, use std=c99, some minor build and localisation changes
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/trg-status-bar.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 46ddbf2..aef0496 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,7 +23,7 @@ schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = transmission-remote-gtk.schemas bin_PROGRAMS = transmission-remote-gtk -INCLUDES = --pedantic -Wall -I.. -O2 -DTRGLICENSE=\""$(trglicense)"\" -DTRGLOCALEDIR=\""$(trglocaledir)"\" $(jsonglib_CFLAGS) $(gthread_CFLAGS) $(gtk_CFLAGS) $(gconf_CFLAGS) $(gio_CFLAGS) $(unique_CFLAGS) $(notify_CFLAGS) +INCLUDES = --pedantic -Wall -I.. -O2 -DTRGLICENSE=\""$(trglicense)"\" -DTRGLOCALEDIR=\""$(trglocaledir)"\" $(jsonglib_CFLAGS) $(gthread_CFLAGS) $(gtk_CFLAGS) $(gconf_CFLAGS) $(gio_CFLAGS) $(unique_CFLAGS) $(notify_CFLAGS) -std=c99 transmission_remote_gtk_SOURCES = main.c \ requests.c \ @@ -82,6 +82,7 @@ install-data-local: install-icons update-icon-cache GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(schema_DATA) $(INSTALL_DATA) -D ../COPYING $(docdir)/LICENSE.GPLv2 $(INSTALL_DATA) ../AUTHORS $(docdir)/AUTHORS + $(INSTALL_DATA) ../README $(docdir)/README gtk_update_icon_cache = gtk-update-icon-cache -f -t diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c index 0ef0717..4cae5df 100644 --- a/src/trg-status-bar.c +++ b/src/trg-status-bar.c @@ -92,8 +92,9 @@ void trg_status_bar_update(TrgStatusBar * sb, statusBarUpdate = g_strdup_printf - (_ - ("%d torrents .. Down %s, Up %s .. %d seeding, %d downloading, %d paused"), + (ngettext("%d torrent .. Down %s, Up %s .. %d seeding, %d downloading, %d paused", + "%d torrents .. Down %s, Up %s .. %d seeding, %d downloading, %d paused", + stats->count), stats->count, downRateTotalString, upRateTotalString, stats->seeding, stats->down, stats->paused); gtk_statusbar_pop(GTK_STATUSBAR(sb), priv->countSpeedsCtx); |