]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/theme_view.c
tint2conf : follow freedesktop icon theme specification
[chaz/tint2] / src / tint2conf / theme_view.c
index 5fd9187963083e3e44111b677e12bf26ed085804..4e169c19cae8c0207d8b7b8403eee136e68bfa74 100644 (file)
@@ -125,12 +125,12 @@ gboolean update_snapshot()
 
                pixWidth = gdk_pixbuf_get_width(pixbuf);
                pixHeight = gdk_pixbuf_get_height(pixbuf);
-               if (g_width_list < pixWidth) {
+               if (g_width_list != pixWidth) {
                        g_width_list = pixWidth;
                        changeSize = TRUE;
                }
-               if (g_height_list < (pixHeight+6)) {
-                       g_height_list = pixHeight+6;
+               if (g_height_list != (pixHeight+30)) {
+                       g_height_list = pixHeight+30;
                        changeSize = TRUE;
                }
                if (changeSize)
This page took 0.017019 seconds and 4 git commands to generate.