aboutsummaryrefslogtreecommitdiffstats
path: root/data/glade/prefs-dialog.ui
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 02:51:11 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-08 23:56:12 +0800
commit4015281028a036ee859360bb7feb3a6aeb8f56cb (patch)
treef9d8b7f71a4229d8b44d1180698e8f892635e880 /data/glade/prefs-dialog.ui
parentbc03f56a7483e499274cf1632975dfbb7e09e9ec (diff)
downloadgsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar.gz
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar.bz2
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar.lz
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar.xz
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.tar.zst
gsoc2013-epiphany-4015281028a036ee859360bb7feb3a6aeb8f56cb.zip
prefs-dialog: new custom font selection UI
Allow users to set custom sans, serif and monospace fonts if they don't want the defaults, which are the desktop wide settings in the org.gnome.desktop.interface schema. Bug #636761
Diffstat (limited to 'data/glade/prefs-dialog.ui')
-rw-r--r--data/glade/prefs-dialog.ui86
1 files changed, 82 insertions, 4 deletions
diff --git a/data/glade/prefs-dialog.ui b/data/glade/prefs-dialog.ui
index e2c385731..b98558566 100644
--- a/data/glade/prefs-dialog.ui
+++ b/data/glade/prefs-dialog.ui
@@ -272,7 +272,7 @@
<object class="GtkLabel" id="label1312">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">_Minimum size:</property>
+ <property name="label" translatable="yes">_Minimum font size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">min_size_spinbutton</property>
</object>
@@ -301,6 +301,84 @@
</packing>
</child>
<child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkCheckButton" id="use_gnome_fonts_checkbutton">
+ <property name="label" translatable="yes">_Use system fonts</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox" id="custom_fonts_vbox">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkFontButton" id="sans_fontbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_font">True</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFontButton" id="serif_fontbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="font_name">Serif 12</property>
+ <property name="use_font">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFontButton" id="mono_fontbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="font_name">Monospace 12</property>
+ <property name="use_font">True</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="use_fonts_checkbutton">
<property name="label" translatable="yes">Let web pages specify their own _fonts</property>
<property name="visible">True</property>
@@ -312,7 +390,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">1</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -327,7 +405,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -376,7 +454,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="position">4</property>
+ <property name="position">5</property>
</packing>
</child>
</object>