]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkrange.c
filechooserbutton: Update the button/combo whenever the selection is changed programm...
[~andy/gtk] / gtk / gtkrange.c
index d627566aead86ec21ffb1a782bb06a025ea7b31a..8339e52b70c195a829185fd0ddad7217012e3d79 100644 (file)
@@ -2117,7 +2117,7 @@ gtk_range_draw (GtkWidget *widget,
 
       if (draw_trough)
         {
-          if (!priv->has_origin)
+          if (!priv->has_origin || !draw_slider)
             {
               gtk_render_background (context, cr,
                                      x, y, width, height);