[gtk+/wip/csd] window: Show title box when the decorations are created
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csd] window: Show title box when the decorations are created
- Date: Thu, 31 Jan 2013 17:25:11 +0000 (UTC)
commit c6de786a0957bc1c185d621f5349c389194e692e
Author: Rob Bradford <rob linux intel com>
Date: Thu Jan 31 11:59:27 2013 +0000
window: Show title box when the decorations are created
gtk/gtkwindow.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2db029e..accbcc2 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4937,6 +4937,7 @@ create_decoration (GtkWidget *widget)
priv->title_close_button, FALSE, FALSE, 0);
g_signal_connect (priv->title_close_button, "clicked",
G_CALLBACK (gtk_window_title_close_clicked), window);
+ gtk_widget_show_all (priv->title_box);
}
}
@@ -4958,9 +4959,6 @@ gtk_window_show (GtkWidget *widget)
return;
}
- if (priv->title_box)
- gtk_widget_show_all (priv->title_box);
-
_gtk_widget_set_visible_flag (widget, TRUE);
need_resize = _gtk_widget_get_alloc_needed (widget) || !gtk_widget_get_realized (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]