[Xfce4-commits] <ristretto:ristretto-0.0> Set 'preload-images' checkbox to the right state when the preferences-window is created.
Stephan Arts
noreply at xfce.org
Sun Oct 23 19:28:26 CEST 2011
Updating branch refs/heads/ristretto-0.0
to 513caf5fef4bb1269771ca470fc7957dd19e322f (commit)
from 646e66be08ff98162890de9ed184393f4be6bd13 (commit)
commit 513caf5fef4bb1269771ca470fc7957dd19e322f
Author: Stephan Arts <stephan at xfce.org>
Date: Tue Jul 13 19:01:29 2010 +0200
Set 'preload-images' checkbox to the right state when the preferences-window is created.
src/preferences_dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/preferences_dialog.c b/src/preferences_dialog.c
index 32f4345..d18c6f6 100644
--- a/src/preferences_dialog.c
+++ b/src/preferences_dialog.c
@@ -496,7 +496,8 @@ rstto_preferences_dialog_init(RsttoPreferencesDialog *dialog)
bool_enable_cache);
gtk_widget_set_sensitive (GTK_WIDGET (dialog->priv->cache_tab.cache_sub_vbox),
bool_enable_cache);
-
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->cache_tab.cache_preload_check_button),
+ bool_preload_images);
if (uint_cache_size < RSTTO_MIN_CACHE_SIZE)
{
gtk_adjustment_set_value (GTK_ADJUSTMENT (cache_adjustment), RSTTO_DEFAULT_CACHE_SIZE);
More information about the Xfce4-commits
mailing list