Commit 4ba3da616f81cc61a81ecdb4604777cab5397361
1 parent
06129689
Exists in
master
and in
4 other branches
ui-style is now defined by gsettings.
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
schemas/application.gschema.xml.in
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | 6 | ||
7 | <schemalist> | 7 | <schemalist> |
8 | 8 | ||
9 | - <schema path="/br/com/bb/pw3270/application/" id="br.com.bb.pw3270"> | 9 | + <schema path="/br/com/bb/@PRODUCT_NAME@/application/" id="br.com.bb.@PRODUCT_NAME@"> |
10 | 10 | ||
11 | <key name="ui-style" type="u"> | 11 | <key name="ui-style" type="u"> |
12 | <default>1</default> | 12 | <default>1</default> |
src/objects/window/application.c
@@ -145,12 +145,12 @@ | @@ -145,12 +145,12 @@ | ||
145 | GSettingsSchema * schema = | 145 | GSettingsSchema * schema = |
146 | g_settings_schema_source_lookup( | 146 | g_settings_schema_source_lookup( |
147 | source, | 147 | source, |
148 | - "br.com.bb.pw3270", | 148 | + "br.com.bb." G_STRINGIFY(PRODUCT_NAME), |
149 | TRUE); | 149 | TRUE); |
150 | 150 | ||
151 | g_settings_schema_source_unref(source); | 151 | g_settings_schema_source_unref(source); |
152 | 152 | ||
153 | - settings = g_settings_new_full(schema, NULL, "/br/com/bb/pw3270/application/"); | 153 | + settings = g_settings_new_full(schema, NULL, "/br/com/bb/" G_STRINGIFY(PRODUCT_NAME) "/application/"); |
154 | 154 | ||
155 | } | 155 | } |
156 | #else | 156 | #else |