]> git.sur5r.net Git - glabels/commitdiff
2007-08-21 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Wed, 22 Aug 2007 03:04:39 +0000 (03:04 +0000)
committerJim Evins <evins@snaught.com>
Wed, 22 Aug 2007 03:04:39 +0000 (03:04 +0000)
* src/print-op.c: (create_custom_widget_cb):
Fix problem with force_outline_flag -- don't override with default.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@672 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/ChangeLog
glabels2/src/print-op.c

index 1a72aa20ba61920e0645c77b21b5ad7a43c64732..3266fd8722bb98dd82cdf899eba31e306afe4793 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-21  Jim Evins  <evins@snaught.com>
+
+       * src/print-op.c: (create_custom_widget_cb):
+               Fix problem with force_outline_flag -- don't override with default.
+
 2007-08-21  Jim Evins  <evins@snaught.com>
 
        * data/dtd/glabels-2.0.dtd:
index da3902900190b5e9057ed07c360781bb517ce14d..302e54e6e303246303ef76fa613b5fe7be07d806 100644 (file)
@@ -478,6 +478,14 @@ create_custom_widget_cb (GtkPrintOperation *operation,
                gtk_widget_show_all (op->priv->merge_frame);
        }
 
+        /* --- Set options --- */
+        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->outline_check),
+                                      op->priv->outline_flag);
+        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->reverse_check),
+                                      op->priv->reverse_flag);
+        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->crop_marks_check),
+                                      op->priv->crop_marks_flag);
+
         /* --- Do we need to force the outline flag --- */
         if (op->priv->force_outline_flag)
         {
@@ -489,14 +497,6 @@ create_custom_widget_cb (GtkPrintOperation *operation,
                 gtk_widget_set_sensitive (op->priv->crop_marks_check, FALSE);
         }
 
-        /* --- Set options --- */
-        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->outline_check),
-                                      op->priv->outline_flag);
-        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->reverse_check),
-                                      op->priv->reverse_flag);
-        gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (op->priv->crop_marks_check),
-                                      op->priv->crop_marks_flag);
-
        return G_OBJECT (vbox);
 }