aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReimundo Heluani <rheluani@gmail.com>2010-02-08 19:23:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-08 19:23:50 +0800
commite14dedc9e30c2026eff27bb349eb810f5dc0de30 (patch)
tree9ddffccbe79a97bef7e5b560c1d8afccf7dcf12f /src
parent7d2b2ea25261c064505c22dba1918bb781b215e6 (diff)
downloadgsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar.gz
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar.bz2
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar.lz
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar.xz
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.tar.zst
gsoc2013-empathy-e14dedc9e30c2026eff27bb349eb810f5dc0de30.zip
modifies tab-expand and tab-fill properties of child in chat-window (#608053)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 801cf57e3..2b2d70718 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -2021,6 +2021,7 @@ empathy_chat_window_add_chat (EmpathyChatWindow *window,
GtkWidget *label;
GtkWidget *popup_label;
GtkWidget *child;
+ GValue value = { 0, };
g_return_if_fail (window != NULL);
g_return_if_fail (EMPATHY_IS_CHAT (chat));
@@ -2068,8 +2069,13 @@ empathy_chat_window_add_chat (EmpathyChatWindow *window,
gtk_notebook_append_page_menu (GTK_NOTEBOOK (priv->notebook), child, label, popup_label);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (priv->notebook), child, TRUE);
gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (priv->notebook), child, TRUE);
- gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (priv->notebook), child,
- TRUE, TRUE, GTK_PACK_START);
+ g_value_init (&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean (&value, TRUE);
+ gtk_container_child_set_property (GTK_CONTAINER (priv->notebook),
+ child, "tab-expand" , &value);
+ gtk_container_child_set_property (GTK_CONTAINER (priv->notebook),
+ child, "tab-fill" , &value);
+ g_value_unset (&value);
DEBUG ("Chat added (%d references)", G_OBJECT (chat)->ref_count);
}