diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2007-07-26 04:34:25 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-07-26 04:34:25 +0800 |
commit | d9eabc283b3c3022e93923416eeb7b160029bb12 (patch) | |
tree | 37b9317e32fee8a4147686a3ad0a49c8129e7acb | |
parent | cf55db8fc5cef03f7fa967fe72de613441108da5 (diff) | |
download | gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar.gz gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar.bz2 gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar.lz gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar.xz gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.tar.zst gsoc2013-epiphany-d9eabc283b3c3022e93923416eeb7b160029bb12.zip |
Added a checkbox for smooth scrolling. Fixes bug #162489.
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.
svn path=/trunk/; revision=7195
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/glade/prefs-dialog.glade | 20 | ||||
-rw-r--r-- | src/prefs-dialog.c | 2 |
3 files changed, 29 insertions, 0 deletions
@@ -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 }, |