[gnome-control-center] info: use resource instead of pixbuf to load SVG
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: use resource instead of pixbuf to load SVG
- Date: Wed, 23 Jul 2014 03:07:20 +0000 (UTC)
commit 8b3a689f8d3b62cb57840c0b8ab3b9981d667729
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jul 19 13:07:50 2014 -0700
info: use resource instead of pixbuf to load SVG
This will let us load the image with appropriate scale factor when
necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=733417
panels/info/info.ui | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/info/info.ui b/panels/info/info.ui
index d65b9e1..1967fdf 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -205,7 +205,7 @@
<object class="GtkImage" id="system_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="pixbuf">GnomeLogoVerticalMedium.svg</property>
+ <property
name="resource">/org/gnome/control-center/info/GnomeLogoVerticalMedium.svg</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]