[totem] Don't show/hide our resize grip ourselves
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Don't show/hide our resize grip ourselves
- Date: Mon, 18 Oct 2010 13:12:23 +0000 (UTC)
commit ccc9c78873d06ed61ca705188b716acba5146846
Author: Bastien Nocera <hadess hadess net>
Date: Mon Oct 18 14:11:26 2010 +0100
Don't show/hide our resize grip ourselves
The code in GTK+ to show resize grips in every window should be
taking care of this for us.
src/totem-object.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index e79e066..7af92b5 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1446,8 +1446,6 @@ window_state_event_cb (GtkWidget *window, GdkEventWindowState *event,
{
if (event->changed_mask & GDK_WINDOW_STATE_MAXIMIZED) {
totem->maximised = (event->new_window_state & GDK_WINDOW_STATE_MAXIMIZED) != 0;
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (totem->statusbar),
- !totem->maximised);
totem_action_set_sensitivity ("zoom-1-2", !totem->maximised);
totem_action_set_sensitivity ("zoom-1-1", !totem->maximised);
totem_action_set_sensitivity ("zoom-2-1", !totem->maximised);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]