[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/interface.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/interface.c |
Date: |
Thu, 10 Feb 2005 19:53:38 -0500 |
Index: graveman/current/src/interface.c
diff -u graveman/current/src/interface.c:1.19
graveman/current/src/interface.c:1.20
--- graveman/current/src/interface.c:1.19 Thu Feb 10 23:12:31 2005
+++ graveman/current/src/interface.c Fri Feb 11 00:53:37 2005
@@ -26,13 +26,14 @@
#include "graveman.h"
/* drag and drop */
-GtkTargetEntry Gdndaudio[] = { { "dndaudio", GTK_TARGET_SAME_WIDGET, 0},
- {"text/plain", 0, 1},
- {"application/x-desktop", 0, 2 }};
-GtkTargetEntry Gdnddata[] = { { "dnddata", GTK_TARGET_SAME_WIDGET, 0},
- {"text/plain", 0, 1},
- {"application/x-desktop", 0, 2 },
- {"test/uri-list", 0, 3}};
+
+enum {
+ TARGET_URI_LIST,
+ TARGET_STRING
+};
+
+GtkTargetEntry Gdndaudio[] = { {"text/uri-list", 0, TARGET_URI_LIST } };
+GtkTargetEntry Gdnddata[] = { {"text/uri-list", 0, TARGET_URI_LIST } };
/* liste des medias */
GSList *Gmedialist = NULL;
@@ -837,7 +838,7 @@
GDK_BUTTON1_MASK, Gdnddata, G_N_ELEMENTS (Gdnddata),
GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_LINK);
gtk_tree_view_enable_model_drag_dest (GTK_TREE_VIEW (Ltreedata),
Gdnddata, G_N_ELEMENTS (Gdnddata),
GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_LINK);
- g_signal_connect(G_OBJECT(Ltreedata), "drag_data_received",
G_CALLBACK(data_dnd_data_received),
+ g_signal_connect(G_OBJECT(Ltreedata), "drag-data-received",
G_CALLBACK(data_dnd_data_received),
Lhash);
/* dvd data */
gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (Ltreedvddata),
@@ -872,8 +873,6 @@
GtkComboBox *Ldstothercombo = GTK_COMBO_BOX(g_hash_table_lookup(Ahash,
"dstothercombo"));
GtkButton *Lbtnburnaudio1 = g_hash_table_lookup(Ahash, "btnburnaudio1");
GtkButton *Lbtnburnaudio2 = g_hash_table_lookup(Ahash, "btnburnaudio2");
- GtkButton *Lbtnburndvddata2 = g_hash_table_lookup(Ahash, "btnburndvddata2");
- GtkButton *Lbtnburndvddata3 = g_hash_table_lookup(Ahash, "btnburndvddata3");
GtkButton *Lbtnburncopy1 = g_hash_table_lookup(Ahash, "btnburncopy1");
GtkButton *Lbtnfixcdother1 = g_hash_table_lookup(Ahash, "btnfixcdother1");
GtkButton *Lbtnerasecdrwother1 = g_hash_table_lookup(Ahash,
"btnerasecdrwother1");
@@ -904,10 +903,10 @@
if (Lwritecdrw == FALSE) {
gtk_widget_set_sensitive(GTK_WIDGET(Lbtnerasecdrwother1), FALSE);
}
- if (Lwritedvd == FALSE) {
+/*if (Lwritedvd == FALSE) { et l'image iso ?!
gtk_widget_set_sensitive(GTK_WIDGET(Lbtnburndvddata2), FALSE);
gtk_widget_set_sensitive(GTK_WIDGET(Lbtnburndvddata3), FALSE);
- }
+ }*/
}
GtkWidget* create_fileselection1 (GtkWindow *AParent, GtkFileChooserAction
AType)
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/01
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/02
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/05
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/07
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/08
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/08
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/10
- [Graveman-cvs] Changes to graveman/current/src/interface.c,
sylvain cresto <=
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/10
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/12
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/12
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/15
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/16
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/19
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/20
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/20
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/21
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/02/26