From 4a8de68620976f50cafd4eceedd7e42754184c1f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 6 Jul 2003 20:28:49 +0000 Subject: Remove last bits of nautilus theme support. 2003-07-06 Christian Persch * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_init_directory_list): Remove last bits of nautilus theme support. --- ChangeLog | 7 +++++++ lib/widgets/ephy-spinner.c | 26 ++++---------------------- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 272b4df98..4b260bd44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-07-06 Christian Persch + + * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), + (ephy_spinner_init_directory_list): + + Remove last bits of nautilus theme support. + 2003-07-06 Marco Pesenti Gritti * embed/mozilla/ExternalProtocolHandlers.cpp: diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c index 4f0d79b3e..b20952fc0 100644 --- a/lib/widgets/ephy-spinner.c +++ b/lib/widgets/ephy-spinner.c @@ -26,7 +26,10 @@ * */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #include "ephy-spinner.h" #include "eel-gconf-extensions.h" #include "ephy-prefs.h" @@ -67,11 +70,6 @@ static void ephy_spinner_remove_update_callback (EphySpinner *spinner); static void ephy_spinner_theme_changed (GnomeIconTheme *icon_theme, EphySpinner *spinner); -static GList *spinner_directories = NULL; - -static void -ephy_spinner_init_directory_list (void); - static GObjectClass *parent_class = NULL; GType @@ -97,8 +95,6 @@ ephy_spinner_get_type (void) ephy_spinner_type = g_type_register_static (GTK_TYPE_EVENT_BOX, "EphySpinner", &our_info, 0); - - ephy_spinner_init_directory_list (); } return ephy_spinner_type; @@ -544,17 +540,3 @@ ephy_spinner_class_init (EphySpinnerClass *class) widget_class->expose_event = ephy_spinner_expose; widget_class->size_request = ephy_spinner_size_request; } - -static void -ephy_spinner_init_directory_list (void) -{ - gchar *path; - - path = g_build_filename (SHARE_DIR, "..", "pixmaps", "nautilus", NULL); - spinner_directories = g_list_append (spinner_directories, path); - -#ifdef NAUTILUS_PREFIX - path = g_build_filename (NAUTILUS_PREFIX, "share", "pixmaps", "nautilus", NULL); - spinner_directories = g_list_append (spinner_directories, path); -#endif -} -- cgit v1.2.3