[gnome-terminal/gnome-3-38] search: Use timestamp when presenting the search dialogue
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-38] search: Use timestamp when presenting the search dialogue
- Date: Fri, 1 Jan 2021 22:58:23 +0000 (UTC)
commit 4db453ec9db9e28654887f161a4b9ca9f1aab4ef
Author: Christian Persch <chpe src gnome org>
Date: Thu Dec 31 20:53:56 2020 +0100
search: Use timestamp when presenting the search dialogue
https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/294
(cherry picked from commit adeb0a07760b48d63dc186cd2efd07b6a775901a)
src/terminal-window.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 83b1d304..8adb1347 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1150,7 +1150,8 @@ action_find_cb (GSimpleAction *action,
search_popover_notify_regex_cb (priv->search_popover, NULL, window);
search_popover_notify_wrap_around_cb (priv->search_popover, NULL, window);
- gtk_window_present (GTK_WINDOW (priv->search_popover));
+ gtk_window_present_with_time (GTK_WINDOW (priv->search_popover),
+ gtk_get_current_event_time ());
gtk_widget_grab_focus (GTK_WIDGET (priv->search_popover));
return;
}
@@ -1170,7 +1171,7 @@ action_find_cb (GSimpleAction *action,
g_signal_connect (priv->search_popover, "destroy", G_CALLBACK (gtk_widget_destroyed),
&priv->search_popover);
- gtk_window_present (GTK_WINDOW (priv->search_popover));
+ gtk_window_present_with_time (GTK_WINDOW (priv->search_popover), gtk_get_current_event_time ());
gtk_widget_grab_focus (GTK_WIDGET (priv->search_popover));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]