[gedit/gnome-3-0] Expand the view instead of the paned.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-0] Expand the view instead of the paned.
- Date: Mon, 4 Jul 2011 15:07:43 +0000 (UTC)
commit 01fd5b7530f6b9a0224a41ee1aa75c48ccbf04ed
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Jul 4 16:53:31 2011 +0200
Expand the view instead of the paned.
gedit/gedit-multi-notebook.c | 1 -
gedit/gedit-view-frame.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-multi-notebook.c b/gedit/gedit-multi-notebook.c
index 0ce1c93..9efddc5 100644
--- a/gedit/gedit-multi-notebook.c
+++ b/gedit/gedit-multi-notebook.c
@@ -461,7 +461,6 @@ add_notebook (GeditMultiNotebook *mnb,
gboolean collapse_new_notebook = FALSE;
paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_widget_set_vexpand (paned, TRUE);
gtk_widget_show (paned);
/* First we remove the active container from its parent to make
diff --git a/gedit/gedit-view-frame.c b/gedit/gedit-view-frame.c
index 670b2b0..c763390 100644
--- a/gedit/gedit-view-frame.c
+++ b/gedit/gedit-view-frame.c
@@ -1432,6 +1432,7 @@ gedit_view_frame_init (GeditViewFrame *frame)
frame);
frame->priv->view = gedit_view_new (doc);
+ gtk_widget_set_vexpand (frame->priv->view, TRUE);
gtk_widget_show (frame->priv->view);
g_object_unref (doc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]