summaryrefslogtreecommitdiff
path: root/src/gpm-prefs-core.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-17 12:20:42 +0200
committerVictor Kareh <[email protected]>2019-08-20 13:50:15 -0400
commit7214cf362179010b6c1e9f9cc2186e7ea7dd590c (patch)
treea96c5d0d5d44e753e958dbb7acc6314dd7e68760 /src/gpm-prefs-core.c
parent19b7297855ef254c788affc1ec1214399f00e9e8 (diff)
downloadmate-power-manager-7214cf362179010b6c1e9f9cc2186e7ea7dd590c.tar.bz2
mate-power-manager-7214cf362179010b6c1e9f9cc2186e7ea7dd590c.tar.xz
Use gresources for gpm-prefs.ui and gpm-statistics.ui
Diffstat (limited to 'src/gpm-prefs-core.c')
-rw-r--r--src/gpm-prefs-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c
index 58db4b4..2f07c14 100644
--- a/src/gpm-prefs-core.c
+++ b/src/gpm-prefs-core.c
@@ -833,7 +833,7 @@ gpm_prefs_init (GpmPrefs *prefs)
error = NULL;
prefs->priv->builder = gtk_builder_new ();
- retval = gtk_builder_add_from_file (prefs->priv->builder, GPM_DATA "/gpm-prefs.ui", &error);
+ retval = gtk_builder_add_from_resource (prefs->priv->builder, "/org/mate/powermanager/preferences/gpm-prefs.ui", &error);
if (error) {
egg_error ("failed to load ui: %s", error->message);