[Xfce4-commits] r17467 - xfce-mcs-plugins/trunk/plugins/shortcuts_plugin

Jasper Huijsmans jasper at xfce.org
Thu Sep 8 13:46:54 CEST 2005


"Wauthy Jean-Fran�����������������������" schreef:
...
> +  /* check if ~/.config/xfce4/shortcuts/ exists; if not it creates it */
> +  shortcuts_path = g_build_path (G_DIR_SEPARATOR_S, xfce_get_homedir (), ".config/xfce4/shortcuts/", NULL);
> +  if (!xfce_mkdirhier (shortcuts_path, 0755, &error)) {
> +    g_warning ("an error occurred while creating shortcuts dir : %s", error->message);
> +    g_error_free (error);
> +  }
> +  g_free (shortcuts_path);
> +

Perhaps you could use this instead:

  xfce_resource_save_location (XFCE_RESOURCE_CONFIG,
                               "xfce4/shortcuts/", TRUE);




More information about the Xfce4-dev mailing list