diff options
author | Darin Adler <darin@src.gnome.org> | 2000-02-18 22:29:44 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-02-18 22:29:44 +0000 |
commit | ff1efb492d577d439675c3ef6556c8a4ba997b02 (patch) | |
tree | 79712e2ac944a8ef1f410816fd4dc4b7425bd15f /libnautilus-private/nautilus-icon-factory.h | |
parent | 0653c1cccc33f7ffedf99b0041b41c1a773b8c94 (diff) | |
download | nautilus-ff1efb492d577d439675c3ef6556c8a4ba997b02.tar.gz |
Hooked up the menu item for using the Eazel Theme Icons so people can try
* src/file-manager/fm-directory-view.c:
(use_eazel_theme_icons_cb), (finish_adding_menu_item),
(add_menu_item), (add_check_menu_item),
(fm_directory_view_real_append_background_context_menu_items):
Hooked up the menu item for using the Eazel Theme Icons so people
can try out the icons that are tuned at different sizes.
* libnautilus/nautilus-icon-factory.h:
* libnautilus/nautilus-icon-factory.c,
(nautilus_icon_factory_get), (nautilus_icon_factory_new),
(nautilus_icon_factory_initialize),
(nautilus_icon_factory_initialize_class),
(nautilus_icon_factory_get_theme),
(nautilus_icon_factory_set_theme): Added a signal "theme_changed"
to the icon factory, and had to add a visible icon factory object
so clients can connect to the signal.
* libnautilus/gnome-icon-container.c,
(gnome_icon_container_initialize),
(gnome_icon_container_request_update_all): Update all icons when
the theme changes.
* docs/recommended-books.html: Added this since
style-guide.html refers to it.
Diffstat (limited to 'libnautilus-private/nautilus-icon-factory.h')
-rw-r--r-- | libnautilus-private/nautilus-icon-factory.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-factory.h b/libnautilus-private/nautilus-icon-factory.h index 9ee1abbba..46f9151db 100644 --- a/libnautilus-private/nautilus-icon-factory.h +++ b/libnautilus-private/nautilus-icon-factory.h @@ -69,10 +69,22 @@ typedef enum { typedef struct _NautilusScalableIcon NautilusScalableIcon; +/* Instead of a class declaration here, I will just document + * the signals. + * + * "theme_changed", no parameters + */ + +/* There's a single NautilusIconFactory object. + * The only thing you need it for is to connect to its signals. + */ +GtkObject * nautilus_icon_factory_get (void); + /* Relationship between zoom levels and icons sizes. */ guint nautilus_get_icon_size_for_zoom_level (NautilusZoomLevel zoom_level); /* Switch themes. */ +char * nautilus_icon_factory_get_theme (void); void nautilus_icon_factory_set_theme (const char *theme_name); /* Choose the appropriate icon, but don't render it yet. */ |