Remove the 'nautilus' prefix from some constants

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
Federico Mena Quintero 2011-09-28 09:28:47 -05:00
parent 1093e1433e
commit 4284d74b3f

View File

@ -141,12 +141,12 @@ enum {
}; };
/* Target types for dragging from the shortcuts list */ /* Target types for dragging from the shortcuts list */
static const GtkTargetEntry nautilus_shortcuts_source_targets[] = { static const GtkTargetEntry dnd_source_targets[] = {
{ "GTK_TREE_MODEL_ROW", GTK_TARGET_SAME_WIDGET, GTK_TREE_MODEL_ROW } { "GTK_TREE_MODEL_ROW", GTK_TARGET_SAME_WIDGET, GTK_TREE_MODEL_ROW }
}; };
/* Target types for dropping into the shortcuts list */ /* Target types for dropping into the shortcuts list */
static const GtkTargetEntry nautilus_shortcuts_drop_targets [] = { static const GtkTargetEntry dnd_drop_targets [] = {
{ "GTK_TREE_MODEL_ROW", GTK_TARGET_SAME_WIDGET, GTK_TREE_MODEL_ROW }, { "GTK_TREE_MODEL_ROW", GTK_TARGET_SAME_WIDGET, GTK_TREE_MODEL_ROW },
{ "text/uri-list", 0, TEXT_URI_LIST } { "text/uri-list", 0, TEXT_URI_LIST }
}; };
@ -3181,12 +3181,11 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tree_view), gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tree_view),
GDK_BUTTON1_MASK, GDK_BUTTON1_MASK,
nautilus_shortcuts_source_targets, dnd_source_targets, G_N_ELEMENTS (dnd_source_targets),
G_N_ELEMENTS (nautilus_shortcuts_source_targets),
GDK_ACTION_MOVE); GDK_ACTION_MOVE);
gtk_drag_dest_set (GTK_WIDGET (tree_view), gtk_drag_dest_set (GTK_WIDGET (tree_view),
0, 0,
nautilus_shortcuts_drop_targets, G_N_ELEMENTS (nautilus_shortcuts_drop_targets), dnd_drop_targets, G_N_ELEMENTS (dnd_drop_targets),
GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK); GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK);
g_signal_connect (tree_view, "key-press-event", g_signal_connect (tree_view, "key-press-event",