[gnome-control-center] mouse: use resource instead of pixbuf to load SVG



commit 059ee0bb97406a717805db7c50d24ff5d3912b86
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jul 19 13:08:31 2014 -0700

    mouse: 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/mouse/gnome-mouse-test.ui |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-test.ui b/panels/mouse/gnome-mouse-test.ui
index fe5084a..d3ffdad 100644
--- a/panels/mouse/gnome-mouse-test.ui
+++ b/panels/mouse/gnome-mouse-test.ui
@@ -55,7 +55,7 @@
                         <property name="can_focus">False</property>
                         <property name="margin_start">25</property>
                         <property name="margin_end">25</property>
-                        <property name="pixbuf">scroll-test.svg</property>
+                        <property name="resource">/org/gnome/control-center/mouse/scroll-test.svg</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]