diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2001-04-01 23:44:46 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2001-04-01 23:44:46 +0000 |
commit | 0f7c34dfb0a7a30cfce0820be2a6c80a9d0210f8 (patch) | |
tree | 309a25010f50ecd850590f20ad62e487b418d17c /icons | |
parent | 9a61eb330ae70c247171629a7b402ce3ab4d3c00 (diff) | |
download | nautilus-0f7c34dfb0a7a30cfce0820be2a6c80a9d0210f8.tar.gz |
added a way for sidebar views to specify small images that are displayed
added a way for sidebar views to specify small images that
are displayed in their tab for notification purposes. Used
that to make the notes component indicate if a note is present or
not.
* components/notes/nautilus-notes.c: (get_bonobo_properties),
(set_bonobo_properties), (load_note_text_from_metadata),
(done_with_file), (notes_load_metainfo),
(notify_listeners_if_changed), (notes_save_metainfo), (do_destroy),
(notes_get_indicator_image), (make_notes_view):
added a property bag to the notes component to provide a tab_image
property, and made it notify the listeners when the note text
changes.
* icons/Makefile.am:
* icons/note-indicator.png:
new notes indicator image from Arlo.
* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
(pixbuf_composite), (draw_one_tab_plain), (draw_one_tab_themed),
(get_tab_width), (draw_or_layout_all_tabs),
(nautilus_sidebar_tabs_expose),
(nautilus_sidebar_tabs_update_tab_item), (get_tab_item_from_view),
(nautilus_sidebar_tabs_update_all_indicators),
(nautilus_sidebar_tabs_update_indicator),
(tab_indicator_changed_callback),
(nautilus_sidebar_tabs_connect_view):
* src/nautilus-sidebar-tabs.h:
made the sidebar tabs hook up to the nautilus_view's tab_image
property and use it to display a notification image in the tab
if necessary.
* src/nautilus-sidebar.c: (view_loaded_callback),
(nautilus_sidebar_add_panel):
connect the sidebar tabs to a newly added view, once the view
is loaded.
* src/nautilus-view-frame.c: (nautilus_view_frame_get_control):
* src/nautilus-view-frame.h:
added nautilus_view_frame_get_control so view properties can be
accessed by the sidebar.
Diffstat (limited to 'icons')
-rw-r--r-- | icons/Makefile.am | 1 | ||||
-rw-r--r-- | icons/note-indicator.png | bin | 0 -> 602 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am index 34002d4fa..bb9ad804d 100644 --- a/icons/Makefile.am +++ b/icons/Makefile.am @@ -227,6 +227,7 @@ icon_DATA =\ nautilus-mini-logo.png \ netscape.png \ not.png \ + note-indicator.png \ novice-selected.png \ novice.png \ number_strip.png \ diff --git a/icons/note-indicator.png b/icons/note-indicator.png Binary files differnew file mode 100644 index 000000000..f8b97567f --- /dev/null +++ b/icons/note-indicator.png |