[Goodies-commits] r4575 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Tue Apr 15 00:24:01 CEST 2008


Author: squisher
Date: 2008-04-14 22:24:01 +0000 (Mon, 14 Apr 2008)
New Revision: 4575

Modified:
   xfburn/trunk/xfburn/xfburn-compositions-notebook.c
Log:
Making compositions reorderable in the notebook (patch by jeromeg)

Modified: xfburn/trunk/xfburn/xfburn-compositions-notebook.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-compositions-notebook.c	2008-04-14 22:21:57 UTC (rev 4574)
+++ xfburn/trunk/xfburn/xfburn-compositions-notebook.c	2008-04-14 22:24:01 UTC (rev 4575)
@@ -192,6 +192,8 @@
     gtk_widget_show (composition);
     page_num = gtk_notebook_append_page_menu (GTK_NOTEBOOK (notebook), composition, tab, menu_label);
     gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), page_num);
+
+    gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (notebook), composition, 1);
 	
     g_object_set_data (G_OBJECT (tab), "composition", composition);
     g_signal_connect (G_OBJECT (tab), "button-close-clicked", G_CALLBACK (cb_composition_close), notebook);




More information about the Goodies-commits mailing list