Index: gtk/gtkfilechooserdefault.c
===================================================================
--- gtk/gtkfilechooserdefault.c	(revision 20087)
+++ gtk/gtkfilechooserdefault.c	(working copy)
@@ -3644,6 +3644,60 @@
   g_signal_stop_emission_by_name (widget, "drag_data_received");
 }
 
+/* Callback used to display a tooltip in the shortcuts tree */
+static gboolean
+shortcuts_query_tooltip_cb (GtkWidget             *widget,
+			    gint                   x,
+			    gint                   y,
+			    gboolean               keyboard_mode,
+			    GtkTooltip            *tooltip,
+			    GtkFileChooserDefault *impl)
+{
+  GtkTreeModel *model;
+  GtkTreePath *path;
+  GtkTreeIter iter;
+
+  if (gtk_tree_view_get_tooltip_context (GTK_TREE_VIEW (widget),
+					 &x, &y,
+					 keyboard_mode,
+					 &model,
+					 &path,
+					 &iter))
+    {
+      gpointer col_data;
+      ShortcutType shortcut_type;
+
+      gtk_tree_model_get (model, &iter,
+			  SHORTCUTS_COL_DATA, &col_data,
+			  SHORTCUTS_COL_TYPE, &shortcut_type,
+			  -1);
+
+      if (shortcut_type == SHORTCUT_TYPE_SEPARATOR)
+	return FALSE;
+      else if (shortcut_type == SHORTCUT_TYPE_VOLUME)
+	{
+	  return FALSE;
+	}
+      else if (shortcut_type == SHORTCUT_TYPE_PATH)
+	{
+	  gtk_tooltip_set_text (tooltip, gtk_file_path_get_string (col_data));
+
+	  return TRUE;
+	}
+      else if (shortcut_type == SHORTCUT_TYPE_SEARCH)
+	{
+	  return FALSE;
+	}
+      else if (shortcut_type == SHORTCUT_TYPE_RECENT)
+	{
+	  return FALSE;
+	}
+    }
+
+  return FALSE;
+}
+
+
 /* Callback used when the selection in the shortcuts tree changes */
 static void
 shortcuts_selection_changed_cb (GtkTreeSelection      *selection,
@@ -3963,6 +4017,11 @@
   g_signal_connect (impl->browse_shortcuts_tree_view, "drag_data_received",
 		    G_CALLBACK (shortcuts_drag_data_received_cb), impl);
 
+  /* Support tooltips */
+  gtk_widget_set_has_tooltip (impl->browse_shortcuts_tree_view, TRUE);
+  g_signal_connect (impl->browse_shortcuts_tree_view, "query-tooltip",
+		    G_CALLBACK (shortcuts_query_tooltip_cb), impl);
+
   gtk_container_add (GTK_CONTAINER (swin), impl->browse_shortcuts_tree_view);
   gtk_widget_show (impl->browse_shortcuts_tree_view);
 
