[gtk/default-handling: 9/18] mount operation: Handle default activation via action
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/default-handling: 9/18] mount operation: Handle default activation via action
- Date: Sun, 28 Apr 2019 19:32:34 +0000 (UTC)
commit 05a2cab83203b718e03cb7774095c78073571310
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 28 17:34:20 2019 +0000
mount operation: Handle default activation via action
Switch to the new way of activating default.
gtk/gtkmountoperation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 05f9f821d3..2e1c9b1e98 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -455,7 +455,7 @@ pw_dialog_cycle_focus (GtkWidget *widget,
if (next_widget)
gtk_widget_grab_focus (next_widget);
else if (pw_dialog_input_is_valid (operation))
- gtk_window_activate_default (GTK_WINDOW (priv->dialog));
+ gtk_widget_activate_action (widget, "gtk.activate-default", NULL);
}
static GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]