[epiphany] Fix bug with 'win.fullscren' action
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix bug with 'win.fullscren' action
- Date: Thu, 28 Jul 2016 12:31:18 +0000 (UTC)
commit 003ded30eb9b7c2cbf7d44ed90141c1d49fbc92e
Author: Iulian Radu <iulian radu67 gmail com>
Date: Fri Jul 1 22:59:34 2016 +0300
Fix bug with 'win.fullscren' action
src/ephy-window.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c9f5173..0c9a4b8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2780,11 +2780,10 @@ ephy_window_state_event (GtkWidget *widget,
}
action_group = gtk_widget_get_action_group (GTK_WIDGET (window), "win");
-
action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "fullscreen");
- g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
- g_action_change_state (action, g_variant_new_boolean (fullscreen));
- g_simple_action_set_enabled (G_SIMPLE_ACTION (action), TRUE);
+
+ g_simple_action_set_state (G_SIMPLE_ACTION (action),
+ g_variant_new_boolean (fullscreen));
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]