diff options
author | Gene Z. Ragan <gzr@eazel.com> | 2000-10-11 17:37:03 +0000 |
---|---|---|
committer | Gene Ragan <gzr@src.gnome.org> | 2000-10-11 17:37:03 +0000 |
commit | 81b9acac73a1f3cad00b9dca0dec3f12e604b398 (patch) | |
tree | a6dc079a51198aa42c8d104f4439d5d55f9d2e1d /libnautilus-private/nautilus-bonobo-extensions.c | |
parent | 67c14abf45e168f39e0c651f7cfb0a8632484be4 (diff) | |
download | nautilus-81b9acac73a1f3cad00b9dca0dec3f12e604b398.tar.gz |
New function to set the "tip" property of a bonobo UI component.
2000-10-11 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-bonobo-extensions.c:
* libnautilus-extensions/nautilus-bonobo-extensions.h:
(nautilus_bonobo_set_tip):
New function to set the "tip" property of a bonobo
UI component.
* src/nautilus-window-menus.c: (append_bookmark_to_menu):
Call new function above to set tip of bookmark menu items.
Diffstat (limited to 'libnautilus-private/nautilus-bonobo-extensions.c')
-rw-r--r-- | libnautilus-private/nautilus-bonobo-extensions.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-bonobo-extensions.c b/libnautilus-private/nautilus-bonobo-extensions.c index 4ee9b72c2..220b16dfa 100644 --- a/libnautilus-private/nautilus-bonobo-extensions.c +++ b/libnautilus-private/nautilus-bonobo-extensions.c @@ -66,6 +66,18 @@ nautilus_bonobo_set_label (BonoboUIComponent *ui, } void +nautilus_bonobo_set_tip (BonoboUIComponent *ui, + const char *path, + const char *tip) +{ + g_return_if_fail (ui != NULL); + bonobo_ui_component_set_prop (ui, path, + "tip", + tip, + NULL); +} + +void nautilus_bonobo_set_sensitive (BonoboUIComponent *ui, const char *path, gboolean sensitive) |