[gnome-devel-docs] tutorials python: fontchooserwidget with different default font
- From: Marta Maria Casetti <mmcasetti src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] tutorials python: fontchooserwidget with different default font
- Date: Fri, 27 Jul 2012 08:27:55 +0000 (UTC)
commit 9dab70e57cb62b8be755998fc5243c73dc27ff26
Author: Marta Maria Casetti <mmcasetti gmail com>
Date: Tue Jul 17 23:56:21 2012 +0100
tutorials python: fontchooserwidget with different default font
platform-demos/C/samples/fontchooserwidget.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/samples/fontchooserwidget.py b/platform-demos/C/samples/fontchooserwidget.py
index 2bb1d58..db8a81e 100644
--- a/platform-demos/C/samples/fontchooserwidget.py
+++ b/platform-demos/C/samples/fontchooserwidget.py
@@ -8,7 +8,7 @@ class MyWindow(Gtk.ApplicationWindow):
# a font chooser
self.font_chooser = Gtk.FontChooserWidget()
# a default font
- self.font_chooser.set_font("Bitstream Charter")
+ self.font_chooser.set_font("Sans")
# a text to preview the font
self.font_chooser.set_preview_text("This is an example of preview text!")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]