diff options
author | Daniel Drake <dsd@laptop.org> | 2011-10-29 12:46:59 (GMT) |
---|---|---|
committer | Sascha Silbe <silbe@activitycentral.com> | 2011-11-15 21:43:29 (GMT) |
commit | 9ca01136e49819df84f632f047d264253bb9379f (patch) | |
tree | 2e5a5f2269fde61ad279eb255600ac189e7b66fd | |
parent | 7431584aa55f4dfd9366cb2e359ca44eda5f0731 (diff) |
activity.py: Apply sugar GTK3 theme and icon theme
[squashed two patches into one]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
-rw-r--r-- | src/sugar3/activity/activity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py index 91213e5..6f27522 100644 --- a/src/sugar3/activity/activity.py +++ b/src/sugar3/activity/activity.py @@ -273,6 +273,8 @@ class Activity(Window, gtk.Container): # This code can be removed when we grow an xsettings daemon (the GTK+ # init routines will then automatically figure out the font settings) settings = Gtk.Settings.get_default() + settings.set_property('gtk-theme-name', 'sugar') + settings.set_property('gtk-icon-theme-name', 'sugar') settings.set_property('gtk-font-name', '%s %f' % (style.FONT_FACE, style.FONT_SIZE)) |