mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk, gtk) #5089 'Open-by-URL doesn't automatically paste URLs/magnet links from the clipboard if they contain leading whitespace' -- fixed.
This commit is contained in:
@@ -586,8 +586,8 @@ gtr_paste_clipboard_url_into_entry( GtkWidget * e )
|
||||
size_t i;
|
||||
|
||||
char * text[] = {
|
||||
gtk_clipboard_wait_for_text( gtk_clipboard_get( GDK_SELECTION_PRIMARY ) ),
|
||||
gtk_clipboard_wait_for_text( gtk_clipboard_get( GDK_SELECTION_CLIPBOARD ) )
|
||||
g_strstrip( gtk_clipboard_wait_for_text( gtk_clipboard_get( GDK_SELECTION_PRIMARY ) ) ),
|
||||
g_strstrip( gtk_clipboard_wait_for_text( gtk_clipboard_get( GDK_SELECTION_CLIPBOARD ) ) )
|
||||
};
|
||||
|
||||
for( i=0; i<G_N_ELEMENTS(text); ++i ) {
|
||||
|
||||
Reference in New Issue
Block a user