Commit 3b0dd979 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi

Remove "note-indicator.png" and use the themable icon we just added to

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.

svn path=/trunk/; revision=14892
parent 6ea5ee4b
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/*:
......
......@@ -10,7 +10,6 @@ icon_DATA =\
emblems.png \
erase.png \
knob.png \
note-indicator.png \
thumbnail_frame.png \
$(NULL)
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment