[gtk+/places-sidebar] Remove the 'nautilus' prefix from some constants
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar] Remove the 'nautilus' prefix from some constants
- Date: Wed, 28 Sep 2011 23:02:32 +0000 (UTC)
commit 9c72e2850542958c7821aa6f8bd1cbbf654a07e5
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Sep 28 09:28:47 2011 -0500
Remove the 'nautilus' prefix from some constants
Signed-off-by: Federico Mena Quintero <federico gnome org>
gtk/gtkplacessidebar.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 4ee7838..12efada 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]