Ignore:
Timestamp:
Jun 25, 2010, 8:15:07 PM (12 years ago)
Author:
charles
Message:

(2.0x gtk) #3344 "statusbar needs better grouping of speeds and their icons" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/gtk/tr-window.c

    r10536 r10857  
    644644
    645645    /* status */
    646     h = status = p->status = gtk_hbox_new( FALSE, GUI_PAD );
     646    h = status = p->status = gtk_hbox_new( FALSE, GUI_PAD_BIG );
    647647    gtk_container_set_border_width( GTK_CONTAINER( h ), GUI_PAD_SMALL );
    648648
     
    663663
    664664        w = p->gutter_lb = gtk_label_new( "N Torrents" );
    665         gtk_box_pack_start( GTK_BOX( h ), w, 1, 1, GUI_PAD_BIG );
    666 
    667         hbox = gtk_hbox_new( FALSE, GUI_PAD_SMALL );
     665        gtk_box_pack_start( GTK_BOX( h ), w, 1, 1, GUI_PAD );
     666
     667        hbox = gtk_hbox_new( FALSE, GUI_PAD );
    668668            w = gtk_alignment_new( 0.0f, 0.0f, 0.0f, 0.0f );
    669669            gtk_widget_set_size_request( w, GUI_PAD, 0u );
    670670            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
     671            w = p->ul_lb = gtk_label_new( NULL );
     672            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    671673            w = gtk_image_new_from_stock( GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU );
    672674            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    673             w = p->ul_lb = gtk_label_new( NULL );
    674             gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    675675        gtk_box_pack_end( GTK_BOX( h ), hbox, FALSE, FALSE, 0 );
    676676
    677         hbox = gtk_hbox_new( FALSE, GUI_PAD_SMALL );
     677        hbox = gtk_hbox_new( FALSE, GUI_PAD );
    678678            w = gtk_alignment_new( 0.0f, 0.0f, 0.0f, 0.0f );
    679679            gtk_widget_set_size_request( w, GUI_PAD, 0u );
    680680            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
     681            w = p->dl_lb = gtk_label_new( NULL );
     682            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    681683            w = gtk_image_new_from_stock( GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU );
    682684            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    683             w = p->dl_lb = gtk_label_new( NULL );
    684             gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    685685        gtk_box_pack_end( GTK_BOX( h ), hbox, FALSE, FALSE, 0 );
    686686
    687         hbox = gtk_hbox_new( FALSE, GUI_PAD_SMALL );
    688             w = gtk_alignment_new( 0.0f, 0.0f, 0.0f, 0.0f );
    689             gtk_widget_set_size_request( w, GUI_PAD, 0u );
    690             gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
     687        hbox = gtk_hbox_new( FALSE, GUI_PAD );
    691688            w = gtk_button_new( );
    692689            gtr_widget_set_tooltip_text( w, _( "Statistics" ) );
     
    696693            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    697694            w = p->stats_lb = gtk_label_new( NULL );
    698             gtk_box_pack_end( GTK_BOX( h ), w, FALSE, FALSE, 0 );
     695            gtk_box_pack_end( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    699696        gtk_box_pack_end( GTK_BOX( h ), hbox, FALSE, FALSE, 0 );
    700697
Note: See TracChangeset for help on using the changeset viewer.