removed X on tabs, because would need style hack : too long
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 24 Jun 2004 23:36:31 +0000 (23:36 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 24 Jun 2004 23:36:31 +0000 (23:36 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@613 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index 412f9298da4471478bd990c0c6c9ae1155621b48..1871313f7fee968c7db4386fe534990b4feb1da8 100644 (file)
@@ -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;
This page took 0.026245 seconds and 4 git commands to generate.