forked from pool/xfce4-terminal
My last one on this issue, I swear! - Update to version 1.1.2 * Update copyright year * Update tooltip when hovering over a hyperlink * build: Align CFLAGS with LDADD * prefs-dialog: Add missing strings to translate (#222) * dropdown: Default dropdown-toggle-focus to false * Add runtime guard for XfceSMClient * build: Restrict XfceSMClient to X11 * Determine cwd on FreeBSD in a native way instead of using linprocfs * window: Remove weak ref on prefs dialog in finalize() * build: Get rid of #ifdef G_ENABLE_DEBUG * Do not reconnect accels when closing last tab * build: Lower xfce4-dev-tools requirements to stable version * search-dialog: Use xfce_titled_dialog_set_default_response() * Translation Updates - Update gxo-282.patch - Add gxo-299.patch * backport fix for "paste unsafe text" dialog not popping up (gxo#apps/xfce4-terminal#299) OBS-URL: https://build.opensuse.org/request/show/1145281 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=66
13 lines
631 B
Diff
13 lines
631 B
Diff
diff -rup a/terminal/terminal-screen.c b/terminal/terminal-screen.c
|
|
--- a/terminal/terminal-screen.c 2024-01-29 14:34:45.000000000 +0100
|
|
+++ b/terminal/terminal-screen.c 2024-02-07 12:40:58.232372739 +0100
|
|
@@ -1892,7 +1892,7 @@ terminal_screen_paste_unsafe_text (Termi
|
|
{
|
|
GtkWidget *dialog;
|
|
|
|
- g_return_if_fail (original_clipboard != GDK_SELECTION_CLIPBOARD && original_clipboard != GDK_SELECTION_PRIMARY);
|
|
+ g_return_if_fail (original_clipboard == GDK_SELECTION_CLIPBOARD || original_clipboard == GDK_SELECTION_PRIMARY);
|
|
|
|
dialog = terminal_screen_unsafe_paste_dialog_new (screen, text);
|
|
gtk_widget_show_all (dialog);
|