[gthumb] slideshow: use the stock pause icon if "slideshow-pause" is not available
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] slideshow: use the stock pause icon if "slideshow-pause" is not available
- Date: Sun, 20 Feb 2011 19:07:12 +0000 (UTC)
commit f78ebf3d40ba5e1c161e2e5a70613aa5143af31c
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Feb 20 19:43:00 2011 +0100
slideshow: use the stock pause icon if "slideshow-pause" is not available
extensions/slideshow/gth-slideshow.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/extensions/slideshow/gth-slideshow.c b/extensions/slideshow/gth-slideshow.c
index 2f7676f..aa1b55f 100644
--- a/extensions/slideshow/gth-slideshow.c
+++ b/extensions/slideshow/gth-slideshow.c
@@ -473,6 +473,13 @@ _gth_slideshow_construct (GthSlideshow *self,
100,
0,
NULL);
+ if (self->priv->pause_pixbuf == NULL)
+ self->priv->pause_pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
+ GTK_STOCK_MEDIA_PAUSE,
+ 100,
+ 0,
+ NULL);
+
self->priv->projector->construct (self);
g_signal_connect (self, "show", G_CALLBACK (gth_slideshow_show_cb), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]