mirror of
https://github.com/transmission/transmission
synced 2025-02-03 13:03:50 +00:00
(gtk) don't stretch the turtle icon in the prefs dialog.
This commit is contained in:
parent
c8e7f0d7d2
commit
391e1245ee
2 changed files with 2 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ bandwidthPage( GObject * core )
|
|||
|
||||
hig_workarea_add_section_divider( t, &row );
|
||||
h = gtk_hbox_new( FALSE, GUI_PAD );
|
||||
w = gtk_image_new_from_stock( "alt-speed-off", GTK_ICON_SIZE_BUTTON );
|
||||
w = gtk_image_new_from_stock( "alt-speed-off", -1 );
|
||||
gtk_box_pack_start( GTK_BOX( h ), w, FALSE, FALSE, 0 );
|
||||
g_snprintf( buf, sizeof( buf ), "<b>%s</b>", _( "Speed Limit Mode" ) );
|
||||
w = gtk_label_new( buf );
|
||||
|
|
|
@ -294,6 +294,7 @@ syncAltSpeedButton( PrivateData * p )
|
|||
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( w ), b );
|
||||
|
||||
gtk_button_set_image( GTK_BUTTON( w ), p->alt_speed_image[b?1:0] );
|
||||
gtk_button_set_alignment( GTK_BUTTON( w ), 0.5, 0.5 );
|
||||
|
||||
tip = b ? _( "Click to disable Speed Limit Mode" )
|
||||
: _( "Click to enable Speed Limit Mode" );
|
||||
|
|
Loading…
Reference in a new issue