Split the gtkrc in sugar and sugar-xo. Make them load the
respective gtk theme.
This commit is contained in:
parent
23bf7d94c6
commit
2f858c02a3
@ -1,6 +1,7 @@
|
||||
sugardir = $(pkgdatadir)/data
|
||||
sugar_DATA = \
|
||||
gtkrc \
|
||||
sugar.gtkrc \
|
||||
sugar-xo.gtkrc \
|
||||
gecko-prefs.js \
|
||||
mime.types
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
gtk-theme-name = "sugar"
|
||||
gtk-icon-theme-name = "sugar"
|
||||
gtk-font-name = "Bitstream Vera Sans 7"
|
||||
gtk-icon-sizes = "gtk-menu=32,32:gtk-button=32,32"
|
||||
gtk-font-name = "Sans Serif 11"
|
||||
gtk-cursor-theme-name = "sugar"
|
||||
gtk-cursor-theme-size = 48
|
||||
gtk-toolbar-style = GTK_TOOLBAR_ICONS
|
@ -87,7 +87,12 @@ _start_xephyr()
|
||||
|
||||
from sugar import env
|
||||
|
||||
os.environ['GTK2_RC_FILES'] = env.get_data_path('gtkrc')
|
||||
if env.is_emulator():
|
||||
gtkrc_filename = 'sugar.gtkrc'
|
||||
else:
|
||||
gtkrc_filename = 'sugar-xo.gtkrc'
|
||||
|
||||
os.environ['GTK2_RC_FILES'] = env.get_data_path(gtkrc_filename)
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
program = 'sugar-shell'
|
||||
|
Loading…
Reference in New Issue
Block a user