Changeset 5007 for trunk/gtk/tr_prefs.c


Ignore:
Timestamp:
Feb 12, 2008, 4:56:44 PM (15 years ago)
Author:
charles
Message:

(gtk) HIG window layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_prefs.c

    r4945 r5007  
    300300
    301301    hig_workarea_add_section_title (t, &row, _("Speed Limits"));
    302     hig_workarea_add_section_spacer (t, row, 2);
    303302
    304303        s = _("_Limit upload speed (KiB/s)");
     
    307306        gtk_widget_set_sensitive( GTK_WIDGET(w2), pref_flag_get( PREF_KEY_UL_LIMIT_ENABLED ) );
    308307        g_signal_connect( w, "toggled", G_CALLBACK(target_cb), w2 );
    309         hig_workarea_add_double_control( t, &row, w, w2 );
     308        hig_workarea_add_row_w( t, &row, w, w2, NULL );
    310309
    311310        s = _("Li_mit download speed (KiB/s)");
     
    314313        gtk_widget_set_sensitive( GTK_WIDGET(w2), pref_flag_get( PREF_KEY_DL_LIMIT_ENABLED ) );
    315314        g_signal_connect( w, "toggled", G_CALLBACK(target_cb), w2 );
    316         hig_workarea_add_double_control( t, &row, w, w2 );
     315        hig_workarea_add_row_w( t, &row, w, w2, NULL );
    317316
    318317    hig_workarea_add_section_divider( t, &row );
    319318    hig_workarea_add_section_title (t, &row, _("Downloads"));
    320     hig_workarea_add_section_spacer (t, row, 3);
    321319
    322320        s = _("P_rompt for download directory");
     
    325323        gtk_widget_set_sensitive( GTK_WIDGET(w2), !pref_flag_get( PREF_KEY_DIR_ASK ) );
    326324        g_signal_connect( w, "toggled", G_CALLBACK(target_invert_cb), w2 );
    327         hig_workarea_add_double_control( t, &row, w, w2 );
     325        hig_workarea_add_row_w( t, &row, w, w2, NULL );
    328326
    329327        w = new_action_combo( PREF_KEY_ADDSTD, core );
     
    337335    hig_workarea_add_section_divider( t, &row );
    338336    hig_workarea_add_section_title( t, &row, _( "Peer Connections" ) );
    339     hig_workarea_add_section_spacer(t , row, 2 );
    340337 
    341338        w = new_spin_button( PREF_KEY_MAX_PEERS_GLOBAL, core, 1, 3000, 5 );
     
    346343    hig_workarea_add_section_divider( t, &row );
    347344    hig_workarea_add_section_title (t, &row, _("Network"));
    348     hig_workarea_add_section_spacer (t, row, 2);
    349345       
    350346        s = _("_Automatically map port" );
     
    370366    hig_workarea_add_section_divider( t, &row );
    371367    hig_workarea_add_section_title (t, &row, _("Options"));
    372     hig_workarea_add_section_spacer (t, row, 3);
    373368       
    374369        s = _("Use peer _exchange if possible");
Note: See TracChangeset for help on using the changeset viewer.