Commit 4ba3da616f81cc61a81ecdb4604777cab5397361

Authored by Perry Werneck
1 parent 06129689

ui-style is now defined by gsettings.

schemas/application.gschema.xml.in
... ... @@ -6,7 +6,7 @@
6 6  
7 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 11 <key name="ui-style" type="u">
12 12 <default>1</default>
... ...
src/objects/window/application.c
... ... @@ -145,12 +145,12 @@
145 145 GSettingsSchema * schema =
146 146 g_settings_schema_source_lookup(
147 147 source,
148   - "br.com.bb.pw3270",
  148 + "br.com.bb." G_STRINGIFY(PRODUCT_NAME),
149 149 TRUE);
150 150  
151 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 156 #else
... ...