~ubuntu-branches/ubuntu/precise/gnome-power-manager/precise

« back to all changes in this revision

Viewing changes to src/gpm-statistics.c

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-03-21 08:17:06 UTC
  • mfrom: (2.1.68)
  • Revision ID: package-import@ubuntu.com-20120321081706-p6sfdvmxzsgtynfz
Tags: 3.3.92-0ubuntu1
* New upstream release
  - Compile the GtkBuilder file as a GResource to speed up startup
  - updated translations
* debian/control:
  - build-dep on libglib2.0-dev (>= 2.31.10)
  - bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1908
1908
 
1909
1909
        /* get UI */
1910
1910
        builder = gtk_builder_new ();
1911
 
        retval = gtk_builder_add_from_file (builder, GPM_DATA "/gpm-statistics.ui", &error);
 
1911
        retval = gtk_builder_add_from_resource (builder,
 
1912
                                                "/org/gnome/power-manager/gpm-statistics.ui",
 
1913
                                                &error);
1912
1914
        if (retval == 0) {
1913
1915
                g_warning ("failed to load ui: %s", error->message);
1914
1916
                g_error_free (error);