mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
(trunk gtk) right-align the upload/download speed columns in the Properties dialog's peers tab
This commit is contained in:
parent
b6fa7df0f6
commit
353e37c69e
1 changed files with 2 additions and 0 deletions
|
@ -1610,11 +1610,13 @@ setPeerViewColumns( GtkTreeView * peer_view )
|
|||
|
||||
case PEER_COL_DOWNLOAD_RATE_STRING:
|
||||
r = gtk_cell_renderer_text_new( );
|
||||
g_object_set( G_OBJECT( r ), "xalign", 1.0f, NULL );
|
||||
c = gtk_tree_view_column_new_with_attributes( t, r, "text", col, NULL );
|
||||
sort_col = PEER_COL_DOWNLOAD_RATE_DOUBLE;
|
||||
break;
|
||||
case PEER_COL_UPLOAD_RATE_STRING:
|
||||
r = gtk_cell_renderer_text_new( );
|
||||
g_object_set( G_OBJECT( r ), "xalign", 1.0f, NULL );
|
||||
c = gtk_tree_view_column_new_with_attributes( t, r, "text", col, NULL );
|
||||
sort_col = PEER_COL_UPLOAD_RATE_DOUBLE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue