[Xfce4-commits] <ristretto:ristretto-0.0> Fix quality-combobox of preferences-dialog

Stephan Arts noreply at xfce.org
Sun Oct 23 19:16:49 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to c13156f68cd93ccc2bcbf21af394b65ebf873601 (commit)
       from d67206b1dc62557daf8e26033102a928f3957622 (commit)

commit c13156f68cd93ccc2bcbf21af394b65ebf873601
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon Jun 15 20:48:02 2009 +0200

    Fix quality-combobox of preferences-dialog

 src/preferences_dialog.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/preferences_dialog.c b/src/preferences_dialog.c
index 2db41e4..4b34610 100644
--- a/src/preferences_dialog.c
+++ b/src/preferences_dialog.c
@@ -506,24 +506,18 @@ cb_rstto_preferences_dialog_image_quality_combo_box_changed (GtkComboBox *combo_
             break;
         case 1: /* 1 MegaPixel */
             g_object_set (G_OBJECT (dialog->priv->settings),
-                          "image-quality", 1000000,
+                          "image-quality", 8000000,
                           NULL);
             break;
         case 2: /* 2 MegaPixel */
             g_object_set (G_OBJECT (dialog->priv->settings),
-                          "image-quality", 2000000,
-                          NULL);
-            break;
-        case 3: /* 4 MegaPixel */
-            g_object_set (G_OBJECT (dialog->priv->settings),
                           "image-quality", 4000000,
                           NULL);
             break;
-        case 4: /* 8 MegaPixel */
+        case 3: /* 4 MegaPixel */
             g_object_set (G_OBJECT (dialog->priv->settings),
-                          "image-quality", 8000000,
+                          "image-quality", 2000000,
                           NULL);
             break;
-
     }
 }


More information about the Xfce4-commits mailing list