From 3c0310400666ee8c42a23383b14c8c15ba197309 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 24 Jun 2004 23:36:31 +0000 Subject: [PATCH] removed X on tabs, because would need style hack : too long git-svn-id: http://ltt.polymtl.ca/svn@613 04897980-b3bd-0310-b5e0-8ef037075253 --- .../modules/gui/lttvwindow/lttvwindow/callbacks.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index 412f9298..1871313f 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -2761,8 +2761,8 @@ Tab* create_tab(MainWindow * mw, Tab *copy_tab, gtk_widget_show((GtkWidget*)tab->multi_vpaned); tab->mw = mw; - { - /* Display a label with a X */ + /*{ + // Display a label with a X GtkWidget *w_hbox = gtk_hbox_new(FALSE, 4); GtkWidget *w_label = gtk_label_new (label); GtkWidget *pixmap = create_pixmap(GTK_WIDGET(notebook), "close.png"); @@ -2780,13 +2780,21 @@ Tab* create_tab(MainWindow * mw, Tab *copy_tab, G_CALLBACK (on_close_tab_X_clicked), tab->multi_vpaned); + gtk_widget_set_state(w_button, GTK_STATE_ACTIVE); + gtk_widget_show (w_label); gtk_widget_show (pixmap); gtk_widget_show (w_button); gtk_widget_show (w_hbox); tab->label = w_hbox; - } + }*/ + + + tab->label = gtk_label_new (label); + gtk_widget_show (tab->label); + + /* Start with empty events requests list */ tab->events_requests = NULL; tab->events_request_pending = FALSE; -- 2.34.1