Changeset 10980


Ignore:
Timestamp:
Jul 8, 2010, 9:24:26 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) ensure that the space allocated the up/down speed labels in the statusbar are wide enough to show all speeds without truncating the label

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-window.c

    r10937 r10980  
    732732        /* this is to determine the maximum width/height for the label */
    733733        PangoLayout * pango_layout =
    734             gtk_widget_create_pango_layout( p->ul_lb, _( "999.9 KiB/s" ) );
     734            gtk_widget_create_pango_layout( p->ul_lb, _( "999.99 KiB/s" ) );
    735735        pango_layout_get_pixel_size( pango_layout, &w, &h );
    736736        gtk_widget_set_size_request( p->ul_lb, w, h );
Note: See TracChangeset for help on using the changeset viewer.