Commit 01d9ce67 authored by Pierre Baillet's avatar Pierre Baillet
Browse files

. Hey! table header (Dnd still a little buggy :/)

parent 491a85a8
...@@ -1277,10 +1277,12 @@ create_intf_playlist (void) ...@@ -1277,10 +1277,12 @@ create_intf_playlist (void)
(GtkDestroyNotify) gtk_widget_unref); (GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (playlist_clist); gtk_widget_show (playlist_clist);
gtk_container_add (GTK_CONTAINER (scrolledwindow1), playlist_clist); gtk_container_add (GTK_CONTAINER (scrolledwindow1), playlist_clist);
gtk_container_set_border_width (GTK_CONTAINER (playlist_clist), 1);
gtk_clist_set_column_width (GTK_CLIST (playlist_clist), 0, 257); gtk_clist_set_column_width (GTK_CLIST (playlist_clist), 0, 257);
gtk_clist_set_column_width (GTK_CLIST (playlist_clist), 1, 80); gtk_clist_set_column_width (GTK_CLIST (playlist_clist), 1, 80);
gtk_clist_set_selection_mode (GTK_CLIST (playlist_clist), GTK_SELECTION_EXTENDED); gtk_clist_set_selection_mode (GTK_CLIST (playlist_clist), GTK_SELECTION_EXTENDED);
gtk_clist_column_titles_hide (GTK_CLIST (playlist_clist)); gtk_clist_column_titles_show (GTK_CLIST (playlist_clist));
gtk_clist_set_shadow_type (GTK_CLIST (playlist_clist), GTK_SHADOW_OUT);
label22 = gtk_label_new (_("File")); label22 = gtk_label_new (_("File"));
gtk_widget_ref (label22); gtk_widget_ref (label22);
......
...@@ -314,7 +314,7 @@ on_intf_playlist_drag_data_received (GtkWidget *widget, ...@@ -314,7 +314,7 @@ on_intf_playlist_drag_data_received (GtkWidget *widget,
&row, &row,
&col )== 1) &col )== 1)
{ {
on_generic_drop_data_received( p_intf, data, info, row); on_generic_drop_data_received( p_intf, data, info, row -1 /*TRICK ! */);
} else { } else {
on_generic_drop_data_received( p_intf, data, info, PLAYLIST_END); on_generic_drop_data_received( p_intf, data, info, PLAYLIST_END);
} }
......
...@@ -1387,6 +1387,7 @@ Henri Fallon &lt;henri@via.ecp.fr&gt;</label> ...@@ -1387,6 +1387,7 @@ Henri Fallon &lt;henri@via.ecp.fr&gt;</label>
<widget> <widget>
<class>GtkCList</class> <class>GtkCList</class>
<name>playlist_clist</name> <name>playlist_clist</name>
<border_width>1</border_width>
<can_focus>True</can_focus> <can_focus>True</can_focus>
<signal> <signal>
<name>event</name> <name>event</name>
...@@ -1401,8 +1402,8 @@ Henri Fallon &lt;henri@via.ecp.fr&gt;</label> ...@@ -1401,8 +1402,8 @@ Henri Fallon &lt;henri@via.ecp.fr&gt;</label>
<columns>2</columns> <columns>2</columns>
<column_widths>257,80</column_widths> <column_widths>257,80</column_widths>
<selection_mode>GTK_SELECTION_EXTENDED</selection_mode> <selection_mode>GTK_SELECTION_EXTENDED</selection_mode>
<show_titles>False</show_titles> <show_titles>True</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type> <shadow_type>GTK_SHADOW_OUT</shadow_type>
<widget> <widget>
<class>GtkLabel</class> <class>GtkLabel</class>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment