From 4284d74b3ff46d7e1fe12d6026e958c2a3a6b94d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 28 Sep 2011 09:28:47 -0500 Subject: [PATCH] Remove the 'nautilus' prefix from some constants Signed-off-by: Federico Mena Quintero --- gtk/gtkplacessidebar.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 4ee783898f..12efadaccd 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -141,12 +141,12 @@ enum { }; /* 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 } }; /* 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 }, { "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), GDK_BUTTON1_MASK, - nautilus_shortcuts_source_targets, - G_N_ELEMENTS (nautilus_shortcuts_source_targets), + dnd_source_targets, G_N_ELEMENTS (dnd_source_targets), GDK_ACTION_MOVE); gtk_drag_dest_set (GTK_WIDGET (tree_view), 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); g_signal_connect (tree_view, "key-press-event",