Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-07-11 15:47:09 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-07-11 15:47:09 (GMT)
commit80444e12678d3f2f46dc3a46c66436f60b2be239 (patch)
tree99887c07e331cd7c9a86e9c181f5aff2f3b244e1 /shell
parent12edcbdf1fbf4d45e9f111cd44df261623ab23e0 (diff)
These has a return value! Fix totally random focus issues we was seeing.
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (view_actions_focus_in_cb), (view_actions_focus_out_cb): These has a return value! Fix totally random focus issues we was seeing.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index c98fdc9..cc5e739 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -3096,19 +3096,23 @@ set_view_actions_sensitivity (EvWindow *window, gboolean sensitive)
}
}
-static void
+static gboolean
view_actions_focus_in_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *window)
{
update_chrome_flag (window, EV_CHROME_RAISE_TOOLBAR, NULL, FALSE);
set_action_sensitive (window, "ViewToolbar", TRUE);
set_view_actions_sensitivity (window, TRUE);
+
+ return FALSE;
}
-static void
+static gboolean
view_actions_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *window)
{
set_view_actions_sensitivity (window, FALSE);
+
+ return FALSE;
}
static void