A little correction after previous commit.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 18 Nov 2014 20:36:58 +0000 (22:36 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 18 Nov 2014 20:36:58 +0000 (22:36 +0200)
ChangeLog
plugins/launchtaskbar.c

index 8a0a124..7fef706 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,7 +56,6 @@
     was removed: size wasn't always renegotiated correctly.
 * Fixed range of space reservation in multi-monitor setup (reservation
     might cover another monitor).
-* Fixed icon size updating from configuration on 'launchtaskbar' plugin.
 
 0.7.2
 -------------------------------------------------------------------------
index a46249e..ee23880 100644 (file)
@@ -1475,6 +1475,7 @@ static void launchtaskbar_panel_configuration_changed(LXPanel *panel, GtkWidget
     if (new_icon_size != ltbp->icon_size)
     {
         Task * tk;
+        ltbp->icon_size = new_icon_size;
         for (tk = ltbp->p_task_list; tk != NULL; tk = tk->p_task_flink_xwid)
         {
             GdkPixbuf * pixbuf = task_update_icon(ltbp, tk, None);
@@ -1484,7 +1485,6 @@ static void launchtaskbar_panel_configuration_changed(LXPanel *panel, GtkWidget
                 g_object_unref(pixbuf);
             }
         }
-        ltbp->icon_size = new_icon_size;
     }
 
     /* Redraw all the labels.  Icon size or font color may have changed. */