mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(gtk) #742: gtk dialog buttons need to support `alternative button order' for KDE users
This commit is contained in:
@@ -148,6 +148,12 @@ makeaddwind( GtkWindow * parent,
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
|
||||
NULL );
|
||||
gtk_dialog_set_default_response( GTK_DIALOG( d ),
|
||||
GTK_RESPONSE_ACCEPT );
|
||||
gtk_dialog_set_alternative_button_order( GTK_DIALOG( d ),
|
||||
GTK_RESPONSE_ACCEPT,
|
||||
GTK_RESPONSE_CANCEL,
|
||||
-1 );
|
||||
|
||||
if( tr_ctorGetDestination( ctor, TR_FORCE, &str ) )
|
||||
g_assert_not_reached( );
|
||||
|
||||
Reference in New Issue
Block a user