mirror of
https://github.com/transmission/transmission
synced 2025-01-03 13: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:
parent
b8ef3a9acd
commit
6755e4e24f
2 changed files with 3 additions and 3 deletions
|
@ -3,4 +3,4 @@ export G_SLICE=always-malloc
|
||||||
export G_DEBUG=gc-friendly
|
export G_DEBUG=gc-friendly
|
||||||
export GLIBCXX_FORCE_NEW=1
|
export GLIBCXX_FORCE_NEW=1
|
||||||
#valgrind --tool=cachegrind ./transmission-gtk -p -g /tmp/transmission-test 2>&1 | tee runlog
|
#valgrind --tool=cachegrind ./transmission-gtk -p -g /tmp/transmission-test 2>&1 | tee runlog
|
||||||
valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=48 --log-file=x-valgrind --show-reachable=no ./transmission-gtk -g /tmp/transmission-test -p 2>&1 | tee runlog
|
valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=48 --log-file=x-valgrind --show-reachable=no ./transmission-gtk -p 2>&1 | tee runlog
|
||||||
|
|
|
@ -586,8 +586,8 @@ gtr_paste_clipboard_url_into_entry( GtkWidget * e )
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
char * text[] = {
|
char * text[] = {
|
||||||
gtk_clipboard_wait_for_text( gtk_clipboard_get( GDK_SELECTION_PRIMARY ) ),
|
g_strstrip( 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_CLIPBOARD ) ) )
|
||||||
};
|
};
|
||||||
|
|
||||||
for( i=0; i<G_N_ELEMENTS(text); ++i ) {
|
for( i=0; i<G_N_ELEMENTS(text); ++i ) {
|
||||||
|
|
Loading…
Reference in a new issue