From e2801266343e034489f2fbf518eb66fc8f929bf6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 13 Feb 2008 03:12:56 +0000 Subject: [PATCH] (gtk) bring the prefs dialog's hotkeys up-to-date with r5015 --- gtk/my-valgrind.sh | 2 +- gtk/tr_prefs.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gtk/my-valgrind.sh b/gtk/my-valgrind.sh index 85ee308af..b10f0283b 100755 --- a/gtk/my-valgrind.sh +++ b/gtk/my-valgrind.sh @@ -2,4 +2,4 @@ export G_SLICE=always-malloc export G_DEBUG=gc-friendly export GLIBCXX_FORCE_NEW=1 -valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./transmission ~/Desktop/*torrent +valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./transmission diff --git a/gtk/tr_prefs.c b/gtk/tr_prefs.c index c541d2d1c..4dba20734 100644 --- a/gtk/tr_prefs.c +++ b/gtk/tr_prefs.c @@ -206,7 +206,7 @@ generalPage( GObject * core ) hig_workarea_add_section_title (t, &row, _("Windows")); - s = _("Show an icon in the system _tray"); + s = _("Show an _icon in the system tray"); w = new_check_button( s, PREF_KEY_SYSTRAY, core ); hig_workarea_add_wide_control( t, &row, w ); @@ -231,7 +231,7 @@ torrentPage( GObject * core ) hig_workarea_add_section_title( t, &row, _( "Location" ) ); w = new_path_chooser_button( PREF_KEY_DIR_DEFAULT, core ); - hig_workarea_add_row( t, &row, _( "Default download location:" ), w, NULL ); + hig_workarea_add_row( t, &row, _( "Default download _location:" ), w, NULL ); hig_workarea_add_section_divider( t, &row ); hig_workarea_add_section_title( t, &row, _( "Adding Torrents" ) ); @@ -275,9 +275,9 @@ peerPage( GObject * core ) hig_workarea_add_section_title( t, &row, _( "Limits" ) ); w = new_spin_button( PREF_KEY_MAX_PEERS_GLOBAL, core, 1, 3000, 5 ); - hig_workarea_add_row( t, &row, _( "Total max peers:" ), w, NULL ); + hig_workarea_add_row( t, &row, _( "_Total peer limit:" ), w, NULL ); w = new_spin_button( PREF_KEY_MAX_PEERS_PER_TORRENT, core, 1, 300, 5 ); - hig_workarea_add_row( t, &row, _( "Per-torrent max peers:" ), w, NULL ); + hig_workarea_add_row( t, &row, _( "_Per-torrent peer limit:" ), w, NULL ); hig_workarea_finish (t, &row); return t; @@ -295,14 +295,14 @@ bandwidthPage( GObject * core ) hig_workarea_add_section_title (t, &row, _("Speed Limits")); - s = _("_Limit upload speed (KiB/s)"); + s = _("Limit _upload speed (KiB/s)"); w = new_check_button( s, PREF_KEY_UL_LIMIT_ENABLED, core ); w2 = new_spin_button( PREF_KEY_UL_LIMIT, core, 0, INT_MAX, 5 ); gtk_widget_set_sensitive( GTK_WIDGET(w2), pref_flag_get( PREF_KEY_UL_LIMIT_ENABLED ) ); g_signal_connect( w, "toggled", G_CALLBACK(target_cb), w2 ); hig_workarea_add_row_w( t, &row, w, w2, NULL ); - s = _("Li_mit download speed (KiB/s)"); + s = _("Limit _download speed (KiB/s)"); w = new_check_button( s, PREF_KEY_DL_LIMIT_ENABLED, core ); w2 = new_spin_button( PREF_KEY_DL_LIMIT, core, 0, INT_MAX, 5 ); gtk_widget_set_sensitive( GTK_WIDGET(w2), pref_flag_get( PREF_KEY_DL_LIMIT_ENABLED ) ); @@ -329,7 +329,7 @@ networkPage( GObject * core, gpointer alive ) t = hig_workarea_create (); hig_workarea_add_section_title (t, &row, _("Network")); - s = _("_Automatically map port" ); + s = _("Automatically _map port" ); w = new_check_button( s, PREF_KEY_NAT, core ); hig_workarea_add_wide_control( t, &row, w ); gtk_tooltips_set_tip( GTK_TOOLTIPS( tips ), w, _( "NAT traversal uses either NAT-PMP or UPnP" ), NULL );