diff options
author | rbuj <[email protected]> | 2019-08-17 12:20:42 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-08-20 13:50:15 -0400 |
commit | 7214cf362179010b6c1e9f9cc2186e7ea7dd590c (patch) | |
tree | a96c5d0d5d44e753e958dbb7acc6314dd7e68760 /src/gpm-statistics.c | |
parent | 19b7297855ef254c788affc1ec1214399f00e9e8 (diff) | |
download | mate-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-statistics.c')
-rw-r--r-- | src/gpm-statistics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c index cbbd564..fc302a4 100644 --- a/src/gpm-statistics.c +++ b/src/gpm-statistics.c @@ -1615,14 +1615,14 @@ main (int argc, char *argv[]) /* add application specific icons to search path */ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), - GPM_DATA G_DIR_SEPARATOR_S "icons"); + GPM_ICONS_DATA); /* get data from the settings */ settings = g_settings_new (GPM_SETTINGS_SCHEMA); /* get UI */ builder = gtk_builder_new (); - retval = gtk_builder_add_from_file (builder, GPM_DATA "/gpm-statistics.ui", &error); + retval = gtk_builder_add_from_resource (builder, "/org/mate/powermanager/statistics/gpm-statistics.ui", &error); if (error) { egg_error ("failed to load ui: %s", error->message); |