diff options
author | Dave Camp <dave@ximian.com> | 2003-06-08 10:05:46 +0000 |
---|---|---|
committer | Dave Camp <campd@src.gnome.org> | 2003-06-08 10:05:46 +0000 |
commit | 87cab375fe4054c2ae99e5eb0f61d265d6093186 (patch) | |
tree | 0d09209d1ecde45ff579c5b5f32d3a6ddc9a4667 /docs | |
parent | f9ad144ff83f61f14dc9e3e8f7fe3dfbd75daf21 (diff) | |
download | nautilus-87cab375fe4054c2ae99e5eb0f61d265d6093186.tar.gz |
Allow the context menu to supply an icon.
2003-06-08 Dave Camp <dave@ximian.com>
* src/file-manager/fm-directory-view.c:
(add_bonobo_menu_ui_and_verbs): Allow the context menu to supply
an icon.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/nautilus-context-menus.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/nautilus-context-menus.txt b/docs/nautilus-context-menus.txt index 91329e4e8..01b694f0f 100644 --- a/docs/nautilus-context-menus.txt +++ b/docs/nautilus-context-menus.txt @@ -27,6 +27,13 @@ Ok, this is how it works: <oaf_attribute name="nautilusverb:DoExtract" type="string" _value="Extract To..."/> + To specify an icon to display next to the context menu, you can + specify a nautilusverbicon property: + + <oaf_attribute name="nautilusverbicon:DoExtract" type="string" _value="icon-name"/> + + The icon will be taken from the current icon theme. + If the component has "nauitlus:can_handle_multiple_files" set to false, the item will still be displayed when multiple files are selected, but it will be insensitive. When the user clicks the menu item, nautilus |