[gnome-session] Store svg compressed
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] Store svg compressed
- Date: Thu, 17 Feb 2011 16:12:33 +0000 (UTC)
commit 85975ceb221b6137814ed695438cbf93ddd4ab0c
Author: Alexander Larsson <alexl redhat com>
Date: Thu Feb 17 14:11:19 2011 +0100
Store svg compressed
https://bugzilla.gnome.org/show_bug.cgi?id=642556
data/Makefile.am | 2 +-
data/sad-computer.svg | 2052 -------------------------------------------
data/sad-computer.svgz | Bin 0 -> 81624 bytes
gnome-session/gsm-manager.c | 2 +-
4 files changed, 2 insertions(+), 2054 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 25c5fb8..5faa6fc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,7 +4,7 @@ uidir = $(pkgdatadir)
ui_DATA = \
session-properties.ui \
gsm-inhibit-dialog.ui \
- sad-computer.svg
+ sad-computer.svgz
xsessiondir = $(datadir)/xsessions
xsession_in_files = gnome.desktop.in
diff --git a/data/sad-computer.svgz b/data/sad-computer.svgz
new file mode 100644
index 0000000..0c3479f
Binary files /dev/null and b/data/sad-computer.svgz differ
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 69c42af..b7b0bca 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -1216,7 +1216,7 @@ show_fallback_dialog (const char *title,
GTK_BUTTONS_CLOSE,
title);
- pix = rsvg_pixbuf_from_file_at_size (DATA_DIR "/sad-computer.svg", 128, 128, NULL);
+ pix = rsvg_pixbuf_from_file_at_size (DATA_DIR "/sad-computer.svgz", 128, 128, NULL);
if (pix != NULL) {
image = gtk_image_new_from_pixbuf (pix);
gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]