summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--icons/Makefile.am1
-rw-r--r--icons/note-indicator.pngbin394 -> 0 bytes
-rw-r--r--src/nautilus-notes-viewer.c9
4 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index aa03f4262..95f9ad9cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-28 Cosimo Cecchi <cosimoc@pluto>
+
+ * icons/Makefile.am:
+ * src/nautilus-notes-viewer.c: (nautilus_notes_viewer_init):
+ Remove "note-indicator.png" and use the themable icon we just
+ added to display the emblem in the sidebar.
+
2009-01-28 Cosimo Cecchi <cosimoc@gnome.org>
* data/icons/*:
diff --git a/icons/Makefile.am b/icons/Makefile.am
index b292f7724..7644897b6 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -10,7 +10,6 @@ icon_DATA =\
emblems.png \
erase.png \
knob.png \
- note-indicator.png \
thumbnail_frame.png \
$(NULL)
diff --git a/icons/note-indicator.png b/icons/note-indicator.png
deleted file mode 100644
index 3611917d4..000000000
--- a/icons/note-indicator.png
+++ /dev/null
Binary files differ
diff --git a/src/nautilus-notes-viewer.c b/src/nautilus-notes-viewer.c
index c9c5ab6b4..1356789f1 100644
--- a/src/nautilus-notes-viewer.c
+++ b/src/nautilus-notes-viewer.c
@@ -309,19 +309,16 @@ on_changed (GtkEditable *editable, NautilusNotesViewer *notes)
static void
nautilus_notes_viewer_init (NautilusNotesViewer *sidebar)
{
- char *image_path;
NautilusNotesViewerDetails *details;
+ NautilusIconInfo *info;
details = g_new0 (NautilusNotesViewerDetails, 1);
sidebar->details = details;
details->uri = g_strdup ("");
- image_path = nautilus_pixmap_file ("note-indicator.png");
- if (image_path) {
- details->icon = gdk_pixbuf_new_from_file (image_path, NULL);
- g_free (image_path);
- }
+ info = nautilus_icon_info_lookup_from_name ("emblem-note", 16);
+ details->icon = nautilus_icon_info_get_pixbuf (info);
/* create the text container */
details->text_buffer = gtk_text_buffer_new (NULL);