[Xfce4-commits] <ristretto:ristretto-0.0> Change default settings

Stephan Arts noreply at xfce.org
Sun Oct 23 19:20:53 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to 08a1da7bfe3324c67a2851c22648ad07418ff445 (commit)
       from 46f80f42f466ddf7f340126d00018d14a87bdf37 (commit)

commit 08a1da7bfe3324c67a2851c22648ad07418ff445
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Oct 3 11:34:47 2009 +0200

    Change default settings

 ChangeLog      |    1 +
 src/settings.c |    7 ++++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c624518..520caea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 	  the set-wallpaper button sensitive
 	* src/Makefile.am: Replace spaces with tabs, fixes compilation-issues
 	  with certain versions of automake
+	* src/settings.c: Change default-settings
 
 2009-09-27  Stephan Arts <stephan at xfce.org>
 
diff --git a/src/settings.c b/src/settings.c
index cc9c7ab..1346732 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -151,6 +151,11 @@ rstto_settings_init (GObject *object)
     settings->priv->bgcolor = g_new0 (GdkColor, 1);
     settings->priv->bgcolor_fullscreen = g_new0 (GdkColor, 1);
     settings->priv->image_quality = 2000000;
+    settings->priv->navigationbar_position = g_strdup ("bottom");
+    settings->priv->show_file_toolbar = TRUE;
+    settings->priv->show_nav_toolbar = TRUE;
+    settings->priv->window_width = 600;
+    settings->priv->window_height = 400;
 
     xfconf_g_property_bind (settings->priv->channel, "/window/width", G_TYPE_UINT, settings, "window-width");
     xfconf_g_property_bind (settings->priv->channel, "/window/height", G_TYPE_UINT, settings, "window-height");
@@ -265,7 +270,7 @@ rstto_settings_class_init (GObjectClass *object_class)
     pspec = g_param_spec_string  ("navigationbar-position",
                                   "",
                                   "",
-                                  "right",
+                                  "bottom",
                                   G_PARAM_READWRITE);
     g_object_class_install_property (object_class,
                                      PROP_NAVBAR_POSITION,


More information about the Xfce4-commits mailing list