Mercurial > pidgin
comparison pidgin/gtkconv.c @ 32689:737733593a29
Replace the deprecated gtk_notebook_set_tab_label_packing with a call
to gtk_container_child_set with the relevant properties.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 09 Oct 2011 03:56:58 +0000 |
parents | 3538e783b98c |
children | c9b09afd79e7 |
comparison
equal
deleted
inserted
replaced
32688:295e8b7bb0b5 | 32689:737733593a29 |
---|---|
10022 | 10022 |
10023 /* Reset the tabs label to the new version */ | 10023 /* Reset the tabs label to the new version */ |
10024 gtk_notebook_set_tab_label(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont, ebox); | 10024 gtk_notebook_set_tab_label(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont, ebox); |
10025 } | 10025 } |
10026 | 10026 |
10027 gtk_notebook_set_tab_label_packing(GTK_NOTEBOOK(win->notebook), gtkconv->tab_cont, | 10027 gtk_container_child_set(GTK_CONTAINER(win->notebook), gtkconv->tab_cont, |
10028 !tabs_side && !angle, | 10028 "tab-expand", !tabs_side && !angle, |
10029 TRUE, GTK_PACK_START); | 10029 "tab-fill", TRUE, NULL); |
10030 | 10030 |
10031 if (pidgin_conv_window_get_gtkconv_count(win) == 1) | 10031 if (pidgin_conv_window_get_gtkconv_count(win) == 1) |
10032 gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook), | 10032 gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook), |
10033 purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/tabs") && | 10033 purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/tabs") && |
10034 (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/im/show_buddy_icons") || | 10034 (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/im/show_buddy_icons") || |