[glade3/offscreen] 2010-10-15 Matthias Clasen <mclasen redhat com>
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3/offscreen] 2010-10-15 Matthias Clasen <mclasen redhat com>
- Date: Fri, 15 Oct 2010 06:07:06 +0000 (UTC)
commit b1f3b58c5d6089fa9ba796456a5fef9d13675487
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Fri Oct 15 15:10:54 2010 +0900
2010-10-15 Matthias Clasen <mclasen redhat com>
* src/glade-window.c: Removed specific resize-grip handling as now
resize-grips are implemented on GtkWindow directly.
ChangeLog | 5 +++++
src/glade-window.c | 24 ------------------------
2 files changed, 5 insertions(+), 24 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 108f2f8..e30b7cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-15 Matthias Clasen <mclasen redhat com>
+
+ * src/glade-window.c: Removed specific resize-grip handling as now
+ resize-grips are implemented on GtkWindow directly.
+
2010-10-12 Marco Diego Aurélio Mesquita <marcodiegomesquita gmail com>
Implemented preview feature for Glade.
diff --git a/src/glade-window.c b/src/glade-window.c
index 5cb4c4f..090dcaa 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -3125,29 +3125,6 @@ glade_window_config_load (GladeWindow *window)
load_paned_position (config, window->priv->right_pane, "right_pane", 220);
}
-static gboolean
-glade_window_state_event (GtkWidget *widget,
- GdkEventWindowState *event)
-{
- GladeWindow *window = GLADE_WINDOW (widget);
-
- /* Incase GtkWindow decides to do something */
- if (GTK_WIDGET_CLASS (glade_window_parent_class)->window_state_event)
- GTK_WIDGET_CLASS (glade_window_parent_class)->window_state_event (widget, event);
-
- if (event->changed_mask &
- (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN))
- {
- gboolean show;
-
- show = !(event->new_window_state &
- (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN));
-
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (window->priv->statusbar), show);
- }
-
- return FALSE;
-}
static void
show_dock_first_time (GladeWindow *window,
@@ -3448,7 +3425,6 @@ glade_window_class_init (GladeWindowClass *klass)
object_class->finalize = glade_window_finalize;
widget_class->configure_event = glade_window_configure_event;
- widget_class->window_state_event = glade_window_state_event;
g_type_class_add_private (klass, sizeof (GladeWindowPrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]