aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--data/glade/prefs-dialog.glade20
-rw-r--r--src/prefs-dialog.c2
3 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 74511bb67..2d0476041 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org>
+
+ * src/prefs-dialog.c:
+ * data/glade/prefs-dialog.glade:
+
+ Added a checkbox for smooth scrolling. Fixes bug #162489.
+
2007-07-21 Wouter Bolsterlee <wbolster@svn.gnome.org>
* lib/ephy-stock-icons.c: (ephy_stock_icons_init):
diff --git a/data/glade/prefs-dialog.glade b/data/glade/prefs-dialog.glade
index 179ec992c..23a312abc 100644
--- a/data/glade/prefs-dialog.glade
+++ b/data/glade/prefs-dialog.glade
@@ -177,6 +177,7 @@
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
+ <property name="invisible_char">●</property>
<property name="activates_default">False</property>
</widget>
<packing>
@@ -556,6 +557,25 @@
</child>
<child>
+ <widget class="GtkCheckButton" id="smoothscroll_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Use s_mooth scrolling</property>
+ <property name="use_underline">True</property>
+ <property name="relief">GTK_RELIEF_NORMAL</property>
+ <property name="focus_on_click">True</property>
+ <property name="active">False</property>
+ <property name="inconsistent">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
<widget class="GtkHBox" id="css_container">
<property name="visible">True</property>
<property name="homogeneous">False</property>
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 4d222fe48..3f8d5d491 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -127,6 +127,7 @@ enum
MIN_SIZE_PROP,
FONT_PREFS_BUTTON_PROP,
USE_COLORS_PROP,
+ SMOOTHSCROLL_PROP,
CSS_CONTAINER_PROP,
CSS_CHECKBOX_PROP,
CSS_EDIT_BOX_PROP,
@@ -172,6 +173,7 @@ EphyDialogProperty properties [] =
{ "min_size_spinbutton", CONF_RENDERING_FONT_MIN_SIZE, PT_AUTOAPPLY, 0 },
{ "font_prefs_button", NULL, PT_NORMAL, 0 },
{ "use_colors_checkbutton", CONF_RENDERING_USE_OWN_COLORS, PT_AUTOAPPLY | PT_INVERTED, 0 },
+ { "smoothscroll_button", CONF_DISPLAY_SMOOTHSCROLL, PT_AUTOAPPLY, 0 },
{ "css_container", NULL, PT_NORMAL, 0 },
{ "css_checkbox", CONF_USER_CSS_ENABLED, PT_AUTOAPPLY, 0 },
{ "css_edit_box", NULL, PT_NORMAL, 0 },