-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$OpenBSD: patch-editor_dconf-model_c,v 1.1 2011/03/25 07:37:15 ajacoutot Exp $ | ||
--- editor/dconf-model.c.orig Fri Mar 25 08:22:26 2011 | ||
+++ editor/dconf-model.c Fri Mar 25 08:23:01 2011 | ||
@@ -1664,7 +1664,7 @@ SettingsModel* settings_model_construct (GType object_ | ||
self->priv->root = (_tmp1_ = directory_new (self, NULL, 0, "/", "/"), _g_object_unref0 (self->priv->root), _tmp1_); | ||
self->schemas = (_tmp2_ = schema_list_new (), _schema_list_unref0 (self->schemas), _tmp2_); | ||
{ | ||
- schema_list_load_directory (self->schemas, "/usr/share/glib-2.0/schemas", &_inner_error_); | ||
+ schema_list_load_directory (self->schemas, "${LOCALBASE}/share/glib-2.0/schemas", &_inner_error_); | ||
if (_inner_error_ != NULL) { | ||
goto __catch1_g_error; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$OpenBSD: patch-editor_dconf-model_vala,v 1.1 2011/03/25 07:37:15 ajacoutot Exp $ | ||
--- editor/dconf-model.vala.orig Fri Mar 25 08:28:57 2011 | ||
+++ editor/dconf-model.vala Fri Mar 25 08:29:09 2011 | ||
@@ -469,7 +469,7 @@ public class SettingsModel: GLib.Object, Gtk.TreeModel | ||
schemas = new SchemaList(); | ||
try | ||
{ | ||
- schemas.load_directory("/usr/share/glib-2.0/schemas"); | ||
+ schemas.load_directory("${LOCALBASE}/share/glib-2.0/schemas"); | ||
} catch (Error e) { | ||
warning("Failed to parse schemas: %s", e.message); | ||
} |