Changeset 5018


Ignore:
Timestamp:
Feb 13, 2008, 3:33:01 AM (14 years ago)
Author:
charles
Message:

(gtk) prefs dialog shuffling, suggested by Lacrocivious

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_prefs.c

    r5016 r5018  
    285285
    286286static GtkWidget*
    287 bandwidthPage( GObject * core )
     287networkPage( GObject * core, gpointer alive )
    288288{
    289289    int row = 0;
     
    291291    GtkWidget * t;
    292292    GtkWidget * w, * w2;
     293    GtkWidget * l;
     294    GtkWidget * h;
     295    GtkTooltips * tips = gtk_tooltips_new( );
    293296
    294297    t = hig_workarea_create ();
    295298
    296     hig_workarea_add_section_title (t, &row, _("Speed Limits"));
     299    hig_workarea_add_section_title (t, &row, _("Bandwidth"));
    297300
    298301        s = _("Limit _upload speed (KiB/s)");
     
    310313        hig_workarea_add_row_w( t, &row, w, w2, NULL );
    311314
    312     hig_workarea_finish (t, &row);
    313     return t;
    314 }
    315 
    316 static GtkWidget*
    317 networkPage( GObject * core, gpointer alive )
    318 {
    319     int row = 0;
    320     const char * s;
    321     GtkWidget * t;
    322     GtkWidget * w, * w2;
    323     GtkWidget * l;
    324     GtkWidget * h;
    325     GtkTooltips * tips;
    326 
    327     tips = gtk_tooltips_new( );
    328 
    329     t = hig_workarea_create ();
    330     hig_workarea_add_section_title (t, &row, _("Network"));
     315    hig_workarea_add_section_title (t, &row, _("Ports"));
    331316       
    332317        s = _("Automatically _map port" );
     
    380365    w = peerPage( core );
    381366    gtk_notebook_append_page( GTK_NOTEBOOK( n ), w, gtk_label_new (_("Peers")) );
    382     w = bandwidthPage( core );
    383     gtk_notebook_append_page( GTK_NOTEBOOK( n ), w, gtk_label_new (_("Bandwidth")) );
    384367    w = networkPage( core, alive );
    385368    gtk_notebook_append_page( GTK_NOTEBOOK( n ), w, gtk_label_new (_("Network")) );
Note: See TracChangeset for help on using the changeset viewer.