diff options
author | Gene Z. Ragan <gzr@eazel.com> | 2000-04-11 22:16:24 +0000 |
---|---|---|
committer | Gene Ragan <gzr@src.gnome.org> | 2000-04-11 22:16:24 +0000 |
commit | 2ac3c5dac548d7287ba5d34c0a7bf28d441854c6 (patch) | |
tree | 70f354754d0f96583c5ab2a3f2aa19dc3722a084 /libnautilus-extensions/nautilus-bookmark.h | |
parent | 25226589f055c8881a1bbdb0f28823a8453eed35 (diff) | |
download | nautilus-2ac3c5dac548d7287ba5d34c0a7bf28d441854c6.tar.gz |
components/sample/nautilus-sample-content-view.c Added icon data to
2000-04-11 Gene Z. Ragan <gzr@eazel.com>
* components/sample/nautilus-sample-content-view.c
Added icon data to BonoboUiHandler. This is GdkPixbuf
data and demonstrates the pixbuf data features
added to bonobo ui handlers.
* libnautilus/nautilus-bookmark.c
bonobo_ui_handler_menu_new_item modified to take advantage
of new bonobo ui handler pixbuf functionality. Components and
menu items can now display pixbuf data.
Added nautilus_bookmark_get_pixbuf() routine.
* libnautilus/nautilus-bookmark.h
Added nautilus_bookmark_get_pixbuf() routine.
* src/nautilus-window-menus.c
bonobo_ui_handler_menu_new_item modified to take advantage
of new bonobo ui handler pixbuf functionality.
Diffstat (limited to 'libnautilus-extensions/nautilus-bookmark.h')
-rw-r--r-- | libnautilus-extensions/nautilus-bookmark.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-bookmark.h b/libnautilus-extensions/nautilus-bookmark.h index 2c73f0ada..bf0345aea 100644 --- a/libnautilus-extensions/nautilus-bookmark.h +++ b/libnautilus-extensions/nautilus-bookmark.h @@ -27,6 +27,7 @@ #include <gtk/gtkwidget.h> #include <gdk/gdktypes.h> +#include <gdk-pixbuf/gdk-pixbuf.h> typedef struct _NautilusBookmark NautilusBookmark; @@ -73,6 +74,9 @@ gboolean nautilus_bookmark_get_pixmap_and_mask (const NautilusBookmark guint icon_size, GdkPixmap **pixmap_return, GdkBitmap **mask_return); +gboolean nautilus_bookmark_get_pixbuf(const NautilusBookmark *bookmark, + guint icon_size, + GdkPixbuf **pixbuf_return); GtkWidget * nautilus_bookmark_menu_item_new (const NautilusBookmark *bookmark); |