[gnome-terminal] Set the tab-expand/fill child properties directly
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Set the tab-expand/fill child properties directly
- Date: Fri, 13 Nov 2009 17:30:58 +0000 (UTC)
commit 9bbaa1ed5fc83f2280289813b14ea384f01ef239
Author: Christian Persch <chpe gnome org>
Date: Fri Nov 13 18:29:53 2009 +0100
Set the tab-expand/fill child properties directly
gtk_notebook_set_tab_label_packing() is deprecated; set the child
properties directly instead.
src/terminal-window.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index fb473ea..284576f 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2288,9 +2288,11 @@ terminal_window_add_screen (TerminalWindow *window,
screen_container,
tab_label,
position);
- gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (priv->notebook),
- screen_container,
- TRUE, TRUE, GTK_PACK_START);
+ gtk_container_child_set (GTK_CONTAINER (priv->notebook),
+ screen_container,
+ "tab-expand", TRUE,
+ "tab-fill", TRUE,
+ NULL);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (priv->notebook),
screen_container,
TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]