diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/glade/prefs-dialog.glade | 10 | ||||
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 2 |
3 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,10 @@ +2004-03-30 Piers Cornwell <piers@gnome.org> + + * data/glade/prefs-dialog.glade: + * embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier): + + Don't allow a font size less than 1. + 2004-03-30 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: diff --git a/data/glade/prefs-dialog.glade b/data/glade/prefs-dialog.glade index 7bfc01a52..03966ceb9 100644 --- a/data/glade/prefs-dialog.glade +++ b/data/glade/prefs-dialog.glade @@ -595,11 +595,11 @@ <property name="can_focus">True</property> <property name="climb_rate">1</property> <property name="digits">0</property> - <property name="numeric">False</property> + <property name="numeric">True</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="snap_to_ticks">False</property> <property name="wrap">False</property> - <property name="adjustment">1 0 100 1 10 10</property> + <property name="adjustment">1 1 100 1 10 10</property> </widget> <packing> <property name="left_attach">2</property> @@ -692,11 +692,11 @@ <property name="can_focus">True</property> <property name="climb_rate">1</property> <property name="digits">0</property> - <property name="numeric">False</property> + <property name="numeric">True</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="snap_to_ticks">False</property> <property name="wrap">False</property> - <property name="adjustment">0 0 100 1 10 10</property> + <property name="adjustment">0 1 100 1 10 10</property> </widget> <packing> <property name="left_attach">2</property> @@ -714,7 +714,7 @@ <property name="can_focus">True</property> <property name="climb_rate">1</property> <property name="digits">0</property> - <property name="numeric">False</property> + <property name="numeric">True</property> <property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="snap_to_ticks">False</property> <property name="wrap">False</property> diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index 4372219a4..83c38b5e8 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -268,7 +268,7 @@ mozilla_font_size_notifier (GConfClient *client, sprintf (key, "font.%s", pref); - mozilla_prefs_set_int (key, eel_gconf_get_integer (entry->key)); + mozilla_prefs_set_int (key, MAX (eel_gconf_get_integer (entry->key), 1)); } static void |