~larryprice/ubuntu-app-launch/humanity-theme-icons

« back to all changes in this revision

Viewing changes to helpers.c

  • Committer: Ted Gould
  • Date: 2016-04-21 19:12:36 UTC
  • mto: (144.45.3 ubuntu-app-launch)
  • mto: This revision was merged to the branch mainline in revision 273.
  • Revision ID: ted@gould.cx-20160421191236-lznjom3307xay3h0
Adding in local

Show diffs side-by-side

added added

removed removed

Lines of Context:
454
454
        /* Add the application's dir to the list of sources for data */
455
455
        const gchar * basedatadirs = g_getenv("XDG_DATA_DIRS");
456
456
        if (basedatadirs == NULL || basedatadirs[0] == '\0') {
457
 
                basedatadirs = "/usr/share";
 
457
                basedatadirs = "/usr/local/share:/usr/share";
458
458
        }
459
459
        gchar * datadirs = g_strjoin(":", app_dir, basedatadirs, NULL);
460
460
        env_handle_add(handle, "XDG_DATA_DIRS", datadirs);