diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | icons/Makefile.am | 1 | ||||
-rw-r--r-- | icons/note-indicator.png | bin | 394 -> 0 bytes | |||
-rw-r--r-- | src/nautilus-notes-viewer.c | 9 |
4 files changed, 10 insertions, 7 deletions
@@ -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 Binary files differdeleted file mode 100644 index 3611917d4..000000000 --- a/icons/note-indicator.png +++ /dev/null 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); |