summaryrefslogtreecommitdiff
path: root/src/nautilus-sidebar-title.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-03-19 14:54:49 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-03-19 14:54:49 +0000
commitf608194a9f1dca3fa0a667cdc90b1a2fbf409822 (patch)
tree0b22a6b8de40ccc77abe66ea2ba1505b0946359e /src/nautilus-sidebar-title.c
parentb68be1f2f287ff6cfee3153c9f9cb232e1cb3d60 (diff)
downloadnautilus-f608194a9f1dca3fa0a667cdc90b1a2fbf409822.tar.gz
Remove unused metadata key NAUTILUS_METADATA_KEY_NOTES and code related to
2007-03-19 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-metadata.h: * src/nautilus-sidebar-title.c: Remove unused metadata key NAUTILUS_METADATA_KEY_NOTES and code related to it. svn path=/trunk/; revision=12825
Diffstat (limited to 'src/nautilus-sidebar-title.c')
-rw-r--r--src/nautilus-sidebar-title.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nautilus-sidebar-title.c b/src/nautilus-sidebar-title.c
index d85081557..acf95a1ab 100644
--- a/src/nautilus-sidebar-title.c
+++ b/src/nautilus-sidebar-title.c
@@ -89,7 +89,6 @@ struct NautilusSidebarTitleDetails {
GtkWidget *title_label;
GtkWidget *more_info_label;
GtkWidget *emblem_box;
- GtkWidget *notes;
guint best_icon_size;
@@ -168,11 +167,6 @@ nautilus_sidebar_title_init (NautilusSidebarTitle *sidebar_title)
gtk_widget_show (sidebar_title->details->emblem_box);
gtk_box_pack_start (GTK_BOX (sidebar_title), sidebar_title->details->emblem_box, 0, 0, 0);
- sidebar_title->details->notes = GTK_WIDGET (gtk_label_new (NULL));
- gtk_label_set_line_wrap (GTK_LABEL (sidebar_title->details->notes), TRUE);
- gtk_widget_show (sidebar_title->details->notes);
- gtk_box_pack_start (GTK_BOX (sidebar_title), sidebar_title->details->notes, 0, 0, 0);
-
sidebar_title->details->best_icon_size = get_best_icon_size (sidebar_title);
/* Keep track of changes in graphics trade offs */
update_all (sidebar_title);
@@ -527,18 +521,6 @@ update_emblems (NautilusSidebarTitle *sidebar_title)
eel_g_list_free_deep (icons);
}
-static void
-update_notes (NautilusSidebarTitle *sidebar_title)
-{
- char *text;
-
- text = nautilus_file_get_metadata (sidebar_title->details->file,
- NAUTILUS_METADATA_KEY_NOTES,
- NULL);
- gtk_label_set_text (GTK_LABEL (sidebar_title->details->notes), text);
- g_free (text);
-}
-
/* return the filename text */
char *
nautilus_sidebar_title_get_text (NautilusSidebarTitle *sidebar_title)
@@ -607,7 +589,6 @@ update_all (NautilusSidebarTitle *sidebar_title)
update_more_info (sidebar_title);
update_emblems (sidebar_title);
- update_notes (sidebar_title);
/* Redo monitor once the count is ready. */
if (!sidebar_title->details->monitoring_count && item_count_ready (sidebar_title)) {