Changeset 5024


Ignore:
Timestamp:
Feb 13, 2008, 3:23:16 PM (15 years ago)
Author:
charles
Message:

(gtk) minor hig tweaks to the preferences dialog -- spacing, capitalization

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/hig.c

    r5007 r5024  
    1919    GtkWidget * t = gtk_table_new( 1, 2, FALSE );
    2020    gtk_container_set_border_width( GTK_CONTAINER( t ), 12 );
    21     gtk_table_set_col_spacings( GTK_TABLE( t ), 12 );
     21    gtk_table_set_col_spacing( GTK_TABLE( t ), 0, 12 );
    2222    gtk_table_set_row_spacings( GTK_TABLE( t ), 6 );
    2323    return t;
     
    156156                     int         * row)
    157157{
    158     GtkWidget * w = gtk_alignment_new( 0.0f, 0.0f, 0.0f, 0.0f );
    159     gtk_widget_set_size_request( w, 0u, 6u );
    160     gtk_table_attach_defaults( GTK_TABLE( t ), w, 0, 4, *row, *row+1 );
    161     ++*row;
    162158    gtk_table_resize( GTK_TABLE( t ), *row, 2 );
    163159}
  • trunk/gtk/tr_prefs.c

    r5018 r5024  
    237237    hig_workarea_add_section_title( t, &row, _( "Adding Torrents" ) );
    238238
    239         s = _( "Show _options window" );
     239        s = _( "Show _options dialog" );
    240240        w = new_check_button( s, PREF_KEY_OPTIONS_PROMPT, core );
    241241        hig_workarea_add_wide_control( t, &row, w );
     
    276276 
    277277        w = new_spin_button( PREF_KEY_MAX_PEERS_GLOBAL, core, 1, 3000, 5 );
    278         hig_workarea_add_row( t, &row, _( "_Total peer limit:" ), w, NULL );
     278        hig_workarea_add_row( t, &row, _( "Maximum peers _overall:" ), w, NULL );
    279279        w = new_spin_button( PREF_KEY_MAX_PEERS_PER_TORRENT, core, 1, 300, 5 );
    280         hig_workarea_add_row( t, &row, _( "_Per-torrent peer limit:" ), w, NULL );
     280        hig_workarea_add_row( t, &row, _( "Maximum peers per _torrent:" ), w, NULL );
    281281
    282282    hig_workarea_finish (t, &row);
     
    299299    hig_workarea_add_section_title (t, &row, _("Bandwidth"));
    300300
    301         s = _("Limit _upload speed (KiB/s)");
     301        s = _("Limit _upload speed (KiB/s):");
    302302        w = new_check_button( s, PREF_KEY_UL_LIMIT_ENABLED, core );
    303303        w2 = new_spin_button( PREF_KEY_UL_LIMIT, core, 0, INT_MAX, 5 );
     
    306306        hig_workarea_add_row_w( t, &row, w, w2, NULL );
    307307
    308         s = _("Limit _download speed (KiB/s)");
     308        s = _("Limit _download speed (KiB/s):");
    309309        w = new_check_button( s, PREF_KEY_DL_LIMIT_ENABLED, core );
    310310        w2 = new_spin_button( PREF_KEY_DL_LIMIT, core, 0, INT_MAX, 5 );
Note: See TracChangeset for help on using the changeset viewer.