[Xfce4-commits] <terminal:master> Revert "Make the hidden option MiscTabCloseButtons work again."

Nick Schermer noreply at xfce.org
Wed Oct 7 12:42:01 CEST 2009


Updating branch refs/heads/master
         to b070fb36ddc0b1ea893c0558df52025d09d20622 (commit)
       from a3f1d18cc771ddc680f1c4a89a193f9fa738d465 (commit)

commit b070fb36ddc0b1ea893c0558df52025d09d20622
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Oct 7 12:39:30 2009 +0200

    Revert "Make the hidden option MiscTabCloseButtons work again."
    
    This reverts commit a3f1d18cc771ddc680f1c4a89a193f9fa738d465.

 terminal/terminal-screen.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index e373086..6b0f016 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1710,8 +1710,7 @@ 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);
-  exo_binding_new (G_OBJECT (screen->preferences), "misc-tab-close-buttons",
-                   G_OBJECT (button), "visible");
+  gtk_widget_show (button);
 
   /* make button a bit smaller */
   style = gtk_rc_style_new ();



More information about the Xfce4-commits mailing list