Updating branch refs/heads/master to a3f1d18cc771ddc680f1c4a89a193f9fa738d465 (commit) from ff95f65a121a59b012312aad3e825e135bb96d52 (commit)
commit a3f1d18cc771ddc680f1c4a89a193f9fa738d465 Author: Nick Schermer <n...@xfce.org> Date: Wed Oct 7 12:36:26 2009 +0200 Make the hidden option MiscTabCloseButtons work again. terminal/terminal-screen.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c index 6b0f016..e373086 100644 --- a/terminal/terminal-screen.c +++ b/terminal/terminal-screen.c @@ -1710,7 +1710,8 @@ terminal_screen_get_tab_label (TerminalScreen *screen) gtk_container_add (GTK_CONTAINER (align), button); g_signal_connect_swapped (G_OBJECT (button), "clicked", G_CALLBACK (gtk_widget_destroy), screen); - gtk_widget_show (button); + exo_binding_new (G_OBJECT (screen->preferences), "misc-tab-close-buttons", + G_OBJECT (button), "visible"); /* make button a bit smaller */ style = gtk_rc_style_new (); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits