[cheese] load effects from ~/.local/share/gnome-video-effects/
- From: Daniel G. Siegel <dgsiegel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] load effects from ~/.local/share/gnome-video-effects/
- Date: Fri, 30 Jul 2010 16:57:20 +0000 (UTC)
commit 9c871ed0ecdbd9b05bbfa88940db84f2075022eb
Author: daniel g. siegel <dgsiegel gnome org>
Date: Fri Jul 30 18:53:07 2010 +0200
load effects from ~/.local/share/gnome-video-effects/
xdg user_data_dir defaults to ~/.local/share/gnome-video-effects,
so we are looking into that place for user effects
src/cheese-effects-manager.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cheese-effects-manager.vala b/src/cheese-effects-manager.vala
index 820ea48..cb8c0f1 100644
--- a/src/cheese-effects-manager.vala
+++ b/src/cheese-effects-manager.vala
@@ -99,10 +99,10 @@ internal class Cheese.EffectsManager : GLib.Object
{
system_effects = GLib.Path.build_filename (dir, "gnome-video-effects");
effects.add_all (load_effects_from_directory (system_effects));
+
}
- // FIXME: it would be probably better to use ~/.local/share/
- string user_effects = GLib.Path.build_filename (Environment.get_user_data_dir (), ".gnome-video-effects");
+ string user_effects = GLib.Path.build_filename (Environment.get_user_data_dir (), "gnome-video-effects");
effects.add_all (load_effects_from_directory (user_effects));
/* GROSS HACK: to make identity element appear first */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]