1 When gnome-spinner-rest theme icon can't be found don't complain
2 and use the main galeon window icon which is slightly less inappropriate
3 than an empty lookin space on the toolbar.
6 src/galeon-spinner.c | 6 +++---
7 1 files changed, 3 insertions(+), 3 deletions(-)
9 diff --git a/src/galeon-spinner.c b/src/galeon-spinner.c
10 index 519caad..860641a 100644
11 --- a/src/galeon-spinner.c
12 +++ b/src/galeon-spinner.c
13 @@ -199,7 +199,8 @@ select_spinner_image (GaleonSpinner *spinner)
16 if (spinner->details->timer_task == 0) {
17 - return g_object_ref (spinner->details->quiescent_pixbuf);
18 + return (spinner->details->quiescent_pixbuf != NULL) ?
19 + g_object_ref (spinner->details->quiescent_pixbuf) : NULL;
22 if (spinner->details->image_list == NULL) {
23 @@ -594,8 +595,7 @@ galeon_spinner_load_images (GaleonSpinner *spinner)
24 wanted_size, 0, NULL);
27 - g_warning ("Spinner rest icon not found");
29 + pixbuf = gdk_pixbuf_new_from_file (DATADIR "/pixmaps/galeon.png", NULL);
32 spinner->details->quiescent_pixbuf =